FaceRenderComputeVolume Option

 

The FaceRenderComputeVolume option turns on the option to calculate the volume for a FaceRender. The OptionValue is True or False.  True checks the box in the Property Manager to calculate the volume and False unchecks the box.

 

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(“FaceRenderComputeVolume”, “OptionValue”)

object.Do() or object.DoOnce()

 

Example

This example calculates the volume of the FaceRender.

 

  CommandApi.Construct ("ModifyModule")

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

  CommandApi.Option ("FaceRenderComputeVolume", "True")

  CommandApi.Do()

 

Used by: FaceRender

 

 

See Also

Automation Model