The LatticeSlicePlaneOrientation option changes the cutting plane orientation for a Slice module. The OptionValue is 0, 1, 2, or 3 for XY Plane (Axial), XZ Plane (Coronal), YZ Plane (Sagittal), or Custom.
Syntax
object.Construct(“ModifyModule”)
object.Option(“Module”, “Slice”)
object.Option(“LatticeSlicePlaneOrientation”, “OptionValue”)
object.Do() or object.DoOnce()
Example
This example sets the cutting plane orientation for the Slice module.
CommandApi.Construct ("ModifyModule")
CommandApi.Option ("Module", "Slice")
CommandApi.Option ("LatticeSlicePlaneOrientation", "3")
CommandApi.Do()
Used by: LatticeSlice
See Also