Jump to content

dimension text not matching ucs view and unable to rotate it. AutoCAD 2010LT


HEADACHEINFL

Recommended Posts

I'm making a profile of a roadway with different UCS, one of the views is has a different UCS view when I dimension it the text in the dim line is upside down, unable to rotate it: the only way I can is to explode it then rotate the dim text that way. Is there a setting somewhere to match the rotation of the dim line with the UCS view this is happening in viewport.

Link to comment
Share on other sites

I made a lisp to fix this a while back:

(defun c:DimUCS (/ ss n en ucs)
 (if (and (or (setq ss (ssget "I" '((0 . "DIMENSION"))))
              (progn
                (prompt "\nSelect dimensions to set to current UCS: ")
                (setq ss (ssget '((0 . "DIMENSION"))))
              )
          )
          (> (setq n (sslength ss)) 0)
     ) ;_ end of and
   (while (>= (setq n (1- n)) 0)
     (setq en (ssname ss n)) ;Get the nth entity and decrement the counter
     (setq ucs (- 0 (angle '(0.0 0.0 0.0) (getvar "UCSXDIR")))) ;Get the current UCS's X-axis direction
     (entmod (list (cons -1 en) (cons 51 ucs))) ;Modify the entity
   ) ;_ end of repeat
   (princ "\nNothing selected ... exiting.")
 ) ;_ end of if
 (princ)
)

Though I'm not sure how you're going to use it in LT.

Link to comment
Share on other sites

Yep, the only way I can think of to not use lisp (or other programming languages) is to CutClip the dims while their UCS is current. Change to the new UCS, paste them back, then move / mirror / rotate them to get them placed to their original positions.

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...