Re: [Dxfreader-info] Commits
Status: Beta
Brought to you by:
allandaly
|
From: Allan D. <all...@me...> - 2009-03-25 13:46:05
|
The brown-bird site has some example DXF files that include text entities. http://brown-bird.net/Resources/dxf.html The TEXT entity is an older entity that represents just a single line of text. An MTEXT entity can wrap lines and do a lot more formatting -- much more like what you'd expect from a modern program. The TEXT entities are still used heavily in AutoCAD because you can use them in what they call an "attributed block." With an attributed block you can set up a generic room number/name/area block using TEXT entities in just a certain way, then every time you insert that block it will ask you what is this rooms name/number/area. I can add the TEXT example DXF, but right now I'm working on the BLOCK implementation still. If you get to it first let me know. -Allan On Mar 23, 2009, at 8:39 PM, Michael Caron wrote: > Hey Allan, > > I committed the ARC and CIRCLE code tonight with test data. I was > trying to get the TEXT stuff in there, but I don't have any test > data for TEXT entities. I have MTEXT, but that's a very different > entity. Do you happen to know what the big difference is between > these two entities is? Seems like one just has more formatting to it. > > If you could add a TEXT entity to the dxf_sample.dxf file, and play > around with the unit test, that might be good. I'm going to switch > gears for the rest of tonight and see if I can't get some of these > things into Brad's app. > > Cheers, > > > Michael > ------------------------------------------------ > mic...@gm... > http://techrad.wordpress.com > http://mrcaron.wordpress.com > |