Difference between revisions of "IT SETUP TOOL GET LIST MATCHING BLOCKS"
From Macros Wiki
(Created page with "{{Up}} {{Command|syntax=IT_SETUP_TOOL_GET_LIST_MATCHING_BLOCKS <toolgroup> <station> <array:list of block makes> <array:list of block names...") |
|||
(One intermediate revision by the same user not shown) | |||
Line 1: | Line 1: | ||
[[:Category:Intermediate Tooling|{{Up}}]] | [[:Category:Intermediate Tooling|{{Up}}]] | ||
− | {{Command|syntax=IT_SETUP_TOOL_GET_LIST_MATCHING_BLOCKS < | + | {{Command|syntax=IT_SETUP_TOOL_GET_LIST_MATCHING_BLOCKS <tool number> <array:list of block makes> <array:list of block names> [<num blocks>] |
− | |description=:Get a list of the makes and names of the blocks that match the filters used for a tool | + | |description=:Get a list of the makes and names of the blocks that match the filters used for a tool |
− | |param1=< | + | |param1=<tool number>|param1_desc=Tool number |
− | |param2 | + | |param2=<list of makes>|param2_desc=String array variable for the list of block makes |
− | + | |param3=<list of names>|param3_desc=String array variable for the list of block names | |
− | | | + | |param4=<num blocks>|param4_desc=Variable for the number of matching blocks |
− | | | ||
}} | }} | ||
Latest revision as of 19:07, 16 April 2015
Command
- IT_SETUP_TOOL_GET_LIST_MATCHING_BLOCKS <tool number> <array:list of block makes> <array:list of block names> [<num blocks>]
- Get a list of the makes and names of the blocks that match the filters used for a tool
Parameters
- <tool number>
- Tool number
- <list of makes>
- String array variable for the list of block makes
- <list of names>
- String array variable for the list of block names
- <num blocks>
- Variable for the number of matching blocks
Example
- IT_SETUP_TOOL_GET_NUM_MATCHING_BLOCKS, 4, iNumBlocks
- LOCAL BlockMake$(iNumBlocks), BlockName$(iNumBlocks)
- IT_SETUP_TOOL_GET_LIST_MATCHING_BLOCKS 4, BlockMake$, BlockName$