Difference between revisions of "IT BLOCKS GET LIST SHANK SIZES"

From Macros Wiki
Jump to: navigation, search
(Created page with "{{Up}} {{Command|syntax=IT_BLOCKS_GET_LIST_SHANK_SIZES <make> <name> <array:list of types> <num sizes> |description=:Get a list of all shan...")
 
 
Line 1: Line 1:
 
[[:Category:Intermediate Tooling|{{Up}}]]
 
[[:Category:Intermediate Tooling|{{Up}}]]
  
{{Command|syntax=IT_BLOCKS_GET_LIST_SHANK_SIZES <make> <name> <array:list of types> <num sizes>
+
{{Command|syntax=IT_BLOCKS_GET_LIST_SHANK_SIZES <make> <name> <array:list of sizes> <num sizes>
 
|description=:Get a list of all shank sizes associated with a block in a block library
 
|description=:Get a list of all shank sizes associated with a block in a block library
  
Line 12: Line 12:
  
 
===Example===
 
===Example===
:IT_BLOCKS_GET_DATA "Kennametal", "Block1", NUM_SHANK_SIZES, iNumTypes
+
:IT_BLOCKS_GET_DATA "Kennametal", "Block1", NUM_SHANK_SIZES, iNumSizes
:LOCAL ListShanks$(iNumTypes)
+
:LOCAL ListShanks$(iNumSizes)
 
:IT_BLOCKS_GET_LIST_SHANK_SIZES "Kennametal", "Block1", ListShanks$, iNum
 
:IT_BLOCKS_GET_LIST_SHANK_SIZES "Kennametal", "Block1", ListShanks$, iNum
  
 
[[Category:IT_Library_Data]]
 
[[Category:IT_Library_Data]]

Latest revision as of 12:30, 17 April 2015

Up

Command

IT_BLOCKS_GET_LIST_SHANK_SIZES <make> <name> <array:list of sizes> <num sizes>


Get a list of all shank sizes associated with a block in a block library

Parameters

<make>
Block make
<name>
Block name
<array>
String array to store list of shank sizes
<num sizes>
Variable for the number of shank sizes

Example

IT_BLOCKS_GET_DATA "Kennametal", "Block1", NUM_SHANK_SIZES, iNumSizes
LOCAL ListShanks$(iNumSizes)
IT_BLOCKS_GET_LIST_SHANK_SIZES "Kennametal", "Block1", ListShanks$, iNum