Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

Version 1 Next »

The sample guide contains practical examples about how to use the ARES Commander API Libraries.

The Docking Widget sample contains examples for creation of a:

  • Docking Command which inherits CFxCommand features like:

CFxCommand::globalName

CFxCommand::localName

CFxCommand::Execute

  • Docking Command Module which inherits OdRxModule, the base class that is overridden to create custom DWGdirect applications (DRX modules).

  • Docking Widget which inherits QWidget features.

The Lisp Functions sample describes the creation of a Lisp Function module which inherits OdRxModule and CFxDocumentManagerReactor features.

It also shows how to register a 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. It's a subclass of OdEditorReactor for representing a editor reaction. Supports functions like:

OdEdCommandStackReactor::commandAdded

OdEdCommandStackReactor::commandCancelled

OdEdCommandStackReactor::unknownCommand

OdEdLispEngineReactor::lispCancelled

OdEdLispEngineReactor::lispWillStart

OdEditorReactor::sysVarChanged

OdEditorReactor::sysVarWillChange


The HelloSCommand sample describes the creation of a simple command called HELLO.

It prints typical "Hello World".

Indicated to know how to set the name of the command and the execute action.


The DrawCirclesCommand sample describes the creation of a geometry command.

The command MYCIRCLE draws a circle defined by two points or specifying a center and a radius.

Indicated to know how to use a tracker together with a specific draw.


The SelectObjects sample describes the way of selecting objects.

The command MYSELECT creates which selects objects according to the defined selection mode.


The CustomEntity sample describes how a custom object entity can be registered and used.

A new command called SPECIAL is created to apply the new entity properties.


The CircleGripPoints sample describes how to handle a circle grip points.

The 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 command MYSOLID creates a predefined circle which is extruded to become a solid.


The ObjectReactors sample describes how to create a reactor for selected objects.

The command SELREACTOR allows the user to select an object to whom the reactor will be added.

  • No labels