arxunload
 
 
 

Unloads an ObjectARX application

(arxunload application [onfailure]) 

Arguments

application

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.

onfailure

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.

Examples

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

Command: (arxunload "acbrowse")

"acbrowse"

See Also