TransformZOrigin Option

 

The TransformZOrigin option changes the custom Origin Z coordinate value for a Transform module. The OptionValue is a number, indicating the Z location in map units for the transform origin. To change the Transform to use a custom origin, set the TransformOrigin option.

 

Syntax

object.Construct(“ModifyModule”)

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

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

object.Do() or object.DoOnce()

 

Example

This example changes the custom Z origin coordinate value for a Transform module.

 

  CommandApi.Construct ("ModifyModule")

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

  CommandApi.Option ("TransformZOrigin", "70")

  CommandApi.Do()

 

Used by: Transform

 

 

See Also

Automation Model