AutoCAD 2012 帮助
 
autoarxload
 
 
 

Predefines command names to load an associated ObjectARX file

(autoarxload filename cmdlist)

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.

Arguments

filename

A string specifying the .arx file to be loaded when one of the commands defined by the cmdlist argument is entered at the Command prompt. If you omit the path from filename, AutoCAD looks for the file in the support file search path.

cmdlist

A list of strings.

Return Values

nil

Examples

The following code defines the C:APP1, C:APP2, and C:APP3 functions to load the bonusapp.arx file:

(autoarxload "BONUSAPP" '("APP1" "APP2" "APP3"))

A Functions
abs
acad_colordlg
acad_helpdlg
acad-pop-dbmod
acad-push-dbmod
acad_strlsort
acad_truecolorcli
acad_truecolordlg
acdimenableupdate
acet-layerp-mode
acet-layerp-mark
acet-laytrans
acet-ms-to-ps
acet-ps-to-ms
action_tile
add_list
alert
alloc
and
angle
angtof
angtos
append
apply
arx
arxload
arxunload
ascii
assoc
atan
atof
atoi
atom
atoms-family
autoarxload
autoload