Document.activate Method

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

Description

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

Syntax

"document_var" is a variable referencing a Document object.
returnValue = document_var.activate()
"document_var" is a variable referencing a Document object.

#include <Core/Application/Document.h>

returnValue = document_var->activate();

Return Value

Type Description
boolean Returns true if the activation was successful.

Version

Introduced in version August 2014