IT SETUP STATION GET LIST MATCHING BLOCKS
From Macros Wiki
Command
- IT_SETUP_STATION_GET_LIST_MATCHING_BLOCKS <toolgroup> <station> <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 position
Parameters
- <toolgroup>
- Toolgroup number
- <station>
- Station 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_STATION_GET_NUM_MATCHING_BLOCKS, 1, 21, iNumBlocks
- LOCAL BlockMake$(iNumBlocks), BlockName$(iNumBlocks)
- IT_SETUP_STATION_GET_LIST_MATCHING_BLOCKS 1, 21, BlockMake$, BlockName$