The ChangeTypeScale option the scale for the output for a ChangeType module. The OptionValue is a number. The equation output=(input+Offset)*Scale is used to define the linear transformation of the output.
Syntax
object.Construct(“ModifyModule”)
object.Option(“Module”, “ChangeType”)
object.Option(“ChangeTypeScale”, “OptionValue”)
object.Do() or object.DoOnce()
Example
This example shows how to change the scale to 0.6 for a ChangeType module.
'Change the scale for the change type module output
CommandApi.Construct ("ModifyModule")
CommandApi.Option ("Module", "ChangeType")
CommandApi.Option ("ChangeTypeScale", "0.6")
CommandApi.Do()
Used by: ChangeType
See Also