New and Changed AutoLISP Functions Reference (AutoLISP)

Additions and changes made to AutoLISP.

AutoCAD 2016

Obsolete
  • getcfg - Retrieves application data from the AppData section of the acad20xx.cfg file.
  • setcfg - Writes application data to the AppData section of the acad20xx.cfg file.
Note: getcfg and setcfg are still available for compatibility, but might be removed in a future release. It is recommended to use the vl-registry-read and vl-registry-write functions as replacements.

AutoCAD 2015

No new or changed functions.

AutoCAD 2014

New
  • findtrustedfile - Searches the AutoCAD trusted file paths for the specified file.
  • showHTMLModalWindow - Displays a modal window with a HTML document; use in conjunction with the new JavaScript API.
Changed
  • findfile - Searches the AutoCAD support and trusted file paths. Function was updated to search the new trusted applications paths.

AutoCAD 2013

New
  • vlax-machine-product-key - Returns the AutoCAD Windows registry path in the HKLM (HKEY_LOCAL_MACHINE).
Obsolete
  • vlax-product-key - Returns the AutoCAD Windows registry path.

AutoCAD 2012

New
  • command-s - Executes an AutoCAD command and the supplied input.
  • *pop-error-mode* - Error-handling function that ends the previous call to *push-error-using-command* or *push-error-using-stack*.
  • *push-error-using-command* - Error-handling function that indicates the use of the command function within a custom *error* handler.
  • *push-error-using-stack* - Error-handling function that indicates the use of variables from the AutoLISP stack within a custom *error* handler.

AutoCAD 2011

New
  • dumpallproperties - Retrieves an entity’s supported properties.
  • getpropertyvalue - Returns the current value of an entity’s property.
  • ispropertyreadonly - Returns the read-only state of an entity’s property.
  • setpropertyvalue - Sets the property value for an entity.

AutoCAD 2010

Changes
  • help - Invokes the Help facility. Function was updated to add support for HTML documentation.

AutoCAD 2009

New
  • initcommandversion - Forces the next command to run with the specified version.