TheSwamp

Code Red => ARX Programming => Topic started by: Odoshi on November 03, 2012, 04:13:21 AM

Title: MTEXT Jig
Post by: Odoshi on November 03, 2012, 04:13:21 AM
Hey all,

Just wondering, if there is a way to use a jig to dynamically stretch MTEXT and show the contents reformatting.

Even AutoCAD MTEXT objects do not do this when grip-edited. The box just stretches and after placed, the contents re-format.

I'm looking to stretch some new MTEXT being placed in the drawing via ARX.

Is it doable?

Thanks,
Title: Re: MTEXT Jig
Post by: Jeff H on November 04, 2012, 06:10:13 PM
Not sure if how familiar you are with .NET but should be able to port to ObjectARX
here is a .NET example
http://spiderinnet1.typepad.com/blog/2012/10/autocad-net-create-a-much-powerful-text-command-using-entityjig.html (http://spiderinnet1.typepad.com/blog/2012/10/autocad-net-create-a-much-powerful-text-command-using-entityjig.html)
Title: Re: MTEXT Jig
Post by: Odoshi on November 05, 2012, 12:35:17 AM
Yes, I did see that example before. I like the command line options, which I will need also, but was looking for the stretch-ability factor. Kean also has an example on his blog:

http://through-the-interface.typepad.com/through_the_interface/2012/09/a-handy-jig-for-creating-autocad-text-using-net-part-4.html

It does similar things, too, but no stretching.

I'll keep checking...