How to mirror a dimension?

How to mirror a dimension?

Anonymous
Not applicable
11,627 Views
14 Replies
Message 1 of 15

How to mirror a dimension?

Anonymous
Not applicable

I mirror a dimension and the text is on the wrong side and rotated. 

Of course is due to the fact that has been created with another UCS and TEXTMIRR won't help.

Any idea? 

 

0 Likes
Accepted solutions (1)
11,628 Views
14 Replies
Replies (14)
Message 2 of 15

pendean
Community Legend
Community Legend
Post the portion of your DWG file that appears in the image here, let's examine your dimension styles settings.



0 Likes
Message 3 of 15

Anonymous
Not applicable

attached

0 Likes
Message 4 of 15

pendean
Community Legend
Community Legend
That's a picture, we need an actual DWG file of that portion.


0 Likes
Message 5 of 15

Anonymous
Not applicable

attached

0 Likes
Message 6 of 15

pendean
Community Legend
Community Legend

If I draw a new dimension using the same DIMSTYLE I don't seems to have the problem of mirroring: and if I mirror your clouded dimensions I don't have your issue either.

 

How are you mirroring your dimensions exactly?

0 Likes
Message 7 of 15

Anonymous
Not applicable

well, this should be pretty basic but I can't figure out a way. A mirror is a mirror, but the dim can be a result of a rotate, not only mirror... (attached). Sorry, I used Autocad for only twenty years... just came back to it from Revit.

0 Likes
Message 8 of 15

pendean
Community Legend
Community Legend
What year version of ACA are you using? I did the test of your file in ACA2019.

Otherwise there is nothing wrong with your file, and I;m not sure there is a system-only setting for mirroring dims. Do you have a 3rd party add-on by chance?


0 Likes
Message 9 of 15

JoeVernice
Advocate
Advocate
Accepted solution

@Anonymous

 

The attached lisp routine will flip the dimension text for you.

 

JMV

Message 10 of 15

dbroad
Mentor
Mentor

Based on your ucsfollow settings, it looks like you are changing your user coordinate systems.  Each time you dimension in a non-World UCS, it generates the dimension block based on the ucsxdir.  It won't automatically rotate the text when you change the UCS again. @JoeVernice posted a flip dimension text function that should work.  If your desire is to always ensure the text is going in the correct direction and you don't need to flip it back and forth, you might use this function.

(defun c:dimrev (/ ang)
  ;;D. C. Broad, Jr.
  ;;Revolves dimension text based on ucsxdir.
  (setq ang (angle '(0 0 0) (getvar "ucsxdir")))
  (if (ssget '((0 . "DIM*")))
    (vlax-for n
	      (vla-get-activeselectionset
		(vla-get-ActiveDocument
		  (vlax-get-acad-object)))
      (if (vlax-property-available-p n "rotation")
	(vla-put-rotation n ang)
	)
      )
    )
  (princ))
Architect, Registered NC, VA, SC, & GA.
0 Likes
Message 11 of 15

Anonymous
Not applicable

This is fantastic, exactly what I was dreaming of for long time!

Thank you thank you thank you 🙂 

0 Likes
Message 12 of 15

jrr
Contributor
Contributor

I like the rotate routine.  Does anyone have a routine that can mirror a dimension?  If I have multiple short dimensions, they overlap each other and I would like to mirror them similar to what the rotate command given here does.

0 Likes
Message 13 of 15

jrr
Contributor
Contributor

I like the rotate routine.  Does anyone have a routine that can mirror a dimension?  If I have multiple short dimensions, they overlap each other and I would like to mirror them similar to what the rotate command given here does

0 Likes
Message 14 of 15

DanHartel
Participant
Participant

How do you use the command for the lisp routine you created. I got the app to load and it appears in the command line as FTD. Then what?

 

Thanks

0 Likes
Message 15 of 15

JoeVernice
Advocate
Advocate

Load the file using the “appload” command or by dragging the file onto the current drawing window from windows explorer. Type FDT to run the command, select the dimensions to be flipped and hit enter.

 

JMV

0 Likes