You are on page 1of 2

Visual LISP Function Reference Chart for AutoCAD 2000/2002/2004 Complied by Dr. June-Hao Hou <junehao@gmail.

Complied by Dr. June-Hao Hou <junehao@gmail.com>, Institute of Architecture, National Chiao Tung University, Taiwan. Last updated on 8/12/2008. Page 1/2
This work is licensed under the Creative Commons Attribution-Noncommercial-Share Alike 3.0 Unported License. To view a copy of this license, visit http://creativecommons.org/licenses/by-nc-sa/3.0/ or send a letter to Creative Commons, 171 Second Street, Suite 300, San Francisco, California, 94105, USA.

(if testexpr thenexpr [elseexpr] ) (defun-q-list-ref 'function) (getfiled title default ext flags) (ssget [mode] [pt1 [pt2]] [pt-list] [filter- (vlr-beep-reaction [args] ) (vl-registry-descendents reg-key [val- (vlax-curve-getDistAtParam curve-obj
Basic Functions (or [expr ...] ) (defun-q-list-set 'sym list) (getint [msg]) list]) (vlr-command-reactor data callbacks)A02 names]) param)
Arithmetic (repeat int [expr ...] ) (eval expr) (getkword [msg]) (ssgetfirst) (vlr-current-reaction-name) (vl-registry-read reg-key [val-name]) (vlax-curve-getDistAtPoint curve-obj pt)
(+ [number number] …) (while testexpr [expr ...] ) (lambda arguments expr ...) (getorient [pt] [msg]) (sslength ss) (vlr-data obj) (vl-registry-write reg-key [val-name val- (vlax-curve-getEndParam curve-obj)
(- [number number] …) Error-Handling (progn [expr] ...) (getpoint [pt] [msg]) (ssmemb ename ss) (vlr-data-set obj data) data]) (vlax-curve-getEndPoint curve-obj)
(* [number number] …) (alert string) (trace function ...) (getreal [msg]) (ssname ss index) (vlr-deepclone-reactor data callbacks)A02 (vlax-product-key)COM (vlax-curve-getParamAtDist curve-obj
(/ [number number] ...) (*error* string) (untrace function ...) (getstring [cr] [msg]) (ssnamex ss index) (vlr-docmanager-reactor data param)
(~ int) (exit) Application-Handling (initget [bits] [string]) (sssetfirst gripset [pickset]) callbacks)A02 (vlax-curve-getParamAtPoint curve-obj
Visual LISP Extensions to pt)
(1+ number) (quit) (arx) (nentsel [msg]) Object (Entity)-Handling (vlr-dwg-reactor data callbacks)A02
(1- number) (vlr-dxf-reactor data callbacks)A02 AutoLISP COM (vlax-curve-getPointAtDist curve-obj dist)
(vl-catch-all-apply 'function list) (arxload application [onfailure]) (nentselp [msg] [pt]) (entdel ename)
(abs number) (entget ename [applist]) (vlr-editor-reactor data callbacks) Collection Manipulation (vlax-curve-getPointAtParam curve-obj
(vl-catch-all-error-message error-obj) (arxunload application [onfailure]) Geometric
(atan num1 [num2] ) (entlast) (vlr-insert-reactor data callbacks)A02 (vlax-for sym collection [expr1 [expr2 ...]]) param)
(vl-catch-all-error-p arg) (autoarxload filename cmdlist) (angle pt1 pt2)
(cos ang) (entmake [elist]) (vlr-linker-reactor data callbacks) (vlax-map-collection obj function) (vlax-curve-getStartParam curve-obj)
Symbol-Handling (autoload filename cmdlist) (distance pt1 pt2)
(exp number) (entmakex [elist]) (vlr-lisp-reactor data callbacks)A02 Data Conversion (vlax-curve-getStartPoint curve-obj)
(atom item) (initdia [diaglogflag] ) (inters pt1 pt2 pt3 pt4 [onseg])
(expt base power) (entmod elist) (vlr-miscellaneous-reactor data (vlax-3D-point list) (vlax-curve-isClosed curve-obj)
(atoms-family format [symlist] ) (load filename [onfailure]) (osnap pt mode)
(fix number) (entnext [ename]) callbacks)A02 (vlax-3D-point x y [z]) (vlax-curve-isPeriodic curve-obj)
(boundp sym) (startapp appcmd file) (polar pt angle dist)
(float number) (entupd ename) (vlr-mouse-reactor data callbacks)A02 (vlax-ename->vla-object entname) (vlax-curve-isPlanar curve-obj)
(not item) (vl-load-all filename) (textbox elist)
(gcd int1 int2) (handent handle) (vlr-notification reactor)A02 (vlax-make-safearray type '(l-bound . u- (vlax-curve-getClosestPointTo curve-obj
(null item) (vl-vbaload filename) Conversion
(log number) (vlr-object-reactor owners data callbacks) bound) ['(l-bound . u-bound) ...])A02 givenPt [extend])
(numberp item) (vl-vbarun macroname) (angtof string [mode]) (vlax-dump-object obj [T])COM
(logand int int ...) (vlr-owner-add reactor owner) (vlax-make-variant value type) (vlax-curve-getClosestPointToProjection
(quote expr) (vlax-add-cmd global-name 'func-sym (angtos angle [mode [precision]]) (vlax-erased-p obj)COM
(vlr-owner-remove reactor owner) (vlax-safearray-fill var 'element-value) curve-obj givenPt normal [extend])
(logior int int ...) (set sym expr) [local-name cmd-flags])COM (vlax-get-acad-object)COM
(ascii string) (vlax-curve-getFirstDeriv curve-obj
(lsh int numbers) (vlax-method-applicable-p obj (vlr-owners reactor) (vlax-safearray-get-dim var)
(setq sym1 expr1 [sym2 expr2] ...) (atof string) param)
(max number number ...) Utility Functions method)COM (vlr-pers reactor) (vlax-safearray-get-element var element)
(type item) (atoi string) (vlax-curve-getSecondDeriv curve-obj
(min number number ...) Query & Command (vlax-object-released-p obj)COM (vlr-pers-p reactor) (vlax-safearray-get-l-bound var dim)
(vl-symbol-name symbol) (chr integer) param)
(minusp number) (acad_colordlg colornum [flag]) (vlax-read-enabled-p obj)COM (vlr-pers-release reactor) (vlax-safearray-get-u-bound var dim)
(vl-symbol-value symbol) (cvunit value from to) Dictionary
(rem num1 num2 ...) (acad_helpdlg helpfile topic) (vlax-release-object obj)COM (vlr-reaction-names reactor-type) (vlax-safearray-put-element var element
(vl-symbolp object) (distof string [mode]) (vlax-ldata-delete dict key)
(sin ang) (command [arguments] ...) (vlax-typeinfo-available-p obj)COM (vlr-reaction-set reactor event function) value)
List Manipulation (itoa int) (vlax-ldata-get dict key [default-data])
(sqrt number) (getcfg cfgname) (vlax-write-enabled-p obj)COM (vlr-reactions reactor) (vlax-safearray-type var)
(acad_strlsort list) (rtos number [mode [precision]]) (vlax-ldata-list dict)
(zerop number) (getcname cname) Extended Data-Handling (vlr-reactors reactor-type) (vlax-safearray->list var)
(append list ...) (trans pt from to [disp]) (vlax-ldata-put dict key data)
String-Handling (getenv "variable-name") (regapp application) (vlr-remove reactor) (vlax-tmatrix list)
(assoc item alist) Device Access (vlax-variant-change-type var type) (vlax-ldata-test data)
(read [string] ) (getvar varname) (xdroom ename) (vlr-remove-all reactor-type)
(car list) (grread [track] [allkeys [curtype]]) (vlax-variant-type var)
(strcase string [which] ) (help [helpfile [topic [command]]]) (xdsize lst) (vlr-set-notification reactor 'range)A02
(cdr list) (tablet code [row1 row2 row3 direction]) (vlax-variant-value var) Notes:
(strcat string1 string2 ...) (setcfg cfgname cfgval) Symbol Table & Dictionary-Handling (vlr-sysvar-reactor data callbacks)A02
(cons new-first-element list) File-Handling (vlax-vla-object->ename obj) • To refresh (the display of) an object
(strlen [string] ...) (setenv "varname" "value") (vlr-toolbar-reactor data callbacks)A02
(foreach name list [expr ...] ) (dictadd ename symbol newobj) after updating its property, issue this
(setfunhelp "c:fname" ["helpfile" ["topic" (close file-desc) (vlr-trace-reaction arguments) Method & Property-Handling
(substr string start [length] ) (last list) (dictnext ename symbol [rewind]) command: (vla-update object)
["command"]]]) (findfile filename) (vlr-type reactor) (vlax-invoke-method obj method list)
(vl-prin1-to-string object) (length list) (dictremove ename symbol) • All ActiveX and VBA predefined
(setvar varname value) (open filename mode) (vlr-types) (vlax-method-applicable-p obj method)
(vl-princ-to-string object) (list [expr ...] ) (dictrename ename oldsym newsym) constants can be used in VLISP
(ver) (read-char [file-desc]) (vlr-undo-reactor data callbacks)A02 (vlax-get-property obj property) expressions. For example: (vla-put-
(vl-string-elt string position) (listp item) (dictsearch ename oldsym newsym)
(vl-cmdf [arguments] ...) (read-line [file-desc]) (vlr-wblock-reactor data callbacks)A02 (vlax-property-available-p obj prop [T]) color mycircle acRed). See ActiveX
(vl-string-left-trim char-set string) (mapcar function list1 ... listn) (layoutlist)
(vlax-add-cmd global-name 'func-sym (vl-directory-files [directory pattern (vlr-window-reactor data callbacks)A02 (vlax-put-property obj property arg) and VBA Reference and Connectivity
(vl-string-mismatch str1 str2 [pos1 pos2 (member expr list) (namedobjdict)
[local-name cmd-flags])COM directories]) (vlr-xref-reactor data callbacks)A02 (vla-method object arg1 arg2 ...) Automation Reference.
ignore-case-p] ) (setview view-desc [vport-id])
(nth n list) (vlax-remove-cmd global-name)COM (vl-file-copy "source-filename" "dest-
(vl-string-position char-code str [start-pos (snvalid symname) (vla-get-property object)
(reverse list) Display Control filename" [append?]) VLX Namespace Functions LEGENDS
[from-end-p]] ) (tblnext table-name [rewind]) (vla-put-property object new-value)
(subst newitem olditem list) (vl-file-delete "filename") (vl-arx-import [function | application]) ItemA02 New in ACAD 2002
(vl-string-right-trim char-set string) (graphscr) (tblobjname table-name symbol) Object-Handling
(vl-consp list-variable) (grdraw from to color [highlight]) (vl-file-directory-p "filename") (vl-doc-export 'function) ItemA04 New in ACAD 2004
(vl-string-search pattern string [start-pos] ) (tblsearch table-name symbol [setnext]) (vlax-create-object "prog-id")
(vl-every predicate-func list [more-lists] ...) (vl-file-rename "old-filename" "new- (vl-doc-import ['func | application]) ItemCOM Requires (vl-load-com)
(vl-string-subst new-str pattern str [start- (grtext [box text [highlight]]) (vlax-ldata-delete dict key)COM (vlax-dump-object obj [T])
(vl-list* object [more-objects] ...) filename") (vl-doc-ref symbol)
pos] ) (grvecs vlist [trans]) (vlax-ldata-get dict key [default-data])COM (vlax-erased-p obj)
(vl-list->string char-codes-list) (vl-file-size "filename") (vl-doc-set symbol value)
(vl-string-translate source-set dest-set str) (menucmd string) (vlax-get-acad-object)
(vl-list-length list-or-cons-object) (vl-file-systime "filename") (vlax-ldata-list dict)COM (vl-exit-with-error "msg")
(vl-string-trim char-set string) (menugroup groupname) (vlax-ldata-put dict key data)COM (vlax-get-object "prog-id")
(vl-member-if predicate-function list) (vl-filename-base "filename") (vl-exit-with-value value)
(vl-string->list string) (prin1 [expr [file-desc]]) (vlax-get-or-create-object "prog-id")
(vl-member-if-not predicate-func list) (vl-filename-directory "filename") (vlax-ldata-test data)COM (vl-list-exported-functions ["appname"])
(wcmatch string pattern) (princ [expr [file-desc]]) (vlax-import-type-library
(vl-position symbol list) (vl-filename-extension "filename") (vl-list-loaded-vlx)
Equality & Conditional (print [expr [file-desc]]) Memory Management :tbl-filename filename
(vl-remove element-to-remove list) (vl-filename-mktemp ["pattern" "directory" (vl-unload-vlx)
(= numstr [numstr] ...) (prompt msg)
"extension"]) Functions [:methods-prefix mprefix
(vl-remove-if predicate-func list) (redraw [ename [mode]]) (vl-vlx-loaded-p "appname") :properties-prefix pprefix
(/= numstr [numstr] ...) (write-char num [file-desc]) (alloc int)
(vl-remove-if-not predicate-func list) (terpri) :constants-prefix cprefix])
(< numstr [numstr] ...)
(vl-some predicate-func list [more-lists] ...) (write-line string [file-desc]) (expand number) Namespace Communication
(<= numstr [numstr] ...) (textpage) (gc) (vlax-method-applicable-p obj method)
(vl-sort list less?-func) Functions
(> numstr [numstr] ...) (textscr) Selection Set, Object & (mem) (vlax-object-released-p obj)
(vl-sort-i list less?-func) (vl-bb-ref 'variable)
(vports) (vlax-read-enabled-p obj)
(>= numstr [numstr] ...) Symbol Table Functions (vl-bb-set 'variable value)
(vl-string->list string) User Input Reactor Functions COM (vlax-release-object obj)
(and [expr ...] ) Selection Set Manipulation (vl-load-all "filename")
Function-Handling (entsel [msg]) (vl-load-com) (vlax-typeinfo-available-p obj)
(Boole func int1 [int2 ...] ) (ssadd [ename [ss]]) (vl-propagate 'variable)
(apply function list) (getangle [pt] [msg]) (vlr-acdb-reactor data callbacks) (vlax-write-enabled-p obj)
(cond [(test result ...) ...] ) (ssdel ename ss)
(defun sym ([args] [/ variables]) expr ...) (getcorner pt [msg]) (vlr-add obj) Windows Registry Functions Curve Measurement
(eq expr1 expr2)
(defun-q sym ([args] [/ variables]) expr ...) (getdist [pt] [msg]) (vlr-added-p obj) (vl-registry-delete reg-key [val-name]) (vlax-curve-getArea curve-obj)
(equal expr1 expr2 [fuzz] )
Visual LISP Function Reference Chart for AutoCAD 2000/2002/2004 Complied by Dr. June-Hao Hou <junehao@gmail.com>, Institute of Architecture, National Chiao Tung University, Taiwan. Last updated on 8/12/2008. Page 2/2
This work is licensed under the Creative Commons Attribution-Noncommercial-Share Alike 3.0 Unported License. To view a copy of this license, visit http://creativecommons.org/licenses/by-nc-sa/3.0/ or send a letter to Creative Commons, 171 Second Street, Suite 300, San Francisco, California, 94105, USA.

4- Shared Write :vlr-goodbye 1 integer: the HWND of the window; (c:lslib mode [options]) _PKSER: package serial number
Reactor Events and Callback 8- Read
10- Exclusive Write :vlr-openedForModify
T/nil: whether the window has been moved or resized.
(c:lsnew obj-type height position alignment) TDCREATE: date/time, in Julian day
XREF reactor events
Data DWG reactor events :vlr-modified (c:matlib mode name [file]) format, when the drawing is created
:vlr-beginAttach1
Reactor Types :vlr-beginClose :vlr-subObjModified2 (mirror3d arg1 arg2 ...) TDINDWG: time in days that the drawing
:vlr-otherAttach2 has been worked on
:VLR-AcDb-Reactor :vlr-databaseConstructed :vlr-modifiedUndone (c:render [filename | pt1 pt2])
:vlr-abortAttach3 TEXTSTYLE: current text style name
:VLR-DocManager-Reactor :vlr-databaseToBeDestroyed :vlr-modifiedXData (c:renderupdate [RU-value])
:vlr-endAttach4 UCSNAME: UCS name
:VLR-Command-Reactor :vlr-beginDwgOpen1 :vlr-unappended (c:replay filename type [xoff yoff xsize
:vlr-redirected5 UNITMODE: 0 (default): loose; 1:
:VLR-DeepClone-Reactor :vlr-endDwgOpen1 :vlr-reappended ysize])
:vlr-comandeered6 compact.
:VLR-DWG-Reactor :vlr-dwgFileOpened1 :vlr-objectClosed (c:rmat mode options)
:vlr-beginRestore7
:VLR-DXF-Reactor :vlr-beginSave2  Callback args: owner, reactor obj, list of extra data. (rotate3d args ...)
:VLR-Insert-Reactor  Callback data:
:vlr-abortRestore8
:vlr-saveComplete3 :vlr-endRestore8 (c:rpref mode option [setting]) Extended Data (XData)
:VLR-Miscelleneous-Reactor 1 ename: the object created by the copy operation.
 Callback args: reactor obj, list of extra data. 2 ename: the sub-object that has been modified.
:vlr-xrefSubcommandBindItem9 (c:saveimg filename type [portion] [xoff yoff Group Codes
:VLR-Mouse-Reactor  Callback data:
:VLR-SysVar-Reactor SysVar reactor events :vlr-xrefSubcommandAttachItem10 xsize ysize] [compression])
1 string: file to open 1000 String. A string up to 255 bytes.
:VLR-Toolbar-Reactor 2 string: default file name for save.
:vlr-sysVarWillChange1 :vlr-xrefSubcommandOverlayItem11 (c:scene mode [options])
1001 Application name. A string up to
:VLR-Undo-Reactor
3 string: actual file name used for save.
:vlr-sysVarChanged2 :vlr-xrefSubcommandDetachItem12 (c:setuv mode options) 31 bytes. It is the beginning of a new
:VLR-Wblock-Reactor DXF reactor events (c:showmat arg)
 Callback args: reactor obj, list of extra data. :vlr-xrefSubcommandPathItem13 application extended data group.
:VLR-Widow-Reactor :vlr-beginDxfIn  Callback data:
:vlr-xrefSubcommandReloadItem14 (c:solprof args) 1002 Control string. A string, either "{"
1 string: the sysvar name.
:VLR-XREF-Reactor :vlr-abortDxfIn (c:stats [filename | nil]) or "}".
2 string: the sysvar name; :vlr-xrefSubcommandUnloadItem15
:VLR-Linker-Reactor :vlr-dxfInComplete T/nil: whether the changed was successful.
 Callback args: reactor obj, list of extra data. 1003 Layer name. A string.
:VLR-Object-Reactor :vlr-beginDxfOut Toolbar reactor events  Callback data: 1004 Binary data, up to 127 bytes. In
AcDb (Database) reactor events :vlr-abortDxfOut :vlr-toolbarBitmapSizeWillChange1
1 VLA-obj: target drawing db; VLAX Variant Types & Assoc. ASCII DXF files, binary data is
string: filename of the xref;
:vlr-objectAppended :vlr-dxfOutComplete :vlr-toolbarBitmapSizeChanged1 VLA-obj: source drawing db. LISP Datatype represented as a string of
:vlr-objectUnAppended  Callback args: reactor obj, list of extra data.  Callback args: reactor obj, list of extra data.
2 VLA-obj: target drawing db;
0 vlax-vbEmpty nil hexadecimal digits, two per binary
VLA-obj: source drawing db.
:vlr-objectReAppended Insert reactor events  Callback data: 3 VLA-obj: source drawing db (contains the objs being 1 vlax-vbNull :vlax-null byte.
1 T/nil: whether the toolbar is set to large bitmaps.
:vlr-objectOpenedForModify :vlr-beginInsert1 attached).
4 VLA-obj: target drawing db.
2 vlax-vbInteger integer 1005 Database handle. Refers to
:vlr-beginInsertM2 Undo reactor events another entity.
:vlr-objectModified 5 integer: obj ID for the redirected symbol table record 3 vlax-vbLong
:vlr-otherInsert3 :vlr-undoSubcommandAuto1 (STR) in the drawing XREFed to;
4 vlax-vbSingle 1010, 1020, 1030 Three real values, in
:vlr-objectErased integer: object ID for the object in the xref drawing.
:vlr-endInsert4 :vlr-undoSubcommandControl2 5 vlax-vbDouble real the order X, Y, Z. Never altered.
:vlr-objectUnErased 6 VLA-obj: target db;

 Callback args: reactor obj, AcDb obj. :vlr-abortInsert4 :vlr-undoSubcommandBegin3 integer: object ID;
8 vlax-vbString string 1011, 1021, 1031 World space position.
VLA-obj: source drawing db.
:vlr-undoSubcommandEnd3 A 3D point to be altered.
Command reactor events  Callback args: reactor obj, list of extra data. 7 VLA-obj: target drawing db;
9 vlax-vbObject VLA-object
:vlr-undoSubcommandMark3 string: XREF block tbl record (BTR) name; 1012, 1022, 1032 World space
:vlr-unknownCommand  Callback data:
VLA-obj: source drawing db. 11 vlax-vbBoolean :vlax-true/false
1 VLA-obj: the db in which the block is being inserted;
:vlr-undoSubcommandBack3 8 VLA-obj: target drawing db. displacement. A 3D point to be
:vlr-commandWillStart string: the block to be inserted; 8192+n vlax-vbArray vlax safearray altered.
VLA-obj: the source db of the block. :vlr-undoSubcommandNumber4 9 integer: activity the BIND is carrying out. Values:

:vlr-commandEnded 2 VLA-obj: the target db;


0- BIND subcmd invoked.
1013, 1023, 1033 World direction. A 3D
 Callback args: reactor obj, list of extra data. 2- xref with indicated obj ID is begin bound.
:vlr-commandCancelled matrix: the 3D transformation matrix;
point to be altered.
VLA-obj: the source db of the matrix.  Callback data: 3- xref with indicated obj ID was successfully bound.
4- BIND subcmd completed. System Variables
:vlr-commandFailed 3 VLA-obj: the target db; 1 integer: the activity (always 4);
1040 Real. A real value.
VLA-obj: the source db of the block or matrix. symbol: the state of Auto mode. T if turned on.
5- BIND operation is about to terminated or fail. ACADVER: ACAD version
 Callback args: reactor obj, List of cmd strings.
2 integer: the activity (always 4);
6- BIND operation has terminated or failed. 1041 Distance. A real value that is
DeepClone reactor events
4 VLA-obj: the target db.
7- Sent for XDep block bound by XBind. ANGBASE: base angle orientation
integer: selected Control option. Possible values: 8- Sent for all other symbols: Layers, Linetypes, scaled along with the parent entity.
Linker reactor events 0- NONE was selected TextStyles, and DimStyles. AUNITS, AUPREC: angle unit style and
:vlr-beginDeepClone 1- ONE was selected 1042 Scale factor. A real value that is
:vlr-rxAppLoaded integer: obj ID for the xref being bound, or 0 if not precision. Values are:
:vlr-beginDeepCloneXlation1 2- ALL was selected applicable. scale along with the parent.
:vlr-rxAppUnLoaded 3 integer: always 0.
10 integer: activity the ATTACH is carrying out. Possible 0- Degrees
:vlr-abortDeepClone 4 integer: the activity (always 0);
values are 0, 2-6, see above. 1- Degrees/Minutes/Seconds 1070 Integer. A 16-bit integer (signed or
 Callback args: reactor obj, list of ObjectARX program
:vlr-endDeepClone names.
integer: the number of steps being undone. string: file being attached, or nil if not applicable.
2- Grads unsigned).
 Callback args: reactor obj, list of extra data. LISP reactor events Wblock reactor events 11 integer: activity the OVERLAY is carrying out. Possible
3- Radians 1071 Long. A 32-bit integer.
values are 0, 2-6, see above.
:vlr-wblockNotice1 Example:
 Callback data:
1 integer: error status. :vlr-lispWillStart1
string: file being overlaid, or nil if not applicable.
12 integer: activity the DETACH is carrying out. Possible
4- Surveyor's units (-3
:vlr-lispEnded :vlr-beginWblockPt2 values are 0, 2-6, see above. CDATE: system date/time in readable ("AppName1" (1000 . "HATCH") (1002 . "{")
DocManager reactor events :vlr-beginWblockId3 string: file being detached, or nil if not applicable. format (1070 . 16) (1000 . "LINE") (1040 . 1.0)
:vlr-lispCancelled 13 integer: activity the OVERLAY is carrying out. Possible
:vlr-documentCreated1 :vlr-beginWblock4 values are 0, 2-6, see above. CLAYER: current layer name
(1040 . 0.0) (1002 . "}"))
 Callback args: reactor obj, list of extra data. ("AppName2" (...))
:vlr-documentToBeDestroyed1  Callback data: :vlr-otherWblock4 integer: obj ID of the xref being operated on, or 0 if not
CMDACTIVE: whether a cmd is active? ) ; end of xdata
applicable;
:vlr-documentLockModeWillChange3 1 string: the 1st line of the AutoLISP exp to eval.
:vlr-abortWblock5 string: new path name of the xref, or nil if not applicable. CMDECHO: whether cmd echo is on?
:vlr-documentLockModeChangeVetoed2 Miscellaneous reactor events :vlr-endWblock5
14 integer: activity the RELOAD is carrying out. Possible
CMDNAMES: cmd names currectly
XRecord Group Codes
values are 0, 2-6, see above.
:vlr-documentLockModeChanged3 :vlr-pickFirstModified :vlr-beginWblockObjects6 integer: obj ID of the xref being reloaded, or 0 if not active 100 Subclass marker (AcDbXrecord)
applicable.
:vlr-documentBecameCurrent1 :vlr-layoutSwitched1  Callback args: reactor obj, list of extra data. 15 integer: activity the UNLOAD is carrying out. Possible CTAB: current (model/space layout) tab 1-369 (excfept 5 and 105) Can be used
:vlr-documentToBeActivated1  Callback args: reactor obj, list of extra data.  Callback data: values are 0, 2-6, see above. DATE: system date/time in comp format in any way.
1 VLA-obj: db object from which the block will be created. string: obj ID of the xref being unloaded, or 0 if not
:vlr-documentToBeDeactivated1  Callback data:
2 VLA-obj: the target db; applicable. DWGNAME: drawing name
1 string: the layout switched to.
 Callback args: reactor obj, list of extra data. VLA-obj: the source db; DWGPREFIX: folder where drawing is
 Callback data: Mouse reactor events 3D pt list: the base point in the target db, in WCS.
3 VLA-obj: the target db;
Externally Defined located
1 VLA-obj: the affected doc obj.

2 VLA-obj: the affected doc obj;


:vlr-beginDoubleClick1 VLA-obj: the source db; Commands EXPERT: expert mode
object ID of the block TableRecord being wblocked.
string: global cmd string passed in. Prefixed with "#" if :vlr-beginRightClick1 4 VLA-obj: the target database; (c:3dsin mode [multimat create] file) LUNITS, LUPREC: non-angle number
the callback is being made on behalf of an unlock
 Callback args: reactor obj, list of extra data.
request. VLA-obj: the source database. (c:3dsout sset omode div smoth weld file) unit style and precision. Values are:
5 VLA-obj: the target database.
3 VLA-obj: the affected doc obj;  Callback data:
integer: lock in effect; 1 3D pt list: the point clicked on, in WCS. 6 VLA-obj: the source database; (align arg1 arg2) 1- Scientific notation
integer: lock mode after the lock is applied; ID map.
(c:cal expression) 2- Decimal
integer: strongest lock mode from all other exec Object events
contexts; Window reactor events (c:fog enabled [color [near-dist [far-dist 3- Engineering (ft & dec. in.)
:vlr-cancelled 4- Architectural (ft. & frac. in.)
string: global cmd string passed in. Prefixed with "#" if it :vlr-docFrameMovedOrResized1 [near-percent [far-percent]]]]])
is an unlock request. :vlr-copied1 5- Fractions
Lock modes are: :vlr-mainFrameMovedOrResized1 (c:light mode [options])
1- Auto Write Lock :vlr-erased OSMODE: object snap modes (bit-
2- Not Locked :vlr-unerased
 Callback args: reactor obj, list of extra data. (c:lsedit mode [options]) encoded integer)
 Callback data:

You might also like