FaceRenderUseComponentAverage Option

 

The FaceRenderUseComponentAverage option colors the block by the average component value or by the lower left corner component value for the FaceRender module. The OptionValue is True or False. True sets the color to the average component value. False sets the color to the lower left corner component value. 

 

Syntax

object.Construct(“CreateModule”)

object.Option(“SourceModule”, “data file name”)

object.Option(“Type”, “FaceRender”)

object.Do() or object.DoOnce()

 

object.Construct(“ModifyModule”)

object.Option(“Module”, “FaceRender”)

object.Option(“FaceRenderUseComponentValue”, “OptionValue”)

object.Do() or object.DoOnce()

 

Example

This example sets the color of the blocks in the FaceRender module to the lower left corner value.

 

  CommandApi.Construct ("ModifyModule")

  CommandApi.Option ("Module", "FaceRender")

  CommandApi.Option ("FaceRenderUseComponentValue", "False")

  CommandApi.Do()

 

Used by: FaceRender

 

 

See Also

Automation Model