Share
 
 

action Attribute (DCL)

Specifies an AutoLISP expression to perform an action when this tile is selected. Also known as a callback.

Supported Platforms: Windows, Mac OS, and Web

action = "(function)";

For some kinds of tiles, an action can also occur when the user switches focus to a different tile.

The possible value is a quoted string that is a valid AutoLISP ® expression. A tile can have only one action. If the application assigns it an action (with action_tile), this overrides the action attribute.

Note: You cannot call the AutoLISP command or command-s functions from the action attribute.

Release Information

    Releases:

  • AutoCAD R12 and later on Windows
  • AutoCAD 2021 and later on Mac OS

Was this information helpful?