AutoLISP Library (2017-04-04)

Download the external libraries from the following websites:

ActiveX Collection Manipulation

(vlax-for symbol collection [expression1 [expression2 ...]]) Iterates through a collection of objects, evaluating each expression (VLISP Function) AutoLISP
(vlax-map-collection obj function) Applies a function to all objects in a collection AutoLISP

ActiveX Data Conversion

(vlax-3D-point list) Creates an ActiveX-compatible 3D point structure AutoLISP
(vlax-ename->vla-object entname) Transforms entity to VLA-object AutoLISP
(vlax-make-safearray type '(l-bound . u-bound) ['(l-bound . u-bound)...)] Creates a safearray AutoLISP
(vlax-make-variant value type) Creates a variant data type AutoLISP
(vlax-safearray->list var) Returns the elements of a safearray in list form AutoLISP
(vlax-safearray-fill var ' element-values) Stores elements in a safearray AutoLISP
(vlax-safearray-get-dim var) Returns the number of dimensions in a safearray object AutoLISP
(vlax-safearray-get-element var element) Returns an element from an array AutoLISP
(vlax-safearray-get-l-bound var dim) Returns the lower boundary (starting index) of a dimension of an array AutoLISP
(vlax-safearray-get-u-bound var dim) Returns the upper boundary (end index) of a dimension of an array AutoLISP
(vlax-safearray-put-element var element value) Adds or updates an element in an array AutoLISP
(vlax-safearray-type var) Returns the data type of a safearray AutoLISP
(vlax-tmatrix list) Returns a suitable representation for a 4 x 4 transformation matrix to be used in VLA methods AutoLISP
(vlax-variant-change-type var type) Returns the value of a variant after changing it from one data type to another AutoLISP
(vlax-variant-type var) Returns the data type of a variant AutoLISP
(vlax-variant-value var) Returns the value of a variant AutoLISP
(vlax-vla-object->ename obj) Transforms a VLA-object to an AutoLISP entity AutoLISP

ActiveX Method Invocation

(vlax-invoke-method obj method list) Calls the specified method of an object AutoLISP
(vlax-method-applicable-p obj method) Determines if an object supports a particular method AutoLISP

ActiveX Object

(vlax-dump-object obj) Lists an object's methods and properties AutoLISP
(vlax-erased-p obj) Determines whether an object was erased AutoLISP
(vlax-get-acad-object) Retrieves the top-level AutoCAD application object for the current AutoCAD session AutoLISP
(vlax-object-released-p obj) Determines if an object has been released AutoLISP
(vlax-read-enabled-p obj) Determines whether an object can be read AutoLISP
(vlax-release-object obj) Releases a graphical object AutoLISP
(vlax-typeinfo-available-p obj) Determines whether type library information is present for the specified type of object AutoLISP
(vlax-write-enabled-p obj) Determines whether an AutoCAD drawing object can be modified AutoLISP

ActiveX Property

(vlax-get-property obj property) Low-level property get function. May be used for custom ActiveX object AutoLISP
(vlax-property-available-p obj prop [T]) Determines whether an object has a specified property AutoLISP
(vlax-put-property obj property arg) Low-level property set function AutoLISP

ADO

(ADOLISP_ConnectToDB ConnectString UserName Password) A routine to connect to a database ADO Lisp
(ADOLISP_DisconnectFromDB ConnectionObject) A function to close a connection and release the connection object. ADO Lisp
(ADOLISP_DoSQL ConnectionObject SQLStatement) A function to execute an arbitrary SQL statement (replacable parameters are not supported). ADO Lisp
(ADOLISP_ErrorPrinter) A function to print the list of errors generated by the ADOLISP_ErrorProcessor function. The functions are separate so ADOLISP_ErrorProcessor can be called while a DCL dialog box is displayed and then ADOLISP_ErrorPrinter can be called after the dialog box has been removed. ADO Lisp
(ADOLISP_ErrorProcessor VLErrorObject ConnectionObject) A function to assemble all errors into a list of lists of dotted pairs of strings ("name" . "value") ADO Lisp
(ADOLISP_GetColumns ConnectionObject TableName) A function to obtain the properties of the columns in a table. ADO Lisp
(ADOLISP_GetTablesAndViews ConnectionObject) A function to obtain the names of all the tables and views in a database. (Views are called "Queries" in Microsoft Access.) ADO Lisp
(ADOLISP_variant-value VariantItem) A function to convert a variant to a value. Knows about more variant types than vlax-variant-value ADO Lisp

Appids

(acet-appid-delete spec) This is provided for compatibility only - this function does nothing. (it is very dangerous to delete an ApplicationID, using _Purge command is preferable). ACET

Application

(arx) Returns a list of the currently loaded ObjectARX applications AutoLISP
(arxload application [onfailure]) Loads an ObjectARX application AutoLISP
(arxunload application [onfailure]) Unloads an ObjectARX application AutoLISP
(autoarxload filename cmdlist) Predefines command names to load an associated ObjectARX file AutoLISP
(autoload filename cmdlist) Predefines command names to load an associated AutoLISP file AutoLISP
(initdia [dialogflag]) Forces the display of the next command's dialog box AutoLISP
(load filename [onfailure]) Evaluates the AutoLISP expressions in a file AutoLISP
(startapp appcmd file) Starts a Windows application AutoLISP
(vlax-add-cmd global-name 'func-sym [local-name cmd-flags]) Adds commands to the AutoCAD built-in command set Note VLISP extension: requires vl-load-com AutoLISP
(vl-load-all filename) Loads a file into all open AutoCAD documents AutoLISP
(vl-vbaload filename) Loads a VBA project AutoLISP
(vl-vbarun macroname) Runs a VBA macro AutoLISP

Application-Specific Data Function

(client_data_tile key clientdata) Associates application-managed data with a dialog box tile AutoLISP

Arithmetic

(- [number number] ...) Subtracts the second and following numbers from the first and returns the difference AutoLISP
(* [number number] ...) Returns the product of all numbers AutoLISP
(/ [number number] ...) Divides the first number by the product of the remaining numbers and returns the quotient AutoLISP
(~ int) Returns the bitwise NOT (1's complement) of the argument AutoLISP
(+ [number number] ...) Returns the sum of all numbers AutoLISP
(1- number) Returns the argument reduced by 1 (decremented) AutoLISP
(1+ number) Returns the argument increased by 1 (incremented) AutoLISP
(abs number) Returns the absolute value of the argument AutoLISP
(atan num1 [num2]) Returns the arctangent of a number in radians AutoLISP
(cos ang) Returns the cosine of an angle expressed in radians AutoLISP
(exp number) Returns the constant e (a real) raised to a specified power (the natural antilog) AutoLISP
(expt base power) Returns a number raised to a specified power AutoLISP
(fix number) Returns the conversion of a real into the nearest smaller integer AutoLISP
(float number) Returns the conversion of a number into a real AutoLISP
(gcd int1 int2) Returns the greatest common denominator of two integers AutoLISP
(log number) Returns the natural log of a number as a real AutoLISP
(logand [int int ...]) Returns the result of the logical bitwise AND of a list of integers AutoLISP
(logior [int int ...]) Returns the result of the logical bitwise inclusive OR of a list of integers AutoLISP
(lsh [int numbits]) Returns the logical bitwise shift of an integer by a specified number of bits AutoLISP
(max [number number ...]) Returns the largest of the numbers given AutoLISP
(min [number number ...]) Returns the smallest of the numbers given AutoLISP
(minusp number) Verifies that a number is negative AutoLISP
(rem [num1 num2 ...]) Divides the first number by the second, and returns the remainder AutoLISP
(sin ang) Returns the sine of an angle as a real expressed in radians AutoLISP
(sqrt number) Returns the square root of a number as a real AutoLISP
(zerop number) Verifies that a number evaluates to zero AutoLISP

Attributes

(MeAlignAtts Obj Ang) Rotates all attributes of a block to n degrees Menzi Eng
(MeGetAtts Obj) Reads all attribute values from a block Menzi Eng
(acet-insert-attrib-get lst) Returns a list of attributes (tags and/or values) for the block reference as specified by inplist: a) if inplist is an entity name (ENAME), this functions returns the list of (tag value) pairs b) if inplist is a list of (ename mode), the mode argument defines the structure of returned list: mode = 1 returns a list of (tag value) pairs mode = 2 returns a list of tags only mode = 3 returns a list of values only mode = 4 returns a list of (tag ename) pairs, where ename is the entity name of the attribute ACET
(acet-insert-attrib-mod na lst bquiet) Modifies the attributes values for a BlockReference entity ename, based on the inplist arguments; inplist must be a list of (tag value) pairs - verifying the tags is case-insensitive. suppress argument controls whether a hint message is shown, if the BlockReference does not contain an attribute with tag key tag. ACET
(acet-insert-attrib-set na lst bquiet) This function behaves identical as (acet-insert-attrib-mod). ACET
(MeSetAtts Obj Lst) Sets attribute values to block Menzi Eng

AutoCAD

(dos_acadmem) Returns AutoCAD memory statistics DOS Lib
(dos_acadname) Returns the product name of the running AutoCAD. Useful in determine whether or not you are running a "vertical" version of AutoCAD. DOS Lib
(acet-acad-refresh) Causes a refresh of the drawing window. ACET
(dos_acitorgb aci-value) Converts an AutoCAD Color Index (ACI) value to a Red-Green-Blue (RGB) color value. DOS Lib
(dos_arxlist [T]) Returns a list of loaded ARX applications. DOS Lib
(dos_cleardbmod [T]) Clears the DBMOD, or drawing modification status, system variable. Warning, after clearing this variable, will not be prompted to save the drawing when closing it or closing AutoCAD. DOS Lib
(dos_closeall) Closes all open AutoCAD drawing files. DOS Lib
(dos_cmdline [T]) Returns text from AutoCAD's command-line or history window. DOS Lib
(dos_curvearea entity) Returns the area bound by a closed curve entity. DOS Lib
(dos_custominfo) Returns or modifies AutoCAD's custom drawing summary information, or DWGPROPS. Note, this function just manipulates the custom information fields. If you want to manipulate summary fields, use dos_summaryinfo. DOS Lib
(dos_custominfo nil) Returns or modifies AutoCAD's custom drawing summary information, or DWGPROPS. Note, this function just manipulates the custom information fields. If you want to manipulate summary fields, use dos_summaryinfo. DOS Lib
(dos_custominfo field_name [field_value]) Returns or modifies AutoCAD's custom drawing summary information, or DWGPROPS. Note, this function just manipulates the custom information fields. If you want to manipulate summary fields, use dos_summaryinfo. DOS Lib
(dos_dwgpreview title path [T]) Displays a list of drawings and their thumbnail preview images. The function is useful for selecting drawings to open or blocks to insert. DOS Lib
(dos_dwgpreview title path-list [T]) Displays a list of drawings and their thumbnail preview images. The function is useful for selecting drawings to open or blocks to insert. DOS Lib
(dos_dwgver filename) Returns the version of an AutoCAD drawing file. DOS Lib
(dos_extractpreview filename) Extracts the thumbnail image from the active document to a bitmap file. DOS Lib
(MeGetAcadLanguage) Returns the *program* language of the current AutoCAD version Menzi Eng
(MeGetAcadLicenseInfos) Returns the license information's of the current AutoCAD version Menzi Eng
(acet-getvar-cprofile var) ACET2
(acet-getvar-dwg var) ACET2
(acet-getvar-fixed-profile var) ACET2
(dos_hatcharea entity) Returns the area of a hatch object. DOS Lib
(dos_hideobjects entity-name) Hides one or more AutoCAD entities. Hidden entities can be shown, or unhidden by using dos_showobjects or by closing and reopening the document.. DOS Lib
(dos_hideobjects selection-set) Hides one or more AutoCAD entities. Hidden entities can be shown, or unhidden by using dos_showobjects or by closing and reopening the document.. DOS Lib
(dos_hlstorgb hue luminance saturation) Converts a Hue-Luminance-Saturation (HLS) color value to Red-Green-Blue (RGB) format. DOS Lib
(dos_imagelist) Returns a list to all raster images in the active document. DOS Lib
(dos_isbreak) Queries AutoCAD's console break handler to verify that the escape key has been pressed. Used in conjunction with the vl-catch-all-apply function, dos_isbreak is useful in breaking out of tight loops. DOS Lib
(dos_isinsidecurve curve point) Verifies that a point lies inside of a closed, planar curve entity. DOS Lib
(dos_istextscr) Verifies that the AutoCAD text screen is open or visible. If the text screen is not open, or if it is minimized, then the function will return nil. DOS Lib
(dos_isvlide) Verifies that the Visual LISP IDE (editor) is open. DOS Lib
(dos_layerlistbox title prompt [bits]) Displays a list of AutoCAD layers in a sizeable Windows dialog box. DOS Lib
(dos_linetypebox [default [ T]]) Displays AutoCAD's linetype selection dialog box. DOS Lib
(dos_lisplist [T]) Returns a list of loaded AutoLISP/Visual LISP files. DOS Lib
(dos_massprops entity) Returns the mass properties of a 3-D solid entity. DOS Lib
(dos_olelist [space]) Returns a list to all linked OLE objects. DOS Lib
(dos_plinecentroid entity) Returns the centroid of a closed, planar polyline entity. DOS Lib
(dos_plinewinding entity) Determines whether a closed polyline winds clockwise or counterclockwise. Note that the test does not determine whether the polyline is self-intersecting. DOS Lib
(dos_progbar message maxvalue) Manipulates the AutoCAD Status Bar Progress Meter. This function is called once to initialize the progress meter. Then, it is called any number of times to move the progress meter in an absolute or relative manner. Finally, it is called with no arguments to reset the status bar. DOS Lib
(dos_progbar abs/-rel) Manipulates the AutoCAD Status Bar Progress Meter. This function is called once to initialize the progress meter. Then, it is called any number of times to move the progress meter in an absolute or relative manner. Finally, it is called with no arguments to reset the status bar. DOS Lib
(dos_progbar) Manipulates the AutoCAD Status Bar Progress Meter. This function is called once to initialize the progress meter. Then, it is called any number of times to move the progress meter in an absolute or relative manner. Finally, it is called with no arguments to reset the status bar. DOS Lib
(dos_proxyclean) Removes all of the of proxy objects from the current drawing. This is done by iterating through the entire drawing, and swapping all proxy entities for anonymous blocks. The blocks contain the equivalent geometry of the proxy entities. DOS Lib
(dos_proxycount) Returns the number of proxy objects in the current drawing. DOS Lib
(dos_purgexdata entity) Removes all extended entity data (xdata) that is attached to an entity regardless of the APPNAME. DOS Lib
(acet-r12-dxf-convert ss) ACET
(dos_rgbtoaci red green blue) Converts a Red-Green-Blue (RGB) color value to the closest AutoCAD Color Index (ACI) value. DOS Lib
(dos_rgbtoaci rgb) Converts a Red-Green-Blue (RGB) color value to the closest AutoCAD Color Index (ACI) value. DOS Lib
(dos_rgbtogray red green blue) Converts a Red-Green-Blue (RGB) color value to an RGB grayscale value. DOS Lib
(dos_rgbtogray rgb) Converts a Red-Green-Blue (RGB) color value to an RGB grayscale value. DOS Lib
(dos_rgbtohls red green blue) Converts a Red-Green-Blue (RGB) color value to Hue-Luminance-Saturation (HLS) format. DOS Lib
(dos_rgbtohls rgb) Converts a Red-Green-Blue (RGB) color value to Hue-Luminance-Saturation (HLS) format. DOS Lib
(dos_saveall) Saves all open AutoCAD drawing files. DOS Lib
(acet-setvar lst) Saves custom variables with their values to several storage places. varlist is a list of '(var1 var2 saveMode var2 val2 saveMode...); saveMode can be a combination (bitflags) of: 1 = dictionary 2 = registry 4 = environment; ACET2
(acet-setvar-cprofile var val) ACET2
(acet-setvar-dwg var val) ACET2
(acet-setvar-fixed-profile var val) ACET2
(dos_show method) Controls the display of the AutoCAD window. DOS Lib
(dos_showobjects entity-name) Shows, or unhides, one or more hidden AutoCAD entities. You can hide entities by using dos_hideobjects . DOS Lib
(dos_showobjects selection-set) Shows, or unhides, one or more hidden AutoCAD entities. You can hide entities by using dos_hideobjects . DOS Lib
(dos_showobjects) Shows, or unhides, one or more hidden AutoCAD entities. You can hide entities by using dos_hideobjects . DOS Lib
(dos_slblist filename [sort]) Lists the names of the slides in an AutoCAD slide library file (.SLB). DOS Lib
(dos_summaryinfo) Returns or modifies AutoCAD's drawing summary information, or DWGPROPS. Note, this function just manipulates the summary information fields. If you want to manipulate custom fields, use dos_custominfo. DOS Lib
(dos_summaryinfo nil) Returns or modifies AutoCAD's drawing summary information, or DWGPROPS. Note, this function just manipulates the summary information fields. If you want to manipulate custom fields, use dos_custominfo. DOS Lib
(dos_summaryinfo field_id [field_value]) Returns or modifies AutoCAD's drawing summary information, or DWGPROPS. Note, this function just manipulates the summary information fields. If you want to manipulate custom fields, use dos_custominfo. DOS Lib
(acet-var-getvar <name> [<mask>]) Loads a custom variables from several storage places as specified by savemode. saveMode can be a combination (bitflags) of: 1 = dictionary 2 = registry 4 = environment; ACET
(acet-var-setvar <name> <value> [<mask>]) Saves a custom variable varname with value varval to several storage places as specified by savemode. saveMode can be a combination (bitflags) of: 1 = dictionary 2 = registry 4 = environment; ACET
(dos_xreflist [filename]) Returns a list of externally referenced drawing files. DOS Lib

Blocks

(acet-block-make-anon ss bna) Create a new anonymous block from selectionset ss, using specified block name blockname. If blockname is NIL, a new block name is automatically determined. ACET
(acet-block-purge bna) Purges the specified block blockname from the drawing. ACET
(MeCloneBlockRef Src Tar) Clones the specified block reference to a new name Menzi Eng

Colors

(MeGetTrueCol Obj) Returns a TrueColor list from an object Menzi Eng
(MeOleToAciCol OleCol) Converts a OLE- to a ACI-Color number Menzi Eng
(MeSetTrueCol Obj Lst) Applies a TrueColor list to an object Menzi Eng

Configuration

(dos_getini section entry filename [default]) Returns a string from the specified section in the Windows-style initialization (.INI) file. The initialization file must have the following form: [section] entry=string... DOS Lib
(dos_regaddkey hive key) Adds a new key to the Windows Registry. This function creates all the keys in the specified path, if necessary. DOS Lib
(dos_regdel key [name]) Note, this function is deprecated. User either dos_regdelkey or dos_regdelval . Removes a value from a key or an existing subkey from a key in the Windows Registry. This function will also remove any subkeys. DOS Lib
(dos_regdelkey hive key subkey) Removes an existing subkey from a key in the Windows Registry. This function will also remove any subkeys. DOS Lib
(dos_regdelval hive key name) Removes a value from a key in the Windows Registry. DOS Lib
(dos_regenumkeys hive key) Enumerates the subkeys in a specified key in the Windows Registry. DOS Lib
(dos_regenumnames hive key) Enumerates the value names in a specified key in the Windows Registry. DOS Lib
(dos_regget key [name]) Note, this function is deprecated. User either dos_reggetint or dos_reggetstr. Retrieves a string value or a list of value names from the Windows Registry. DOS Lib
(dos_reggetint hive key name) Retrieves an integer value, or REG_DWORD, from the Windows Registry. DOS Lib
(dos_reggetstr hive key name) Retrieves a string value, or REG_SZ, from the Windows Registry. DOS Lib
(dos_reggettype hive key name) Returns the data type of a value in the Windows Registry. DOS Lib
(dos_regkey key) Note, this function is deprecated. Use either dos_regenumkeys or dos_regenumnames. Enumerates the subkeys in a specified key in the Windows Registry. DOS Lib
(dos_regset key [name [value]]) Note, this function is deprecated. Use either dos_regsetint or dos_regsetstr . Sets a string value or adds a key in the Windows Registry. DOS Lib
(dos_regsetint hive key name int-value) Sets an integer value, or REG_DWORD, to a key in the Windows Registry. DOS Lib
(dos_regsetstr hive key name str-value) Sets a string value, or REG_SZ, to a key in the Windows Registry. DOS Lib
(dos_setini section entry string filename) Copies a string into the specified section of the Windows-style initialization (.INI) file. An initialization file must have the following form: [section] entry=string... DOS Lib

Conversion

(angtof string [mode]) Converts a string representing an angle into a real (floating-point) value in radians AutoLISP
(angtos angle [mode [precision]]) Converts an angular value in radians into a string AutoLISP
(ascii string) Returns the conversion of the first character of a string into its ASCII character code (an integer) AutoLISP
(atof string) Returns the conversion of a string into a real AutoLISP
(atoi string) Returns the conversion of a string into an integer AutoLISP
(chr integer) Returns the conversion of an integer representing an ASCII character code into a single-character string AutoLISP
(cvunit value from to) Converts a value from one unit of measurement to another AutoLISP
(distof string [mode]) Converts a string that represents a real (floating-point) value into a real value AutoLISP
(itoa int) Returns the conversion of an integer into a string AutoLISP
(rtos number [mode [precision]]) Converts a number into a string AutoLISP
(trans pt from to [disp]) Translates a point (or a displacement) from one coordinate system to another AutoLISP

Curve Measurement

(vlax-curve-getArea curve-obj) Returns the area inside the curve AutoLISP
(vlax-curve-getClosestPointTo curve-obj givenPnt [extend]) Returns the point (in WCS coordinates) on a curve that is nearest to the specified point AutoLISP
(vlax-curve-getClosestPointToProjection curve-obj givenPnt normal [extend]) Returns the point (in WCS coordinates) on a curve that is nearest to the specified point AutoLISP
(vlax-curve-getDistAtParam curve-obj param) Returns the length of the curve's segment from the curve's beginning to the specified point AutoLISP
(vlax-curve-getDistAtPoint curve-obj point) Returns the length of the curve's segment between the curve's start point and the specified point AutoLISP
(vlax-curve-getEndParam curve-obj) Returns the parameter of the endpoint of the curve AutoLISP
(vlax-curve-getEndPoint curve-obj) Returns the endpoint (in WCS coordinates) of the curve AutoLISP
(vlax-curve-getFirstDeriv curve-obj param) Returns the first derivative (in WCS coordinates) of a curve at the specified location AutoLISP
(vlax-curve-getParamAtPoint curve-obj param) Returns the distance along the curve from the beginning of the curve to the location of the specified parameter AutoLISP
(vlax-curve-getPointAtDist curve-obj dist) Returns the point (in WCS coordinates) along a curve at the distance specified by the user AutoLISP
(vlax-curve-getPointAtParam curve-obj param) Determines the point on the curve that corresponds to the param parameter and returns the point AutoLISP
(vlax-curve-getSecondDeriv curve-obj param) Returns the second derivative (in WCS coordinates) of a curve at the specified location AutoLISP
(vlax-curve-getStartParam curve-obj) Returns the start parameter on the curve AutoLISP
(vlax-curve-getStartPoint curve-obj) Returns the start point (in WCS coordinates) of the curve AutoLISP
(vlax-curve-isClosed curve-obj) Determines if the specified curve is closed (i.e., start point is same as endpoint) AutoLISP
(vlax-curve-isPeriodic curve-obj) Determines if the specified curve has an infinite range in both directions and there is a period value dT, such that there is a point on curve at (u + dT ) = point on curve (u ), for any parameter u AutoLISP
(vlax-curve-isPlanar curve-obj) Determines if there is a plane that contains the curve AutoLISP

Dates

(1900BasedJulianToCalender JulianDate) A function to convert a "1900-based"Julian-like date, time, or date/time to a string. ADO Lisp

Device Access

(grread [track] [allkeys [curtype]]) Reads values from any of the AutoCAD input devices AutoLISP
(tablet code [row1 row2 row3 direction]) Retrieves and sets digitizer (tablet) calibrations AutoLISP

Dialog Box

(action_tile key action-expression) Assigns an action to evaluate when the user selects the specified tile in a dialog box AutoLISP
(bns_annotation_ss ss) ACET
(bns_blink_and_show_object na c) ACET
(bns_blk_match blkname flt lst flag) ACET
(bns_blktbl_match flt) ACET
(acet-dcl-list-make a lst) Fills a DCL list box dcltile with the values from valuelist. ACET
(done_dialog [status]) Terminates a dialog box AutoLISP
(acet-full-dwgname) ACET
(acet-general-props-get e1) Returns a list with entity properties, as sequence of ("_layer" "_color"...); ACET
(acet-general-props-get-pairs e1) Returns a list with entity properties, each property is given as (dxf. value) item in that list; ACET
(acet-general-props-set ss proplst) Sets all entities in selectionset ss to the properties as given by properties; the properties list must have the format as returned by (acet-general-props-get). ACET
(acet-general-props-set-pairs e1 lst) Sets the entity object to the properties as given by properties; the properties list must have the assoc format as returned by (acet-general-props-get-pairs). object can be an entity name (ENAME) or an (entget) list ACET
(bns_get_att lst) ACET
(get_attr key attribute) Retrieves the DCL value of a dialog box attribute AutoLISP
(get_tile key) Retrieves the current runtime value of a dialog box tile AutoLISP
(bns_groups_sel lst) ACET
(bns_groups_unsel) ACET
(acet-help [<topic>]) Display a help page. ACET
(acet-help-trap <command> [<topic> [<file>]]) Install a F1 key monitor. ACET
(isort lst index) ACET
(load_dialog dclfile) Loads a DCL file AutoLISP
(bns_mod_att na lst) ACET
(mode_tile key mode) Sets the mode of a dialog box tile AutoLISP
(new_dialog dlgname dcl_id [action [screen-pt]]) Begins a new dialog box and displays it, and can also specify a default action AutoLISP
(acet-pref-supportpath-list) Returns the list of support pathes defined. ACET
(set_tile key value) Sets the value of a dialog box tile AutoLISP
(bns_ss_mod ss flag pr) ACET
(start_dialog) Displays a dialog box and begins accepting user input AutoLISP
(bns_tbl_match table filter) ACET
(term_dialog) Terminates all current dialog boxes as if the user cancels each of them AutoLISP
(bns_tjust ss just) ACET
(bns_truncate_2_view a b x y x2 y2) ACET
(unload_dialog dcl_id) Unloads a DCL file AutoLISP
(bns_vp_on_screen na) ACET

Dictionary

(acet-dict-ename dict name) Returns the entity name of item entry in dictionary dictname, or NIL if not found. ACET2
(acet-dict-make name) ACET2
(acet-dict-name-list dict) Returns the list of entries in dictionary dictname as a list of strings. ACET
(vlax-ldata-delete dict key) Erases AutoLISP data from a drawing dictionary AutoLISP
(vlax-ldata-get dict key [default-data]) Retrieves AutoLISP data from a drawing dictionary AutoLISP
(vlax-ldata-list dict) Lists AutoLISP data in a drawing dictionary AutoLISP
(vlax-ldata-put dict key data) Stores AutoLISP data in a drawing dictionary AutoLISP
(vlax-ldata-test data) Determines whether data can be saved over a session boundary AutoLISP

DimStyles

(MeGetDimStyles) Returns a list of all dimension style names Menzi Eng

Directory

(dos_chdir path) Changes the current directory to the specified directory. This function can change the current directory on any drive; it cannot be used to change the current drive. Use dos_drive to change the current drive. DOS Lib
(MeDelDirectory Dir) Deletes the specified directory Menzi Eng
(dos_deltree path) Deletes a directory and all of its subdirectories. DOS Lib
(dos_dirattrib [pathspec [bits]]) Returns directory attributes, or sets directory attributes to the value described by bits. DOS Lib
(dos_dirp path) Check for the existence of a directory. DOS Lib
(dos_dirsize path [T]) Returns the total size, the number of subdirectories, and the number of files in the specified directory. DOS Lib
(dos_dirtree [path]) Returns a list of directories and any subdirectories found in the specified directory. DOS Lib
(dos_getdir [title [path [message [T]]]]) Displays a Windows "Browse for folder" dialog box. The dos_getdir function is also capable of creating directories. DOS Lib
(MeGetShortCutTargetPaths Pth Flt) Returns all shortcut target paths according to the arguments Menzi Eng
(MeMakeDirectory Dir) Creates the specified directory(ies) Menzi Eng
(dos_mkdir path) Creates a new directory. The dos_mkdir function creates all the directories in the specified path, beginning with the root. DOS Lib
(dos_pwdir [drive]) Returns the path to the current directory for the current drive, or the specified drive. DOS Lib
(dos_rendir old_path new_path) Renames a directory. DOS Lib
(dos_rmdir path) Removes an empty directory. DOS Lib
(dos_specialdir item) Retrieves the path of a special directory. Note, many of the items are either operating system or Windows shell specific. DOS Lib
(dos_subdir [path [T]]) Returns a list of subdirectories found in the specified directory. This function is the only path- related function whose return values do not contain trailing double-backslashes (\\). DOS Lib
(dos_sysdir) Returns the path of the Windows system directory. The system directory contains such files as Windows libraries, drivers, and font files. DOS Lib
(dos_tempdir) Retrieves the path of the directory designated for temporary files. DOS Lib
(dos_windir) Retrieves the path of the Windows directory. The Windows directory contains such files as Windows-based applications, initialization files, and Help files. DOS Lib

Display Control

(graphscr) Displays the AutoCAD graphics screen AutoLISP
(grdraw from to color [highlight]) Draws a vector between two points, in the current viewport AutoLISP
(grtext [box text [highlight]]) Writes text to the status line or to screen menu areas AutoLISP
(grvecs vlist [trans]) Draws multiple vectors on the graphics screen AutoLISP
(menucmd string) Issues menu commands, or sets and retrieves menu item status AutoLISP
(menugroup groupname) Verifies that a menu group is loaded AutoLISP
(prin1 [expr [file-desc]]) Prints an expression to the command line or writes an expression to an open file AutoLISP
(princ [expr [file-desc]]) Prints an expression to the command line, or writes an expression to an open file AutoLISP
(print [expr [file-desc]]) Prints an expression to the command line, or writes an expression to an open file AutoLISP
(prompt msg) Displays a string on your screen's prompt area AutoLISP
(redraw [ename [mode]]) Redraws the current viewport or a specified object (entity) in the current viewport AutoLISP
(terpri) Prints a newline to the Command line AutoLISP
(textpage) Switches from the graphics screen to the text screen AutoLISP
(textscr) Switches from the graphics screen to the text screen (like the AutoCAD Flip Screen function key) AutoLISP
(vports) Returns a list of viewport descriptors for the current viewport configuration AutoLISP

Drawing Objects

(vlax-create-object prog-id) Creates a new instance of an ActiveX object AutoLISP
(vlax-get-object prog-id) Returns a running instance of an ActiveX object AutoLISP
(vlax-get-or-create-object prog-id) Returns a running instance of an ActiveX object, if one exists, otherwise starts a new instance of the object AutoLISP
(vlax-import-type-library :tlb-filename filename [:methods-prefix mprefix :properties-prefix pprefix :constants-prefix cprefix]) Imports information from a type library AutoLISP

Drawings

(MeGetOpenDwgs) Returns a list of all open drawings including path Menzi Eng
(MeScrollDocs Dir) Scrolls the open docs in alphabetic order up or down Menzi Eng

Drive

(dos_chkdsk [drive]) Returns drive space statistics for the current drive or for the specified drive. Use the rtos function to convert the return values to strings if necessary. DOS Lib
(dos_drive [drive]) Returns the current drive or changes the current drive to the one specified. DOS Lib
(dos_drivep drive) Checks for the existence of a drive. DOS Lib
(dos_drives) Returns a list of available drives. DOS Lib
(dos_drivetype [drive]) Returns the type of the specified drive; either removable, fixed, CD-ROM, RAM disk, or a network drive. DOS Lib
(dos_filesys [drive]) Returns the file system of the specified drive; either FAT, FAT32, NTFS, HPFS, CDFS, or a network drive. DOS Lib
(dos_format drive) Displays a Windows Format dialog box allowing the user for prepare a disk or diskette for use. DOS Lib
(MeGetDriveInfos Drv) Returns information's from a drive Menzi Eng
(dos_label [drive [label]]) Returns or changes the volume label of a specified disk. DOS Lib
(MeListNetworkDrives) Returns a list of all mapped network drives with UNC paths Menzi Eng
(MeRemapNetworkDrive Old New) Remaps a network drive to another drive letter Menzi Eng
(dos_serialno [drive]) Returns the serial number of a specified disk. DOS Lib

Entities

(acet-ent-curvepoints <ename> <max-error>) Returns a list of points along the curve entity ename (line, arc, circle, polyline, spline, ellipse, leader, ray, xline); the number resolution must be in range 0.0 < resolution < 1.0 and controls the smoothness of curve scan points. ACET
(acet-ent-geomextents <ename>) Returns the geometric extents of the given object. ACET
(acet-explode ss) Returns a selectionset, containing all the entities created by exploding EnameOrSelectionset, which can be a single entity or a selectionset. ACET
(MeExplode Obj Del) Explodes complex objects Menzi Eng
(acet-lwpline-make lst) Creates a LWPOYLINE entity based in inplist data; inplist must be a list of format (defaults points). defaults: is a list of (dxf. value) pairs, specifying desired standard properties like color, layer etc.; can be NIL points: is a list of 2d or 3d points Returns nothing (like (princ) function). Example: (setq defaults (list (cons 70 1) (cons 62 4) (cons 43 2))) ACET
(acet-path-to-list a) ACET
(acet-pline-is-2d e1) Verifies whether the entity specified by entdata is a 2d polyline (POLYLINE, LWPOLYLINE); returns T for a 2d polyline, NIL otherwise ACET
(acet-pline-make lst) ACET
(acet-pline-segment-list e1) Returns the definition data of polyline specified by entdata as a list of type (vertex-list startwidth-list endwidth-list bulge-list). ACET
(acet-pline-segment-list-apply e1 lst) Applies polyline definition data plinedata to the polyline specified by entity; entity can either by an ENAME or an (entget) list including the -1 DXF group, and must specify a polyline entity; the definition data plinedata to be applied to the polyline must be a list of type (vertex-list startwidth-list endwidth-list bulge-list) as returned by (acet-pline-segment-list). ACET
(acet-plines-explode ss) Explodes all polylines contained in selectionset ss, and returns a a list of definition data, 1 entry for each exploded polyline: (ExplodedData ExplodeData...). ExplodedData: is a list of format (ltypegen enames widthlist ucs startpt flag1 flag2) ACET
(acet-plines-explode-width-data-get e1) ACET
(acet-plines-rebuild plst) Recreates new polylines based on plinedata definition data. plinedata: is a list of polyline definition data as returned by (acet-plines-explode) ACET
(acet-plines-rebuild-apply-widths w1 w2 e1) ACET
(acet-plines-rebuild-set-elevation ss z) ACET
(acet-point-flat p1 xv xv2) Transforms the input point pt from the fromCS.coordinate system to toCS system, and returns the resulting point with Z value 0 (flatten onto toCS system) ACET
(acet-re-make e1) ACET
(MeRevPline Obj) Reverse vertex order of Polylines Menzi Eng
(MeSetDrawOrder Obl Tob Mde) Changes draw order of object(s) by given method Menzi Eng
(acet-temp-segment p1 p2 p3 dflag) Draws temporary line segments [p1,p2] and [p2,p3] on actual viewport; if highlight is not NIL, the line segments are highlighted, otherwise drawn normally. Calling (acet-temp-segment...) clears any previously drawn temporary line segments. ACET
(acet-tjust ss a) This functions sets each text, mtext, attribute and derived entity in ss to the text justification; the justification string must be one of those as returned by (acet-tjust-keyword). Return the number of changes entities. ACET
(acet-tjust-group-codes just) ACET
(acet-tjust-keyword e1) Returns the text justification of the entity as one of the strings below; the entgetlist must be the entity definition list (as returned by (entget) function of a Text, MText, Attribute and derived entity - at least, the DXF group code 72 and 73 data must be contained. Possible justification strings are: START, CENTER, RIGHT, ALIGNED, MIDDLE, FIT BL, BC, BR ML, MC, MR TL, TC, TR If the entgetlist does not contain the 72 + 73 DXF group codes, or does not specify a valid entity, an empty string is returned. ACET

Equality and Conditional

(/= numstr [numstr] ...) Returns T if the arguments are not numerically equal, and nil if the arguments are numerically equal AutoLISP
(< numstr [numstr] ...) Returns T if each argument is numerically less than the argument to its right, and returns nil otherwise AutoLISP
(<= numstr [numstr] ...) Returns T if each argument is numerically less than or equal to the argument to its right, and returns nil otherwise AutoLISP
(= numstr [numstr] ...) Returns T if all arguments are numerically equal, and returns nil otherwise AutoLISP
(> numstr [numstr] ...) Returns T if each argument is numerically greater than the argument to its right, and returns nil otherwise AutoLISP
(>= numstr [numstr] ...) Returns T if each argument is numerically greater than or equal to the argument to its right, and returns nil otherwise AutoLISP
(and [expr ...]) Returns the logical AND of a list of expressions AutoLISP
(Boole func int1 [int2 ...]) Serves as a general bitwise Boolean function AutoLISP
(cond [(test result ...) ...]) Serves as the primary conditional function for AutoLISP AutoLISP
(eq expr1 expr2) Determines whether two expressions are identical AutoLISP
(equal expr1 expr2 [fuzz]) Determines whether two expressions are equal AutoLISP
(if testexpr thenexpr [elseexpr]) Conditionally evaluates expressions AutoLISP
(or [expr ...]) Returns the logical OR of a list of expressions AutoLISP
(repeat int [expr ...]) Evaluates each expression a specified number of times, and returns the value of the last expression AutoLISP
(while testexpr [expr ...]) Evaluates a test expression, and if it is not nil, evaluates other expressions; repeats this process until the test expression evaluates to nil AutoLISP

Error

(*error* string) A user-definable error-handling function AutoLISP
(alert string) Displays an alert dialog box with the error or warning message passed as a string AutoLISP
(acet-alert msg) Shows a message box displaying the msg information. ACET2
(acet-error-init args) Error handler. Note: This function should be paired with (acet-error-restore) below to encapsulate error handling for LISP functions or commands that may be aborted by the user. ACET
(acet-error-restore) Reset error handling.  This function restores the values saved by the matching call to (acet-error-init). It should be called after all user input has been completed. This function ends with a (princ) call for a quiet finish.  ACET
(exit) Forces the current application to quit AutoLISP
(quit) Forces the current application to quit AutoLISP
(vl-catch-all-apply 'function list) Passes a list of arguments to a specified function and traps any exceptions AutoLISP
(vl-catch-all-error-message error-obj) Returns a string from an error object AutoLISP
(vl-catch-all-error-p arg) Determines whether an argument is an error object returned from vl-catch-all-apply AutoLISP

Extended Data

(regapp application) Registers an application name with the current AutoCAD drawing in preparation for using extended object data AutoLISP
(xdroom ename) Returns the amount of extended data (xdata) space that is available for an object (entity) AutoLISP
(xdsize lst) Returns the size (in bytes) that a list occupies when it is linked to an object (entity) as extended data AutoLISP

File

(dos_attrib [filespec [bits]]) Returns file attributes, or sets file attributes to the value described by bits. DOS Lib
(close file-desc) Closes an open file AutoLISP
(dos_copy source destination) Copies a single file or multiple files. The function can be used to copy files from one directory to another, or from one drive to another. DOS Lib
(MeCopyFiles Src Tar) Copies the specified file(s) Menzi Eng
(MeCreateShortCut Scn Pro Icn) Creates a shortcut to AutoCAD with the appropriate param's on the desktop Menzi Eng
(dos_delete filespec) Deletes existing files. DOS Lib
(MeDeleteFiles Fil) Deletes the specified file(s) Menzi Eng
(dos_dir [filespec [format]]) Returns a list of files in a directory. The function is very similar the command prompt's DIR command. DOS Lib
(dos_dos2unix source destination) Converts a DOS-type text file to a Unix-type text file. DOS and Unix systems use different methods to identify end-of-line information in text files. DOS, including all versions of Windows, use a carriage return/linefeed pair (CR/LF), while Unix only uses the LF character. DOS Lib
(dos_emptyrecycle) Empties the Windows recycle bin. DOS Lib
(dos_encrypt filename password) Encrypts or unencrypts a file with a specified password. WARNING: Once a file has been encrypted, it cannot be unencrypted without calling this function and specifying the same password argument. Use this function carefully. The function generates a series of "mutated" number from the password you specify using a simple (but non-reversible) one-step cellular automation process. This process is similar to the one that drives John Conway's Life, which was described in the October 1970 issue of Scientific American. These mutated numbers are then XORed through the specified file. DOS Lib
(dos_file filename) Returns detailed information on a file. DOS Lib
(acet-file-attr <filespec> [<attributes>]) Gets or sets the protection attributes of a specified file or directory. ACET
(acet-file-backup fna) Creates a backup copy of given file filename; the name of the backup file copy will use the additional "_bak" postfix in its filename. All backup files created by this functions will internally be collected, and can be deleted by (acet-file-backup-delete). Return: NIL always ACET
(acet-file-backup-delete) This functions deletes all backup files created by (acet-file-backup). Return: T always ACET
(acet-file-backup-restore) ACET
(acet-file-chdir <name>) Changes the current working directory. ACET
(acet-file-copy <from> <to> [<force>]) Copy a file. ACET
(dos_filecrc filename [T]) Calculates the Cyclic Redundancy Check, or CRC, of a file. A file CRC can be useful in detecting whether or not a file has changed. DOS Lib
(acet-file-cwd) Returns the current working directory. ACET
(dos_filedate filespec) Returns a list containing filenames and AutoCAD calendar dates. Use rtos and substr or dos_strleft to extract elements from the AutoCAD calendar date. DOS Lib
(acet-file-dir <pattern> [<attributes>] [<starting-directory>]) Locate files. ACET
(dos_fileex filename) Returns extended information on a file. DOS Lib
(acet-file-find fna) Searches for the file given by filename on all support pathes; this is similar to normal (findfile) so far - but if the file is not found, the path is removed from filename, and the search is repeated again. Returns: the name of the file found, or NIL ACET
(acet-file-find-font fna) Searches for a font file specified as fontfile, using (acet-file-find); if no file extension is specified, it searches for .shx and .ttf files (in that sequence); additionally, the ./Fonts folder of the operating system is also searched. Returns: the name of the file found, or NIL ACET
(acet-file-find-image fna) Searches for an image file specified as imagefile, using (acet-file-find); if no file extension is specified, the functions uses .bmp, .gif, .jpg, .png, .tif - in this sequence. Returns: the name of the file found, or NIL ACET
(acet-file-find-on-path fna path) Searches the file filename by using (acet-file-find) on all folders as specified by pathes; pathes is a string, with one of more folder names, separated by ";" - see (getvar "ACADPREFIX") ACET
(dos_fileinfo filename) Returns a file's version information. This is information about a file that you see if you right-click on a file, in Windows Explorer, and pick Properties and then pick Details. DOS Lib
(acet-file-mkdir <name>) Creates a new directory. ACET
(acet-file-move <from> <to>) Moves or renames files. ACET
(acet-filename-acad-root) ACET2
(acet-filename-associated-app fna) Returns the name of the application, associated with given file filename; based on Windows Registry settings, so this will not work correctly on Linux/Mac platforms. ACET
(acet-filename-directory a) Returns the folder part of given filename. ACET2
(acet-filename-dir-on-path dir path) ACET2
(acet-filename-extension a) Returns the extension part of given filename. ACET2
(acet-filename-ext-remove fna) Returns the filename without file extension. ACET2
(acet-filename-path-remove a) Returns the filename without path. ACET2
(acet-filename-supportpath-remove fna) Returns the filename without path, if the file is located in support pathes; (this means, the filename without path can be found by (findfile) operation). ACET
(acet-filename-valid fna) Returns T if the file specified by filename is valid, NIL otherwise. ACET2
(acet-file-open fna flag) Opens the specified file filename with specified mode; mode can be "r" for read-mode, "w" for write mode, "a" for append mode; additionally the "b" suffix indicates "binary" mode, without newline character translation. Returns the file handle, or NIL in case of an error ACET
(dos_fileowner filename) Returns the current owner of a file. Note, the specified file must exist on an NTFS formatted drive. DOS Lib
(dos_filep filename) Tests for the existence of a file. DOS Lib
(acet-file-remove <file-spec> [<force>]) Deletes one or more files. ACET
(acet-file-rmdir <name>) Changes the current working directory. ACET
(dos_filesize filespec) Returns a list containing filenames and sizes in bytes. DOS Lib
(acet-file-systime-compare fna1 fna2) ACET2
(acet-file-writedialog) Opens the file selection dialog with specified arguments, and returns selected filename or NIL. ACET
(dos_find [filespec [format]]) Recursively searches for instances of a file or files. The function is very similar the command prompt's DIR /S command. DOS Lib
(findfile filename) Searches the AutoCAD library path for the specified file AutoLISP
(dos_getfiled title path filter) Displays a resizing Windows common file open dialog box that allows for single file selection. DOS Lib
(MeGetFileInfos Fil) Returns information's from a file Menzi Eng
(dos_getfilem title path filter) Displays a resizing Windows common file open dialog box that allows for multiple file selection. DOS Lib
(dos_getfilenav title default ext flags) Displays an AutoCAD-style file selection dialog box. DOS Lib
(MeGetShortName Fil) Returns the short path/name used by programs that require the earlier 8.3... Menzi Eng
(acet-ini-get <ini-file> [<section> [<key> [<default>]]]) Retrieve data from INI file. ACET
(acet-ini-set <ini-file> <section> [<key> [<value>]]) Write data to INI file. ACET
(dos_mergefiles source [destination]) Merges, or combines, two or more files into a single file. DOS Lib
(dos_move source destination) Moves a single file or multiple files. The function can be used to move files from one directory to another, or from one drive to another. DOS Lib
(open filename mode) Opens a file for access by the AutoLISP I/O functions AutoLISP
(dos_openp filename) Returns the open status of a file. This function has use in network environments. DOSLib determines whether a file is already open by attempting to open the file for exclusive-sharing access. If a sharing violation occurs during the attempt, the file is already open and T is returned. If the attempt causes a different error, such as access denied or file not found, then DOSLib will not be able to tell whether the file is already open, and nil is returned. DOS Lib
(read-char [file-desc]) Returns the decimal ASCII code representing the character read from the keyboard input buffer or from an open file AutoLISP
(dos_readdelimitedfile [filename [delimiter [ignore_empty[trim_spaces]]]) Reads a delimited text file from disk. A delimited file is a specially formatted text file which stores spreadsheet or database-style information in a very simple format, with one row/record on each line, and each column/ field within that row/record separated by a delimiter character. Each row that is read from the file is split into a specified number of columns based on the specified delimiter character. The columnar data is then converted to the appropriate data type, either numbers or strings, and added to a list that will eventually be returned. Empty or missing columns will be represented as empty elements (nil) in the list. A list containing one or more lists will be returned. The number of elements in each list will correspond to the maximum number of columns found in the file. ANSI, UTF-8 and Unicode encoded text files are supported. DOS Lib
(read-line [file-desc]) Reads a string from the keyboard or from an open file AutoLISP
(dos_readtextfile [filename [ignore_empty [trim_spaces]]) Reads a text file from disk and returns the text as a list of strings. ANSI, UTF-8 and Unicode encoded text files are supported. DOS Lib
(dos_recent [filename]) Adds to or clears the Windows recently used document list. DOS Lib
(dos_recycle filespec) Sends existing files to the Windows Recycle Bin. DOS Lib
(dos_rename old-filename new-filename) Renames an existing file. You cannot use this function to rename multiple files. Use dos_move instead. DOS Lib
(dos_search filename [path]) Searches for a file in a specified path. The function searches for a matching file in the directories specified the path argument. If path is nil, the following directories are searched, in the order listed: 1.  The directory from which the application loaded 2.  The current directory 3.  The Windows system directory 4.  The Windows directory 5.  Any directories listed by the PATH environment variable DOS Lib
(dos_tempfile) Creates a name for a temporary file. The file name is the concatenation of specified path the prefix string "~ac", a hexadecimal string formed from a specified integer, and the.tmp extension. DOS Lib
(dos_touch filespec [date [time]]) Sets the date and time at which files were last written to the current date and time or, optionally, a specified date. DOS Lib
(dos_unix2dos source destination) Converts a Unix-type text file to a DOS-type text file. DOS and Unix systems use different methods to identify end-of-line information in text files. DOS, including all versions of Windows, use a carriage return/linefeed pair (CR/LF), while Unix only uses the LF character. DOS Lib
(vl-directory-files [directory pattern directories]) Lists all files in a given directory AutoLISP
(vl-file-copy source-filename destination-filename [append ?]) Copies or appends the contents of one file to another file AutoLISP
(vl-file-delete filename) Deletes a file AutoLISP
(vl-file-directory-p filename) Determines if a file name refers to a directory AutoLISP
(vl-filename-base filename) Returns the name of a file, after stripping out the directory path and extension AutoLISP
(vl-filename-directory filename) Returns the directory path of a file, after stripping out the name and extension AutoLISP
(vl-filename-extension filename) Returns the extension from a file name, after stripping out the rest of the name AutoLISP
(vl-filename-mktemp [pattern directory extension]) Calculates a unique file name to be used for a temporary file AutoLISP
(vl-file-rename old-filename new-filename) Renames a file AutoLISP
(vl-file-size filename) Determines the size of a file, in bytes AutoLISP
(vl-file-systime filename) Returns last modification time of the specified file AutoLISP
(acet-wmfin FIL) Imports the given wmffile into the drawing. Not yet supported by BricsCAD ! ACET
(write-char num [file-desc]) Writes one character to the screen or to an open file AutoLISP
(write-line string [file-desc]) Writes a string to the screen or to an open file AutoLISP
(dos_writetextfile [filename strings [append [encoding]]) Writes a list of strings to a text file. ANSI, UTF-8 and Unicode encoded text files are supported. DOS Lib

FTP

(acet-ftp-download <file> <host> <login> [<password> [<directory> [<name>]]]) ACET
(acet-ftp-upload <file> <host> <login> [<password> [<directory> [<name>]]]) ACET

Function

(apply function lst) Passes a list of arguments to a specified function AutoLISP
(defun sym ([arguments] [/variables...]) expr ...) Defines a function AutoLISP
(defun-q sym ([arguments] [/variables...]) expr ...) Defines a function as a list (intended for backward-compatibility only) AutoLISP
(defun-q-list-ref 'function) Displays the list structure of a function defined with defun-q AutoLISP
(defun-q-list-set 'sym list) Defines a function as a list (intended for backward-compatibility only) AutoLISP
(eval expr) Returns the result of evaluating an AutoLISP expression AutoLISP
(lambda arguments expr ...) Defines an anonymous function AutoLISP
(progn [expr] ...) Evaluates each expression sequentially, and returns the value of the last expression AutoLISP
(trace function ...) Aids in AutoLISP debugging AutoLISP
(untrace function ...) Clears the trace flag for the specified functions AutoLISP

Geometric

(angle pt1 pt2) Returns an angle in radians of a line defined by two endpoints AutoLISP
(acet-angle-equal a b fuz) Compares two angle a and b values based on tolerance fuz; both angles are normalised to 0...2Pi range. Returns T or NIL. ACET
(distance pt1 pt2) Returns the 3D distance between two points AutoLISP
(acet-dtor a) Returns the angle value of ang in radians. ACET
(acet-geom-angle-to-ellipseangle v e1) ACET2
(acet-geom-angle-to-ellipseAngle v e1) ACET
(acet-geom-angle-trans ang frm to) Returns the angle transformed from fromCS to toCS coordinate system. angle is in radians. ACET
(acet-geom-arbitrary-x v) ACET2
(acet-geom-arc-3p-d-angle p1 p2 p3) Returns the difference angle for a bulge between points p1 -> p2 -> p3 (this is, the included angle center-p1 and center-p3, with center defined by the 3 arcus/center points); the sign of the result specifies the direction. angle is in radians. ACET
(acet-geom-arc-bulge cent p1 dang) Returns the bulge value for specified difference angle deltaang. arguments center and p1 are unused The bulge is the tangent of 1/4 of the included angle for an arc segment, made negative if the arc goes clockwise from the start point to the endpoint. A bulge of 0 indicates a straight segment, and a bulge of 1 is a semicircle. ACET
(acet-geom-arc-center p1 p2 p3) Returns the center point for for an arc or circle specified by 3 points p1, p2, p3. ACET
(acet-geom-arc-d-angle cent p1 p2) Returns the angle included between center-p1 and center-p2. angle is in radians. ACET
(acet-geom-arc-delta-angle r a) ACET2
(acet-geom-arc-point-list p1 p2 p3 ang alt) ACET2
(acet-geom-calc-arc-error xtdist) Calculates an error factor based on input parameter param; for internal calculations; do not use in application code. ACET2
(acet-geom-cross-product p1 p2) Returns the cross-product vector of vectors v1 and v2 (normal vector of plane defined by v1 and v2, as list of 3 doubles). ACET2
(acet-geom-delta-vector a b) Returns the vector from p1 to p2, as list of 3 doubles. ACET2
(acet-geom-ellipseangle-to-angle v e1) ACET2
(acet-geom-ellipseAngle-to-angle v e1) ACET
(acet-geom-ellipse-arc-list e1) ACET
(acet-geom-ellipse-point-at-angle ang e1) ACET
(acet-geom-ellipse-point-at-e-angle e-ang e1) ACET2
(acet-geom-ellipse-point-list na alt) ACET2
(acet-geom-ellipse-to-pline e1) ACET
(acet-geom-extents na) ACET2
(acet-geom-image-bounds na) Returns the boundary points of an image entity, as list (pLL pLR pUR pUL pLL). ACET2
(acet-geom-image-clip-list na) ACET2
(acet-geom-insert-clip-list e1 e2) ACET2
(acet-geom-insert-point-list e1) ACET2
(acet-geom-intersectwith na na2 flag) Returns all intersection points between entities ename1 and entity2; flags is an bit-coded integer, bits can be combined: bit 0 (1): virtually extend entity1 bit 1 (2): virtually extend entity2 ACET
(acet-geom-is-arc p1 p2 p3 p4 fuz) Verifies, whether given 4 points p1 p2 p3 p4 define a valid arc/circle; fuz is a numerical tolerance - if NIL, tolerance 0.0 is used. Returns T if the 4 points belong to an arc/circle, NIL otherwise ACET
(acet-geom-list-extents lst) Determines the extents of all points given in pointlist; ACET2
(acet-geom-list-fuz lst) ACET2
(acet-geom-matrix-trans p1 ucsm1 ucsm2) ACET2
(acet-geom-midpoint a b) Please see (acet-geom-mid-point) function; both are identical in behaviour. ACET2
(acet-geom-m-trans lst a b) Returns the list of transformed points from pointlst; applies (trans point from to) to each point of pointlst. ACET2
(acet-geom-mtxtbox e1 fact) ACET2
(acet-geom-object-end-points e1) Returns a list of defining end points for entity ename, using format (ptA ptB); both points can be 2d/3d points, depending on the entity. ACET
(acet-geom-object-fuz na) Returns a tolerance value for the given entity (depending on object dimension + location). ACET
(acet-geom-object-normal-vector na) Returns the normal vector for entity ename, if ename is a planar entity; otherwise it returns (0 0 1) vector. ACET
(acet-geom-object-point-list na alt) Returns a list of defining points for entity ename, using format (pt1 pt2... ptN); all points can be 2d/3d points, depending on the entity; smoothness is an optional double value, defining the smoothness when rasterizing the entity; if NIL, an internal default is used. ACET2
(acet-geom-object-z-axis e1) Returns the normal vector for entity given by its entity data elist, if entity is a planar entity; otherwise it returns (0 0 1) vector. ACET
(acet-geom-pixel-unit) Returns the pixel size in dwg units. ACET2
(acet-geom-pline-arc-info p1 p2 bulge) Returns the definition data of a polyline arc, given by p1, p2, and bulge values, using following format: (center radius deltaang start end). ACET2
(acet-geom-pline-point-list na alt) ACET2
(acet-geom-point-fuz p1) ACET2
(acet-geom-point-inside p1 lst dst) Determines whether given point pt is contained in a band defined by ptList, using halfwidth. Returns T or NIL. ACET
(acet-geom-point-rotate pnt p1 ang) Returns a point created by rotating point pt around refPoint using angle rotAngle. ACET2
(acet-geom-point-scale pnt p1 fact) Returns a point created by scaling the vector from fromPoint to toPoint with scale, and applied to fromPoint; if scale is NIL, 1.0 is used. ACET
(acet-geom-rect-points a b) Creates a list of "rectangle corner points" for the rectangle defined by p1 and p2; returns a list of (ptLL ptLR ptUR ptUL ptLL). ACET
(acet-geom-self-intersect lst flag2) Checks a polygon point sequence defined by pointlist for self-intersection; flag is actually ignored. Returns the first intersection point found, or NIL if the polygon does not self-intersect. ACET
(acet-geom-spline-point-list na clipitres) ACET2
(acet-geom-ss-extents ss shrinkwrap) Returns the geometrical extents of selectionset ss as list of 2 points (argument scale is actually ignored). ACET2
(acet-geom-ss-extents-accurate ss) ACET2
(acet-geom-ss-extents-fast ss) ACET2
(acet-geom-textbox e1 fact) Returns a list of 4 boundary rectangle points for a Text or AttributeDefinition or Attribute or MText, given by textobject; textobject can be an ename or an (entget) list; offset specifies an offset applied to expand the boundary rectangle. ACET2
(acet-geom-trans-image-to-ucs lst e1 code) ACET2
(acet-geom-trans-ucs-to-image lst e1 code) ACET
(acet-geom-txtbox e1 fact) ACET2
(acet-geom-unit-vector p1 p2) Returns the unit vector (length is 1.0) for the vector from p1 to p2. ACET2
(acet-geom-vector-add a b) Adds vector addVec to vector vec and returns the new vector. ACET2
(acet-geom-vector-d-angle v1 v2) Returns the angle between 2 vectors v1 and v2; can be 3d vectors. ACET2
(acet-geom-vector-parallel v1 v2) Returns T if the vectors v1 and v2 are parallel, otherwise returns NIL. ACET
(acet-geom-vector-scale v fact) Returns a vector from scaling the vector vec by scale; vec can be a 2d or 3d vector; result vector is always 3d. ACET2
(acet-geom-vector-side p1 p2 p3) Determines the side of point pt, relative to the direction vector pA -> pB. Returns 1.0, if pt is "left" of direction vector (mathematically positive), or -1.0 if pt is "right" of direction vector (mathematically negative), or 0.0 if pt is located on the direction vector. ACET2
(acet-geom-vertex-list na) Returns the list of definition points for a POLYLINE or LWPOLYLINE entity given by entity; entity can be: a) an ename: result points are transformed into current UCS b) an (entsel) lst: result points are transformed into current UCS c) a list (ename toCS): result points are transformed into UCS as defined by toCS, see (trans) function ACET
(acet-geom-view-points) Returns a list of the 2 extent points for current screen area, transformed into current UCS. ACET2
(acet-geom-z-axis) Returns the Z vector of the current UCS (cross-product of (getvar "UCSXDIR") and (getvar "UCSXDIR")). ACET2
(acet-geom-zoom-for-select lst) Verifies whether all points in pntlist are visible on screen - in this case, the function returns NIL; ACET
(MeGetBlockInters Blk Obj Mde) Returns all intersection points between a block and an object Menzi Eng
(MeGetEndPoints Obj) Returns the endpoints of an object Menzi Eng
(MeGetInters Fst Nxt Mde) Returns all intersection points between two objects Menzi Eng
(MeGetMassProps Obj) Returns a list of all mass properties of the object Menzi Eng
(MeGetObjLength Obj) Returns the length of all kinds of objects Menzi Eng
(MeGetTangentAtPoint Obj Pnt) Returns the tangent at the specified point Menzi Eng
(inters pt1 pt2 pt3 pt4 [onseg]) Finds the intersection of two lines AutoLISP
(osnap pt mode) Returns a 3D point that is the result of applying an Object Snap mode to a specified point AutoLISP
(polar pt ang dist) Returns the UCS 3D point at a specified angle and distance from a point AutoLISP
(acet-rtod a) Returns the angle value of rad in degrees. ACET
(textbox elist) Measures a specified text object, and returns the diagonal coordinates of a box that encloses the text AutoLISP

Groups

(MeDeleteGroup Nme) Deletes a Group by name Menzi Eng
(MeGetGroupNames Obj) Returns a list of all Group name(s) of the object Menzi Eng
(acet-group-make-anon LST DESC) Creates a new anonymous group (*Ann named), using the entity list enamelist with optional description text, if description is not NIL. ACET

Hatching

(acet-hatch-loopedge-make e1 lst) ACET
(acet-hatch-loop-make e1) ACET
(acet-hatch-loop-make-data-get e1) ACET

Image Tile

(dimx_tile key) and (dimy_tile key) Retrieves the dimensions of a tile in dialog box units AutoLISP
(end_image) Ends creation of the currently active dialog box image AutoLISP
(fill_image x1 y1 wid hgt color) Draws a filled rectangle in the currently active dialog box image tile AutoLISP
(slide_image x1 y1 wid hgt sldname) Displays an AutoCAD slide in the currently active dialog box image tile AutoLISP
(start_image key) Starts the creation of an image in the dialog box tile AutoLISP
(vector_image x1 y1 x2 y2 color) Draws a vector in the currently active dialog box image AutoLISP

Layer

(MeGetLockLayers) Returns a list of all locked Layers Menzi Eng
(MeGetXplotLayers Mde) Returns a list of all plot or non plot Layers Menzi Eng
(MeIsOnLockedLay Obj) Check an object for locked Layer Menzi Eng
(acet-layer-locked la) Returns T if specified layer layerName is locked, NIL otherwise. ACET2
(acet-layer-locked-list) ACET2
(acet-layer-unlock-all) This function unlocks all layers in the drawing. Returns a list of those layers (strings), which were locked before. ACET2

Layouts

(MeGetLayoutNames) Returns a list of all Layout names Menzi Eng

LineTypes

(MeGetLineTypes) Returns a list of all line types and her descriptions Menzi Eng

List

(acad_strlsort lst) Sorts a list of strings by alphabetical order AutoLISP
(append lst ...) Takes any number of lists and runs them together as one list AutoLISP
(MeArrayToList Arr) Converts an array into a list Menzi Eng
(assoc item alist) Searches an association list for an element and returns that association list entry AutoLISP
(car lst) Returns the first element of a list AutoLISP
(cdr lst) Returns the specified list, except for the first element of the list AutoLISP
(cons new-first-element lst) The basic list constructor AutoLISP
(foreach name lst [expr ...]) Evaluates expressions for all members of a list AutoLISP
(last lst) Returns the last element in a list AutoLISP
(length lst) Returns an integer indicating the number of elements in a list AutoLISP
(list [expr ...]) Takes any number of expressions and combines them into one list AutoLISP
(acet-list-assoc-append new lst) Returns lst as updated or appended by assoclst. ACET
(acet-list-assoc-put new lst) Returns lst as updated by assoclst. ACET
(acet-list-assoc-remove a e1) Removes the item with key key from assoclst. ACET
(acet-list-group-by-assoc lst) Returns the list lst as sorted by the assoc keys. ACET
(acet-list-insert-nth a lst n) ACET2
(acet-list-is-dotted-pair a) Returns T if item is a true DottedPair, NIL otherwise. ACET
(acet-list-isort lst ind) Returns the list lst as sorted by index. ACET
(acet-list-m-assoc a lst) Returns a list with all items in lst using the assoc key key. ACET2
(listp item) Verifies that an item is a list AutoLISP
(acet-list-put-nth a lst n) Returns the list datalist, with updated item newval at index atidx; index is 0-based. ACET
(acet-list-remove-adjacent-dups lst) Returns a list with any duplicates removed from datalist. ACET
(acet-list-remove-duplicates lst fuz) Returns a list by removing all duplicate entries from datalist, using optional tolerance fuz; a NIL fuz value means 0.0 tolerance. 0.0 ACET
(acet-list-remove-nth a lst) Returns the list datalist, with removed item at index atidx; index is 0-based. ACET
(acet-list-split lst item) Splits the list lst at item item into 2 sub-lists (left-side and right-side part) and returns a list of both sub-lists; the split-item item is first entry in the right-side list part (if present). ACET
(MeListToArray Lst Typ) Converts a list into an array Menzi Eng
(acet-list-to-ss lst) Returns a selectionset containing all entities in list lst, or NIL if list is NIL, ACET
(mapcar function list1 ... listn) Returns a list of the result of executing a function with the individual elements of a list or lists supplied as arguments to the function AutoLISP
(member expr lst) Searches a list for an occurrence of an expression and returns the remainder of the list, starting with the first occurrence of the expression AutoLISP
(nth n lst) Returns the nth element of a list AutoLISP
(reverse lst) Returns a list with its elements reversed AutoLISP
(subst newitem olditem lst) Searches a list for an old item and returns a copy of the list with a new item substituted in place of every occurrence of the old item AutoLISP
(vl-consp list-variable) Determines whether or not a list is nil AutoLISP
(vl-every predicate-function list [more-lists]...) Checks whether the predicate is true for every element combination AutoLISP
(vl-list* object [more-objects]...) Constructs and returns a list AutoLISP
(vl-list->string char-codes-list) Combines the characters associated with a list of integers into a string AutoLISP
(vl-list-length list-or-cons-object) Calculates list length of a true list AutoLISP
(vl-member-if predicate-function list) Determines whether the predicate is true for one of the list members AutoLISP
(vl-member-if-not predicate-function list) Determines whether the predicate is nil for one of the list members AutoLISP
(vl-position symbol list) Returns the index of the specified list item AutoLISP
(vl-remove element-to-remove list) Removes elements from a list AutoLISP
(vl-remove-if predicate-function list) Returns all elements of the supplied list that fail the test function AutoLISP
(vl-remove-if-not predicate-function list) Returns all elements of the supplied list that pass the test function AutoLISP
(vl-some predicate-function list [more-lists]...) Checks whether the predicate is not nil for one element combination AutoLISP
(vl-sort list less?-function) Sorts the elements in a list according to a given compare function AutoLISP
(vl-sort-i list less?-function) Sorts the elements in a list according to a given compare function, and returns the element index numbers AutoLISP
(vl-string->list string) Converts a string into a list of character codes AutoLISP

List Box and Pop-Up List

(add_list string) Adds or modifies a string in the currently active dialog box list AutoLISP
(end_list) Ends processing of the currently active dialog box list AutoLISP
(start_list key [operation [index]]) Starts the processing of a list in the list box or in the pop-up list dialog box tile AutoLISP

Materials

(c:matlib "I" name mli-filename) Import a material from a library. ACET
(c:matlib "E" name mli-filename) Export a material to a library. ACET
(c:matlib "D" name) Delete a material from the drawing. ACET
(c:matlib "C") Delete unattached materials from the drawing. ACET
(c:matlib "L" [mli-filename]) List materials ACET
(c:rmat "A" name [aci | selection-set | layer-name]) Attaches material ACET
(c:rmat "C" cur_name new_name) Copies material ACET
(c:rmat "D" name [aci | selection-set | layer-name]) Detaches material ACET
(c:rmat "L" [name]) Lists all materials in the drawing or returns a definition of the specified material ACET
(c:rmat "M" name material-type [color [color-weight [pattern [ambient [amb-weight [ref1 [ref1-weight [ref1-map [roughness [transparency [opacitymap [refraction [bumpmap]]]]]]]]]]]]]) Modifies material ACET
(c:rmat "N" name material-type [color [color-weight [pattern [ambient [amb-weight [ref1 [ref1-weight [ref1-map [roughness [transparency [opacitymap [refraction [bumpmap]]]]]]]]]]]]]) Creates new material ACET

Math

(dos_abs number) Returns the absolute value of a number, or the numerical value of a number without regard to its sign. DOS Lib
(dos_acos number) Calculates the arccosine (inverse cosine) of a number. The inverse cosine can be defined as: DOS Lib
(dos_acosh number) Calculate the inverse hyperbolic cosine. The inverse hyperbolic cosine can be defined as: DOS Lib
(dos_anglebetween vector0 vector1) Returns the angle between two 2D or two 3D vectors. DOS Lib
(dos_asin number) Calculates the arcsine (inverse sine) of a number. The inverse sine can be defined as: DOS Lib
(dos_asinh number) Calculate the inverse hyperbolic sine. The inverse hyperbolic sine can be defined as: DOS Lib
(dos_atan number) Calculates the arctangent (inverse tangent) of a number. The inverse tangent can be defined as: DOS Lib
(dos_atan2 y x) Calculates the arctangent (inverse tangent) of y/x. DOS Lib
(dos_atanh number) Calculate the inverse hyperbolic tangent. The inverse hyperbolic tangent can be defined as: DOS Lib
(acet-calc-bitlist NUM) Returns num as a list of bit values (splitting num into bit values). Example: (acet-calc-bitlist 7) returns '(1 2 4) ACET
(acet-calc-round a b) Returns the number num rounded to numerical prec; same as (vle-roundto). Examples: (acet-calc-round 1.2345 0.1) results in 1.2 (acet-calc-round 1.2345 0.01) results in 1.23 ACET2
(acet-calc-tan a) Returns the tangent value for num; same as (tan) and (vle-tan). ACET
(dos_cbrt number) Calculates the cube root. DOS Lib
(dos_ceil number) Calculates the ceiling of a number. DOS Lib
(dos_chgsign number) Reverses the sign of a number. DOS Lib
(dos_clamp number min max) Clamps, or limits, a number to an interval. DOS Lib
(dos_copysign first second) Returns a number with the sign of another number. DOS Lib
(dos_cos angle) Calculates the cosine of a number. The cosine can be defined as: DOS Lib
(dos_cosh number) Calculate the hyperbolic cosine of a number. The hyperbolic cosine can be defined as: DOS Lib
(dos_crossproduct vector0 vector1) Calculates the cross product of two 2D or two 3D vectors. DOS Lib
(dos_cullnumbers list [tolerance]) Culls, or removes, duplicate values from a list of numbers. DOS Lib
(dos_difference number0 ...) Subtracts numbers, including lists of numbers, and returns the difference. DOS Lib
(dos_difference list0 ...) Subtracts numbers, including lists of numbers, and returns the difference. DOS Lib
(dos_div numerator denominator) Computes the quotient and the remainder of two integers. DOS Lib
(dos_dotproduct vector0 vector1) Calculates the dot product of two 2D or two 3D vectors. DOS Lib
(dos_dtr degrees) Converts an angle from degrees to radians. DOS Lib
(dos_dtr degrees [minutes [seconds [direction]]]) Converts an angle from degrees to radians. DOS Lib
(dos_e) Returns e (mathematical constant), or the Euler's number, which is 2.71828182845904523536. DOS Lib
(dos_equal number0 number1 [tolerance]) Compares two numbers or two lists of numbers, approximately, by subtracting the two variables being compared and testing whether their difference is less than a value chosen at the limits of significance. DOS Lib
(dos_equal list0 list1 [tolerance[) Compares two numbers or two lists of numbers, approximately, by subtracting the two variables being compared and testing whether their difference is less than a value chosen at the limits of significance. DOS Lib
(dos_exp number) Returns e raised to the power of number. The constant e equals 2.71828182845904523536, the base of the natural logarithm. DOS Lib
(dos_fact number) Returns the factorial of a number. The factorial of a number is equal to 1*2*3*...* number. DOS Lib
(floor number) Floor function, rounds down to the next integer. Identical with FIX for positive numbers, but rounds away from zero for negative numbers. ADO Lisp
(dos_floor number) Calculates the floor of a number. The function returns a value representing the largest integer that is less than or equal to the number. DOS Lib
(dos_fmod numerator denominator) Calculates the floating-point remainder of x / y. DOS Lib
(dos_gcd first second) Computes the greatest common divisor of two integers. DOS Lib
(dos_hypot x y) Calculates the hypotenuse. The function calculates the length of the hypotenuse of a right triangle, given the length of the two sides x and y (in other words, the square root of x2 + y2). DOS Lib
(dos_interp min max t [mode]) Performs an interpolation between two numbers. DOS Lib
(dos_lcm first second) Computes the least common multiple of two integers. The least common multiple is the smallest positive integer that is a multiple of both integers. DOS Lib
(dos_length vector) Calculates the length of a 2D or 3D vector. DOS Lib
(dos_log number) Calculates the natural logarithm of a number. Natural logarithms are based on the constant e (2.71828182845904523536). Note, this function is the inverse of the dos_exp function. DOS Lib
(dos_log10 number) Calculates the common (decadic) logarithm (base-10) of a number. DOS Lib
(dos_log2 number) Calculates the binary logarithm (base-2) of a number. DOS Lib
(dos_max numbers) Returns the maximum number from a list or series of numbers. DOS Lib
(dos_max number0 ...) Returns the maximum number from a list or series of numbers. DOS Lib
(dos_mean number0 ...) Returns the mean, or average, of a list or series of numbers. DOS Lib
(dos_mean list0 ...) Returns the mean, or average, of a list or series of numbers. DOS Lib
(dos_median numbers) Returns the median, or middle, of a list or series of numbers. DOS Lib
(dos_median number0 ...) Returns the median, or middle, of a list or series of numbers. DOS Lib
(dos_min numbers) Returns the minimum number from a list or series of numbers. DOS Lib
(dos_min number0 ...) Returns the minimum number from a list or series of numbers. DOS Lib
(dos_mode numbers) Returns the mode (the value that occurs most often) of a list or series of numbers. DOS Lib
(dos_mode number0 ...) Returns the mode (the value that occurs most often) of a list or series of numbers. DOS Lib
(dos_modf number) Splits a floating-point value into integer and fractional parts. DOS Lib
(dos_moment numbers) Calculates the moments of a distribution: Mean, Average Deviation, Standard Deviation, Variance, Skewness, and Kurtosis. DOS Lib
(dos_moment number0 ...) Calculates the moments of a distribution: Mean, Average Deviation, Standard Deviation, Variance, Skewness, and Kurtosis. DOS Lib
(dos_negate number0 ...) Negates a list or series of numbers. Note, a negated vector has the same magnitude as before, but its direction is now opposite. DOS Lib
(dos_negate list0 ...) Negates a list or series of numbers. Note, a negated vector has the same magnitude as before, but its direction is now opposite. DOS Lib
(dos_normalize number minimum maximum) Converts a parameter, or value, to a normalized parameter; one that ranges between 0.0 and 1.0. DOS Lib
(dos_orthogonalp x-axis y-axis) Determines if two 2D or two 3D vectors are non-zero and mutually perpendicular. DOS Lib
(dos_orthogonalp x-axis y-axis z-axis) Determines if two 2D or two 3D vectors are non-zero and mutually perpendicular. DOS Lib
(dos_orthonormalp x-axis y-axis) Determines if two 2D or two 3D vectors are orthogonal and of unit length. DOS Lib
(dos_orthonormalp x-axis y-axis z-axis) Determines if two 2D or two 3D vectors are orthogonal and of unit length. DOS Lib
(dos_parallelp vector0 vector1 [angle_tol]) Determines if two 2D or two 3D vectors are parallel. DOS Lib
(dos_parameterize number minimum maximum) Converts a normalized parameter, or value, to a parameter; one in the specified range. DOS Lib
(dos_perpendicularp vector0 vector1 [angle_tol]) Determines if two 2D or two 3D vectors are perpendicular. DOS Lib
(dos_perpendicularto vector) Returns a perpendicular vector. The resulting vector is not unitized. DOS Lib
(dos_phi) Returns Phi, the golden ratio. Phi is defined as: DOS Lib
(dos_pi) Returns PI, a mathematical constant whose value is the ratio of any circle's circumference to its diameter in Euclidean space, which is 3.14159265358979323846. DOS Lib
(dos_pow number power) Calculates x raised to the power of y. DOS Lib
(dos_product number0 ...) Multiplies numbers, including lists of numbers, and returns the product. DOS Lib
(dos_product list0 ...) Multiplies numbers, including lists of numbers, and returns the product. DOS Lib
(dos_quadratic a b c) Find solutions of a quadratic equation. A quadratic equation is a polynomial equation of the second degree. The general form is where x represents a variable, and a, b, and c, constants, with a ≠ 0. (If a = 0, the equation becomes a linear equation.) DOS Lib
(dos_quotient number0 ...) Divides numbers, including lists of numbers, and returns the quotient. DOS Lib
(dos_quotient list0 ...) Divides numbers, including lists of numbers, and returns the quotient. DOS Lib
(dos_random) Returns a pseudo random number. DOS Lib
(dos_range numbers) Returns the range (the difference between the lowest and highest values) of a list or series of numbers. DOS Lib
(dos_range number0 ...) Returns the range (the difference between the lowest and highest values) of a list or series of numbers. DOS Lib
(dos_righthandp x-axis y-axis) Determines if two 2D or two 3D vectors are orthonormal and right handed. DOS Lib
(dos_righthandp x-axis y-axis z-axis) Determines if two 2D or two 3D vectors are orthonormal and right handed. DOS Lib
(dos_round number [mode]) Rounds a decimal number to an integer. There are many different ways to round floating point values to integers. DOSLib provide a couple basic ones in dos_ceil and dos_floor. This function provides several other useful methods for rounding numbers. Note, there are two general categories of rounding algorithm: those that are symmetric about zero and those that are biased in some way. DOS Lib
(dos_rtd radians) Converts an angle from radians to degrees. DOS Lib
(dos_scale list scale) Scales a list of numbers. The list can represent 2D and 3D points and vectors. DOS Lib
(dos_sign number [expr0 expr1 expr2]) Returns a value indicating the sign of a number, or an expression based on the sign of a value. DOS Lib
(dos_sin angle) Calculates the sine of a number. The sine can be defined as: DOS Lib
(dos_sinh number) Calculate the hyperbolic sine of a number. The hyperbolic sine can be defined as: DOS Lib
(dos_sortnumbers list [ascending]) Sorts a list of numbers. DOS Lib
(dos_sqrt number) Calculates the square root. DOS Lib
(dos_sum number0 ...) Adds numbers, including lists of numbers, and returns the sum. DOS Lib
(dos_sum list0 ...) Adds numbers, including lists of numbers, and returns the sum. DOS Lib
(dos_tan angle) Calculates the tangent of a number. The tangent can be defined as: DOS Lib
(dos_tanh number) Calculate the hyperbolic tangent of a number. The hyperbolic tangent can be defined as: DOS Lib
(dos_tinyp vector [tiny_tol]) Determines if a 2D or 3D vector is very short. DOS Lib
(dos_tripleproduct vector0 vector1 vector2) Calculates the triple product of three 3D vectors. DOS Lib
(dos_trunc number [precision]) Truncates a number to a specified number of decimal places. DOS Lib
(dos_unitize vector) Unitizes, or normalized, a 2D or 3D vector. A unitized vector maintains its direction but its length becomes 1. The resulting vector is often called a unit vector. DOS Lib
(dos_unitp vector) Determines if a 2D or 3D vector is a unit vector. DOS Lib
(dos_vector point0 point1) Creates a vector from two 2D or two 3D points. DOS Lib
(dos_wedgeproduct vector0 vector1) Calculates the wedge product, or the signed area of the parallelogram, of two 2D vectors DOS Lib
(dos_zerop vector) Determines if a 2D or 3D vector is a zero, or null, vector. DOS Lib

Memory Management

(alloc int) Sets the segment size to a given number of nodes AutoLISP
(expand number) Allocates node space by requesting a specified number of segments AutoLISP
(gc) Forces a garbage collection, which frees up unused memory AutoLISP
(mem) Displays the current state of memory in AutoLISP AutoLISP

Menu

(MeGetLoadedMenus) Returns a list of all loaded Menu files and Groups Menzi Eng
(MeGetPopups) Returns a list with all Menu groups, PopupID's and their IsVisible property Menzi Eng
(MeGetToolbars) Returns a list with all Menu groups, ToolbarID's and their IsContext property Menzi Eng
(acet-menu-load reload) ACET2
(acet-menu-load2 mnuname mnugroup) ACET2
(acet-partial-menu-status-get mnuname) ACET2
(acet-partial-menu-status-set mnuname value) ACET2
(MeUnLoadMenuGroup Nme) Unloads the specified Menu Group Menzi Eng

Misc

(_acetautoarxload app) ACET2
(_acetautoload app) ACET2
(_acetautoqload quoi app cmdliste) ACET2
(acetai_ffile app) ACET2
(acetai_nofile filename) ACET2
(acetautoarxacedload app cmdliste) ACET2
(acetautoarxload app cmdliste) ACET2
(acetautoload app cmdliste) ACET2
(acetautonativeload app cmdliste) ACET2
(acet-addgbinexpress) ACET2
(ai_apploaded appname apptype) ACET2
(acet-angle-format a) Returns the input angle value angle as normalised angle in range 0...2Pi. ACET2
(acet-arxload-or-bust fna) Identical to (arxload filename). ACET2
(acet-arx-re-load fna onfail) ACET2
(acet-autoload alst) Defines AutoLoader commands and functions, based on definitions in; loadlist has the 2 entries: first entry is the application file to be loaded (.lsp, .arx, .brx), second item is the Example: (autoload '("MyTool.lsp" "(myTool arg1 arg2")) ACET2
(acet-autoload2 alst) Similar to (acet-autoload), loadlist can have 2 or more arguments; the second argument can be a string or a Lisp function definition. This function loads the Lisp/ARX module immediately, if the function specified by second argument is not yet present. ACET2
(acet-autoload-exec acet:stub-alst) ACET2
(acet-blink-and-show-object alst) This function draws a rectangle around the entity specified in inplist, using specified color, and draws + undraws the rectangle several times, to show a kind of "blinking" effect; the inplist argument must be of format (ename color). ACET
(acet-bs-strip a) Removes any backspace characters (0x08) from input string string. ACET
(acet-cmd-check) ACET2
(acet-cmd-exit) Cancels all running commands (by using (command) calls). ACET2
(acet-currentviewport-ename) Returns the entity name of the active viewport, when actually in a PaperSpace layout, NIL when in modelspace layout ("Model"), or when no active viewport is present. ACET2
(acet-disabled-command) ACET2
(acet-dxf code e1) Returns the (cdr (assoc key assoclist)) value; assoclist is usually an (entget) list, but can be any assoc list. ACET2
(acet-elist-add-defaults e1) This function updates and completes the given entity definition list with default entries for layer, color, lineweight and linetype. ACET2
(acet-elist-filter--4-match a e1 flt) ACET2
(acet-elist-filter-and-match e1 flt) ACET2
(acet-elist-filter-gc-match e1 dp opr) ACET2
(acet-elist-filter-match e1 flt) ACET2
(acet-elist-filter-not-match e1 flt) ACET2
(acet-elist-filter-or-match e1 flt) ACET2
(bns_filter_match e1 flt) ACET2
(acet-general-props-gacet-pairs e1) ACET2
(acet-general-props-sacet-pairs e1 lst) ACET2
(acet-getvar lst) Loads custom variables from several storage places. varlist is a list of '(var1 saveMode var2 saveMode...); saveMode can be a combination (bitflags) of: 1 = dictionary 2 = registry 4 = environment; ACET2
(acet-go-to-express-page) ACET2
(acet-how-to-gacet-express) ACET2
(acet-init) ACET2
(acet-init-acetutil-arx) ACET2
(acet-init-add-lib-dir dir) ACET2
(acet-init-exclude-list) ACET2
(acet-init-express-installed) ACET2
(acet-init-express-not-installed-msg) ACET2
(acet-init-fas-lib force onfail) Provided for backward compatibility, implementation does nothing (no operation); arguments flags and flag2 are ignored. ACET2
(acet-init-force-load-arx-lib) ACET2
(acet-init-gacet-lib-dir) ACET2
(acet-init-prodkey) ACET2
(acet-insert-spacial-filter e1) ACET2
(acet-lsp-load fna quiet) ACET2
(maxminpnt lst) ACET2
(acet-plines-rebuild-sacet-elevation ss z) ACET2
(acet-pspace-viewport-ename) ACET2
(acet-sacet-cmdecho newval) ACET2
(acet-safe-command start end lst) Executes the command list cmdList in safe way. If bStart is T, all items of cmdList are processed, and if bAutoEnd is T, the command sequence will be finished by an extra (command). If bStart is NIL, then an already running command is continued by all items of cmdList, bAutoEnd is ignored. ACET2
(acet-spinner setq #spin "-") Shows a "spinning wheel" on the commandline; each call of (acet-spinner) turns the spinning wheel by 90 degrees. Applications can show this during long-running routines to give some visual feedback to user. ACET2
(acet-sysvar-restore) Restores the system variables as saved by a preceding call to (acet-sysvar-set) to their previous values. Returns void (princ) always. ACET2
(acet-sysvar-set lst) Sets system variables from given list varlist and saves the actual values of those system variables to an internal stack list; varlist is a list containing the system variable names and there new values as a flat sequence. Returns the list of saved system variables with their values. Example: (acet-sysvar-set '("cmdecho" 0 "osmode" 0...)) ACET2
(acet-table-name-list tbna) Returns a list of table entry names; the table is specified by tblORlist; if tblORlist is a list, it must contain the table name as first item, optionally followed by integer values, used to filter for entries NOT having one of the values in their flag 70. Example: (acet-table-name-list (list "block" 1 4 8 16)) returns a list ob block names, which are: - not anonymous (1) - not external references (4) - not an xref overlay (8) - not depending on external resources / references (16) ACET2
(acet-table-purge tbl name quiet) Purges the entry object from specified symbol table table, flag is actually ignored. ACET2
(acet-undo-begin acet-cmd-exit) Runs (command "_undo" "_begin"). ACET2
(acet-undo-end acet-cmd-exit) Runs (command "_undo" "_end"). ACET2
(acet-undo-init) ACET2
(acet-undo-restore undoctl) ACET2
(acet-vbaload fna) ACET2

Namespace Communication

(vl-bb-ref 'variable) Returns the value of a variable from the blackboard namespace AutoLISP
(vl-bb-set 'variable value) Sets the value of a variable in the blackboard namespace AutoLISP
(vl-propagate 'variable) Copies the value of a variable into all open AutoCAD documents, and into any document subsequently opened during the current AutoCAD session AutoLISP

Object

(entdel ename) Deletes objects (entities) or restores previously deleted objects AutoLISP
(entget ename [applist]) Retrieves an object's definition data AutoLISP
(entlast) Returns the name of the last nondeleted main object in the drawing AutoLISP
(entmake [elist]) Creates a new entity (graphical object) in the drawing AutoLISP
(entmakex [elist]) Makes a new object, gives it a handle and entity name (but does not assign an owner), and then returns the new entity name AutoLISP
(entmod elist) Modifies the definition data of an object AutoLISP
(entnext [ename]) Returns the name of the next object in the drawing AutoLISP
(entupd ename) Updates the screen image of an object AutoLISP
(handent handle) Returns an object name based on its handle AutoLISP

Path

(dos_absolutepath path_from path_to) Creates an absolute path from one file or folder to another. DOS Lib
(dos_compactpath path maxchars) Truncates a path to fit within a certain number of characters by replacing path components with ellipses. DOS Lib
(dos_fullpath path) Converts a partial path to a fully qualified path. Unlike the dos_makepath function, this function can be used with.\\ and..\\ in the path. The dos_fullpath function merges the name of the current drive and directory with the specified file name to determine the full path and file name of the specified file. It also calculates the address of the file name portion of the full path and file name. This function does not verify that the resulting path and file name are valid or that they refer to an existing file on the associated volume. DOS Lib
(dos_ispathnetwork path) Determines whether a path string represents a network resource. DOS Lib
(dos_ispathrelative path) Searches a path and determines if it is relative. DOS Lib
(dos_ispathroot path) Parses a path to determine if it is a directory root. DOS Lib
(dos_ispathsameroot path1 path2) Compares two paths to determine if they have a common root component. DOS Lib
(dos_ispathslow path) Determines whether a file path is a high-latency network connection. DOS Lib
(dos_ispathunc path) Determines if the string is a valid UNC (universal naming convention) for a server and share path. DOS Lib
(dos_ispathurl path) Tests a given string to determine if it conforms to a valid URL format. DOS Lib
(dos_localpath path) Returns the local path that is currently mapped to given UNC path. DOS Lib
(dos_longpath path) Converts a short path name to a long path name. DOS Lib
(dos_makepath drive directory filename extension) Creates a single path, composed of a drive letter, directory path, file name, and file extension. DOS Lib
(dos_path) Returns a list describing the current search path for executable programs as specified by the PATH environment variable. DOS Lib
(dos_pathbackslash path [T]) Adds or removes a backslash to the end of a path string. DOS Lib
(dos_pathextension path [extension]) Adds, replaces, or removes the file extension to the end of a path string. DOS Lib
(dos_pathquotes path [T]) Adds or removes a surrounding double-quote characters to a path string. DOS Lib
(dos_relativepath path_from path_to) Creates a relative path from one file or folder to another. The paths do not have to be fully- qualified, but they must have a common prefix, or the function will fail and return nil. For example, let the starting point, path_from, be "C:\\One\\Two\\Three", and the ending point, path_to, be "C:\\One\\Four\\Five". The dos_relativepath function will return the relative path from path_from to path_to as: "..\\..\\Four\\Five". Note, you will get the same result if you set path_from to "\\One\\Two\\Three" and path_to to "\\One\\Four\\Five". On the other hand, "C:\\One\\Two\\Three" and "A:\\One\\Four\\Five" do not share a common prefix, and the function will fail. Also note that "\\" is not considered a prefix and is ignored. If you set path_from to "\\Two\\Three", and path_to to "\\Four\\Five", the function will fail. DOS Lib
(dos_shortpath path) Converts a long path name to a short path name. DOS Lib
(dos_splitpath path) Breaks a full path name into its four components. The function returns a list containing the four components. DOS Lib
(dos_uncpath path) Converts a drive-based path or filename for a resource to a Universal Naming Convention (UNC) path or filename. DOS Lib

Printer

(dos_getprn) Returns the current, or default, Windows printer. DOS Lib
(dos_printers) Returns the list of installed Windows printers. These printers were installed through the Windows Control Panel. DOS Lib
(dos_setprn printername) Sets the current, or default, Windows printer. The printer name must be a name returned by dos_printers. DOS Lib
(dos_spool filename printername) Spools, or prints, a disk file to a Windows printer. The spool file must be in a "raw" printer format. DOS Lib

Process

(dos_command command [show]) Runs an internal command. Internal commands are those commands native to the operating system's command interpreter (e.g. COMMAND.COM or CMD.EXE). DOS Lib
(dos_execute command [show]) Executes an external program. The PATH environment variable is used to find the program to be executed. DOS Lib
(dos_exewait command [show]) Executes an external program, then waits for termination before returning control to the calling application. DOS Lib
(dos_processes [T]) Returns a list of processes, or tasks, running on the system. DOS Lib
(dos_shellexe file parameters [operation [show]]) Opens or prints a specified file. The file can be an executable file or a document file. DOS Lib

Query and Command

(acad_colordlg colornum [flag]) Displays the standard AutoCAD Color Selection dialog box AutoLISP
(acad_helpdlg helpfile topic) Invokes the Help facility (obsolete) AutoLISP
(command [arguments] ...) Executes an AutoCAD command AutoLISP
(getcfg cfgname) Retrieves application data from the AppData section of the acad*.cfg file AutoLISP
(getcname cname) Retrieves the localized or English name of an AutoCAD command AutoLISP
(getenv variable-name) Returns the string value assigned to an environment variable AutoLISP
(getvar varname) Retrieves the value of an AutoCAD system variable AutoLISP
(help [helpfile [topic [command]]]) Invokes the Help facility AutoLISP
(setcfg cfgname cfgval) Writes application data to the AppData section of the acad*.cfg file AutoLISP
(setenv varname value) Sets an environment variable to a specified value AutoLISP
(setfunhelp c:fname [helpfile [topic [command]]]) Registers a user-defined command with the Help facility so the appropriate help file and topic are called when the user requests help on that command AutoLISP
(setvar varname value) Sets an AutoCAD system variable to a specified value AutoLISP
(ver) Returns a string that contains the current AutoLISP version number AutoLISP
(vlax-remove-cmd global-name) Removes a single command or command group Note VLISP extension: requires vl-load-com AutoLISP
(vl-cmdf [arguments] ...) Executes an AutoCAD command after evaluating arguments AutoLISP

Reactor

(acet-acadreactor-id-add e1 na2) ACET
(acet-acadreactor-id-remove e1 na2) ACET
(acet-acadreactor-id-remove-all e1) ACET
(acet-acadreactor-ids-get e1) ACET
(acet-acadreactor-id-swap newna oldna reflst) ACET
(acet-editor-reactor-add rlst) ACET
(acet-reactor-exists rlst) ACET
(acet-reactor-remove r) ACET
(vl-load-com) Loads AutoLISP reactor support functions and other AutoLISP extensions AutoLISP
(vlr-acdb-reactor data callbacks) Constructs a database (global) reactor object AutoLISP
(vlr-add obj) Enables a disabled reactor object AutoLISP
(vlr-added-p obj) Tests to determine whether a reactor object is enabled AutoLISP
(vlr-beep-reaction [args]) Produces a beep sound AutoLISP
(vlr-current-reaction-name) Returns the name (symbol) of the current event, if called from within a reactor's callback AutoLISP
(vlr-data obj) Returns application-specific data associated with a reactor AutoLISP
(vlr-data-set obj data) Overwrites application-specific data associated with a reactor AutoLISP
(vlr-deepclone-reactor obj data) Constructs an editor reactor object that provides notification of deep clone events AutoLISP
(vlr-docmanager-reactor obj data) Constructs a reactor object that provides notification of MDI-related events AutoLISP
(vlr-dwg-reactor obj data) Constructs an editor reactor object that provides notification of a drawing event (for example, opening or closing a drawing file) AutoLISP
(vlr-dxf-reactor obj data) Constructs an editor reactor object that notifies of an event related to reading or writing of a DXF file AutoLISP
(vlr-editor-reactor data callbacks) Constructs an editor (global) reactor object AutoLISP
(vlr-linker-reactor data callbacks) Constructs a linker (global) reactor object AutoLISP
(vlr-miscellaneous-reactor data callbacks) Constructs an editor reactor object that does not fall under any of the other editor reactor types AutoLISP
(vlr-mouse-reactor data callbacks) Constructs an editor reactor object that provides notification of a mouse event (for example, a double-click) AutoLISP
(vlr-notification reactor) Determines whether or not a reactor's callback function will execute if its associated namespace is not active AutoLISP
(vlr-object-reactor owners data callbacks) Constructs an object reactor object AutoLISP
(vlr-owner-add reactor owner) Adds an object to the list of owners of an object reactor AutoLISP
(vlr-owner-remove reactor owner) Removes an object from the list of owners of an object reactor AutoLISP
(vlr-owners reactor) Returns the list of owners of an object reactor AutoLISP
(vlr-pers reactor) Makes a reactor persistent AutoLISP
(vlr-pers-list [reactor]) Returns a list of persistent reactors in the current drawing AutoLISP
(vlr-pers-p reactor) Determines whether or not a reactor is persistent AutoLISP
(vlr-pers-release reactor) Makes a reactor transient AutoLISP
(vlr-reaction-name reactor-type) Returns a list of all callback conditions for this reactor type AutoLISP
(vlr-reactions reactor) Returns a list of pairs (event-name . callback_function ) for the reactor AutoLISP
(vlr-reaction-set reactor event function) Adds or replaces a callback function in a reactor AutoLISP
(vlr-reactors [reactor-type...]) Returns a list of reactors of the specified types AutoLISP
(vlr-remove reactor) Disables a reactor AutoLISP
(vlr-remove-all reactor-type) Disables all reactors of the specified type AutoLISP
(vlr-set-notification reactor 'range) Defines whether or not a reactor's callback function will execute if its associated namespace is not active AutoLISP
(vlr-sysvar-reactor data callbacks) Constructs an editor reactor object that provides notification of a change to a system variable AutoLISP
(vlr-toolbar-reactor data callbacks) Constructs an editor reactor object that provides notification of a change to the bitmaps in a toolbar AutoLISP
(vlr-trace-reaction) A pre-defined callback function that prints one or more callback arguments in the Trace window AutoLISP
(vlr-type reactor) Returns a symbol representing the reactor type AutoLISP
(vlr-types) Returns a list of all reactor types AutoLISP
(vlr-undo-reactor data callbacks) Constructs an editor reactor object that provides notification of an undo event AutoLISP
(vlr-wblock-reactor data callbacks) Constructs an editor reactor object that provides notification of an event related to writing a block AutoLISP
(vlr-window-reactor data callbacks) Constructs an editor reactor object that notifies of an event related to moving or sizing an AutoCAD window AutoLISP
(vlr-xref-reactor data callbacks) Constructs an editor reactor object that provides notification of an event related to attaching or modifying XREF AutoLISP

Registry

(acet-reg-del <key> [<name>]) Delete key or value from Registry. ACET
(acet-reg-get <key> [<name>]) Return value from Registry. ACET
(acet-reg-prodkey) Return current product key. ACET
(acet-reg-put <key> [<name> <value>]) Write a Registry key or value. ACET
(acet-reg-setactivex alst) ACET2
(acet-reg-tree-get keypath key) ACET
(acet-reg-tree-set keypath lst) ACET
(vlax-product-key) Returns the AutoCAD registry path Note This is an extended function provided by VLISP. You must issue vl-load-com before you can use the function. AutoLISP
(vl-registry-delete reg-key [val-name]) Deletes the specified key or value from the Windows Registry AutoLISP
(vl-registry-descendents reg-key [val-names]) Returns a list of subkeys or value names for the specified Registry key AutoLISP
(vl-registry-read reg-key [val-name]) Returns data stored in the Windows Registry for the specified key/value pair AutoLISP
(vl-registry-write reg-key [val-name val-data]) Creates a key in the Windows Registry AutoLISP

Selection Set

(ssadd [ename [ss]]) Adds an object (entity) to a selection set, or creates a new selection set AutoLISP
(acet-ss-annotation-filter ss) This function takes a selectionset ss, and removes all INSERT entities from it; all attributes contained in the INSERT entities are in turn added to resulting selectionset. Returns a new selectionset always (can be empty). ACET
(acet-ss-convert-ellipses-to-plines ss) ACET
(ssdel ename ss) Deletes an object (entity) from a selection set AutoLISP
(acet-ss-drag-move <selection-set> <base-pt> [<prompt>] [<hilight> [<cursor>]]) Drag a selection set to change location. ACET
(acet-ss-drag-rotate <selection-set> <base-pt> [<prompt>] [<hilight> [<cursor>]]) Drag a selection set to change rotation. ACET
(acet-ss-drag-scale <selection-set> <base-pt> [<prompt>] [<hilight> [<cursor>]]) Drag a selection set to change scale. ACET
(acet-ss-entdel ss) Erases all entities contained in selectionset ss; already erased entities are unerased instead. Returns the number of processed entities. ACET2
(MeSsetFilter Flt) Creates a filter for SelectXxx methods Menzi Eng
(MeSsetMake Nme) Creates a new selection set or clears an existing one Menzi Eng
(MeSsetSelect Nme Mde Pt1 Pt2 Flt) ActiveX counterpart to 'ssget' Menzi Eng
(acet-ss-filter arglst) Creates a new selectionset based on filterdata input. filterdata must be a list of format: (SelectionSet Filter Flag) SelectionSet: a normal selectionset to be filtered by Filter Filter: must be a list of format (ssgetFilter msg-1-fail msg-n-fail) with ssgetFilter as a normal filter definition as used by (ssget), msg-1-fail is the optional message if 1 entity fails the filtering, and msg-n-fail is the optional message when multiple entities fail (must be a format string as used by (acet-str-format) function; the message arguments can be NIL Flag: must be always T actually Returns a list of format: (SelectionSet ((("CURRENTSPACE") 0 ""))), with SelectionSet being the filtered selectionset. ACET
(acet-ss-filter-current-ucs ss printflag) Creates a new selectionset with all entities not being in current UCS removed from selectionset ss. Returns the new selectionset, or NIL if all entities were removed by filtering. ACET
(acet-ss-filter-item ss a) ACET
(acet-ss-filter-validate flt) ACET
(acet-ss-flt-cspace) Creates a filter list, specifying the actual "space", containing the model/paperspace flag and the actual layout name. Returns a list of format ((410. "") (67. 0/1)) Example: ((410. "Layout2") (67. 1)) or ((410. "Model") (67. 0)) ACET2
(ssget [mode] [pt1 [pt2]] [pt-list] [filter-list]) Prompts the user to select objects (entities), and returns a selection set AutoLISP
(ssgetfirst) Determines which objects are selected and gripped AutoLISP
(acet-ss-intersection SS1 SS2) Creates and returns a new selectionset, as "intersection" of selectionset ss with selectionset ssMaster, containing the entities contained in ss and ssMaster. Returns the intersection selectionset or NIL, if either input argument is NIL. ACET
(sslength ss) Returns an integer containing the number of objects (entities) in a selection set AutoLISP
(ssmemb ename ss) Tests whether an object (entity) is a member of a selection set AutoLISP
(ssname ss index) Returns the object (entity) name of the indexed element of a selection set AutoLISP
(ssnamex ss index) Retrieves information about how a selection set was created AutoLISP
(acet-ss-new na) Returns a new selectionset with all entities following the entity ename; can be empty. Vertex and Sequend entities are not added to resulting entities. If ename argument is NIL, the entity iteration starts with the last entity (entlast). ACET2
(acet-ss-redraw ss flag) Redraws all entities contained in selectionset ss, using mode; mode argument is the same as used with (redraw) function: 1 show entity 2 hide entity 3 highlight entity 4 unhighlight entity If mode argument is NIL, mode 1 is used. ACET
(acet-ss-remove SS1 SS2) Filters the input selectionset ss and removes any geometrically duplicate entity. The argument fuz specifies tolerance for geometrical comparison (like 1e08); dxfToIgnore is a list of DXF group codes to be ignored in geometrical comparison, like (40 41 42). These DXF codes are always ignored: 6 8 39 62 370 390. Returns list of modified selectionset ss and selectionset, containing the removed entities: (list ss ssRemoved). ACET
(acet-ss-remove-dups ss fuz ignore) ACET
(acet-ss-remove-dups-extents-list ss fuz) ACET
(acet-ss-remove-dups-generalize-ent na fuz gclst) ACET
(acet-ss-remove-dups-reverse lst) ACET
(acet-ss-scale-to-fit ss p1 p2 border) ACET
(acet-ss-scale-to-fit-base p1 p2 sf) ACET
(sssetfirst gripset [pickset]) Sets which objects are selected and gripped AutoLISP
(acet-ss-sort ss func) Creates a new, sorted selectionset from input selectionset ss, based on filter input. filter must be an expression, which can be evaluated by (lambda (x) (cons x ((eval filter) (entget x)))) Returns the sorted selectionset. ACET
(acet-ss-ssgacet-filter ss flt) ACET2
(acet-ss-ssget-filter ss flt) Creates a new selectionset by filtering the input selectionset ss with filterdata. The filterdata is same as used by (acet-filter-match). Returns the filtered selectionset, or NIL if not any entity matches the provided filter. ACET
(acet-ss-to-list ss) Returns the list of entities contained in selectionset ss. ACET
(acet-ss-union SSLIST) Creates and returns a new selectionset, as "union" of all selectionsets contained in ssList, which is a list of selectionsets. Returns the summary of all selectionsets, can be empty. ACET
(acet-ss-visible ss code) Sets all entities contained in selectionset ss to visible (flag=0) or invisible (flag=1); the flag must be an integer 0 or 1 (as used by DXF code 60). Returns the number of entities switched. ACET2
(acet-ss-zoom-extents ss) This function zooms the display to the extents of given selectionset ss (scaled by factor 1.05). Returns a list (ptMin ptMax) specifying the extents used for zooming. ACET

SMTP

(acet-smtp-address [<initial list>]) ACET
(acet-smtp-send <host> <from> <to> <subject> <message>) ACET

String

(read [string]) Returns the first list or atom obtained from a string AutoLISP
(strcase string [which]) Returns a string where all alphabetic characters have been converted to uppercase or lowercase AutoLISP
(dos_strcase string [T]) Converts all the characters in this string to uppercase or lowercase characters. DOS Lib
(strcat [string1 [string2] ...) Returns a string that is the concatenation of multiple strings AutoLISP
(dos_strcat [string [string] ... ]) Returns a string that is the concatenation of multiple strings. DOS Lib
(dos_strchar string index [char]) Returns or sets the character at a given position. DOS Lib
(dos_strcmplogical string1 string2) Compares two strings logically, or naturally. Digits in the strings are considered as numerical content rather than text. This test is not case-sensitive. Note, Windows Explorer sorts files using this method. DOS Lib
(acet-str-collate <left> <right> [<match-case>]) Compare for sort order. ACET
(dos_strcompare string1 string2 [T]) Compares two strings (case sensitive or case insensitive). DOS Lib
(dos_strcull list [T]) Culls, or removes, duplicate strings from a list of strings. DOS Lib
(dos_strdelete string index count) Deletes characters from a string. DOS Lib
(acet-str-env-expand fna) ACET
(acet-str-equal <left> <right> [<match-case>]) Compare strings for equality. ACET
(acet-str-esc-wildcards a) Returns a string, with all wildcard characters contained in string escaped by ` character. ACET2
(dos_strexcluding string charset) Extracts a substring that contains only the characters not in a set. DOS Lib
(dos_strfind string substring [index]) Finds a character or substring inside a larger string. DOS Lib
(acet-str-find <find> <string> [<ignore-case> [<use-regexp>]]) Find substring in string. ACET
(dos_strfindoneof string charset) Finds the first matching character from a set. DOS Lib
(dos_strformat format arg1 arg2 ...) Formats string similar to the sprintf C-Runtime library function. DOS Lib
(acet-str-format <format> [<arg> ...]) Format a message with embedded arguments. ACET
(dos_strformatcurrency number [num_digits [leading_zero [decimal_sep[thousands_sep [currency_sym]]]]]) Formats a number as a currency string. Currency string is formatted based on the currency settings identified in the Regional and Language Options found in Control Panel unless one of the overrides is specified. DOS Lib
(dos_strformatdate format date/time) Returns a formatted string containing a specified date and/or time. DOS Lib
(dos_strformatnumber number [num_digits [leading_zero [decimal_sep[thousands_sep]]]]) Formats a number as a number string. Number string is formatted based on the number settings identified in the Regional and Language Options found in Control Panel unless one of the overrides is specified. DOS Lib
(dos_strincluding string charset) Extracts a substring that contains only the characters in a set. DOS Lib
(MeStringSubst Fnd Rep Stg) Substitutes one string for another, within a string Menzi Eng
(dos_strinsert string index chars) Inserts a single character or a substring at the given index within the string. DOS Lib
(dos_strischar [char [bits]]) Tests a character for satisfaction of a condition or conditions described by bits. DOS Lib
(acet-str-is-printable a) ACET
(dos_strleft string count) Extracts the left part of a string (like the Basic LEFT$ function). DOS Lib
(strlen [string] ...) Returns an integer that is the number of characters in a string AutoLISP
(dos_strlength string) Returns the number of characters in a string. DOS Lib
(acet-str-list-select lst spec) ACET
(acet-str-lr-trim a b) Returns the string string which is left- and right-trimmed for any character in trimchars. ACET2
(dos_strmatch string wildcard [T]) Matches a string against a wildcard string. DOS Lib
(acet-str-m-find a b) Returns the string string for occurrences of what.and returns a list of found positions. ACET2
(dos_strmid string index [count]) Extracts the middle part of a string (like the Basic MID$ function). DOS Lib
(dos_strregexp regexp input [ignore_case [value [replace_all]]]) Parses a string using a regular expression. A regular expression provides a concise and flexible means for "matching" (specifying and recognizing) strings of text, such as particular characters, words, or patterns of characters. DOS Lib
(dos_strremove string char) Removes indicated characters from a string. DOS Lib
(dos_strreplace string oldchars newchars [T]) Replaces indicated characters with other characters in a string. DOS Lib
(acet-str-replace <find> <replace> <string> [<ignore-case> [<use-regexp> [<count>]]])

Replace one substring with another.

ACET
(dos_strreverse string) Reverses the characters in this string. DOS Lib
(dos_strreversefind string char) Finds a character inside a larger string; starts from the end. DOS Lib
(dos_strright string count) Extracts the right part of a string (like the Basic RIGHT$ function). DOS Lib
(dos_strsort strings [mode [ascending]]) Sorts a list of strings. DOS Lib
(acet-str-space-trim b) Returns the string string which is trimmed for any preceding and trailing spaces. ACET2
(dos_strtokens string tokens [T]) Converts a string of tokens into a list. DOS Lib
(acet-str-to-list a b) Returns a list of string tokens from splitting line at delimiter deli. ACET2
(dos_strtrim string [chars]) Trims leading and trailing characters from a string. DOS Lib
(dos_strtrimleft string [chars]) Trims leading characters from a string. DOS Lib
(dos_strtrimright string [chars]) Trims trailing characters from a string. DOS Lib
(acet-str-wcmatch <string> <pattern> [<match-case>]) Performs a wild-card match similar to (wcmatch), but allows control over case sensitivity. ACET
(substr string start [length]) Returns a substring of a string AutoLISP
(vl-prin1-to-string object) Returns the string representation of any LISP object as if it were output by the prin1 function AutoLISP
(vl-princ-to-string object) Returns the string representation of any LISP object as if it were output by the princ function AutoLISP
(vl-string-elt string position) Returns the ASCII representation of the character at a specified position in a string AutoLISP
(vl-string-left-trim character-set string) Removes the specified characters from the beginning of a string AutoLISP
(vl-string-mismatch str1 str2 [pos1 pos2 ignore-case-p]) Returns the length of the longest common prefix for two strings, starting at specified positions AutoLISP
(vl-string-position char-code str [start-pos [from-end-p]]) Looks for a character with the specified ASCII code in a string AutoLISP
(vl-string-right-trim character-set string) Removes the specified characters from the end of a string AutoLISP
(vl-string-search pattern string [start-pos]) Searches for the specified pattern in a string AutoLISP
(vl-string-subst new-str pattern string [start-pos]) Substitutes one string for another, within a string AutoLISP
(vl-string-translate source-set dest-set str) Replaces characters in a string with a specified set of characters AutoLISP
(vl-string-trim char-set str) Removes the specified characters from the beginning and end of a string AutoLISP
(wcmatch string pattern) Performs a wild-card pattern match on a string AutoLISP

Symbol

(atom item) Verifies that an item is an atom AutoLISP
(atoms-family format [symlist]) Returns a list of the currently defined symbols AutoLISP
(boundp sym) Verifies whether a value is bound to a symbol AutoLISP
(not item) Verifies that an item evaluates to nil AutoLISP
(null item) Verifies that an item is bound to nil AutoLISP
(numberp item) Verifies that an item is a real or an integer AutoLISP
(quote expr) Returns an expression without evaluating it AutoLISP
(set sym expr) Sets the value of a quoted symbol name to an expression AutoLISP
(setq sym1 expr1 [sym2 expr2] ...) Sets the value of a symbol or symbols to associated expressions AutoLISP
(type item) Returns the type of a specified item AutoLISP
(vl-symbol-name symbol) Returns a string containing the name of a symbol AutoLISP
(vl-symbolp object) Identifies whether or not a specified object is a symbol AutoLISP
(vl-symbol-value symbol) Returns the current value bound to a symbol AutoLISP

Symbol Table and Dictionary

(dictadd ename symbol newobj) Adds a non-graphical object to the specified dictionary AutoLISP
(dictnext ename symbol [rewind]) Finds the next item in a dictionary AutoLISP
(dictremove ename symbol) Removes an entry from the specified dictionary AutoLISP
(dictrename ename oldsym newsym) Renames a dictionary entry AutoLISP
(dictsearch ename symbol [setnext]) Searches a dictionary for an item AutoLISP
(layoutlist) Returns a list of all paper space layouts in the current drawing AutoLISP
(namedobjdict) Returns the entity name of the current drawing's named object dictionary, which is the root of all non-graphical objects in the drawing AutoLISP
(setview view_description [vport_id]) Establishes a view for a specified viewport AutoLISP
(snvalid sym_name) Checks the symbol table name for valid characters AutoLISP
(tblnext table-name [rewind]) Finds the next item in a symbol table AutoLISP
(tblobjname table-name symbol) Returns the entity name of a specified symbol table entry AutoLISP
(tblsearch table-name symbol [setnext]) Searches a symbol table for a symbol name AutoLISP

System

(dos_about) Displays DOSLib's version number and copyright information. DOS Lib
(dos_adminp) Determines whether the current user has administrator rights. This is done by confirming membership in the local Administrators group. DOS Lib
(dos_beep [type]) Plays a Windows waveform audio file. The waveform sound for each sound type is identified by an entry in the SOUNDS section of the registry. If the system cannot play the specified alert sound, dos_beep plays the system default sound. If the function cannot play the default sound, dos_beep produces a standard beep by using the computer speaker. DOS Lib
(dos_capslock [T]) Toggles the state of the <Caps Lock> key. DOS Lib
(dos_cdate format) Returns a formatted string containing the current date and/or time. DOS Lib
(dos_clipboard [string]) Returns or sets a string of text in the Windows clipboard. DOS Lib
(dos_computer [name]) Returns or sets the computer name of the current system. The name is established at system startup, when it is initialized from the Windows Registry. Changes to the computer name take effect the next time the system is started. DOS Lib
(dos_date [date]) Returns the current system date or changes the current system date to one specified. DOS Lib
(dos_demandload [val]) Returns or sets the demand-loading method used by DOSLib. DOS Lib
(MeGetLoadedVbaProjs) Returns a list of all loaded VBA-Project names Menzi Eng
(dos_guidgen) Creates a GUID, a unique 128-bit integer. DOS Lib
(dos_help [function]) Displays the DOSLib HTML help file DOS Lib
(dos_hostname) Returns a systems local DNS hostname. DOS Lib
(dos_htmlhelp filename [index/topic]) Starts HTML Help (HH.exe) and passes additional data that indicates the nature of the help requested by the application. DOS Lib
(dos_ipaddress) Returns a list of local IP addresses. DOS Lib
(dos_isacad64) Determines if the version of AutoCAD that DOSLib is currently running in is a 64-bit version of AutoCAD. DOS Lib
(dos_ispoweruser) Determines whether the current user has power user rights. This is done by confirming membership in the local power users group. DOS Lib
(dos_iswin64) Determines if AutoCAD is running on a 64-bit version of Windows, such as Windows XP x64 or Windows Vista x64. This function does not determine if you are running a 64-bit version of AutoCAD. DOS Lib
(dos_macaddress) Returns the system's media access control (MAC) addresses. DOS Lib
(dos_mem) Returns a list containing information about current available memory. The function returns information about both physical and virtual memory. Use the rtos function to convert the return values to strings. DOS Lib
(dos_nicinfo) Returns detailed information on the system's network adapters. DOS Lib
(dos_numlock [T]) Toggles the state of the <Num Lock> key. DOS Lib
(dos_pause duration) Pauses the execution of a function or expression for a specified number of seconds. DOS Lib
(dos_printscrn filename [mode [prompt]]) Screen capture utility. DOS Lib
(dos_scrolllock [T]) Toggles the state of the <Scroll Lock> key. DOS Lib
(dos_sortlist list) Sorts a list of strings, reals or integers. Sorting of string is case-sensitive. DOS Lib
(dos_speaker frequency duration) Plays a sound out of the PC speaker. Note, dos_speaker does not work on all systems. A long time ago, all PC computers shared a common 8254 programmable interval timer chip for the generation of primitive sounds. The dos_speaker function was written specifically to emit a beep on that piece of hardware. Since then, sound cards have become standard equipment on almost all PC computers. As sound cards became more common, manufacturers began to remove the old timer chip from computers. The chips were also excluded from the design of server computers. The result is that dos_speaker did not work on all computers without the chip. This was okay because most developers had moved on to calling the dos_beep function that uses whatever is the default sound device instead of the 8254 chip. DOS Lib
(acet-sys-beep <sound-type>) Make a noise. ACET
(acet-sys-command <shell-command>) Run a command in a shell. Waits for the shell to complete execution before returning. ACET
(acet-sys-control-down) Returns T if the "Ctrl" key is just pressed, NIL otherwise. ACET
(acet-sys-foreground) Forces AutoCAD's main window to be the topmost window and to receive focus. ACET
(acet-sys-keystate <key-code>) Check state of virtual key. ACET
(acet-sys-lasterr) Report last error. ACET
(acet-sys-lmouse-down) Returns T if the left mouse button key is just pressed, NIL otherwise. ACET
(acet-sys-procid) Returns the current process identifier. ACET
(acet-sys-shift-down) Returns T if the shift key is just pressed, NIL otherwise. ACET
(acet-sys-sleep <milliseconds>) Delay, allowing other processes to run. ACET
(acet-sys-spawn <flags> <command> [<arg> ...]) Execute an external program. ACET
(acet-sys-term <id>) Terminate the given process. ACET
(acet-sys-wait <id> [<time>]) Wait for a process to complete. ACET
(dos_tickcount) Returns the number of milliseconds since the device booted, excluding any time that the system was suspended. The system "tick count" starts at zero on boot and then counts up from there. Because AutoLISP does not use "unsigned long" integers, the value is returned as a double- precision floating point number. This function is useful for benchmarking time consuming tasks. Just obtain the tick count immediately before and after the time consuming task. Then, subtract the two values to determine the elapsed time in milliseconds. DOS Lib
(dos_time [time]) Returns the current system time or changes the current system time to one specified. DOS Lib
(dos_username) Returns user name of the current thread. This is the name of the user currently logged onto the system. DOS Lib
(dos_ver) Returns the operating system version. DOS Lib
(dos_version) Returns the DOSLib version number. DOS Lib
(dos_wav filename) Plays a Windows waveform audio file. DOS Lib
(dos_winhelp filename [index/topic]) Starts Windows Help (Winhelp.exe) and passes additional data that indicates the nature of the help requested by the application. DOS Lib

TextStyles

(MeGetTextStyles) Returns a list of all text style names and her font files Menzi Eng

UCS

(acet-ucs-capture-viewports) ACET
(acet-ucs-cmd lst) Runs the each item in cmdList with the _UCS command. ACET2
(acet-ucs-get na) Returns the coordinate system defined by from as list [Origin xAxis yAxis]. If from is an entity ENAME, it returns the the entity coordinate system, otherwise it returns the list of [UCSORG UCSXDIR UCSYDIR]. ACET2
(acet-ucs-restore-viewports lst) ACET
(acet-ucs-sacet-z z) ACET2
(acet-ucs-set lst) Sets the current UCS to be defined by 3 points contained (Origin xAxis yAxis) ACET
(acet-ucs-set-z z) Sets the current UCS as defined by zVec argument (zAxis). ACET
(acet-ucs-to-object na) Sets the current UCS to the entity coordinate system. ACET

User Input

(dos_checklist title prompt assoc-list [T]) Displays a sizeable Windows dialog box with a check-style list box. Useful when trying to toggle the state of objects or settings. DOS Lib
(dos_combolist title prompt list [default]) Displays a sizeable Windows dialog box with a combo-style list box. Useful when needing to select an item from a list or enter a string value. DOS Lib
(dos_duallist title prompt list1 list2 [list1_prompt list2_prompt]) Displays a sizeable Windows dialog box with a include/exclude list boxes. Items can be moved between the list boxes by either dragging or by using the move left/right buttons. DOS Lib
(dos_editbox title prompt [default]) Displays a sizeable Windows dialog box with a multi-line edit control. Useful for editing paragraphs of text. Text can also be imported into the dialog box from external files. DOS Lib
(dos_editlist title prompt list) Displays a sizeable Windows dialog box with an editable list box. Items can be added or removed from the list, and the order of the list can be changed. DOS Lib
(entsel [msg]) Prompts the user to select a single object (entity) by specifying a point AutoLISP
(getangle [pt] [msg]) Pauses for user input of an angle, and returns that angle in radians AutoLISP
(dos_getcancel title message) Displays a modeless dialog box that consists of a message and a cancel button. Because the dialog box is modeless, you can use it when performing long processes that can be interrupted by the user. The function is called once with arguments to initialize the dialog box. It is called with no arguments to check the open status of the dialog box. It can be called with a T argument to close the dialog box. DOS Lib
(dos_getcancel T) Displays a modeless dialog box that consists of a message and a cancel button. Because the dialog box is modeless, you can use it when performing long processes that can be interrupted by the user. The function is called once with arguments to initialize the dialog box. It is called with no arguments to check the open status of the dialog box. It can be called with a T argument to close the dialog box. DOS Lib
(dos_getcancel) Displays a modeless dialog box that consists of a message and a cancel button. Because the dialog box is modeless, you can use it when performing long processes that can be interrupted by the user. The function is called once with arguments to initialize the dialog box. It is called with no arguments to check the open status of the dialog box. It can be called with a T argument to close the dialog box. DOS Lib
(dos_getcolor title [default]) Displays a Windows common color selection dialog box. This is useful for selecting Red-Green- Blue (RGB) color values. DOS Lib
(getcorner pt [msg]) Pauses for user input of a rectangle's second corner AutoLISP
(dos_getdate title [date]) Displays a date selection dialog box. DOS Lib
(MeGetDispBackCol) Returns the ACI-ColorNo of the actual graphics background color Menzi Eng
(getdist [pt] [msg]) Pauses for user input of a distance AutoLISP
(getfiled title default ext flags) Prompts the user for a file name with the standard AutoCAD file dialog box, and returns that file name AutoLISP
(getint [msg]) Pauses for user input of an integer, and returns that integer AutoLISP
(dos_getint title prompt [flags [default [max [min]]]]) Windows Dialog box equivalent to LISP getint function. ADSRX limits integers to 16-bit signed numbers with values ranging from +32767 to -32,768. DOS Lib
(getkword [msg]) Pauses for user input of a keyword, and returns that keyword AutoLISP
(getorient [pt] [msg]) Pauses for user input of an angle, and returns that angle in radians AutoLISP
(dos_getpassword title message [default [length]]) Windows Dialog box equivalent to LISP getstring function. The Dialog box displays a password-style edit control. DOS Lib
(getpoint [pt] [msg]) Pauses for user input of a point, and returns that point AutoLISP
(dos_getprogress title message maxvalue [T]) Displays a modeless dialog box that consists of a message, a progress bar, and an optional cancel button. Because the dialog box is modeless, you can use it when performing long processes that can be interrupted by the user. The function is called once with arguments to initialize the dialog box. Then, it is called any number of times to move the progress bar in an absolute or relative manner. It is called with no arguments to check the open status of the dialog box. It can be called with a T argument to close the dialog box. DOS Lib
(dos_getprogress abs/-rel) Displays a modeless dialog box that consists of a message, a progress bar, and an optional cancel button. Because the dialog box is modeless, you can use it when performing long processes that can be interrupted by the user. The function is called once with arguments to initialize the dialog box. Then, it is called any number of times to move the progress bar in an absolute or relative manner. It is called with no arguments to check the open status of the dialog box. It can be called with a T argument to close the dialog box. DOS Lib
(dos_getprogress T) Displays a modeless dialog box that consists of a message, a progress bar, and an optional cancel button. Because the dialog box is modeless, you can use it when performing long processes that can be interrupted by the user. The function is called once with arguments to initialize the dialog box. Then, it is called any number of times to move the progress bar in an absolute or relative manner. It is called with no arguments to check the open status of the dialog box. It can be called with a T argument to close the dialog box. DOS Lib
(dos_getprogress) Displays a modeless dialog box that consists of a message, a progress bar, and an optional cancel button. Because the dialog box is modeless, you can use it when performing long processes that can be interrupted by the user. The function is called once with arguments to initialize the dialog box. Then, it is called any number of times to move the progress bar in an absolute or relative manner. It is called with no arguments to check the open status of the dialog box. It can be called with a T argument to close the dialog box. DOS Lib
(getreal [msg]) Pauses for user input of a real number, and returns that real number AutoLISP
(dos_getreal title prompt [flags [default [max [min]]]]) Windows Dialog box equivalent to LISP getreal function. Real numbers are double-precision floating-point values, providing at least 14 significant digits of precision. Values can be expressed in scientific notation, which has an optional e or E followed by the exponent of the number (for example, 0.0000041 is the same as 4.1e-6). DOS Lib
(dos_getsecret prompt [T]) Retrieves a password string from the AutoCAD command line. DOS Lib
(getstring [cr] [msg]) Pauses for user input of a string, and returns that string AutoLISP
(dos_getstring title prompt [default [length]]) Windows Dialog box equivalent to LISP getstring function. DOS Lib
(dos_htmlbox title address [width height]) Displays an HTML web page in a sizable dialog box. DOS Lib
(dos_htmlboxex title address [width height]) Displays an HTML web page in a modeless, sizable dialog box. DOS Lib
(dos_htmlboxex T) Displays an HTML web page in a modeless, sizable dialog box. DOS Lib
(dos_htmlboxex) Displays an HTML web page in a modeless, sizable dialog box. DOS Lib
(dos_htmldialog filename [arguments [options [modeless]]]) Creates a dialog box that displays HTML. An HTML dialog box can be used as an alternative to a DCL dialog box. DOS Lib
(initget [bits] [string]) Establishes keywords for use by the next user input function call AutoLISP
(dos_listbox title prompt list [default]) Displays a sizeable Windows dialog box with a single-selection list box. DOS Lib
(dos_msgbox text title button icon [duration]) Creates, displays and operates a Windows message box, or dialog, box. The message box contains an application-defined message and title plus any combination of predefined icons and push buttons. An optional duration allows the message box to be closed automatically. DOS Lib
(dos_msgboxchk text title button icon default regkey) Displays a message box that gives the user the option of suppressing further occurrences. If the user has already opted to suppress the message box, the function does not display a dialog box and instead simply returns the default value. Note Do not confuse "Do not show this dialog box" with "Remember this answer". This function does not provide "Remember this answer" functionality. If the user opts to suppress the message box again, the function does not preserve which button they clicked. Instead, subsequent invocations of this function simply return a developer-provided default value. DOS Lib
(dos_msgboxex text title button-list icon) Creates, displays and operates a custom Windows message box, or dialog, box. The message box contains an application-defined message and title plus user-definable push buttons. DOS Lib
(dos_multilist title prompt list [indices]) Displays a sizeable Windows dialog box with a multiple-selection list box. DOS Lib
(nentsel [msg]) Prompts the user to select an object (entity) by specifying a point, and provides access to the definition data contained within a complex object AutoLISP
(nentselp [msg] [pt]) Provides similar functionality to that of the nentsel function without the need for user input AutoLISP
(dos_orderlist title prompt list [strings]) Displays a sizeable Windows dialog box with an orderable list box. Items can be moved by either dragging or by using the top/up/down/bottom buttons. DOS Lib
(dos_popupmenu menu-items [item-modes]) Displays a user-defined, context-style popup menu. The popup menu can appear almost anywhere. And, it can be dismissed by either clicking the left or right mouse buttons. DOS Lib
(dos_proplist title prompt assoclist) Displays a sizeable Windows dialog box with a editable properties list box. DOS Lib
(dos_splash filename duration [T]) Displays a multi-threaded Windows bitmap splash screen. DOS Lib
(dos_traywnd title text width height [operation [duration]]) Displays a popup tray window similar to the MSN Messenger style notification window. DOS Lib
(acet-ui-drag p1 msg fun) ACET
(acet-ui-entsel alst) This function provides entity selection, like (entsel), with much more comfort. The sellst argument controls the behaviour of entity selection, and must have this format: (msg flags keys useWindow filter allowLocked) msg: user prompt (string) flags: bit values as used by (initget) function (integer) keys: keyword string as used by (initget) function (string) useWindow: allow to switch to "crossing window" selection, if no entity is selected (T/NIL) filter: filter condition, as used by (ssget "C"... filter) when switching to "crossing window" selection allowLocked: if T, selection of entity/entities on locked layers is allowed; NIL to disallow Each argument can be set as NIL, which uses default values (or none) in that case. ACET
(acet-ui-fence-select) This functions allows to specify a fence polygon (suitable for later fence selection). Returns a list of fence points. ACET
(acet-ui-gacet-long-name msg) ACET2
(acet-ui-getcorner p1) Uses (getcorner refPoint "Other corner: ") to query the corner point and returns the point specified by user. ACET
(acet-ui-getfile str def ext flag) Opens the file selection dialog, similar to standard (getfiled) function. dlgname: is a string, specifying the "dialog name", can be any arbitrary string, or even an empty string. ACET
(acet-ui-get-long-name msg) Wrapper for (getstring T msg); returns the string as entered by user. ACET
(acet-ui-message <text> [< caption> [<type>]]) Displays a message box. ACET
(acet-ui-m-gacet-names alst) ACET2
(acet-ui-m-get-names alst) ACET
(acet-ui-pickdir [<message> [<start-dir> [<title>]]]) Displays a directory selection dialog. ACET
(acet-ui-polygon-select dflag) This functions allows to specify a selection polygon (suitable for later polygon selection). If mode is T or 1, the polygon is highlighted, otherwise it is displayed normally. Returns a list of fence points. ACET
(acet-ui-progress [<label> [<max>] | <current>]) (acet-ui-progress current) Display progress meter. ACET
(acet-ui-progress-done acet-ui-progress) Closes the statusbar progress meter. Always returns NIL. ACET2
(acet-ui-progress-init lab size) Initialises the statusbar progress meter. message the text to be displayed for the statusbar progress meter limit the maximum value of range Returns T on success, NIL otherwise ACET2
(acet-ui-progress-safe cur) If messageOrPosition is a string, the new message text is displayed for the progress meter, and position is reset as 0; if messageOrPosition is an integer number, the progress meter is updated to specified position:positive value positions the progress meter to the absolute position, negative values are meant is increments. Returns T/NIL if message text is updated, or the actual position value. ACET2
(acet-ui-single-select flt lockOk) This function provides single entity selection, like (entsel), with some customisation. filter: filter condition, as used by (ssget... filter) to filter entity as required allowLocked: if T, selection of entity on a locked layersis allowed; NIL to disallow Each argument can be set as NIL, which uses default values (or none) in that case. ACET
(acet-ui-status [<message> [<title>]]) Displays a modeless status dialog. ACET
(acet-ui-table-name-get -) ACET
(acet-ui-txted [<initial-text> [<title> [<note>]]]) Display a multi-line text editing dialog. ACET
(dos_waitcursor [T]) Toggles the state of the Windows hourglass cursor. DOS Lib
(MeXetDispCmdLines Mde) Sets or gets the number of command lines Menzi Eng
(MeXetDispHistLines Mde) Sets or gets the number of history lines in the text window Menzi Eng

Utilities

(acet-util-ver) Identify module version. ACET

Viewports

(acet-alt-viewport ss na2) ACET
(MeGetVptBoundary Obj) Returns the lower left and upper right corner of a v'port in modelspace coordinates Menzi Eng
(acet-viewport-frozen-layer-list na) Returns the list of viewport-frozen layers (strings) for the viewport specified by vpename. If vpename is not the ename of a modelspace viewport, or if no layers are viewport-frozen, NIL is returned. ACET
(acet-viewport-frozen-layer-list-set na laylst) ACET
(acet-viewport-lock-set na flag) Locks or Unlocks the viewport specified by vpename; setlocked is NIL to unlock, any other value locks the viewport. Returns vpename when locking status was changed, or NIL when the viewport is already in desired mode. ACET
(acet-viewport-next-pickable) Returns the pickable modelspace viewport as list (id msg); if there is no pickable modelspace viewport, id is NIL, and msg contains an error message; otherwise, id is a valid viewport ID number, and msg will be NIL. ACET
(acet-viewport-vpfreeze ss laylst) ACET

VLX Namespace

(vl-arx-import [function | application] Imports ADS-DEFUN functions into a separate-namespace VLX AutoLISP
(vl-doc-export 'function) Makes a function loaded in a VLX namespace available to the current document AutoLISP
(vl-doc-import ['function | application]) Imports a function that was previously exported from another separate-namespace VLX AutoLISP
(vl-doc-ref symbol) Retrieves the value of a variable from the namespace of the associated document AutoLISP
(vl-doc-set symbol value) Sets the value of a variable in the associated document's namespace AutoLISP
(vl-exit-with-error msg) Passes control from a VLX error handler to the *error* function of the associated document namespace AutoLISP
(vl-exit-with-value value) Returns a value to the document namespace from which the VLX was invoked AutoLISP
(vl-list-exported-functions [appname]) Lists all functions exported by the specified application, or all exported functions if no application is specified AutoLISP
(vl-list-loaded-vlx) Returns a list of all separate-namespace VLX files associated with the current document AutoLISP
(vl-unload-vlx appname) Unloads a VLX that is loaded in its own namespace (a separate-namespace VLX) AutoLISP
(vl-vlx-loaded-p appname) Determines whether a VLX is loaded in its own namespace AutoLISP

XData

(acet-xdata-get LST) Returns a list of XData attached to an entity. The xkeylist argument list must have the format: (ename AppId dataKey). ACET
(acet-xdata-set LST) Assigns XData to an entity; The xkeylist argument list must have the format: (ename AppId dataList), where dataList must use the format (dataKey dataVal dxfKey); dataKey is a application provided key string dataVal is the isp data value to be stored dxfKey is the XData DXF group code appropriate for the dataVal (the DXF group code >= 1000) ACET

XRefs

(acet-xref-cproject-path proj) ACET