Notch Notch Manual 0.9.23
 Light | Dark
SetPropertyArtnetLocation()

SetPropertyArtnetLocation()

Purpose #

Sets the ArtNet property location for a node’s parameter. See ArtNet for more information.

Syntax #

void SetPropertyArtnetLocation(String property_name, int artnet_channel, float min_value, float max_value, bool is_16_bit);

Parameters

artnet_channelThe ArtNet channel ID.
is_16_bitA flag to indicate if the binding is 16-bit or not.
max_valueThe maximum user-defined value.
min_valueThe minimum user-defined value.
property_nameThe name of the property to set.
The first 3 channels should be left free for Notch ArtNet transport controls.

Example #

function Update()
{ 
    layer = Document.FindLayer("My Layer");
    node = layer.FindNode("Camera");
    node.SetPropertyArtnetLocation("Attributes.Zoom", 4, 1.0, 2.0, false);
}