To create a toolbox macro for a compiled command using the Toolbox Editor
- Click the Toolbox tab in Toolspace.
- Click to open the Toolbox Editor.
- Right-click Miscellaneous Utilities and click New Category.
- Right-click the new category, and click New Tool.
- Select the new tool, and enter its name.
- For Execute Type, click the drop-down and select CMD or .NET.
Note:
CMD is the recommended execution type in most cases, because you do not need to explicitly handle document locking. See the discussion above.
- For Execute File, browse to the .NET assembly or ARX DLL that contains the command.
- For Macro Name, enter:
- Name of the command to run, if the execute type is CMD
- Name of the method to run, if the execute type is .NET.
- Optionally, enter a help file and help topic for the command.
- Click to apply the changes and close the editor.
After a command has been set up, it can be run by right-clicking it and clicking Execute.