Share

acedEditor

C++

#define acedEditor AcEditor::cast(acrxSysRegistry()->at(ACED_EDITOR_OBJ))

File

aced.h

Description

The acedEditor macro provides a pointer to the ObjectARX system AcEditor object. The AcEditor object provides methods to add and remove AcEditorReactors from the AutoCAD editor.

The actual definition of the macro is as follows.

#define ACED_EDITOR_OBJ "AcEditor"
#define acedEditor AcEditor::cast(acrxSysRegistry()->at(ACED_EDITOR_OBJ))

An example of this macro's use is:

acedEditor->addReactor(pReactor);

Was this information helpful?