ChangeTypeOffset Option

 

The ChangeTypeOffset option the offset 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(“ChangeTypeOffset”, “OptionValue”)

object.Do() or object.DoOnce()

 

Example

This example shows how to change the offset to 20 for a ChangeType module.

 

  CommandApi.Construct ("ModifyModule")

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

  CommandApi.Option ("ChangeTypeOffset", "20")

  CommandApi.Do()

 

Used by: ChangeType

 

See Also

Automation Model