USERSYMBOL is an example section used for this workflow.
-
Open the [Product Folder]\P&ID\Support\User.lsp file in a text editor, such as Notepad.
-
Add the following line to the end of User.lsp:
(defun C:ICONUSERSYMBOL() (pars_cfm) (viewslide "USERSYMBOL") (princ))
-
Save and close User.lsp.
-
To manually add symbol items to the new section, see Manually add and modify symbol items.
-
You can also add a command icon button to a toolbar. Before adding the button, you must load User.lsp using the load command within AutoLISP:
Command: (load “USER”)
Review AutoCAD help on how to add a button to a toolbar or create new toolbars and menus. The best option is to create your own menu file containing all custom toolbars and buttons.