GET MULTI PART DATA

From Macros Wiki
Revision as of 21:16, 25 October 2018 by Mikeo (talk | contribs)
Jump to navigationJump to search

Up

Command

GET_MULTI_PART_DATA <parameter> <values>


Get the Multi part data from the Document Control Dialog

Parameters

<parameter>
Parameter Description Version Number
MULTI_PART_TYPE 0=None, 1=Part Duplication
DUPLICATION_TYPE 1=Equally Spaced, 2=Grid, 3=Define Positions
TRAVERSE_OPTION 1=Off Part Location, 2=Part Clearance
COMPLETE_EACH_PART 0=no, 1=yes
BACK_AND_FORTH 0=no, 1=yes
   
Equally Spaced Parameters  
NUMBER_OF_PARTS Number of Parts
ORIGIN_OFFSET 3 values (x, y, z)
   
Grid Parameters  
NUMBER_OF_PARTS_IN_X Number of parts in X direction
NUMBER_OF_PARTS_IN_Y Number of parts in Y direction
GRID_OFFSET 2 values (x, y)
GRID_ORDER 1=X First, 2=Y First, 3=Shortest First
GRID_DIRECTION 1=One-Way, 2=Zig-Zag
   
Define Position Parameters  
PART_ORIGIN_TYPE 1=Machine, 2=Part
NUMBER_OF_PARTS Number of Parts
GET_POSITION Get position of 1 part
  First value is part number, next 3 are the x,y,z position
<values>
Data value (some parameter types have more than 1 value)

Example

GET_MULTI_PART_DATA MULTI_PART_TYPE, iMultiPartType GET_MULTI_PART_DATA DUPLICATION_TYPE, iDupType GET_MULTI_PART_DATA ORIGIN_OFFSET, xx, yy, zz