ObliqueSlicePlaneYNormal Option

 

The ObliqueSlicePlaneYNormal option changes the Y normal direction for the cutting plane.  The OptionValue is set to any number.  The ratio of the numbers for the ObliqueSlicePlaneXNormal, ObliqueSlicePlaneYNormal and ObliqueSlicePlaneZNormal determine the angle of the cutting plane.

 

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

object.Do() or object.DoOnce()

 

Example

This example shows how to set the Y Normal value for a ObliqueSlice cutting plane.

 

  CommandApi.Construct ("ModifyModule")

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

  CommandApi.Option ("ObliqueSlicePlaneYNormal", "30")

  CommandApi.Do()

 

Used by: ObliqueSlice

 

 

See Also

Automation Model