Predefines command names to load an associated ObjectARX file
Supported Platforms: Windows and Mac OS
(autoarxload filename cmdlist)
Type: String
ObjectARX file to be loaded when one of the commands defined by the cmdlist argument is entered at the Command prompt. You can omit the path from the filename, AutoCAD looks for the file in the support file search path. The extension from the filename can also be omitted; .arx (Windows) or .bundle (Mac OS).
Type: List
A list of strings.
Type: Nil
Always returns nil.
The first time a user enters a command specified in cmdlist, AutoCAD loads the ObjectARX application specified in filename, then continues the command.
If you associate a command with filename and that command is not defined in the specified file, AutoCAD alerts you with an error message when you enter the command.
The following code defines the C:APP1, C:APP2, and C:APP3 functions to load the bonusapp.arx or bonusapp.bundle file:
(autoarxload "BONUSAPP" '("APP1" "APP2" "APP3"))