New and Changed AutoLISP Functions Reference (AutoLISP)

 
 
 

The following outlines the additions and changes made to AutoLISP.

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.

Changes

  • 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.