Announcements
Due to scheduled maintenance, the Autodesk Community will be inaccessible from 10:00PM PDT on Oct 16th for approximately 1 hour. We appreciate your patience during this time.
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: 

Rotate dimension text to match Layout view

16 REPLIES 16
SOLVED
Reply
Message 1 of 17
Anonymous
21073 Views, 16 Replies

Rotate dimension text to match Layout view

How can I set my dimension text to match my Layout view? Because of the orientation of my drawing, I am rotating the viewport model with UCS->Object->Plan->Current UCS. Then my dimension text rotates also. I don't want that. I want it to be Horizontal, just like in model space. Can you help me please? I am attaching photos to understand me correctly. Thank you!

PS: Notice how the alignment curve label keeps the same orientation, I want to do that with my dimension text.

 

Model.pngPaperspace.pngDimension properties.pngDimension style.png

16 REPLIES 16
Message 2 of 17
Joe-Bouza
in reply to: Anonymous

The easiest way is to set the MS USC to match your layout prior to dimensioning. There may be a toggle in the dim style dialog that forces it to match the view but that probably will give less that optimal results

Joe Bouza
Did you find this post helpful? Feel free to Like this post.
Did your question get successfully answered? Then click on the ACCEPT SOLUTION button.

EESignature

Message 3 of 17
MMcCall402
in reply to: Joe-Bouza

I've been using a Lisp I picked up years ago for resetting dimensions that were created before the view or UCS were set.

 

 

The name of it is DIMROT.  Contents i=of the lisp listed below.

 

(defun c:dimrot (/ ent data)
(setvar "ERRNO" 0)
(while (or (setq ent (entsel "\nSelect Dimension: "))
(EQ 7 (GETVAR "errno"))
)
(if ent
(progn
(setq data (entget (car ent)))
(if (= (cdr (assoc 0 data)) "DIMENSION")
(entmod (subst (cons 51 (GETVAR "VIEWTWIST")) (assoc 51 data) data))
(princ "\nSelected Object is not a DIMENSION.")
)
)
)
(setvar "ERRNO" 0)
)
(princ)
)

Mark Mccall 
CAD Mangler



Hammer Land Engineering


Linkedin

Message 4 of 17
Anonymous
in reply to: MMcCall402

Thank you, this works perfectly but do I have to click every dimension manualy? I can't seem to find a way to rotate all dimensions at once.

Message 5 of 17
BushW
in reply to: Anonymous

Hi @Anonymous

 

Another possible solution to setting your dimension text to match your viewport when rotation your UCS view is to change your text style to using annotative text in your dimension style.

 

By using the annotative text, you can set the orientation always to match the viewport. Just use the annotative text style in your dimension style. All dimensions using that style would be updated.

 

 

DimStyle.png 

 

Hope this helps!

 

Please select the Accept as Solution button if my post solves your issue or answers your question. This lets me know that I was useful in helping you, and thank you for doing so.




Wendell Bush
Civil Infrastructure Technical Support Specialist
Message 6 of 17
BushW
in reply to: Anonymous

Hi @Anonymous

 

Please add a post with how you decide to proceed and your results so other Community members may benefit.

Please hit the Accept as Solution button if a post or posts solve your issue or answer your question.

 

Thank you for doing so.




Wendell Bush
Civil Infrastructure Technical Support Specialist
Message 7 of 17
BushW
in reply to: Anonymous

Hi @Anonymous

 

I just wanted to follow-up here, any thoughts on the previous post?

 

Thanks for the update!




Wendell Bush
Civil Infrastructure Technical Support Specialist
Message 8 of 17
BushW
in reply to: Anonymous

Hi @Anonymous

 

 

I'm just checking in to see if you need more help with this. Did the suggestion that @MMcCall402 provided work for you?

If so, please click Accept as Solution on the posts that helped you so others in the community can find them easily.

 

 






Wendell Bush
Civil Infrastructure Technical Support Specialist
Message 9 of 17
Anonymous
in reply to: BushW

