DrawingDocument.drawing Property

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

Description

Returns the Drawing product object associated with this drawing document.

Syntax

"drawingDocument_var" is a variable referencing a DrawingDocument object.

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

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

Property Value

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

Version

Introduced in version December 2020