DocumentReference.referencedDocument Property

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

Description

The document currently open in Fusion that this object references.

Syntax

"documentReference_var" is a variable referencing a DocumentReference object.

# Get the value of the property.
propertyValue = documentReference_var.referencedDocument
"documentReference_var" is a variable referencing a DocumentReference object.
#include <Core/Application/DocumentReference.h>

// Get the value of the property.
Ptr<Document> propertyValue = documentReference_var->referencedDocument();

Property Value

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

Version

Introduced in version June 2017