IT BLOCKS GET LIST TYPES

From Macros Wiki
Jump to: navigation, search

Up

Command

IT_BLOCKS_GET_LIST_TYPES <make> <name> <array:list of types> <num types>


Get a list of all block types associated with a block in a block library

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_BLOCK_TYPES, iNumTypes
LOCAL ListTypes$(iNumTypes)
IT_BLOCKS_GET_LIST_TYPES "Kennametal", "Block1", ListTypes$, iNum