Rotate dimension text to match Layout view

This widget could not be displayed.

Rotate dimension text to match Layout view

Anonymous
Not applicable

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

0 Likes
Reply
Accepted solutions (1)
21,571 Views
16 Replies
Replies (16)

Joe-Bouza
Mentor
Mentor
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

0 Likes

MMcCall402
Mentor
Mentor
Accepted solution

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

Anonymous
Not applicable

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.

0 Likes

BushW
Alumni
Alumni

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

BushW
Alumni
Alumni

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
0 Likes

BushW
Alumni
Alumni

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
0 Likes

BushW
Alumni
Alumni

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
0 Likes

Anonymous
Not applicable

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.

0 Likes

Drea_Mueller
Enthusiast
Enthusiast

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.

0 Likes

Argentius
Contributor
Contributor

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.


 

0 Likes

dbinkney
Advocate
Advocate

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.

Anonymous
Not applicable

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

0 Likes

Joe-Bouza
Mentor
Mentor

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

0 Likes

ChrisRS
Mentor
Mentor

@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

0 Likes

Kayte
Participant
Participant

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

0 Likes

cschnarr
Enthusiast
Enthusiast

Thanks @MMcCall402 

This lisp routine works well.

 

Great post!

0 Likes