NEW PART: Difference between revisions
From Macros Wiki
Jump to navigationJump to search
No edit summary |
No edit summary |
||
(11 intermediate revisions by 2 users not shown) | |||
Line 1: | Line 1: | ||
[[:Category:Part_Files|{{Up}}]] | |||
{{Command|syntax=NEW_PART <filename> | {{Command|syntax=NEW_PART <filename> | ||
|description=Create a new part file. | |description=:Create a new part file. | ||
|param1=<filename>|param1_desc={{filename}} | |param1=<filename>|param1_desc={{filename}} | ||
Line 6: | Line 8: | ||
===Example=== | ===Example=== | ||
:NEW_PART " | :NEW_PART "MyNewPart.vnc" | ||
:NEW_PART "C:\Parts\MyNewPart2.vnc" | |||
:For an example macro see [[Bag_Solids]] [[Create_Contour.mac]] [[Geo_Pattern]] [[Geo_Transform]] [[Solids]] [[Solid_Type]] [[Use_Saved_Process]] | |||
[[Category:Part_Files]] | [[Category:Part_Files]] |
Latest revision as of 14:35, 2 August 2010
Command
- NEW_PART <filename>
- Create a new part file.
Parameters
- <filename>
- Filename as either text in double quotes, or a text variable.
- If the filename does not contain full path information, then the file will be opened in the same folder as the macro.
Example
- NEW_PART "MyNewPart.vnc"
- NEW_PART "C:\Parts\MyNewPart2.vnc"
- For an example macro see Bag_Solids Create_Contour.mac Geo_Pattern Geo_Transform Solids Solid_Type Use_Saved_Process