The ChangeTypeStretch option scales the input to completely fill the output range for a ChangeType module. The OptionValue is either True or False. True scales the output. False does not.
Syntax
object.Construct(“ModifyModule”)
object.Option(“Module”, “ChangeType”)
object.Option(“ChangeTypeStretch”, “OptionValue”)
object.Do() or object.DoOnce()
Example
This example shows how to change the scale to 0.6 for a ChangeType module.
'Stretch the output for the change type module output
CommandApi.Construct ("ModifyModule")
CommandApi.Option ("Module", "ChangeType")
CommandApi.Option ("ChangeTypeStretch", "True")
CommandApi.Do()
Used by: ChangeType
See Also