EcadDesignDocument.creationId Property

Parent Object: EcadDesignDocument

PreviewThis functionality is provided as a preview of intended future API capabilities. You are encouraged to use it and report any problems or suggestions using the Fusion API and Scripts forum.

Because this is a preview of future functionality, there is the possibility that it will change, which will possibly break any existing programs that use this functionality. Because of that, you should never deliver any programs that use any preview capabilities. For a distributed program, you should wait until it has moved from preview to released state.


Defined in namespace "adsk::electron" and the header file is <Electron/EcadDesignDocument/EcadDesignDocument.h>

Description

Returns the creation ID of this document. When a new document is created, Fusion assigns it a creation ID that will remain constant for the life of the document. The ID that is assigned is unique. However, it's possible that more than one document can have the same ID. This happens in the case where a document is copied. In this case a new document is created but an existing document is copied. It's only when a new document is created that a creation ID is generated and assigned.

Using this ID can be useful in cases where the save of a new document is started and you can use this ID to match the completion of the save operation on the cloud to the original document.

Syntax

"ecadDesignDocument_var" is a variable referencing an EcadDesignDocument object.
# Get the value of the property.
propertyValue = ecadDesignDocument_var.creationId
"ecadDesignDocument_var" Is a variable referencing an EcadDesignDocument Object.
#include <Electron/EcadDesignDocument/EcadDesignDocument.h>

// Get the value of the property.
string propertyValue = ecadDesignDocument_var->creationId();
"ecadDesignDocument_var" Is a variable referencing an EcadDesignDocument Object.
// Get the value of the property.
propertyValue = ecadDesignDocument_var.creationId;

Property Value

This is a read only property whose value is a string.

Version

Introduced in version September 2026