AnyCAD Rapid API 2023
Help you to create a better world!
Document Class Reference
Inheritance diagram for Document:
AObject

Public Member Functions

ClassId GetClassId ()
 
String GetName ()
 
void SetName (String val)
 
ElementId GetActiveDbViewId ()
 
void SetActiveDbViewId (ElementId val)
 
boolean GetUndoing ()
 
void SetUndoing (boolean val)
 
String GetFileName ()
 
void SetFileName (String val)
 
boolean GetModified ()
 
void SetModified (boolean val)
 
DbView Initialize (String viewName)
 
boolean RemoveElement (ElementId id)
 
ElementId AddElement (Element pElement)
 
void NotifyElementChanged (ElementId id, int flags)
 
ElementIterator CreateElementIterator ()
 
Element FindElement (ElementId id)
 
ElementTable FindTable (String name)
 
void EnableTransaction (boolean enabled)
 
boolean IsTransactionEnabled ()
 
boolean IsPreviewing ()
 
boolean CanUndo ()
 
boolean CanRedo ()
 
void ClearUndoList ()
 
void Undo ()
 
void Redo ()
 
boolean Regenerate ()
 
- Public Member Functions inherited from AObject
boolean IsEqual (AObject other)
 

Static Public Member Functions

static Document Cast (AObject obj)
 
static ClassId GetStaticClassId ()
 

Detailed Description

<>
The Document to manage all the objects.

Member Function Documentation

◆ GetClassId()

ClassId Document.GetClassId ( )

Reimplemented from AObject.

◆ GetStaticClassId()

static ClassId Document.GetStaticClassId ( )
static

Reimplemented from AObject.