RepCad Posted August 10, 2019 Share Posted August 10, 2019 Hi all, I use Bounding box to create box around text but it doesn't create exactly around rotated text , my code : (setq s (car (entsel))) (setq obj (vlax-ename->vla-object s)) (vla-getboundingbox obj 'bl 'tr) (setq p1 (vlax-safearray->list bl)) (setq p2 (vlax-safearray->list tr)) (command "rectangle" p1 p2) Thanks in advanced. Quote Link to comment Share on other sites More sharing options...
rlx Posted August 10, 2019 Share Posted August 10, 2019 (edited) minimal bounding box master Lee DBBox.lsp Edited August 10, 2019 by rlx 1 Quote Link to comment Share on other sites More sharing options...
RepCad Posted August 10, 2019 Author Share Posted August 10, 2019 1 hour ago, rlx said: minimal bounding box master Lee Thanks, Can we also do it for dimension text?? (it means create bounding box around text of dimension) Quote Link to comment Share on other sites More sharing options...
marko_ribar Posted August 10, 2019 Share Posted August 10, 2019 1 hour ago, amir0914 said: Thanks, Can we also do it for dimension text?? (it means create bounding box around text of dimension) You can set up that through dimension style dialog box, just experiment a little on your own... 1 Quote Link to comment Share on other sites More sharing options...
RepCad Posted August 11, 2019 Author Share Posted August 11, 2019 (edited) On 8/10/2019 at 5:46 PM, marko_ribar said: You can set up that through dimension style dialog box, just experiment a little on your own... Thanks a lot. Edited August 30, 2019 by amir0914 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.