NEW PART: Difference between revisions

From Macros Wiki
Jump to navigationJump to search
ConnerO (talk | contribs)
No edit summary
ConnerO (talk | contribs)
No edit summary
Line 8: Line 8:
:NEW_PART "MyNewPart.vnc"
:NEW_PART "MyNewPart.vnc"
:NEW_PART "C:\Parts\MyNewPart2.vnc"
:NEW_PART "C:\Parts\MyNewPart2.vnc"
:For an example in a real macro see [[Bag_Solids]]
:For an example in a real macro see [[Bag_Solids]] or [[Create_Contour.mac]]


[[Category:Part_Files]]
[[Category:Part_Files]]

Revision as of 20:52, 29 July 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 in a real macro see Bag_Solids or Create_Contour.mac