tama010 Posted January 14, 2015 Share Posted January 14, 2015 Hello When I was trying to textoverride a selected dimension text created by a AMPOWERDIM I noticed something very weird. If I create multiple dimension with AMPOWERDIM without exiting the command, I noticed the override will work for the first dimension created, but the rest of the dimension will not override correctly. Anyone has a clue whats going on? Thank you (vl-load-com) (defun c:FOO (/ ss oDim s) (if (setq ss (ssget ":S:E" '((0 . "DIM*")))) (progn (setq oDim (vlax-ename->vla-object (ssname ss 0))) (prompt (strcat "\nTextOverride: " (if (and (vlax-property-available-p oDim 'textoverride) (/= "" (setq s (vla-get-textoverride oDim))) ) s "<Empty String> " ) ) ) ) ) (princ) ) Quote Link to comment Share on other sites More sharing options...
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.