Unloads an ObjectARX application

(arxunload application [onfailure]) 



A quoted string or a variable that contains the name of a file that was loaded with the arxload function. You can omit the .arx extension and the path from the file name.


An expression to be executed if the unload fails.

Return Values

The application name, if successful. If unsuccessful and the onfailure argument is supplied, arxunload returns the value of this argument; otherwise, failure results in an error message.

Note that locked ObjectARX applications cannot be unloaded. ObjectARX applications are locked by default.


Unload the acbrowse application that was loaded in the arxload function example:

Command: (arxunload "acbrowse")


See Also