Nikon Posted yesterday at 07:21 PM Posted yesterday at 07:21 PM (edited) Hello everyone. You need to select several sizes and align the extension lines to the short line of each selected size. Maybe there is such a program? Edited yesterday at 08:18 PM by Nikon Quote
GLAVCVS Posted 9 hours ago Posted 9 hours ago (edited) I don't think we've understood your question yet (at least I haven't). You might need to elaborate a bit and add some more images. Edited 9 hours ago by GLAVCVS Quote
mhupp Posted 7 hours ago Posted 7 hours ago I'm guessing they have a drawing and want all the long blue dim extension lines to be shortened to where the dimension is. but the top blue one looks like its pulling from the right and left like the dimension itself is inside the feature its measuring. were the bottom red is only pulling from the right. Quote
Nikon Posted 7 hours ago Author Posted 7 hours ago (edited) 3 hours ago, GLAVCVS said: I don't think we've understood your question yet (at least I haven't). You might need to elaborate a bit and add some more images. Sometimes the extension lines of associative dimensions are stretched (for example, to the origin of coordinates ) when inserted into another drawing. Now I've found a way to disable dimensions associativity, but I don't really like it. I only find out that the dimensions have lost their connection with the object when I insert them into another drawing (or turn on the annotation monitor). So I thought it would be possible to align the extension lines to a smaller extension line. Maybe there is a better way... ; disable associativity of only selected dimensions (defun c:DimAssOf ( / ss) (vl-load-com) (prompt "\nSelect DIMENSION to disable associativity: ") (setq ss (ssget '((0 . "DIMENSION")))) (if ss (progn (command "_.DIMDISASSOCIATE" ss "") (prompt (strcat "\nDone: associativity is disabled for " (itoa (sslength ss)) " dimensions." ) ) ) ) (princ) ) extension lines.dwg Edited 6 hours ago by Nikon Quote
Nikon Posted 6 hours ago Author Posted 6 hours ago 1 hour ago, mhupp said: I'm guessing they have a drawing and want all the long blue dim extension lines to be shortened to where the dimension is. but the top blue one looks like its pulling from the right and left like the dimension itself is inside the feature its measuring. were the bottom red is only pulling from the right The blue dimension should become the same as the red one. Quote
GLAVCVS Posted 1 hour ago Posted 1 hour ago (defun c:DimAssOf ( / ss e le n) (vl-load-com) (prompt "\nSelect DIMENSION to disable associativity: ") (setq ss (ssget '((0 . "DIMENSION")))) (if ss (progn (command "_.DIMDISASSOCIATE" ss "") (prompt (strcat "\nDone: associativity is disabled for " (itoa (sslength ss)) " dimensions." ) ) (while (setq e (ssname ss (setq n (if n (1+ n) 0)))) (setq le (entget e)) (entmod (subst (list 14 (cadr (assoc 13 le)) (caddr (assoc 14 (entget e))) 0.0) (assoc 14 le) le)) ) ) ) (princ) ) 1 Quote
GLAVCVS Posted 1 hour ago Posted 1 hour ago 1 minute ago, GLAVCVS said: (defun c:DimAssOf ( / ss e le n) (vl-load-com) (prompt "\nSelect DIMENSION to disable associativity: ") (setq ss (ssget '((0 . "DIMENSION")))) (if ss (progn (command "_.DIMDISASSOCIATE" ss "") (prompt (strcat "\nDone: associativity is disabled for " (itoa (sslength ss)) " dimensions." ) ) (while (setq e (ssname ss (setq n (if n (1+ n) 0)))) (setq le (entget e)) (entmod (subst (list 14 (cadr (assoc 13 le)) (caddr (assoc 14 (entget e))) 0.0) (assoc 14 le) le)) ) ) ) (princ) ) Do you really need to disassociate the dimension? If you don't need to for another reason, you can delete that part of the code. 1 Quote
GLAVCVS Posted 1 hour ago Posted 1 hour ago 3 minutes ago, GLAVCVS said: Do you really need to disassociate the dimension? If you don't need to for another reason, you can delete that part of the code. Like that 1 Quote
Nikon Posted 1 hour ago Author Posted 1 hour ago (edited) 39 minutes ago, GLAVCVS said: Do you really need to disassociate the dimension? If you don't need to for another reason, you can delete that part of the code. @GLAVCVS Thank you very much, but you only need to choose the "stretched" dimensions. If you choose the usual dimensions, they may change. Yes, associativity can be left on. (defun c:DimAlignExtLine ( / ss e le n) (vl-load-com) (prompt "\nSelect the dimensions for alignment: ") (setq ss (ssget '((0 . "DIMENSION")))) (if ss (progn (while (setq e (ssname ss (setq n (if n (1+ n) 0)))) (setq le (entget e)) (entmod (subst (list 14 (cadr (assoc 13 le)) (caddr (assoc 14 (entget e))) 0.0) (assoc 14 le) le)) ) ) ) (princ) ) Edited 55 minutes ago by Nikon Quote
Recommended Posts
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.