HeightFieldOrientation Option

 

The HeightFieldOrientation option changes the orientation of the Heightfield. The OptionValue is either 0, 1, or 2.  0 sets the method to XY Plane (Axial), 1 sets the method to XZ Plane (Coronal), and 2 sets the method to or YZ Plane (Sagittal). This is only available when more than one grid node exists in each direction.

 

Syntax

object.Construct(“CreateModule”)

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

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

object.Do() or object.DoOnce()

 

object.Construct(“ModifyModule”)

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

object.Option(“HeightFieldOrientation”, “True”)

object.Do() or object.DoOnce()

 

Example

This example changes the height field orientation.

 

  CommandApi.Construct("ModifyModule")

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

  CommandApi.Option("HeightFieldOrientation", "1")

  CommandApi.Do()

 

Used by: HeightField

 

 

See Also

Automation Model