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

« Previous Version 3 Current »

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

The Docking Widget sample contains examples for creation of the following commands:

  • Docking Command which inherits CFxCommand features, such as:

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. CFxEditorReactor is a subclass of OdEditorReactor for representing an editor reaction. Supports functions, such as:

OdEdCommandStackReactor::commandAdded

OdEdCommandStackReactor::commandCancelled

OdEdCommandStackReactor::unknownCommand

OdEdLispEngineReactor::lispCancelled

OdEdLispEngineReactor::lispWillStart

OdEditorReactor::sysVarChanged

OdEditorReactor::sysVarWillChange


The HelloSCommand sample describes the creation of a simple command named HELLO, which prints "Hello World".

It is recommended 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 by specifying a center and a radius.

It is recommended to know how to use a tracker together with a specific draw.


The SelectObjects sample describes the method used to specify objects.

The 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 command named 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 draws a predefined circle and extrudes it to createa solid.


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

The command SELREACTOR lets you select an object to which you want to add the reactor.

  • No labels