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: 

Rotating the View of a Drawing

29 REPLIES 29
SOLVED
Reply
Message 1 of 30
dankoss
23773 Views, 29 Replies

Rotating the View of a Drawing

Hi guys,

 

My company has just upgraded from stone age AutoCAD to Civil3d 2013 and I've been tasked with figuring out the program.

 

What I am trying to do is realign my drawing so a line I drew is horizontal to the page. For example, I have a line at a 45 degree angle and I want to rotate my viewport so that line is now at a 0 degree angle. Is there a simple way to do this?

 

A follw up: I have my point labels set to be a 45 degree angle, will they be at a 45 degree angle when I realign the drawing or will they "rotate" along with the drawing?

 

Thanks a lot.

 

29 REPLIES 29
Message 2 of 30
antoniovinci
in reply to: dankoss

You can rotate the UCS by 45° around the Z axis, then _UCS => _VIEW

But.. what for rotating the view, sir?

When you work with maps, the north should stay naturally as is. 

Message 3 of 30
Joe-Bouza
in reply to: antoniovinci

Working with maps; yes!

Working with plans; not always Smiley Wink

Thank you

Joseph D. Bouza, P.E. (one of 'THOSE' People)

HP Z210 Workstation
Intel Xeon CPU E31240 @ 3.30 Hz
12 GB Ram


Note: Its all Resistentialism, so keep calm and carry on

64 Bit Win10 OS
Message 4 of 30
Joe-Bouza
in reply to: dankoss

If you are going to use a view rotation, I suggest you have it the same in MS. You being new to civil3d you would be unaware of the can of worms that has potentially been open 🙂

 

however you get your view rotated in the style definition you can set the labels to "View"

Thank you

Joseph D. Bouza, P.E. (one of 'THOSE' People)

HP Z210 Workstation
Intel Xeon CPU E31240 @ 3.30 Hz
12 GB Ram


Note: Its all Resistentialism, so keep calm and carry on

64 Bit Win10 OS
Message 5 of 30
ralstogj
in reply to: Joe-Bouza

I always alway told to draw in model space with it as the world co-ordinate system.

To have your layout sheets at the different angle I

1. Draw a horizontal line in paperspace above the viewport or trace over a line on the angle you want the x axis to be

2. use the chspace command to move the line to model space

3. type UCS and e for selecting an entity.

4. select the line. depending on what end deteremines if y is up or down page

5. type Plan at the command line and then current.

6. Finally change the ucs back to world by typing ucs then world.

 

Now withyour civil3d annotation objects styles set to match view and they will be drawn horizontally.

If you want to work in model space to annotate the drawing you will have to save the view in the viewport and go to model space and apply the view

 

Regards

Justin Ralston
http://c3dxtreme.blogspot.com/
Message 6 of 30
rick.hberg
in reply to: dankoss

This is a routine to rotate the view.

 

the default is two-point method (pick left point, then right point of line to make horizontal).

second option is Angle to rotate by specified angle input.

third option is World to rotate view back to World (WCS).

 

Oh, for each rotation, the UCS will set to View - that's what I prefer...it would be a simple change to keep UCS at World orientation if you want.

 

For your follow up question, I'd go with Joe's advice.  The styles will control.

Civil 3D 2014
Windows 7 x64
Message 7 of 30
AllenJessup
in reply to: dankoss

My advise is to stay away from a UCS. There is a great potential that you can introduce errors in your work if you forget to change back to the WCS when using Civil 3D commands. I recommend using DView with the Twist option. Dview will rotate the view without affecting the coordinate system.

 

While I prefer the old Dview command there is the MVSetup command which will allow you to do the same thing.

 

Allen



Allen Jessup
Engineering Specialist / CAD Manager

Message 8 of 30
rick.hberg
in reply to: dankoss

This one will leave the UCS at World if you don't want to mess with it...

 

essentially, I am using DView Twist in the routine, but making it a lot simpler for the user input.

Civil 3D 2014
Windows 7 x64
Message 9 of 30
gknobbe
in reply to: dankoss

dview is defiantly the way to go, I have gotten to many drawing that the usc was rotated and totally messed up the coordinate system. My rule of thumb is, keep it simple. As far as text and things aligning correctly with the rotation this is controlled in the styles by setting the orientation to view.

Message 10 of 30
dankoss
in reply to: dankoss

Thanks for all the help guys.

 

