ClipPlaneDistance Option

 

The ClipPlaneDistance option changes how far away from the center of the map that the clipping plane is located. The OptionValue is set to any number. The larger the number, the further away the clipping plane is located.

 

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

object.Do() or object.DoOnce()

 

Example

This example shows how to change the clip plane distance so it is not at the center of the map.

 

  CommandApi.Construct ("ModifyModule")

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

  CommandApi.Option ("ClipPlaneDistance", "10")

  CommandApi.Do()

 

Used by: ClipPlane module

 

 

See Also

Automation Model