Share
 
 

Options

Presents developer-related ARX application options.

Options (Group/CLasses/Services): Enter an option

  • Group

    Moves the specified group of commands registered from ARX applications to be the first group searched when resolving the names of AutoCADcommands. Other registered groups, if there are any, are subsequently searched, in the same order as before the ARX command was executed.

    Command Group Name: Enter the command group name

    The search order is important only when a command name is listed in multiple groups. This mechanism allows different ARX applications to define the same command names in their own separate command groups. ARX applications that define command groups should publish the group name in their documentation.

    Group is not intended to be selected by the user directly. The user specifies which group is searched first by interacting with a script that executes the ARX command with the Group option. This capability is usually embedded in key menu item scripts. The user selects a menu item from the script. The key menu item script executes the Group option to establish which group is searched first, giving commands of the same name (but probably different functionality) from one application precedence over commands from another.

    For example, applications called ABC Construction and XYZ Interiors define command groups ABC and XYZ, respectively. Most of ABC Construction's commands are named with construction terminology, while most of XYZ Interiors' commands are named with interior decorating terminology, but both applications define commands named INVENTORY and ORDERS. When working on the construction aspects of a drawing, the user chooses a menu item defined by ABC Construction, and the following script runs:

ARX
Group
ABC

The script pops the ABC Construction command set to give it top priority and to resolve INVENTORY to the ABC Construction version of the command. Later, when an interior designer is working on the drawing with the same set of applications loaded, selecting a key icon ensures that the XYZ Interiors commands have precedence.

Note: Command groups are not related to commands defined in AutoLISP or defined by a call to acedDefun() by ObjectARX applications. The software mechanism that defines command groups is described in Lookup Order.
  • Classes

    Displays a class hierarchy of C++ classes derived from objects registered in the system, whether registered by AutoCAD or by an ARX program.

  • Services

    Lists the names of all services registered by AutoCAD and by loaded ARX programs.

Was this information helpful?