a482 Posted October 11, 2019 Share Posted October 11, 2019 Looking for a Lisp which will allow me to centre text within a block. Example below where I would like the text to be centered within the block with max 2 clicks. Ideally I could do this on mass as I have 300 or so to do but not sure if possible. Thanks, Quote Link to comment Share on other sites More sharing options...
dlanorh Posted October 11, 2019 Share Posted October 11, 2019 A better explanation is required. Is the text part of the Block? It would be easier to help if you provided a small sample drawing with a couple of examples. Quote Link to comment Share on other sites More sharing options...
a482 Posted October 17, 2019 Author Share Posted October 17, 2019 On 10/11/2019 at 1:45 PM, dlanorh said: A better explanation is required. Is the text part of the Block? It would be easier to help if you provided a small sample drawing with a couple of examples. The text is Mtext. I want to be able to click the blue line of the box and have the text centered within in. Thanks, Quote Link to comment Share on other sites More sharing options...
pkenewell Posted October 17, 2019 Share Posted October 17, 2019 (edited) What version of AutoCAD are you using? If 2017 or above, are you aware of the "gcen" (geometric center) object snap modifier? That would make it easy - no lisp required. Edited October 17, 2019 by pkenewell 1 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.