Announcements
Attention for Customers without Multi-Factor Authentication or Single Sign-On - OTP Verification rolls out April 2025. Read all about it here.

Quickly Changing Views and UCS

Anonymous

Quickly Changing Views and UCS

Anonymous
Not applicable

Working for a former employer their AutoCAD was set up so that I could change views & UCS quickly with the number pad i.e. 2(front) 4 (left) 5 (Top)... etc. and doubling the number would change the view and the UCS. Does anyone know if there is an easy way to accomplish this? I don't see anyway to create shortcut keys or alias to accomplish this. Does this require programming knowledge? It was very useful and I grew very accustomed to using these shortcuts.

0 Likes
Reply
Accepted solutions (1)
881 Views
3 Replies
Replies (3)

mikeevans6697
Advocate
Advocate

Look into the CUI (custom user interface). There is a section for keyboard shortcuts where you can assign commands to keystrokes

 

0 Likes

ВeekeeCZ
Consultant
Consultant
Accepted solution

Just basic customization skills needed to be able to write such LISP based macros (using LISP because that way you can assign a name to it). Here is one example.

 

(defun c:2 () (command "_.view" "_front") (princ))

 

Although not sure how your 22 command should work. Would you copy-paste the command-line listing to see how would you perform the desired behavior manually? 

 

Anonymous
Not applicable

Awesome!  Thanks, it automatically changes the UCS doing this but I'm happy I can easily change views now and I'll keep playing with it. 

0 Likes