Algirdas Posted December 22, 2011 Posted December 22, 2011 Hey guys! I was wondering if anyone could help me with this - I'm looking for a code, which could rewrite the dimension text with the same number + a diameter symbol in the front. A dimension is variable. In different words, i need an automatic straight-line diameter code. It would be huge help for me! Quote
pBe Posted December 22, 2011 Posted December 22, 2011 Hey guys!i need an automatic straight-line diameter code. What is a that? you mean this? command: Dim Dim: N %%c Select objects: Quote
Algirdas Posted December 22, 2011 Author Posted December 22, 2011 (command ''dim'' ''ver'' T22 T5 M5 '''') - this is the part of my function. The distance between points T22 and T5 is variable. So i need that my function automatically rewrite that variable distance with %%c in the front. Quote
pBe Posted December 22, 2011 Posted December 22, 2011 (command ''dim'' ''ver'' T22 T5 M5 '''') - this is the part of my function. The distance between points T22 and T5 is variable. So i need that my function automatically rewrite that variable distance with %%c in the front. (command ''dim'' ''ver'' T22 T5 M5 '''') (vla-put-textoverride (vlax-ename->vla-object (entlast)) (strcat "%%C <>")) dont foget to include (vl-load-com) elsewhere in your code Quote
Algirdas Posted December 22, 2011 Author Posted December 22, 2011 Yes! That's exactly what i was looking for! Thank you alot! Quote
pBe Posted December 22, 2011 Posted December 22, 2011 Yes! That's exactly what i was looking for! Thank you alot! Good for you. if there's anything else you need just holler Cheers 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.