The sample guide This section contains practical examples about how to use the ARES Commander API Libraries.
...
It also shows how to register a lisp Lisp function in a drawing.
For OdRxModule class, e.g.:
OdRxModule::initApp |
OdRxModule::uninitApp |
OdRxModule::deleteModule |
For CFxDocumentManagerReactor class, e.g.:
CFxDocumentManagerReactor::DatabaseAttached |
CFxDocumentManagerReactor::DatabaseDetached |
OdRxObject::copyFrom |
OdRxObject::isA |
OdRxObject::queryX |
The Editor Reactor sample describes the implementation of a Reactor which inherits CFxEditorReactor. CFxEditorReactor is a subclass of OdEditorReactor. You can use CFxEditorReactor for representing an editor reaction. Supports functions, such asCFxEditorReactor supports the following functions:
OdEdCommandStackReactor::commandAdded |
OdEdCommandStackReactor::commandCancelled |
OdEdCommandStackReactor::unknownCommand |
OdEdLispEngineReactor::lispCancelled |
OdEdLispEngineReactor::lispWillStart |
OdEditorReactor::sysVarChanged |
OdEditorReactor::sysVarWillChange |
The HelloSCommand sample describes the creation of how to create a simple command named HELLO, which prints "Hello World".
...
The DrawCirclesCommand sample describes the creation of how to create a geometry command.
The MYCIRCLE command MYCIRCLE draws a circle defined by two points or by specifying a center and a radius.
...
The SelectObjects sample describes the method used to specify objects.
The MYSELECT command MYSELECT selects objects according to the defined selection mode.
...
The CustomEntity sample describes how to register and use a custom object entity.
A new SPECIAL command called SPECIAL is created to apply the new entity properties.
...
The CircleGripPoints sample describes how to handle a circle grip points.
The GRIPCIRCLE command GRIPCIRCLE creates a predefined circle with five grip points ready to be expanded.
...
The 3D_Solid sample describes how to create a solid.
The MYSOLID command MYSOLID creates draws a predefined circle which is extruded to become and extrudes it to create a solid.
The ObjectReactors sample describes how to create a reactor for selected objects.
The command SELREACTOR allows selecting SELREACTOR command lets you select an object to which you want to add the reactor.
...