pmadhwal7 Posted December 18, 2020 Posted December 18, 2020 Dear all, How can i able to combine M-text with leader and box as i do it manually by coping leader and box and then copy text and paste it inside box i am also attaching the dwg here dim.dwg Quote
ILoveMadoka Posted December 18, 2020 Posted December 18, 2020 Without looking at your drawing... Have you tried making a block with your Mtext/Box with Attributes then making a MLeader using the block? You can make multiple versions with different size boxes too... Just a thought before getting into programming.. Quote
Dana W Posted December 18, 2020 Posted December 18, 2020 (edited) Simply modify or create a new leader, and check the box shown in this image. and bobs yer uncle. The frame automagically adjusts to the text no matter how many lines or how long the text is. Edited December 18, 2020 by Dana W Quote
Dana W Posted December 18, 2020 Posted December 18, 2020 You posted in the LISP sub forum. Did you think this required a LISP routine? It doesn't. Quote
hosneyalaa Posted December 18, 2020 Posted December 18, 2020 1 hour ago, Dana W said: You posted in the LISP sub forum. Did you think this required a LISP routine? It doesn't. (setq obj (vlax-ename->vla-object ENT)) (vlax-put-property obj 'TextFill :vlax-true) (vlax-put-property obj 'TextFRAMEDISPLAY :vlax-true) Quote
pmadhwal7 Posted December 21, 2020 Author Posted December 21, 2020 On 12/18/2020 at 11:04 PM, Dana W said: Simply modify or create a new leader, and check the box shown in this image. and bobs yer uncle. The frame automagically adjusts to the text no matter how many lines or how long the text is. for this first i should create Mleader after that this will happen Quote
Dana W Posted December 30, 2020 Posted December 30, 2020 On 12/21/2020 at 3:27 AM, pmadhwal7 said: for this first i should create Mleader after that this will happen You can modify an existing leader but, unless you want ALL your mleaders with frames you will also need leaders with no frames, right? Quote
Dana W Posted December 30, 2020 Posted December 30, 2020 On 12/18/2020 at 2:28 PM, hosneyalaa said: (setq obj (vlax-ename->vla-object ENT)) (vlax-put-property obj 'TextFill :vlax-true) (vlax-put-property obj 'TextFRAMEDISPLAY :vlax-true) Well, the key word here is "require". Don't you already need a leader to change properties. 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.