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

Set the Material of a Graphic

MaterialAmbientColor

MaterialDiffuseColor

MaterialEmissiveColor

MaterialShininess

MaterialSpecularColor

MaterialTransparency