M76 Posted September 24, 2009 Share Posted September 24, 2009 Hi! I need help yet again. I need to determine the length of a text object in the drawing, not the number of characters it has, but the space it takes in real world units. I cannot base my calculation solely on the number of characters it has, because different characters have different lengths. It only needs to be precise for up to 10 characters. thanks Quote Link to comment Share on other sites More sharing options...
Lee Mac Posted September 24, 2009 Share Posted September 24, 2009 hint* textbox hint* Quote Link to comment Share on other sites More sharing options...
alanjt Posted September 24, 2009 Share Posted September 24, 2009 (vlax-getboundingbox Obj 'P1 'P2) If it's MText, you can (cdr (assoc 42 (entget (car (entsel))))) Quote Link to comment Share on other sites More sharing options...
M76 Posted September 24, 2009 Author Share Posted September 24, 2009 Thanks I've already got it with textbox. Quote Link to comment Share on other sites More sharing options...
alanjt Posted September 24, 2009 Share Posted September 24, 2009 Thanks I've already got it with textbox. Always happy to not help. 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.