Search the Community
Showing results for tags 'move text'.
-
Hello Everyone ! The posted code is working fine as per the attached image. They text are move follow with green line direction but I need move text follow with magenta line direction in selected line or Polyline. Can anyone help me! Code : (Defun c:alt (/ li txts e) (if (and (princ "\nSelect Line for Alignment") (setq li (ssget "_:L" '((0 . "LINE")))) (princ "\nSelect Texts to Align") (setq txts (ssget "_:L" '((0 . "TEXT,MTEXT"))))) (repeat (sslength txts) (vla-move (setq e (vlax-ename->vla-object (ssname txts 0))) (vla-get-insertionpoint e) (vlax-3d-point (vlax-curve-getclosestpointto (ssname li 0) (vlax-get e 'insertionpoint))) ) (ssdel (ssname txts 0) txts) ) ) (princ) ) (vl-load-com)
-
"move text, add leader" shows up, unwanted
chrisbrown2055 posted a topic in AutoCAD 2D Drafting, Object Properties & Interface
Sometimes, all of my dimensions change properties, displaying as if the dimension style is set for "move text, add leader", even though it is not. When I check the dimension style, it has not changed from "FIT/Text placement/Over dimension line, without leader". There are also no overrides. This seems random, and has occurred on more than one system, at different offices. Any ideas?