DrawingDocument.parent Property

Parent Object: DrawingDocument
Defined in namespace "adsk::drawing" and the header file is <Drawing/Drawing/DrawingDocument.h>

Description

Returns the parent Application object.

Syntax

"drawingDocument_var" is a variable referencing a DrawingDocument object.

# Get the value of the property.
propertyValue = drawingDocument_var.parent
"drawingDocument_var" is a variable referencing a DrawingDocument object.
#include <Drawing/Drawing/DrawingDocument.h>

// Get the value of the property.
Ptr<Application> propertyValue = drawingDocument_var->parent();

Property Value

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

Version

Introduced in version December 2020