grandMA3 User Manual Publication

If Keyword

grandMA3 User Manual » Command Syntax and Keywords » General Keywords » If
Version 2.0
Important:
To end an if statement in the middle of a longer syntax, use the EndIf keyword.
For more information see EndIf Keyword.

To enter the If keyword in the command line, use one of the options:

  • Press If
  • Type If

Description

The If keyword is a function keyword which is used to deselect fixtures in a selection.

As a helping keyword If sets a filter for the operation.

As a helping keyword for the Clone function If sets the scope of cloning.

For more information see Clone Keyword.

Syntax

([Function] [Object] ["Object_Name" or Object_Number]) If [Object] ["Object_Name" or Object_Number]

Clone [Object] ["Object_Name" or Object_Number] At [Object] ["Object_Name" or Object_Number] If [Object] ["Object_Name" or Object_Number]

Examples

  • To deselect fixtures which are not in group 5, type:
User name[Fixture]>If Group 5

 

  • To deselect fixtures which are not in group 3 and group 5, type:
User name[Fixture]>Group 3 If Group 5

 

  • To delete channel 4 in cue 3, type:
User name[Fixture]>Delete Cue 3 If Channel 4


  • To delete attibute "Pan" of fixture 4 in cue 3, type:
User name[Fixture]>Delete Cue 3 If Fixture 4 Attribute "Pan"

 

  • To clone fixture 1 to fixture 2 only in sequence 1, type:
User name[Fixture]>Clone Fixture 1 At Fixture 2 If Sequence 1

 

  • To activate only the attributes of filter 42 when knocking in feature group 2, type:
User name[Fixture]>On FeatureGroup 2 If Filter 42