frontview with smart ucs that uses same origin

frontview with smart ucs that uses same origin

vandenoosterkamp
Collaborator Collaborator
202 Views
3 Replies
Message 1 of 4

frontview with smart ucs that uses same origin

vandenoosterkamp
Collaborator
Collaborator

I'd like to be able to switch from a topview to a frontview and have the ucs origin point in the front view at the same place as it was in the topview. Every time I switch to frontview the program zooms out and sets the origin of the new ucs at 0.0

 

I know how to save views etc etc etc so I do not need tips for workarounds but specifically when switching to front view a usd that keeps that same origin because after that I can zoom to my objects. Ideally that would be automated as well. So I think lisp is the only way to get this?

0 Likes
203 Views
3 Replies
Replies (3)
Message 2 of 4

Kent1Cooper
Consultant
Consultant

Put this into an AutoLisp command definition, or simply a command macro in a Tool Palette button:

UCS

ZAxis option

{Enter} to accept current Origin

0,-1,0

That changes the UCS from, for example, this:

UCS1.png

to this:

UCS2.png

Same origin, different axes.  NOTE:  It's sensitive to Object Snap, so do it with that turned off, or build a "_none" Osnap call in, or something.

Kent Cooper, AIA
0 Likes
Message 3 of 4

tramber
Advisor
Advisor

Hello,

Is UCSORTHO set to 1 instead of 0 ?

That may cause some misunderstandings....

It is a variable that takes the power.

Do you call your new UCSs with the words "top" "right" "front" etc ? or with the X or Y or Z option + double ENTER ?

How do you change or intend to change them ?


EESignature

0 Likes
Message 4 of 4

lauri_barnhart
Autodesk
Autodesk

Hello @vandenoosterkamp,

It looks like you have received a couple of replies on this thread. Did any of the replies by @Kent1Cooper or @tramber answer your question? 

If you are still needing more help, please share an update here. The community will be happy to jump in and suggest more steps to help you get where you need to be.

Best,

Lauri | Community Manager

0 Likes