As to the reason I'm rotating the drawing, I mainly draw topo surveys so I usually need to align the property line with the page, north doesn't really matter for me.

 

So this LISP routine seems pretty cool....how do I load it? I've been Googling around fora while but I can't find anything for Civil 3d 2013. Man I really wish my company had upgraded before I got hired, this whole process is pretty frusterating.

Message 11 of 30
Neilw_05
in reply to: dankoss

I find the Align Space tool in the Express tools works nicely for aligning viewports to model space lines or picked points. Basically it is a macro that automates the process of applying a DVIEW TWIST. Be aware that it will also scale the viewport to fit your picks, but once you get the view rotated it is easy to reset the scale.

Neil Wilson (a.k.a. neilw)
AEC Collection/C3D 2024, LDT 2004, Power Civil v8i SS1
WIN 10 64 PRO

http://www.sec-landmgt.com
Message 12 of 30
rick.hberg
in reply to: dankoss

Save the lisp file to some location of your choosing.  From there, there are many ways to load....one is:

 

type APPLOAD. Then you can browse to the file and press Load. This loads it in the active drawing.

In the same dialog, if you do like the routine and want it to auto-load for you in each drawing...pick the Contents button by the briefcase, then pick Add, and browse to the file again.

 

The commands - for the RVIEW.lsp (with UCS to View) the command is RVIEW

for RVIEW2 (UCS to World) the command is RVIEW2

 

Civil 3D 2014
Windows 7 x64
Message 13 of 30
BrianHailey
in reply to: dankoss

Set VPROTATEASSOC to 0, rotate the viewport.

Set VPROTATEASSOC to 1, rotate the viewport back.

Done.

 

http://screencast.com/t/76Z4957XG 

Brian J. Hailey, P.E.



GEI Consultants
My Civil 3D Blog

Message 14 of 30
Neilw_05
in reply to: dankoss

Unless I am missing something you shouldn't need a LISP routine for this. You already have one with the Express tools.

 

http://screencast.com/t/aWvsawyY

Neil Wilson (a.k.a. neilw)
AEC Collection/C3D 2024, LDT 2004, Power Civil v8i SS1
WIN 10 64 PRO

http://www.sec-landmgt.com
Message 15 of 30
rick.hberg
in reply to: dankoss

I agree that you don't need a lisp routine to rotate the view - it's purely user preference.

 

To just rotate the view in the viewport (or in Model space), RVIEW is much faster - type RVIEW and pick two points - done.  Want to get the view back to World - type RVIEW and pick W - done.  Want to specify an angle to rotate the view - type RVIEW and enter the angle - done.  I just don't like the multi-step procedures of the other installed options.

 

But sure, other commands are out there...mvsetup is pretty nice to line up plan and profile viewports....and if you wanted to rotate the physical viewport with the view - then definitely vprotateassoc is the way to go.  Totally user preference is all I'm sayin'

Smiley Happy

Civil 3D 2014
Windows 7 x64
Message 16 of 30
antoniovinci
in reply to: rick.hberg


rick.hberg wrote:

RVIEW is much faster


It's faster, but misleading, as every routine based on UCS commands.

As stated by Allen, the only right solution in the model space is _DVIEW => _TWIST

Message 17 of 30
AllenJessup
in reply to: dankoss

Actually. The whole thing would be much simpler if AutoCAD would let you set the VIEWTWIST from the command line. I'm attaching an old lisp that will set the Snapangle parallel to the rotated view.

 

Allen



Allen Jessup
Engineering Specialist / CAD Manager

Message 18 of 30
rick.hberg
in reply to: Neilw_05

Antonio, you're right (I was thinking inside the box - how we do it here)...

RView forces UCS to View

RView2 forces UCS to World

RView3 never gives UCS any thought...(attached).

 

Thanks for the critique...

Civil 3D 2014
Windows 7 x64
Message 19 of 30
AllenJessup
in reply to: rick.hberg

Rick,

 

That looks promising since it doesn't use a UCS. I had to add (vl-load-com) after the local variables to get it to run. I'd say that if your going to use a lisp to set the viewtwist that this would be the best one to use.

 

Allen



Allen Jessup
Engineering Specialist / CAD Manager

Message 20 of 30
AllenJessup
in reply to: BrianHailey

Nice trick!

 

Allen



Allen Jessup
Engineering Specialist / CAD Manager

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

Post to forums  

Rail Community


Autodesk Design & Make Report