FusionDocument.saveDataVersion Method
Parent Object:
FusionDocumentDefined in namespace "adsk::fusion" and the header file is <Fusion/Fusion/FusionDocument.h>
Description
Creates a version on a dirty document by implictly saving it first. This method is not applicable when saving a document for the first time. In that case, you must use the Document.saveAs method. You can determine if a document has been saved by checking the value of the isSaved property.
Syntax
"fusionDocument_var" is a variable referencing a FusionDocument object.returnValue = fusionDocument_var.saveDataVersion(versionDescription) |
"fusionDocument_var" is a variable referencing a FusionDocument object.
#include <Fusion/Fusion/FusionDocument.h>
returnValue = fusionDocument_var->saveDataVersion(versionDescription);
|
Return Value
| boolean |
Returns true if saving the document with data version was successful. |
Parameters
| versionDescription |
string |
The description associated with the data version. |
Version
Introduced in version November 2025