PDA

View Full Version : Convert MTEXT to Attribute



randys
2004-09-21, 04:40 PM
Hi All,

Is there a routine available that will convert mtext to an attribute so that it can be counted?
Or, is there a way to count mtext itself as itself and get a total?

I have 4000 maps (DGN) that I have to import in CAD Map, then go through and total some footages per map. I noticed that all the ones that have to be counted are imported as mtext and have the foot tick mark after them ( ' ).

Thanks for any help in advance.

Randy

mjfarrell
2004-09-21, 05:12 PM
Randy,

Import those DGNs into a session of MAP
Close and save it.
Open a new MAP session, and attach the file created in the
above step as the source drawing.
Construct a query that looks for the text objects on the layer
that they are on.
Set the query type to report, and when you excute the query
it will export a space or comma delimited file that you can
bring into Excel and then sum that column.

Questions feel free to tag me in a chat window.

randys
2004-09-21, 07:06 PM
Thanks Michael,

That did the trick!

I'm still curious if there is a way to convert MTEXT to an attribute/block, much like the routine out that converts Text 2 block.

However, while this is pondered, this other will work, but oh man, 4000 files into one drawing, boy is that thing going to be a big sucker... Oh well, guess I'll get going on that, thanks for the assist.

Randy

mjfarrell
2004-09-21, 07:23 PM
Randy,

Don't put all 4000000 files into one!
Divide it up and place it into an equal number of files
then attach then all as source drawings to perform
the MAP query on all of them simultaneously.
The power and elegance of MAP in action!