SceneVisual Properties |
The SceneVisual type exposes the following members.
| Name | Description | |
|---|---|---|
| AlignOffset | Field ValueType:Add this as a world offset to any align operation using a control point or axis restricted drag of an object. This allows objects to be aligned to one another with an offset, e.g. 10mm or 1 inch below the top of another object. | |
| AllConnectors | Gets all connectors. (Inherited from Visual.) | |
| AllowUndefinedFriction | Field ValueType:Undocumented | |
| AllowWaitOnMove | Field ValueType:When true, allows scripting to wait for the OnMoved event. This is false by default to avoid performance degradation for visuals that move frequently. <p> Example scripting: <pre> sender.AllowWaitOnMove = true; Wait( sender.OnMoved ); </pre> | |
| AmbientLight | Field ValueType:How objects appear when they are in shadow. | |
| AngularVelocity |
The current angular velocity of the Visual in radians/second.
(Inherited from Visual.) | |
| AnimatorInProgress |
Determine if any animations are currently in progress for this Visual.
(Inherited from Visual.) | |
| App |
The global application object.
(Inherited from Visual.) | |
| AutoSize | Field ValueType:Automatically resize the floor to fit what is on it. | |
| Billboard | Field ValueType:If true, then the visual will always face the camera. This is useful for text that should always face the user, for example. <p> Note that the visual's Rotation property will be set automatically, and so will overwrite any updates made from scripting or from the property grid. | |
| BillOfMaterialsCodeExpr | Field ValueType:The catalog order code of the component as it appears in the bill of materials, e.g. "'XYZ-203-37.TZ1'". If this is blank there will be no entry in the bill of materials for this component. | |
| BillOfMaterialsCostExpr | Field ValueType:The cost of the component as it appears in the bill of materials, e.g. "1595.95". | |
| BillOfMaterialsDescriptionExpr | Field ValueType:The description of the component as it appears in the bill of materials, e.g. "Driven Roller Module". If this is blank there will be no entry in the bill of materials for this component. | |
| BottomColor | Field ValueType:The bottom color for the project backdrop color gradient. | |
| BoundingBox |
Get the bounding box of this visual including all its children.
(Inherited from Visual.) | |
| BoundingBoxExcludingChildren | (Overrides VisualBoundingBoxExcludingChildren.) | |
| BoundingSphere |
Get the bounding sphere of this visual, including its children.
(Inherited from Visual.) | |
| BoundingSphereExcludingChildren | (Overrides VisualBoundingSphereExcludingChildren.) | |
| Camera | Field ValueType:Undocumented | |
| Children |
Return the collection of child Visuals.
(Inherited from Visual.) | |
| ConnectAllowed | Field ValueType:A list of visual Types that are allowed to connect to this visual. If empty, then all visuals are allowed to connect, provided they are not specified in the ConnectDisallowed list, and that the connector-specific rules also allow the connection. <p> See also: <ul> <li>Demo3D.Visuals.Visual.ConnectDisallowed <li>Demo3D.Visuals.Connector.Allowed <li>Demo3D.Visuals.Connector.Disallowed </ul> | |
| ConnectDisallowed | Field ValueType:A list of visual Types that are not allowed to connect to this visual. If a Type appears in both ConnectAllowed and ConnectDisallowed, then ConnectDisallowed takes priority and the connection is not allowed. <p> See also: <ul> <li>Demo3D.Visuals.Visual.ConnectAllowed <li>Demo3D.Visuals.Connector.Allowed <li>Demo3D.Visuals.Connector.Disallowed </ul> | |
| ConnectOnLoad | Field ValueType:Undocumented | |
| ConnectorPairs |
All pairs of connectors from this visual.
(Inherited from Visual.) | |
| ControlPointsAllowed | Field ValueType:A white list of control points that should be shown and editable. | |
| ControlPointsDisallowed | Field ValueType:A black list of control points that should be hidden and not editable. | |
| CurrentRoutingTarget |
The current destination for this visual (usually a load).
This can be used by equipment to decide which direction to transfer a load, or it can be ignored.
It is specific to the equipment processing the load.
(Inherited from Visual.) | |
| CurrentStation |
The Visual that the load is current at waiting to be ordered.
Any Visual can be a Station but LoadCreatorVisual the first station set when calling LoadCreatorVisual.OrderLoad().
This is normally set for loads.
(Inherited from Visual.) | |
| CurrentTransfer |
Information about the current transfer in progress for this visual using the Transfer Protocol.
This is normally set for loads.
(Inherited from Visual.) | |
| CustomProperties |
The collection of CustomProperty objects for this Visual.
(Inherited from Visual.) | |
| DefaultFloor | Field ValueType:When a new visual is added it is added to this floor. If not set then new visuals are added directly to the scene. This doesn't apply to loads from a load creator. | |
| DeleteLoadsAfter | Field ValueType:When a load hits the floor it will automatically be deleted after this number of seconds provided its 'Delete When Floor Hit' flag is set | |
| Descendants |
Return all visuals below this point in the Visual hierarchy .
(Inherited from Visual.) | |
| DescendantsDepthFirst |
Return all visuals below this point in the Visual hierarchy .
(Inherited from Visual.) | |
| Description |
A description of the Visual.
(Inherited from Visual.) | |
| DirectionArrowOffset | Field ValueType:Undocumented | |
| Document |
The document that this Visual belongs to.
(Inherited from Visual.) | |
| Draggable |
Whether the visual be dragged using the mouse.
(Inherited from Visual.) | |
| EventLogPath | Field ValueType:Undocumented | |
| EventTimeStep | Field ValueType:Undocumented | |
| FaceCount | (Overrides VisualFaceCount.) | |
| FaceCountDeep |
Number of faces in Mesh for Visual and all its children.
(Inherited from Visual.) | |
| FirstChild |
The first child visual of this visual, or null if this visual has no children.
(Inherited from Visual.) | |
| FixToParent | Field ValueType:For a load or vehicle this will create a fixed joint between it and its parent unless there is another joint in the way. This should be true for creating composite loads or vehicles or false where there is just a logical connection to the parent, e.g. boxes in a tote. | |
| FloorMaximumSize | Field ValueType:Undocumented | |
| FloorMinimumSize | Field ValueType:Size of the floor in an empty model | |
| FloorTextureName | Field ValueType:The path name of the texture file for the scene floor. | |
| FloorTileSize | Field ValueType:The width/length of the floor tile texture in model space. | |
| FloorY | Field ValueType:Undocumented | |
| FogColor | Field ValueType:The color to use for fogging. This represents the color that the scene will blend to at the rear of the scene. | |
| FogDensity | Field ValueType:The rate with which the fog color will appear. A high number will fog the scene quickly and a low number gradually. | |
| FogEnabled | Field ValueType:Enable the fogging for the scene. | |
| FrictionConfiguration | Field ValueType:A matrix of material combinations to friction coefficients, | |
| FrictionMaterial | Field ValueType:The friction material used for the floor. | |
| FullName |
The full name of this Visual, including the names of all Parent Visual separated by '.' characters.
(Inherited from Visual.) | |
| GridOrigin | Field ValueType:Undocumented | |
| GridTextureName | Field ValueType:The path name of the texture file for the scene floor when in build mode. | |
| GridTileSize | Field ValueType:The width/length of the grid tile texture in model space. | |
| HasChildren |
Determine if this Visual has any children or not.
(Inherited from Visual.) | |
| HasNextSibling |
Determine if this Visual has any siblings or not.
(Inherited from Visual.) | |
| HideAdvancedProperties | (Inherited from Visual.) | |
| Id |
A unique identifier for this Visual.
(Inherited from Visual.) | |
| IncludeChildContextMenus | Field ValueType:When right clicking on the object should child objects menu items be included. Default is false. | |
| InitialLocation |
The InitialLocation of the Visual in meters from the Origin of the Parent Visual.
(Inherited from Visual.) | |
| InitialMatrix |
The InitialLocation and InitialRotation in Matrix form.
(Inherited from Visual.) | |
| InitialParentOnReset | Field ValueType:The parent that should be assigned upon reset. This is useful for vehicle-type components that should reset their position to a particular track section, for example. | |
| InitialPositionOnReset | Field ValueType:Moves the visual back to its initial location and rotation when Reset is pressed. | |
| InitialRotationDegrees |
The InitialRotation of the Visual in degrees relative to the Rotation of Parent Visual.
(Inherited from Visual.) | |
| InitialRotationMatrix |
The InitialRotation in Matrix form.
(Inherited from Visual.) | |
| InitialRotationRadians |
The InitialRotation of the Visual in radians relative to the Rotation of Parent Visual.
(Inherited from Visual.) | |
| InitialSeed | Field ValueType:On load or reset the random number seed for the demonstration will be set to this number. Change this to produce a different demonstration. | |
| InitialWorldLocation |
The InitialLocation of this Visual and all its Parent Visuals in Matrix form.
(Inherited from Visual.) | |
| InitialWorldMatrix |
The InitialLocation and InitialRotation of this Visual and all its Parent Visuals in Matrix form.
(Inherited from Visual.) | |
| IsVisible |
Determines whether the Visual is currently visible given the state of layers, etc.
(Inherited from Visual.) | |
| Layer | Field ValueType:The layer for this object. If (As Parent) it inherits its layer from its parent, which may in turn inherit the layer from its parent, etc. | |
| LoadsCollide | Field ValueType:Undocumented | |
| Location |
The visual's X, Y, and Z coordinates relative to its parent.
(Inherited from Visual.) | |
| LocationX |
The visual's X coordinate relative to its parent.
(Inherited from Visual.) | |
| LocationY |
The visual's Y coordinate relative to its parent.
(Inherited from Visual.) | |
| LocationZ |
The visual's Z coordinate relative to its parent.
(Inherited from Visual.) | |
| Matrix |
The current matrix transform of the Visual local to its Parent Visual.
(Inherited from Visual.) | |
| MeshBoundingBox | (Overrides VisualMeshBoundingBox.) | |
| MeshBoundingSphere | (Overrides VisualMeshBoundingSphere.) | |
| MoveToEventsEnabled | Field ValueType:If True, then MoveTo, TurnTo will issue events that indicate when the visual has started accelerating, cruising, decelerating and has stopped. <p> When enabled, the events are issued as OnAnimatorEvent. <p>An example function that will handle these events is: <pre> function Box_OnAnimatorEvent( sender : Visual, args : AnimatorEventArgs ) { switch (args.EventType) { case AnimatorEventType.Accelerate: print("Accelerating"); break; case AnimatorEventType.Cruise: print("Cruising"); break; case AnimatorEventType.Decelerate: print("Decelerating"); break; case AnimatorEventType.Stop: print("Stopped"); break; } } </pre> | |
| Name |
The name of the Visual.
(Inherited from Visual.) | |
| NativeObject |
The native C# scripting class instance for this visual
(Inherited from Visual.) | |
| NativeTypeName | Field ValueType:The namespace and class name to instantiate for this Visual, e.g. Demo3D.Components.Component (in this case Demo3D.Components.dll will be loaded to try to find the class) | |
| NewNameExpr | Field ValueType:The string used to format the new name of this component if it is copied or added to the project from a catalog. The variable name "ID" will generate a unique number for that type of component in the current project. | |
| NextSibling |
The next sibling of this visual, or null if this visual has no siblings.
(Inherited from Visual.) | |
| OnAfterParentPropertyUpdated | (Inherited from Visual.) | |
| OnAfterPropertyUpdated | (Inherited from Visual.) | |
| OnAfterSubscribedPropertyUpdated | (Inherited from Visual.) | |
| OnAnimatorCompleted | Field ValueType:Undocumented | |
| OnAnimatorEvent | Field ValueType:Call this script when the visual starts to accelerate, cruise, decelerate and stop during a MoveTo or TurnTo command. Note that this event will only be issued if MoveToEventsEnabled is set to True. <p> See also: <ul> <li>MoveToEventsEnabled </ul> | |
| OnBeforeParentPropertyUpdated | (Inherited from Visual.) | |
| OnBeforePropertyUpdated | (Inherited from Visual.) | |
| OnChildAdded | (Overrides VisualOnChildAdded.) | |
| OnChildRemoved | (Overrides VisualOnChildRemoved.) | |
| OnClick | Field ValueType:Call this script when the visual is clicked on in demonstration/navigation mode. | |
| OnConnected | Field ValueType:Call this script whenever this visual is connected to another visual | |
| OnCustomPropertyUpdated | (Inherited from Visual.) | |
| OnDisconnected | Field ValueType:Call this script when this visual is disconnected from another visual | |
| OnDragEnd | Field ValueType:Call this script when a visual has finished being dragged to a new location. | |
| OnDragStart | Field ValueType:Call this script when a visual is about to be dragged to a new location. | |
| OnExperimentFinished | Field ValueType:Call this script at the end of each experiment. This allows finalization of any data collection, for example. <p> See also: <ul> <li>OnExperimentStarted</li> </ul> | |
| OnExperimentStarted | Field ValueType:Call this script at the start of each experiment. This allows for initialization of any data collection, for example. <p> See also: <ul> <li>OnExperimentFinished</li> </ul> | |
| OnExportBindableItem | Field ValueType:Undocumented | |
| OnInitialize | Field ValueType:The script to run when Play is pressed at time 0. | |
| OnKey | Field ValueType:Call this script when a key is pressed and this visual is selected. | |
| OnLoaded | Field ValueType:Call this script when the document is first opened. | |
| OnMessage | Field ValueType:Call this script when a message is received from another visual. <p> To receive messages, this visual must be included in the other visual's MessageListeners list. <p> See also: <ul> <li>MessageListenersEnabled</li> </ul> | |
| OnMouseLeave | Field ValueType:Undocumented | |
| OnMouseOver | Field ValueType:Undocumented | |
| OnMouseUp | Field ValueType:Undocumented | |
| OnMoved | Field ValueType:Call this script when a visual has moved or rotated. NOTE: For fast moving objects like loads this can be a performance hit. | |
| OnMoveToCompleted | Field ValueType:Call this script when a MoveTo or TurnTo has finished. | |
| OnParentMoved | Field ValueType:Call this script when a parent or parent's parent, etc. has moved or rotated. NOTE: For fast moving objects like loads this can be a performance hit. | |
| OnParentUpdated | Field ValueType:Undocumented | |
| OnPreInitialize | (Inherited from Visual.) | |
| OnRealtimeLag | Field ValueType:Call this script when the document is running and falls behind by RealtimeLag or more. Useful for ensuring OPC Controls testing is in sync. | |
| OnRenderType | Field ValueType:Call this script whenever the render status of a visual type is changed. This is usually in response to the user pressing one of the "Show X" buttons on the toolbar; for example, "Show Lights", "Show Support Stands", etc. | |
| OnReset | Field ValueType:The script to be run when Reset is pressed. | |
| OnShowDirections | Field ValueType:Call this script when the status of the "Show Direction Arrows" configuration is changed. | |
| OnStart | Field ValueType:Undocumented | |
| OnStop | Field ValueType:Undocumented | |
| OnUnloaded | Field ValueType:Call this script when the document is closed. | |
| OnVisualAdded | Field ValueType:Call this script when a visual is added to the scene. | |
| OnVisualRemoved | Field ValueType:Call this script when a visual is removed from the scene. | |
| Parent |
The parent Visual for this Visual.
(Inherited from Visual.) | |
| PasteOffset | Field ValueType:Add this to the location of the last pasted object. Can be used to replicate a conveyor or other object multiple times with equal spacing. | |
| PhysicsAutoDisableTimeStep | Field ValueType:Undocumented | |
| PhysicsEnabled |
Whether the physics for the visual is enabled or not.
(Inherited from Visual.) | |
| PhysicsGridSize | Field ValueType:Undocumented | |
| PhysicsMaxIterations | Field ValueType:Undocumented | |
| PhysicsMinIterations | Field ValueType:Undocumented | |
| PhysicsMode | Field ValueType:The type of Physics being used; Volumetric, Planar or Linear. Setting this is ignored if the model is not in the Reset state or if the edition being run does not support the specified mode. | |
| PhysicsNumBodyIterationScale | Field ValueType:Undocumented | |
| PhysicsTimeStep | Field ValueType:Undocumented | |
| PropertyUpdatedSubscribers | Field ValueType:Visuals that will be notified when any custom property on this visual is updated. Each visual will be notified via its "OnAfterSubscribedPropertyUpdated" script. <p> See also: <ul> <li>OnAfterSubscribedPropertyUpdated </ul> | |
| RealtimeLag | Field ValueType:Call the OnRealtimeLag script if the running document gets this number of seconds or more behind real time. | |
| References | Field ValueType:The paths to external .NET assemblies that are used in the project. These can be absolute paths or relative to the directory containing the Demo3D.exe file (usually C:\Program Files\Demo3D ...\). | |
| Reflectivity | Field ValueType:The reflectivity of the material. 0 is non-reflective, 1 is a mirror. 0.1 is a good value for conveyor surfaces. | |
| RotationDegrees |
The rotation of the Visual (in degrees) relative to ts Parent Visual.
(Inherited from Visual.) | |
| RotationMatrix |
The rotation of this Visual relative to its Parent in Matrix form.
(Inherited from Visual.) | |
| RotationRadians |
The rotation of the Visual (in radians) relative to its Parent Visual.
(Inherited from Visual.) | |
| RotationXDegrees |
The X rotation of the Visual (in degrees) relative to its Parent Visual.
(Inherited from Visual.) | |
| RotationXRadians |
The X rotation of the Visual (in radians) relative to its Parent Visual.
(Inherited from Visual.) | |
| RotationYDegrees |
The Y rotation of the Visual (in degrees) relative to its Parent Visual.
(Inherited from Visual.) | |
| RotationYRadians |
The Y rotation of the Visual (in radians) relative to its Parent Visual.
(Inherited from Visual.) | |
| RotationZDegrees |
The Z rotation of the Visual (in degrees) relative to its Parent Visual.
(Inherited from Visual.) | |
| RotationZRadians |
The Z rotation of the Visual (in radians) relative to its Parent Visual.
(Inherited from Visual.) | |
| SelectParentWhenPicked | Field ValueType:If this component is clicked on or is included in a selection rectangle then the parent is selected instead and its properties are shown instead. Once this is set the properties can only be changed from the Project Explorer Window. | |
| ShowControlPoints | Field ValueType:Undocumented | |
| ShowFloor | Field ValueType:Turn on/off the drawing of the floor beneath the conveyor sections. | |
| ShowGrid | ||
| ShowSupports | Field ValueType:Turn on/off the drawing of the conveyor support stands. | |
| SimpleProperties | Field ValueType:Enter a non-empty name for each property that should be shown in the Simple Properties view. | |
| SimulationFallingWarning | Field ValueType:Warn if we fall more than SimulationTransferTolerance onto a conveyor | |
| SimulationLinearPathCount | Field ValueType:Undocumented | |
| SimulationOverlapTolerance | Field ValueType:Maximum load overlap allowed in Simulation | |
| SimulationOverlapWarning | Field ValueType:Warn if we get loads overlapping by more than SimulationOverlapTolerance in Simulation | |
| SimulationSensorTolerance | Field ValueType:Maximum distance from a sensor that can trigger an OnBlocked or OnCleared event in Simulation | |
| SimulationTransferTolerance | Field ValueType:Maximum gap allowed for automatic conveyor to conveyor transfer in Simulation | |
| SoapHttpListening | ||
| SOAPServer | Field ValueType:Configuration details for the SOAP server. The SOAP server allows external programs to interact with your model. | |
| StopOnError | Field ValueType:Stop the model running if an Error is logged. | |
| SurfaceArea | (Overrides VisualSurfaceArea.) | |
| SurfaceAreaDeep |
Surface area of Visual and all its children.
(Inherited from Visual.) | |
| Tags | Field ValueType:List of names that can be used to provide multiple categories of components in a catalog. The catalog can show only components with tag "Pallets", for example. | |
| ToolTipExpr | Field ValueType:The format string for the tooltip that appears for an object. | |
| TopColor | Field ValueType:The top color for the project backdrop color gradient. | |
| TopParent |
Get the top level visual, the one which has no parent.
(Inherited from Visual.) | |
| TransferState |
The current state of transfers in or out of this visual using the Transfer Protocol.
This is normally set for transfer enabled equipment (not loads).
(Inherited from Visual.) | |
| TransferStateEnabled |
Whether this visual supports the Transfer Protocol.
This is normally set for transfer enabled equipment (not loads).
(Inherited from Visual.) | |
| Type |
A type string for the Visual.
(Inherited from Visual.) | |
| UserData | (Inherited from Visual.) | |
| UserVars | (Inherited from Visual.) | |
| VehiclesCollide | Field ValueType:Undocumented | |
| Velocity |
The current linear velocity of the Visual in meters/second.
(Inherited from Visual.) | |
| VertexCount | (Overrides VisualVertexCount.) | |
| VertexCountDeep |
Number of vertices in Mesh for Visual and all its children.
(Inherited from Visual.) | |
| Volume | (Overrides VisualVolume.) | |
| VolumeDeep |
Volume of Visual and all its children.
(Inherited from Visual.) | |
| WorldBoundingBox |
The world axis aligned bounding box of this Visual
including the bounding boxes of all the child visuals and their children.
(Inherited from Visual.) | |
| WorldBoundingBoxExcludingChildren |
The world axis aligned bounding box of this Visual only (excluding any children).
(Inherited from Visual.) | |
| WorldBoundingSphere |
Get the bounding sphere of this visual, including its children, in world space relative to the Scene.
(Inherited from Visual.) | |
| WorldBoundingSphereExcludingChildren |
Get the bounding sphere of this visual, excluding its children, in world space relative to the Scene.
(Inherited from Visual.) | |
| WorldLocation |
The visual's world X, Y, and Z coordinates relative to the Scene.
(Inherited from Visual.) | |
| WorldLocationX |
The visual's world X coordinate relative to the Scene.
(Inherited from Visual.) | |
| WorldLocationY |
The visual's world Y coordinate relative to the Scene.
(Inherited from Visual.) | |
| WorldLocationZ |
The visual's world Z coordinate relative to the Scene.
(Inherited from Visual.) | |
| WorldMatrix |
The Location and Rotation of this Visual in Matrix form.
(Inherited from Visual.) | |
| WorldRotationDegrees |
The world rotation of the Visual (in degrees) relative to the Scene.
(Inherited from Visual.) | |
| WorldRotationMatrix |
The rotation of this Visual relative to the Scene in Matrix form.
(Inherited from Visual.) | |
| WorldRotationRadians |
The world rotation of the Visual (in radians) relative to the Scene.
(Inherited from Visual.) | |
| WorldRotationXDegrees |
The world X rotation of the Visual (in degrees) relative to the Scene.
(Inherited from Visual.) | |
| WorldRotationXRadians |
The world X rotation of the Visual (in radians) relative to the Scene.
(Inherited from Visual.) | |
| WorldRotationYDegrees |
The world Y rotation of the Visual (in degrees) relative to the Scene.
(Inherited from Visual.) | |
| WorldRotationYRadians |
The world Y rotation of the Visual (in radians) relative to the Scene.
(Inherited from Visual.) | |
| WorldRotationZDegrees |
The world Z rotation of the Visual (in degrees) relative to the Scene.
(Inherited from Visual.) | |
| WorldRotationZRadians |
The world Z rotation of the Visual (in radians) relative to the Scene.
(Inherited from Visual.) | |
| WorldXAxis |
The world X-Axis for the visual
(Inherited from Visual.) | |
| WorldYAxis |
The world Y-Axis for the visual
(Inherited from Visual.) | |
| WorldZAxis |
The world Z-Axis for the visual
(Inherited from Visual.) |