DrawingDocument.saveDataVersion Method
Parent Object:
DrawingDocumentDefined in namespace "adsk::drawing" and the header file is <Drawing/Drawing/DrawingDocument.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
"drawingDocument_var" is a variable referencing a DrawingDocument object.returnValue = drawingDocument_var.saveDataVersion(versionDescription) |
"drawingDocument_var" is a variable referencing a DrawingDocument object.
#include <Drawing/Drawing/DrawingDocument.h>
returnValue = drawingDocument_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