Hi,

I was looking for this. This is the only thread, that is discussing what I need to solve.

 

I managed to adjust "normal" text to match the viewport (mtext as annotative with the setting match the viewport).

I want to do this with dimension texts.

But when i set text in dimension style to annotative and to match the layout (according to the setting in previous post), then it is not working. The dimension text is matching only the ucs I used when creating the dimension.

 

Is there a way to match the dimension text to viewport orientation and not to follow ucs ?

 

I am working in Autocad LT 2018 though.

Message 10 of 17
Drea_Mueller
in reply to: BushW

It seems that the annotation "match orientation to layout" properties of the text style do not carry through when that text style is set when editing a dimension style.  The dimension text does remains the same if the text style has its orientation set to view check box checked or not.

Tags (1)
Message 11 of 17
Argentius
in reply to: BushW

Unfortunately, this doesn't work. Not even when the dimension style is preset.

 

 


@BushWwrote:

Hi @Anonymous

 

Another possible solution to setting your dimension text to match your viewport when rotation your UCS view is to change your text style to using annotative text in your dimension style.

 

By using the annotative text, you can set the orientation always to match the viewport. Just use the annotative text style in your dimension style. All dimensions using that style would be updated.

 

 

DimStyle.png 

 

Hope this helps!

 

Please select the Accept as Solution button if my post solves your issue or answers your question. This lets me know that I was useful in helping you, and thank you for doing so.


 

Message 12 of 17
dbinkney
in reply to: Anonymous

Here is an extremely dirty and quick way to do it.

 

Create your dimensions and text boxes in model space. Copy each one.  Explode the copies. Keep just the text boxes from the copied, exploded version.

 

Go to paperspace and unrotate your viewports (so the dimensions are all upright).  Use CHSPACE to bring the text boxes from model to paper.  Rotate the viewports as you want. 

 

Go back into Model space and either explode the original dimension text boxes again to remove them or get rid of all the text (you will use the text in paper space and the dimension lines in model space) to fudge what you want them to look like.

 

This is only viable if the dims are set in stone since exploding them removes the usability - they just become labels in essence.

Message 13 of 17
Anonymous
in reply to: BushW

This does not work. Is there a way to rotate the annotated dimension text that is not rotating the UCS?

Message 14 of 17
Joe-Bouza
in reply to: Anonymous

Like I said ms  should match.

 

You can avoid all of this by locking the vport, poke into and annotate thru the vport

Joe Bouza
Did you find this post helpful? Feel free to Like this post.
Did your question get successfully answered? Then click on the ACCEPT SOLUTION button.

EESignature

Message 15 of 17
ChrisRS
in reply to: Anonymous

@Anonymous, this is an older post and I am late in responding. Unfortunately, I do not have a solution.

 

This is my observation and opinion. Others may think differently.

 

You have received a number of replies and good information here in the Civil 3D forum, but I think this discussion belongs in the AutoCAD forum:

  • Dimensions and layout viewports are both AutoCAD entities, not Civil 3D entities.
  • Your request will be visible by a larger group of users. (AutoCAD and potentially all verticals.)
  • Any answer will be available to a larger group of users. (AutoCAD and potentially all verticals.)
  • The Autodesk presence and participation seems to be much better in the AutoCAD forum than in the Civil 3D forum. 
  • Any programming fix/improvement will come from the AutoCAD team, not the Civil 3d team. The AutoCAD forum is much more "visible" to the AutoCAD team than the Civil 3D forum is. 

Good Luck!

Christopher Stevens
Did you find this post helpful? Feel free to Like this post.
Did your question get successfully answered? Then click on the ACCEPT SOLUTION button.

EESignature

Message 16 of 17
Kayte
in reply to: BushW

Great help from W.Bush. Thanks for the screen shots.

Message 17 of 17
cschnarr
in reply to: MMcCall402

Thanks @MMcCall402 

This lisp routine works well.

 

Great post!

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

Post to forums  

Rail Community


 

Autodesk Design & Make Report