DrawingDocument.activate Method

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

Description

Causes this document to become the active document in the user interface.

Syntax

"drawingDocument_var" is a variable referencing a DrawingDocument object.
returnValue = drawingDocument_var.activate()
"drawingDocument_var" is a variable referencing a DrawingDocument object.

#include <Drawing/Drawing/DrawingDocument.h>

returnValue = drawingDocument_var->activate();

Return Value

Type Description
boolean Returns true if the activation was successful.

Version

Introduced in version December 2020