User Tools

Site Tools


macros:function:programmer.editor.fixtures.getcontrolidfromname

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

macros:function:programmer.editor.fixtures.getcontrolidfromname [2019/05/04 13:32] (current)
icke_siegen created
Line 1: Line 1:
 +Function
  
 +====== Programmer.Editor.Fixtures.GetControlIdFromName ======
 +
 +  Int32 Programmer.Editor.Fixtures.GetControlIdFromName(String controlName)
 +
 +^ API | http://​api.avolites.com/​11.0/​Programmer.Editor.Fixtures.GetControlIdFromName.html |
 +^ description | Gets the control identifier from its name. |
 +^ [[macros:​namespace|namespace]] | [[macros:​namespace:​Programmer.Editor.Fixtures]] |
 +^ parameter | controlName ( [[macros:​type:​string]] ) : Name of the control. |
 +^ return value | [[macros:​type:​int32]] - the control identifier. |  ​
 +
 +== Example in == 
 +[[macros:​example:​offonattribute:​]]: ​
 +
 +<code xml>
 +Programmer.Editor.Fixtures.SetControlOff(Programmer.Editor.Fixtures.GetControlIdFromName("​Shutter"​))
 +</​code>​
 +
 +>Above I have also used the GetControlIdFromName function to get the control/​attribute ID which SetControlOff takes as a parameter, some of these are pre-defined such as Dimmer being 16 however many others are not.
 +
 +== Also used in ==
 +
 +{{backlinks>​.}}
 +
 +== Remarks ==
 +
 +~~DISCUSSION~~
macros/function/programmer.editor.fixtures.getcontrolidfromname.txt ยท Last modified: 2019/05/04 13:32 by icke_siegen