The ClipPlaneSwap option changes the clipping plane’s direction. The OptionValue is set to either True or False. True swaps the direction. False leaves the direction to the default.
Syntax
object.Construct(“CreateModule”)
object.Option(“SourceModule”, “data file name”)
object.Option(“Type”, “ClipPlane”)
object.Do() or object.DoOnce()
object.Construct(“ModifyModule”)
object.Option(“Module”, “ClipPlane”)
object.Option(“ClipPlaneSwap”, “OptionValue”)
object.Do() or object.DoOnce()
Example
This example shows how to swap the direction of the clipping plane.
CommandApi.Construct ("ModifyModule")
CommandApi.Option ("Module", "ClipPlane")
CommandApi.Option ("ClipPlaneSwap", "True")
CommandApi.Do()
Used by: ClipPlane module
See Also