Document.attributes Property

Parent Object: Document
Defined in namespace "adsk::core" and the header file is <Core/Application/Document.h>

Description

Returns the collection of attributes associated with this document.

Syntax

"document_var" is a variable referencing a Document object.

# Get the value of the property.
propertyValue = document_var.attributes
"document_var" is a variable referencing a Document object.
#include <Core/Application/Document.h>

// Get the value of the property.
Ptr<Attributes> propertyValue = document_var->attributes();

Property Value

This is a read only property whose value is an Attributes.

Version

Introduced in version May 2016