grandMA3 User Manual Publication
SetGlobalVariable Keyword
grandMA3 User Manual » Command Syntax and Keywords » General Keywords » SetGlobalVariable
|
Version 2.0
|
To enter the SetGlobalVariable keyword in the command line, use one of the options:
- Type SetGlobalVariable
- Type the shortcut Setg
Description
The SetGlobalVariable keyword is used to set global variables in a show. It also supports the use of values in properties of other objects as a value of the variable.
Syntax
SetGlobalVariable ["Name of Variable"] [Numeric Value]
SetGlobalVariable ["Name of Variable"] ["Text_Value"]
SetGlobalVariable ["Name of Variable"] At [Object] ["Object Name" or Object Number] Property ["Property_Name"] (/Look)
Examples
- To set the global variable "Urban Blues" to the value of 3, type:
User name[Fixture]>SetGlobalVariable "Urban Blues" "3" |
- To set the global variable "Hook" to the CueFade value of cue 2 of the selected sequence, type:
User name[Fixture]>SetGlobalVariable "Hook" At Cue 2 Property "CueFade" |
- To set the global variable "PositionX" to the 3D X coordinate of fixture 1, type:
User name[Fixture]>SetGlobalVariable "PositionX" At Fixture 1 Property "PosX" |
- To set the global variable "myShow" to the name of the show file that was loaded, type:
User name[Fixture]>SetGlobalVariable myShow At Root "MANetSocket" Property "ShowFile" |