Jump to content

Recommended Posts

Posted

Ok I have not been able to find a solution to this problem. I was sent the floor plan of a building and I am drawing the rcp. I am trying to add some dimensions but they are upside down. The ucs is at world and mirrtext is at 0. I don't know what to do now! Any suggestions would be greatly appreciated.

Posted

Nothing immediately springs to mind. Any chance you can wblock a dimension out an upload it?

Posted

I did forget to mention though that I rotated my viewport. I don't know if that would make a difference or not.

Here is the wblock.

new block.dwg

Posted

are you working in your template with your dimensions or someone elses drawing

Posted

I got the drawing from somebody so I am using their dim styles- but it's on my own computer and everything. I also made a new dim style and it did the same thing. So that made me think that that wasn't the problem- but then again I have no idea what the problem is. ;)

Posted

working in a rotated viewport will do that, try highliting all the dimensions then in the properties box change the text rotation

Posted

Ok so it was because my viewport was rotated.

Thank you guys sooo much for helping me out! I'm glad I know what was causing it.

  • 4 years later...
Posted (edited)

I know this is an old thread, but I just wanted to leave this lisp here for the next person

who seeks an answer to this problem.

 

(defun c:DIMT180 (/ en1 en2 enXt env) 
 (setq en2 nil)
 (prompt "Pick dimension") 
 (while (not en2) 
   (setq en2 (entsel))
   (if en2 
     (progn
       (setq ent (entget (setq en1 (car en2))))
       (if (/= "DIMENSION" (cdr (assoc 0 ent))) 
         (setq en2 nil)
       )
     )
   )
 ) 
 (command "undo" "mark") 
 (if (assoc 53 ent) 
   (progn
     (setq env (+ (cdr (assoc 51 ent)) pi))
     (setq ent (subst (cons 51 env) (assoc 51 ent) ent))
   ) 
   (progn
     (setq ent (append ent (list (cons 51 pi))))
   )
 ) 
 (entmod ent) 
 (princ)
)

Edited by SLW210
Posted

Include your Code in CODE TAGS and the emoticons won't show up. I fixed it for you this time.

 

CODE POSTING GUIDELINES.

 

Thank you for posting the code.

Posted

Thank you, RobertR, for that very useful code.

  • 2 weeks later...
Posted

I think the defib may be 3 years late. Good to know though and good code!

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...