Discrete pushbutton
- Last UpdatedJul 26, 2024
- 1 minute read
The following elements can be specified for a discrete pushbutton animation link.
|
Elements |
Description |
|---|---|
|
Title |
Object name. Optional. |
|
ButtonType |
Type of discrete button: {direct, reverse, toggle, reset, or set}. Required. Object is not created if invalid or missing. |
|
Expression |
Discrete type tag or expression. Required. Object is not created if the expression element is invalid or missing. |
|
KeyAssignment |
Virtual key element, empty string, or absent. Default is no assignment. An empty string means no assignment occurs. |
Example:
<ButtonDiscreteValue>
<Title>ButtonDiscreteValue1</Title>
<ButtonType>Reverse</ButtonType>
<KeyAssignment>
<KeyCode>F2</KeyCode>
<KeyFlags>Shift</KeyFlags>
</KeyAssignment>
<Expression>
<![CDATA[dTag001]]>
</Expression>
</ButtonDiscreteValue>
Minimal example:
<ButtonDiscreteValue>
<ButtonType>Reverse</ButtonType>
<Expression><![CDATA[dTag001]]></Expression>
</ButtonDiscreteValue>