The ObliqueSlicePlaneZNormal option changes the Z 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(“ObliqueSlicePlaneZNormal”, “OptionValue”)
object.Do() or object.DoOnce()
Example
This example shows how to set the Z Normal value for a ObliqueSlice cutting plane.
CommandApi.Construct ("ModifyModule")
CommandApi.Option ("Module", "ObliqueImage")
CommandApi.Option ("ObliqueSlicePlaneZNormal", "60")
CommandApi.Do()
Used by: ObliqueSlice
See Also