Perhaps:
Code:; original code from Mike Perry, AUGI NG (defun c:DimAddText (/ DimObject ndimtext NewDimValue) (vl-load-com) (setq ndimtext (getstring t "\nEnter text to add to dim: ")) (princ "\nSelect Dimension to add \(REF.\) to: ") (if (setq DimObject (ssget '((0 . "DIMENSION")))) (foreach Obj (mapcar 'vlax-ename->vla-object (vl-remove-if 'listp (mapcar 'cadr (ssnamex DimObject)))) (vla-put-TextOverride Obj (strcat "<>\\X" ndimtext))) (princ "\n<!> No Dimensions Selected <!>")) (princ))




Reply With Quote

Bookmarks