ObliqueSlicePlaneOrientation Option

 

The ObliqueSlicePlaneOrientation option changes the orientation of the cutting plane for a ObliqueSlice plot.  The OptionValue is 0, 1, 2, or 3 for XY Plane (Axial), XZ Plane (Coronal), YZ Plane (Sagittal), or Custom.

 

Syntax

object.Construct(“CreateModule”)

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

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

object.Do() or object.DoOnce()

 

object.Construct(“ModifyModule”)

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

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

object.Do() or object.DoOnce()

 

Example

This example shows how to change the ObliqueSlice cutting plane orientation.

 

  CommandApi.Construct ("ModifyModule")

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

  CommandApi.Option ("ObliqueSlicePlaneOrientation", "2")

  CommandApi.Do()

 

Used by: ObliqueSlice

 

 

See Also

Automation Model