Home Search

DriveWorks Pro 22
Open File And Save As

Send Feedback

Open File And Save As - SOLIDWORKS PowerPack

This Generation Task will open a SOLIDWORKS Model file and then save it as a new file.

This task can be used to save out parts in assemblies (as an additional file format) that are being driven by Generation Tasks where the Generation Task modifies a part in that assembly.

For example:

If you are using the Insert A Cavity In A Part In An Assembly or Insert A Join Feature In A Part In An Assembly Generation Task, and you need an STL file creating from the part that has had the join or cavity applied.

Note:

Since this is running as a Generation Task, a model will be open at the time of running.

Properties

Property NameDescription
(Name)The unique name for this Task.
Model to Save AsThe Full File Path of the Part, Assembly or Drawing to Save As.
New File NameThe Full Path of the new File including name and extension.
OverwriteTRUE to overwrite the file if it exists, FALSE to leave the original.

Example

When this task is added the properties are both static and dynamic by default. See How To: Change A Static Property To A Dynamic Property to enable rules to be built on these properties.

Property NameExample RuleExample ResultMeaning
Model to Save As"C:\Main\MyDocuments\Projects\Parts\Bracket.SLDPRT"C:\Main\MyDocuments\Projects\Parts\Bracket.SLDPRTThis is the Full File Path and name including extension for the file to be Opened and then Saved As.
New File Name"C:\Main\MyDocuments\Saved Parts\SavedBracket.STL"C:\Main\MyDocuments\Saved Parts\SavedBracket.STLThis is the Full File Path and name including extension for the new file to be Saved as.
OverwriteTRUETRUETRUE will overwrite the file if it already exists in the new location. FALSE would not.

Generation Sequence

This Task can be added to SOLIDWORKS Parts, Assemblies and Drawings in the following Generation Sequence(s):

  • Pre Drive (will be run before the Main Drive Sequence)
  • Post Drive (will be run after the Main Drive Sequence)