The TransformXOrigin option changes the custom Origin X coordinate value for a Transform module. The OptionValue is a number, indicating the X 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(“TransformXOrigin”, “OptionValue”)
object.Do() or object.DoOnce()
Example
This example changes the custom X origin coordinate value for a Transform module.
CommandApi.Construct ("ModifyModule")
CommandApi.Option ("Module", "Transform")
CommandApi.Option ("TransformXOrigin", "30")
CommandApi.Do()
Used by: Transform
See Also