TheSwamp

Code Red => AutoLISP (Vanilla / Visual) => Topic started by: cmwade77 on July 25, 2018, 05:49:18 PM

Title: MTEXT Attribute in MLEADER Block
Post by: cmwade77 on July 25, 2018, 05:49:18 PM
So I have some Multileaders that we use that have a block with MTEXT attributes. These work fine, but when we go to edit them, it first brings up the Attribute Dialog Box and then we have to click the button to open the MTEXT editor.

I would like to find a way in LISP to be able to go straight to the MTEXT editor, so far I haven't found one. Currently, to get around this I am using getstring and then manually inserting the value.

It should be noted that in these blocks this is the only attribute in this block.
Title: Re: MTEXT Attribute in MLEADER Block
Post by: MSTG007 on July 26, 2018, 07:12:30 AM
Just thinking about what you just said. You do bring up a good point.
Title: Re: MTEXT Attribute in MLEADER Block
Post by: cmwade77 on July 26, 2018, 02:04:28 PM
Yeah, it is annoying, of course I would love to have inline editing of attributes like we have with the MTEXT editor, but I am probably dreaming there.
Title: Re: MTEXT Attribute in MLEADER Block
Post by: MSTG007 on July 26, 2018, 02:08:10 PM
I am working on a mleader with an attribute. Question, There is no way to control the "text width" within a block mleader? Or even text height for that matter? I thought it would behave just like a normal mtext.

Fun learning!
Title: Re: MTEXT Attribute in MLEADER Block
Post by: cmwade77 on July 26, 2018, 06:10:05 PM
Not that I have found, I know, it would be a novel concept for there to be some consistency.