MaterialActive
Syntax
<Path>.MaterialActive:boolean |
The attribute MaterialActive activates (true) or deactivates (false) the material of the graphic designated by <Path>.
Note:
When you assign the attribute, Plant Simulation deactivates graphic inheritance.
Note:
You cannot assign the attribute when the graphic is an automatically generated graphic group or when the graphic is located in an automatically generated graphic group.
Data Type of the Value You Can Assign
You can assign a value of data type boolean.
Example
MyStation._3D.getGraphic("default", [3,3]).MaterialActive := true |
Related Topics
Related Topics
SimTalk Access to 3DCopy 3D Object Settings to a Method
Detailed Access To Graphics
addGraphicTransformation
deleteGraphic
graphic
groupGraphics
Index
InternalGraphicType
makeAnimatableObject
MaterialAmbientColor
MaterialDiffuseColor
MaterialEmissiveColor
MaterialShininess
MaterialSpecularColor
MaterialTransparency
Name
NumGraphics
ObstacleForWorker
optimizeByPruningTinyGraphics
optimizeByStructureFlattening
optimizeByVisibilityFilter
Position
Rotation
Scale
TransformationMatrix
ungroupGraphic