Community
Civil 3D Forum
Welcome to Autodesk’s Civil 3D Forums. Share your knowledge, ask questions, and explore popular AutoCAD Civil 3D topics.
cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

New Commands

5 REPLIES 5
SOLVED
Reply
Message 1 of 6
bbuye03
409 Views, 5 Replies

New Commands

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?

5 REPLIES 5
Message 2 of 6
thepworth
in reply to: bbuye03

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"))

Message 3 of 6
ToddRogers-WPM
in reply to: bbuye03

Express Tools>Command Aliases.  You can add and change here.

Todd Rogers
Message 4 of 6
bbuye03
in reply to: bbuye03

Thanks, just what I was looking for

 

Cheers

Message 5 of 6
jefflambert9091
in reply to: bbuye03

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.  

Jeff
Civil 3D 2024
Message 6 of 6
bbuye03
in reply to: jefflambert9091

Thats how I was taught to edit things, but I was trying to figure how to get there. I figured it out though.

Can't find what you're looking for? Ask the community or share your knowledge.

Post to forums  

Rail Community


 

Autodesk Design & Make Report