OrthoSliceComponent Option

 

The OrthoSliceComponent option changes the component being displayed by the OrthoImage. This option is only available when more than one component exists in the lattice. The OptionValue is an integer number, indicating which component should be shown.  

 

Syntax

object.Construct(“CreateModule”)

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

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

object.Do() or object.DoOnce()

 

object.Construct(“ModifyModule”)

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

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

object.Do() or object.DoOnce()

 

Example

This example changes the component to 1.

 

  CommandApi.Construct("ModifyModule")

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

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

  CommandApi.Do()

 

Used by: OrthoSlice module

 

 

See Also

Automation Model