Difference between revisions of "IT SETUP NODE GET MATCHING FIXTURE"

From Macros Wiki
Jump to: navigation, search
 
Line 4: Line 4:
 
|description=:Get one of the fixtures that match the filters used for a node
 
|description=:Get one of the fixtures that match the filters used for a node
  
|param1=<node>|param1_desc=Index to list of fixture nodes
+
|param1=<node>|param1_desc=Node number (1=first fixture node)
 
|param2=<index>|param2_desc=Index to list of matching fixtures
 
|param2=<index>|param2_desc=Index to list of matching fixtures
 
|param3=<make>|param3_desc=String variable to store the fixture make
 
|param3=<make>|param3_desc=String variable to store the fixture make

Latest revision as of 16:38, 5 May 2015

Up

Command

IT_SETUP_NODE_GET_MATCHING_FIXTURE <node> <index> <make> <name>


Get one of the fixtures that match the filters used for a node

Parameters

<node>
Node number (1=first fixture node)
<index>
Index to list of matching fixtures
<make>
String variable to store the fixture make
<name>
String variable to store the fixture name

Example

IT_SETUP_NODE_GET_NUM_MATCHING_FIXTURES 3, iNum
FOR i=1 TO iNum
IT_SETUP_NODE_GET_MATCHING_FIXTURE 3, i, a$, b$
   MESSAGE "Matching fixture %i of %iNum. Make = %a$, name = %b$"
NEXT i