IT BLOCKS GET ALL TYPES
From Macros Wiki
Jump to navigationJump to search
Command
- IT_BLOCKS_GET_ALL_TYPES <make> <name> <array:list of types> <num types>
- Get a list of all supported block types
Parameters
- <make>
- Block make
- <name>
- Block name
- <array>
- String array to store the list of block types
- <num types>
- Variable for the number of block types
Example
- IT_BLOCKS_GET_DATA "Kennametal", "Block1", NUM_ALL_BLOCK_TYPES, iNumTypes
- LOCAL ListTypes$(iNumTypes)
- IT_BLOCKS_GET_ALL_TYPES "Kennametal", "Block1", ListTypes$, iNum