Difference between revisions of "SET PART DATA"

From Macros Wiki
Jump to: navigation, search
(Fix toolchange parameter name)
 
(4 intermediate revisions by 2 users not shown)
Line 1: Line 1:
 +
[[:Category:Part_Data|{{Up}}]]
 +
 
{{Command|syntax=SET_PART_DATA <parameter>, <value>
 
{{Command|syntax=SET_PART_DATA <parameter>, <value>
|description=:Set the data on the currently open part
+
|description=:Set part data.
  
 
|param1=<parameter>|param1_desc= {{Part_parameter}}
 
|param1=<parameter>|param1_desc= {{Part_parameter}}
|param2=<value>|param2_desc={{value}}
+
|param2=<value>|param2_desc={{parameter_value_any}}
  
 
}}
 
}}
  
 
===Example===
 
===Example===
:SET_PART_DATA units 1
+
:SET_PART_DATA TOOL_CHANGE_X, 14.2
:For an example macro see [[Bag_Solids]] [[Create_Contour.mac]] [[Geo_Pattern]] [[Geo_Transform]] [[Inch_Metric]] [[Inch_Metric]]
+
:SET_PART_DATA UNITS, 1
 +
:For an example macro see [[Bag_Solids]] [[Create_Contour.mac]] [[Geo_Pattern]] [[Geo_Transform]] [[Inch_Metric]] [[Inch_Metric]] [[Solid_Type]] [[Use_Saved_Process]]
 
[[Category:Part_Data]]
 
[[Category:Part_Data]]

Latest revision as of 12:04, 28 May 2015

Up

Command

SET_PART_DATA <parameter>, <value>


Set part data.

Parameters

<parameter>
Part_parameter
<value>
Value of the data. May be a variable, number or expression.

Example

SET_PART_DATA TOOL_CHANGE_X, 14.2
SET_PART_DATA UNITS, 1
For an example macro see Bag_Solids Create_Contour.mac Geo_Pattern Geo_Transform Inch_Metric Inch_Metric Solid_Type Use_Saved_Process