Properties can be accessed from a CueData class obtained from a specified Cue using the CueData:GetCueForChannel()
or CueData:GetCueForFixture()
functions. Note that several properties are used internally by Moving Light Assistant and may not be of much use to users.
To read a ‘member’ property of a CueData class, a dot separator is used between the _CueData_class object and the property.
channelNum = cue.Channel
Gets the Channel
property from a previously retrieved CueData class called cue
and assigns it to the variable channelNum
.
Channel
Numeric(integer) value
The Channel
property is the channel number for the cue.
ConsoleFixtureID
String value
The ConsoleFixtureID
property is an identifier the console uses to identify a channel. This is used for Hog2 data.
CueNumber
String value
The CueNumber
property is the cue number.
CueNumberAsNumeric
String value
The CueNumberAsNumeric
property is the cue number as an integer.
DimmerLevelTracked
Numeric(float) value
The DimmerLevelTracked
property is the current tracked dimmer value in the cue regardless if the cue contains any dimmer data.
DimmerParameterNumber
Numeric(integer) value
The DimmerParameterNumber
property is number of the parameter containing the dimmer data. This may return 0
if the cue does not contain any dimmer data.
Fixture
Numeric(integer) value
The Channel
property is the fixture number for the cue.
FixtureName
String value
The FixtureName
property is the fixture name for the channel/fixture.
FixtureType
String value
The FixtureType
property is the fixture type for the channel/fixture.
NumParameters
Numeric(integer) value
The NumParameters
property is the number of parameters in the cue.
ParameterEffectX (where X is a number 1 to 100)
String value
The ParameterEffectX
property contains effect data information for parameter X. Note that which parameter is which number will not be same between presets as it is dependant of which parameters are actually store in the cue.
Example.
effectData = cue.ParameterEffect9
ParameterEffectDataX (where X is a number 1 to 100)
String value
The ParameterEffectDataX
property contains effect data information for parameter X. Note that which parameter is which number will not be same between presets as it is dependant of which parameters are actually store in the cue.
Example.
effectData = cue.ParameterEffectData9
ParameterEffectIDX (where X is a number 1 to 100)
String value
The ParameterEffectIDX
property contains effect identifier for parameter X. Note that which parameter is which number will not be same between presets as it is dependant of which parameters are actually store in the cue.
Example.
effectData = cue.ParameterEffectID9
ParameterNameX (where X is a number 1 to 100)
String value
The ParameterNameX
property contains the parameter name i.e. DIM
, PAN
, TILT
for parameter X. Note that which parameter is which number will not be same between presets as it is dependant of which parameters are actually store in the preset.
Example.
name = cue.ParameterName9
ParameterPresetX (where X is a number 1 to 100)
String value
The ParameterPresetX
property contains preset information for parameter X. Note that which parameter is which number will not be same between presets as it is dependant of which parameters are actually store in the preset.
Example.
presetData = preset.ParameterPreset9
ParameterPresetIDX (where X is a number 1 to 100)
String value
The ParameterPresetIDX
property contains preset identifier for parameter X. Note that which parameter is which number will not be same between presets as it is dependant of which parameters are actually store in the preset.
Example.
presetID = preset.ParameterPresetID9
ParameterTimeX (where X is a number 1 to 100)
String value
The ParameterTimeX
property contains the parameter time value stored for parameter X. Note that which parameter is which number will not be same between presets as it is dependant of which parameters are actually store in the preset. Data may not be returned depending on the console data.
Example.
time = preset.ParameterTime9
ParameterValueX (where X is a number 1 to 100)
String value
The ParameterValueX
property contains the value stored for parameter X. Note that which parameter is which number will not be same between presets as it is dependant of which parameters are actually store in the cue. The value format will vary from console to console and depend in what format the data is exported.
Example.
value = preset.ParameterValue9
Part
String value
The Part
property is the part number for the cue.
SequenceID
String value
The Sequence
property is the sequence/cue list that the cue is in.
SequenceIndex
Numeric(integer) value
The SequenceIndex
property is the consoles index identifier for a sequence.