Properties can be accessed from PresetInfo class/structures obtained from a selected Preset or Channel using the PresetInfo:GetSelectedPreset()
or PresetInfo:GetSelectedChannel
functions. Note that several properties are used internally by Moving Light Assistant and may not be of much use to users.
To read or write to a ‘member’ property of a PresetInfo class/structure, a dot separator is used between the _PresetInfo_class/structure object and the property.
name = preset.PresetName
Gets the PresetName
property from a previously retrieved PresetInfo class/structure called preset
and assigns it to the variable name
.
preset.PresetName = "New Preset Name"
Sets the PresetName
property of a previously retrieved PresetInfo class/structure to “New Preset Name”.
AutoPhotograph
Boolean value
The AutoPhotograph
property determines if a channel should be photographed when running scripts to automatically photograph presets.
ChannelNumber
Numeric(integer) value
The ChannelNumber
property is the channel number in the channel list.
ChannelsUsePreset
Boolean value
The ChannelsUsePreset
property is not currently used in Moving Light Assistant.
Cue
String value
The Cue
property is the string representation of the focus cue. Note that a channel can have a different cue to a preset.
CueAsNumeric
Numeric(float) value
The CueAsNumeric
property is the numeric representation of the focus cue. Note that a channel can have a different cue to a preset.
CueIsChannelSpecific
Boolean value
The CueIsChannelSpecific
property indicates that the channels focus cue is specific to the channel and different from the preset focus cue.
FixtureNumber
Numeric(integer) value
The FixtureNumber
property is the fixture number in the channel list. Note that only some consoles have support for fixture numbers, i.e. grandMA2.
FixtureType
String value
The FixtureType
property a string representation of the name of the channels fixture type, i.e. MAC Viper Performance.
Image1Caption
String value
The Image1Caption
property is the caption/description for preset/channel image 1.
Image1FileName
String value
The Image1FileName
property is the file name of image 1 when it was imported into Moving Light Assistant.
Image1UseReference
Numeric(integer) value
The Image1UseReference
property indicates that image 1 is using a reference image. Not currently implemented, for future use.
Image1VectorData
String value
The Image1VectorData
property is a string of data to generate annotation drawings on image 1.
Image2Caption
String value
The Image2Caption
property is the caption/description for preset/channel image 2.
Image2FileName
String value
The Image2FileName
property is the file name of image 2 when it was imported into Moving Light Assistant.
Image2UseReference
Boolean value
The Image2UseReference
property indicates that image 2 is using a reference image. Not currently implemented, for future use.
Image2VectorData
String value
The Image2VectorData
property is a string of data to generate annotation drawings on image 2.
Image3Caption
String value
The Image3Caption
property is the caption/description for preset/channel image 3.
Image3FileName
String value
The Image3FileName
property is the file name of image 3 when it was imported into Moving Light Assistant.
Image3UseReference
Numeric(integer) value
The Image3UseReference
property indicates that image 3 is using a reference image. Not currently implemented, for future use.
Image3VectorData
String value
The Image3VectorData
property is a string of data to generate annotation drawings on image 3.
Image4Caption
String value
The Image4Caption
property is the caption/description for preset/channel image 4.
Image4FileName
String value
The Image4FileName
property is the file name of image 4 when it was imported into Moving Light Assistant.
Image4UseReference
Numeric(integer) value
The Image4UseReference
property indicates that image 4 is using a reference image. Not currently implemented, for future use.
Image4VectorData
String value
The Image4VectorData
property is a string of data to generate annotation drawings on image 4.
IsChannelEntry
Boolean value
The IsChannelEntry
property indicates if the PresetInfo class/structure is for a preset if false and for a channel if true.
IsFocused
Boolean value
The IsFocused
property is the focussed flag in the channel list.
Notes
String value
The Notes
property is the notes field for a preset or channel.
PresetID
String value
The PresetID
property is a string representation of the preset number/ID. A channel must have the same preset ID set as the preset.
PresetIDAsNumeric
Numeric(float) value
The PresetIDAsNumeric
property is a numeric representation of the preset number/ID. A channel must have the same preset ID set as the preset.
PresetName
String value
The PresetName
property is the preset name for a preset. A channel must have the same preset name set as the preset.
PresetOrder
Numeric(integer) value
The PresetOrder
property used internally to display the presets in the order determined by sorting.
PresetType
String value
The PresetType
property is a string representation of the consoles preset type, i.e. Preset
, Focus Palette
, 10.All
etc. A channel must have the same preset type set as the preset.
PresetUnused
Boolean value
The PresetUnused
property is the Ignore setting for a preset in Moving Light Assistant. A channel can also have this setting which generally matches the presets setting. A channel may get set to Ignore by Preset Reconciliation, but there is not user interface in Moving Light Assistant to set this flag for a channel.
Priority
Numeric(integer) value
The Priority
property is the numeric priority value in the range of 0
to 6
. 0
is for not priority assigned.
PriorityName
String value
The PriorityName
property is the priority text for a priority a defined in the document preferences.
Scenery
String value
The Scenery
property is the Set field for a preset. Channels must have the same set assigned as the preset.
SequenceID
String value
The SequenceID
property is the sequence name or cue list name/number that relates to the focus cue for a preset/channel. This field is not fully used currently.