GET MULTI PART DATA: Difference between revisions

From Macros Wiki
Jump to navigationJump to search
Mikeo (talk | contribs)
Created page with "{{Up}} {{Command|syntax=GET_MULTI_PART_DATA <parameter> <values> |description=Get the Multi part data from the Document Control Dialog |param1=<param..."
 
Mikeo (talk | contribs)
No edit summary
Line 4: Line 4:
|description=Get the Multi part data from the Document Control Dialog
|description=Get the Multi part data from the Document Control Dialog


|param1=<parameter>|param1_desc=Type of data
|param1=<parameter>|param1_desc= {{Multi_Part_parameter}}
|param2=<values>|param2_desc=Data value (some parameter types have more than 1 value)
|param2=<values>|param2_desc=Data value (some parameter types have more than 1 value)



Revision as of 21:16, 25 October 2018

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