I want to create a new command for my custom workspace where I type in a word and the action happens. I can't remember if I have to do it throught the CUI or if I have to change a text file somewhere?
Solved! Go to Solution.
Solved by ToddRogers-WPM. Go to Solution.
single command, no options - aliasedit
scripted options - I have a "mylisp.lsp" dating back to R14 for customizing such as:
;TODDS CUSTOM COMMANDS
(SETVAR "PICKFIRST" 1)
(SETVAR "PICKADD" 1)
(SETVAR "EXPERT" 1)
(SETVAR "plinegen" 1)
(SETVAR "imageframe" 2)
(DEFUN C:C2()(COMMAND "CIRCLE" "2P"))
(DEFUN C:LOA()(COMMAND "LAYER" "ON" "*" ^C))
(DEFUN C:LTA()(COMMAND "LAYER" "THAW" "*" ^C))
(DEFUN C:LAZ()(COMMAND "LAYER" "FREEZE"))
(DEFUN C:LAT()(COMMAND "LAYER" "THAW"))
(DEFUN C:LAs()(COMMAND "LAYER" "SET"))
(DEFUN C:LAF()(COMMAND "LAYER" "OFF"))
(DEFUN C:LAM()(COMMAND "LAYER" "NEW"))
(DEFUN C:LD()(COMMAND "LENGTHEN" "DEL"))
(DEFUN C:UI()(COMMAND "-IMAGE" "U" "*" ^C))
(DEFUN C:CB()(COMMAND "COPYBASE" "0,0"))
I am old school and like to edit the “acad.pgp” file. You can play around till you get what you like. I keep it backed up so I can reuse it over the years throughout many installations. The file is in all caps, so I use small case to keep track of what I have edited. They become ingrained habits and at times I have actually forgotten the real command. I would rename the original as a back up just in case.
Thats how I was taught to edit things, but I was trying to figure how to get there. I figured it out though.