I got the following routine to find all the dimensions in my drawing that have a measurement equal to 3.5" and replace the text for those dimensions with a space. I am trying to create a variation of this routine to fine all the dimensions in my drawing that have be put in as associative dims and change them to not be associative but I am not having much luck can anyone help.
Thanks JasonCode:(defun c:dblank () (setq ssSelection (ssget "X"(list (cons 0 "dimension")))) (repeat (setq intCount (sslength ssSelection)) (setq intCount (1- intCount) entSelection (ssname ssSelection intCount) objSelection (vlax-ename->vla-object entSelection) ) (if (= (rtos (vla-get-measurement objSelection) 2 5 ) "3.50000" ) (vla-put-TextOverride objSelection " ")) (princ)) )
[ Moderator Action = ON ] What are [ CODE ] tags... [ Moderator Action = OFF ]