Performs a Save As on this document. This saves the currently open document to the specified location and this document becomes the saved document. If this is a new document that has never been saved you must use the SaveAs method in order to specify the location and name. You can determine if the document has been saved by checking the value of the isSaved property.
"fusionDocument_var" is a variable referencing a FusionDocument object.
|
"fusionDocument_var" is a variable referencing a FusionDocument object.
|
Type | Description |
boolean | Returns true if the save as was successful. |
Name | Type | Description |
name | string | The name to use for this document. If this is an empty string, Fusion will use the default name assigned when the document was created. |
dataFolder | DataFolder | The data folder to save this document to. |
description | string | The description string of the document. This can be an empty string. |
tag | string | The tag string of the document. This can be an empty string. |
Name | Description |
Save and Insert File API Sample | Demonstrates creating save a new file and then inserting it into a design. To use this sample, have a design open that has been saved and run the script. It will create a new design that contains a cylinder, save it to the same folder the active design was saved to, and then insert it into the active design. |