SET WG DATA: Difference between revisions
From Macros Wiki
Jump to navigationJump to search
Created page with "{{Up}} {{Command|syntax=SET_WG_DATA <wg number>, <parameter>, <value> |description=:Get WorkGroup data. |param1=<tool number>|param1_desc={{wg number}..." |
No edit summary |
||
Line 12: | Line 12: | ||
:SET_WG_DATA 3, TYPE, WG_TYPE_GEO | :SET_WG_DATA 3, TYPE, WG_TYPE_GEO | ||
:SET_WG_DATA 3, WRAPPED, 1 | :SET_WG_DATA 3, WRAPPED, 1 | ||
<br> | |||
:Note - use the macro variables WG_TYPE_PART_GEO and WG_TYPE_PART_STOCK for the WorkGroup type<br> | |||
:and WG_AXIS_X, WG_AXIS_Y, WG_AXIS_Z for the axis of revolution / extrusion. | |||
[[Category:Work_Groups]] | [[Category:Work_Groups]] |
Revision as of 23:31, 24 January 2011
Command
- SET_WG_DATA <wg number>, <parameter>, <value>
- Get WorkGroup data.
Parameters
- <tool number>
- Workgroup number.
- <parameter>
- Wg Parameter
- <value>
- A number or string variable.
- The type of variable must match the data type of the parameter.
- If the data you are getting is a text string, then you must specify a string variable. Otherwise use a number variable.
Example
- SET_WG_DATA 3, TYPE, WG_TYPE_GEO
- SET_WG_DATA 3, WRAPPED, 1
- Note - use the macro variables WG_TYPE_PART_GEO and WG_TYPE_PART_STOCK for the WorkGroup type
- and WG_AXIS_X, WG_AXIS_Y, WG_AXIS_Z for the axis of revolution / extrusion.