TransformYOrigin Option

 

The TransformYOrigin option changes the custom Origin Y coordinate value for a Transform module. The OptionValue is a number, indicating the Y 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(“TransformYOrigin”, “OptionValue”)

object.Do() or object.DoOnce()

 

Example

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

 

  CommandApi.Construct ("ModifyModule")

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

  CommandApi.Option ("TransformYOrigin", "50")

  CommandApi.Do()

 

Used by: Transform

 

 

See Also

Automation Model