Lookup Animation Object Properties and Methods

The following table provides the syntax and description of lookup animation object properties and methods.

Lookup Animation Object Properties and Methods 

Syntax

Description

Object.ColorTable

Specifies whether the Lookup object's output values are colors.

Object.DefaultOutputValue

Specifies the value written to the object's property if the input value is not found within the Lookup object table.

Object.ExactMatch

Specifies if the Lookup object is a range or an exact match table. For example, if you are using a linear animation to animate the position of an object on your screen:

  • If you set use delta to True, the object's position will be set to its base position on the screen and the transformed output value.
  • If you set use delta to False, the object's position will always fail within the set output range.

Object.ToggleSource

Contains the toggle source string name. This applies to all levels of a lookup object table. When the toggle source's value is true, the Lookup object levels toggle between the output value and the global toggle value. You set the global toggle value with the Global Toggle property (for example, setting the toggle source as blink on new alarm).

Object.GlobalOutputToggle

Specifies if the table has a global toggle source.

Object.GlobalToggle

Specifies the value that will be toggled to if the value of the global toggle source is true.

Object.SharedTableName

Specifies the name of a shared lookup table in a picture or shared threshold table in user globals. If this value is set, the object will use the table that can be shared by other objects, rather than its own unique table.

Object.ToggleRate

Specifies the rate at which the output of the Lookup object toggles between output1 and output2. For example, in a color table, this property is the blinking rate.

Object.Tolerance

Specifies the tolerance for exact match lookup tables.

Object.AddLevel (pInput1, pOutput1, [pInput2, pOutput2])

Adds a new level to the Lookup object table.

Object.GetLevel (iIndex, pInput1, pOutput1, [pInput2, pOutput2])

Gets the level properties for the specified level index of the Lookup object. Indexing begins at 1.

Object.RemoveAllLevels

Removes all levels from the Lookup table.

Object.Removelevel

Removes a level of a lookup table. Indexing begins at 1.

See Also