PDA

View Full Version : Rotating Drawing in Viewport



Sammie
2006-02-28, 07:59 PM
I need help remembering how to rotate my drawing in the viewport, using UCS. It has been several months since I have done this, and only did it a few time then. Each viewport will have a different degree of rotation, so I can't just rotate the whole drawing once. Any help would be greatly appreciated!! Thank you ahead of time!

Samantha

jaberwok
2006-02-28, 08:08 PM
Samantha -type

UCS
Z
90 (or whatever angle)
enter
Plan
enter
enter.

LIIT

a_meteni
2006-02-28, 08:13 PM
Also u can set value for UCSFOLLOW to 1 so you can get plan view directly

Sammie
2006-02-28, 08:19 PM
Samantha -type

UCS
Z
90 (or whatever angle)
enter
Plan
enter
enter.

LIIT
Thanks a lot John!!! and I got it just in time to get this drawing done and sent off!!

:drinkofyourchoice: on me in CWC. :-)

amasella
2006-03-01, 04:28 PM
Doesn't that change the coordinates?
How to rotate without changing the X and Y's?

sinc
2006-03-01, 04:32 PM
Doesn't that change the coordinates?
How to rotate without changing the X and Y's?

DView TWist.

Chris.N
2006-03-01, 06:54 PM
DView TWist.and then the angle.....

when i discovered this one for individual viewports, i partied....

r424andy
2006-03-01, 07:06 PM
dview can also be used in model space...dview, twist, then ucs view,..handy when trying to get dimensions to display right

Mike.Perry
2006-03-01, 10:24 PM
Doesn't that change the coordinates?
How to rotate without changing the X and Y's?Hi

John's method does not change World co-ordinates ( it is basically the same as setting ViewTwist ).

Have a good one, Mike

jgwallace
2006-03-08, 06:02 PM
Dview, twixt, ucs view changes the ucs icon and the cross hairs to match the view, but it does not keep everything on the same plane. I'm looking for a way to label objects using the Station/Offset - Label command in the Alignments menu (LDT 2004 version of AutoCAD) so that the text aligns with the current view and not along the World UCS. The labeling will only work in Modelspace and only when the ucs is set to world. When the ucs is set to view, a dialog box appears that says the point I'm selecting is not adjacent to the alignment. Is there a way to have the label align with the current view so that it shows up correctly in Paper Space?

kennet.sjoberg
2006-03-08, 07:02 PM
Dview, twixt, ucs view changes the ucs icon and the cross hairs to match the view, but it does not keep everything on the same plane. I'm looking for a way to label objects using the Station/Offset - Label command in the Alignments menu (LDT 2004 version of AutoCAD) so that the text aligns with the current view and not along the World UCS. The labeling will only work in Modelspace and only when the ucs is set to world. When the ucs is set to view, a dialog box appears that says the point I'm selecting is not adjacent to the alignment. Is there a way to have the label align with the current view so that it shows up correctly in Paper Space?Nope

Hi

John's method does not change World co-ordinates ( it is basically the same as setting ViewTwist ).

Have a good one, MikeNot really, if you twist the viewport +90 the x-axis point up
if you rotate the UCS +90, then plan the x-axis point to the right.

Not all, but some objects are created in activ UCS, and under some circumstances when you list an object you will find information like
"Extrusion direction relative to UCS: X= V.alue Y= V.alue Z= V.alue"
if you not can pedit-join a LWPOLYLINES or an ARC together even if the distance between them are exactly 0.0
the reason is "Extrusion direction . . . ( but in this simple task it will work )


Also u can set value for UCSFOLLOW to 1 so you can get plan view directlyI do not recommend this solution in a viewport, because the viewport do zoom ext when ucs is changed, and you lose your viewport scale setting.

: ) Happy Computing !

kennet

Opie
2006-03-08, 07:31 PM
Dview, twixt, ucs view changes the ucs icon and the cross hairs to match the view, but it does not keep everything on the same plane. I'm looking for a way to label objects using the Station/Offset - Label command in the Alignments menu (LDT 2004 version of AutoCAD) so that the text aligns with the current view and not along the World UCS. The labeling will only work in Modelspace and only when the ucs is set to world. When the ucs is set to view, a dialog box appears that says the point I'm selecting is not adjacent to the alignment. Is there a way to have the label align with the current view so that it shows up correctly in Paper Space?
Have you tried changing your snap angle?

jgwallace
2006-03-08, 07:49 PM
How do you change the snap angle. If it works, that would be great. But I'm not sure about what Kennet is saying. In my drawing, the UCS is set with North up in the model drawing and then the view is rotated in the paper space view to have the road aligned with the border (it is about 110 degrees from what the model drawing shows) So the centerline of the road I am working on is rotated in paper space about 110 degrees from what it shows in model space. The problem though is that when I try to label something using the label command in the Alignment menu, the text aligns with the model coordinate system whereas I want it to align with the paper space alignment instead. So the views are set as I want them in the drawing, but the automatic text that appears when the label command is used does not align the text according to the paper space view. When the drawing is viewed in paperspace, the text is on an angle instead of parallel to the centerline.

