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.
namespace Programmer.Editor.Fixtures
parameter controlName ( String ) : Name of the control.
return value Int32 - the control identifier.
Example in

Off/On Attribute (snippets):

Programmer.Editor.Fixtures.SetControlOff(Programmer.Editor.Fixtures.GetControlIdFromName("Shutter"))
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
Remarks