Difference between revisions of "IT SETUP NODE GET MATCHING FIXTURE"
From Macros Wiki
(Created page with "{{Up}} {{Command|syntax=IT_SETUP_NODE_GET_MATCHING_FIXTURE <node> <index> <make> <name> |description=:Get one of the fixtures that match th...") |
|||
Line 5: | Line 5: | ||
|param1=<node>|param1_desc=Index to list of fixture nodes | |param1=<node>|param1_desc=Index to list of fixture nodes | ||
− | |param2=<index>| | + | |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 | ||
|param4=<name>|param4_desc=String variable to store the fixture name | |param4=<name>|param4_desc=String variable to store the fixture name |
Revision as of 10:25, 17 April 2015
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>
- Index to list of fixture nodes
- <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