Difference between revisions of "SET WP PART OFFSET"

From Macros Wiki
Jump to: navigation, search
Line 2: Line 2:
  
 
{{Command|syntax=SET_WP_PART_OFFSET <workpiece num>, <x>, <y>, <z>
 
{{Command|syntax=SET_WP_PART_OFFSET <workpiece num>, <x>, <y>, <z>
|description=*DESCRPTION*
+
|description=Set the part offset for a given workpiece.
  
|param1=<workpiece num>|param1_desc={{workpiece num}}
+
|param1=<workpiece num>|param1_desc=Workpiece number
|param2=<x>|param2_desc={{x}}
+
|param2=<x>|param2_desc={{x}}Name of variable to be set to the X value.
 
|param3=<y>|param3_desc={{y}}
 
|param3=<y>|param3_desc={{y}}
 
|param4=<z>|param4_desc= {{z}}
 
|param4=<z>|param4_desc= {{z}}
Line 11: Line 11:
  
 
===Example===
 
===Example===
:- SET_WP_PART_OFFSET
+
:SET_WP_PART_OFFSET 1, 2.5, 4.9, zz
  
 
[[Category:Part_Data]]
 
[[Category:Part_Data]]

Revision as of 16:34, 11 January 2011

Up

Command

SET_WP_PART_OFFSET <workpiece num>, <x>, <y>, <z>


Set the part offset for a given workpiece.

Parameters

<workpiece num>
Workpiece number
<x>
X co-ordinate of a feature.Name of variable to be set to the X value.
<y>
Y co-ordinate of a feature.
<z>
Z co-ordinate of a feature.

Example

SET_WP_PART_OFFSET 1, 2.5, 4.9, zz