Arbortext IsoDraw > Macro Language Reference > Object Data Types > Document Object > activeDoc
  
activeDoc
The ActiveDoc object does the following:
Sets a defined Document object (such as myDoc above) as the currently active document
Enables you to return and set properties of the active document
#both examples change the name of the active
#document

DEFINE doc_01 AS document
doc_01 = activeDoc
doc_01.name = "a new document"

#or

activeDoc.name = "a new document"
It is assumed that myDoc has already been defined as a document and set as the activeDoc for the following examples.