Default and DCL Actions

AutoCAD AutoLISP & Visual LISP

 
Default and DCL Actions
 
 
 

The action_tile function is not the only way to specify an action. A tile's DCL description can include an action attribute in AutoLISP, and the new_dialog call can specify a default action for the dialog box as a whole. A tile can have only a single action at a time. If the DCL and the application specify more than one action, they supersede each other in the following order of priority (lowest to highest):

  • The default action specified by the new_dialog call (used only if no action is explicitly assigned to the tile).
  • The action specified by the action attribute in the DCL file.
  • The action assigned by the action_tile call (highest priority).