Mike.Perry
2006-03-08, 09:49 PM
Not really, if you twist the viewport +90 the x-axis point up
if you rotate the UCS +90, then plan the x-axis point to the right.

Not all, but some objects are created in activ UCS, and under some circumstances when you list an object you will find information like
"Extrusion direction relative to UCS: X= V.alue Y= V.alue Z= V.alue"
if you not can pedit-join a LWPOLYLINES or an ARC together even if the distance between them are exactly 0.0
the reason is "Extrusion direction . . . ( but in this simple task it will work )Hi

My post was concerning World Co-ordinate System ( WCS ).

As far as I know, the WCS can not be changed / altered.

If you know differently, please explain...

Have a good one, Mike

kennet.sjoberg
2006-03-08, 11:26 PM
Hi

My post was concerning World Co-ordinate System ( WCS ).

As far as I know, the WCS can not be changed / altered.

If you know differently, please explain...

Have a good one, Mike

Well, your post was linked to John´s method,
and if you are in WCS and you use command UCS z 90 you leave WCS for USC,
and that is not the same as ViewTwist there the current coordinate system remain.

And to show you what can happens when AutoCAD try to treat UCS created object I upload a simple drawing.
( that is easier for me than to try to explain in words that I do not understand myself )

: ) Happy Computing !

kennet

Mike.Perry
2006-03-08, 11:31 PM
Well, your post was linked to John´s method,
and if you are in WCS and you use command UCS z 90 you leave WCS for USC,
and that is not the same as ViewTwist there the current coordinate system remain.

And to show you what can happens when AutoCAD try to treat UCS created object I upload a simple drawing.
( that is easier for me than to try to explain in words that I do not understand myself )Hi Kennet

I am not going to split-hairs with you...

I believe we both know and understand that WCS can not be altered / changed.

Thanks for the example, but personally I have no need for it.

:beer: Mike

Birdy
2006-03-08, 11:37 PM
<late drop>
I dunno 'bout anyone else, but I use
mvsetup/align/rotate.
works everytime.
YMMV

...I guess it's kinda late for that now, huh Sammie?

<kickout.splash>

kennet.sjoberg
2006-03-08, 11:44 PM
. . . Thanks for the example, but personally I have no need for it. . .

..oooh no :cry:
but you are welcome to test the drawing whenever you want :)
and in the mean time I can tell you that I have created a Lisp program that convert UCS objects to WCS objects to overcome the problems that you will find in the uploaded drawing.

: ) Happy Computing !

kennet

jaberwok
2006-03-09, 07:31 PM
..oooh no :cry:
but you are welcome to test the drawing whenever you want :)
and in the mean time I can tell you that I have created a Lisp program that convert UCS objects to WCS objects to overcome the problems that you will find in the uploaded drawing.

: ) Happy Computing !

kennet


What problem?
A new UCS has been created and made current (as per the original request).
WCS can be restored at any time.

Mlabell
2006-03-09, 08:06 PM
Here is a .lsp routine in which I wrote about a year ago using the "UCS" and "world" commands. It asks the user for a base point to rotate the view around, then a point to define the x axis, and then a point to define the y axis. Then the .lsp prompts for the rotation name, and saves the name, and rotates the view for you. The last thing the .lsp does is place the drawing back into the world coordinate system. I wrote this as a precautionary measure to stop novice users from not setting the coordinate system back to world, kind of deadly in civil engineering!!

Maybe this will help others, I know that my office is hooked!!

I named he lisp VR.lsp for View rotator.

Have fun

kennet.sjoberg
2006-03-09, 08:16 PM
What problem?. .
Not a problem, just a sticky task. . .
it is how AutoCAD can treat objects created in WCS and UCS.

Try to pedit - join the objects in the uploaded drawing.

: ) Happy Computing !

kennet

jaberwok
2006-03-09, 08:27 PM
Not a problem, just a sticky task. . .
it is how AutoCAD can treat objects created in WCS and UCS.

Try to pedit - join the objects in the uploaded drawing.

: ) Happy Computing !

kennet

~shrug~

I just use UCS/OBject first.

Still. it's nice to know that someone cares. :cool:

thorleifur
2006-03-10, 01:38 AM
if in paperspace you clik in the frame and type " ucsfollow" and set it to "1" then ucs to the anges you like, remenber to set it back to "0"

best regards,
Thor

kennet.sjoberg
2006-03-10, 07:00 AM
~shrug~

I just use UCS/OBject first. . . .

Did you succeed with all 4 examples ? ( and not only the first and last )

: ) Happy Computing !

kennet

jaberwok
2006-03-10, 07:28 PM
Did you succeed with all 4 examples ? ( and not only the first and last )

: ) Happy Computing !

kennet

I confess: I only tried the first and last.

Eng. Rodrigo Neves
2006-03-13, 08:27 PM
Use
MVSETUP << ALIGN << ROTATE VIEW
Select a base point and set the angle.
Its done
You will gonna have the viewport rotated and it will not affect the drawing coordinates.

Rodrigo