DrawingDocument.isValid Property

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

Description

Indicates if this object is still valid, i.e. hasn't been deleted or some other action done to invalidate the reference.

Syntax

"drawingDocument_var" is a variable referencing a DrawingDocument object.

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

// Get the value of the property.
boolean propertyValue = drawingDocument_var->isValid();

Property Value

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

Version

Introduced in version December 2020