2011

Table Of Contents
NOTE When specifying a directory path, you must use a slash (/) or two backslashes
(\\) as the separator, because a single backslash has a special meaning in AutoLISP.
Attempting to load an application that has previously been loaded results in
an error. Before using arxload you should use the arx function to check the
currently loaded applications.
To unload an application with AutoLISP, use the arxunload function. The
following example unloads the myapp application.
(arxunload "myapp")
Using the arxunload function not only removes the application from memory
but also removes the command definitions associated with that application.
See also:
Overview of File Organization on page 4
Quick Reference
Commands
ARX
Loads, unloads, and provides information about ObjectARX applications.
Automatically Load ObjectARX Applications
Some ObjectARX samples contain an acad.rx file, which lists ObjectARX
program files that are loaded automatically when you start AutoCAD.
You can create or edit this file with a text editor or word processor that
produces files in ASCII text format, adding to or deleting from its contents to
make the appropriate ObjectARX programs available for use. As an alternative,
the APPLOAD command provides a Startup Suite option that loads the specified
applications without the need to edit any files.
Because AutoCAD searches for the acad.rx file in the order specified by the
library path, you can have a different acad.rx file in each drawing directory.
This makes specific ObjectARX programs available for certain types of drawings.
For example, you might keep 3D drawings in a directory called
Automatically Load ObjectARX Applications | 449