Based on the steps in that tutorial found on the 'knowledge network' you can reach step 10, in what I believe, is a simpler way. Trust me, I've use both ways, the one you've read about on the network and this one. Head-to-head, that one makes you use a query and the one I'm about to describe doesn't. You'll end up at step 10 either way, but my way avoids the query altogether. Don't get me wrong, I like queries, I use them often because they're convenient and powerful, but for what you're trying to do, the query isn't necessary.
I'm assuming you've successfully imported the shapefile using MAPIMPORT and have the line work geospatially placed in modelspace and that you've also 'created' object data from the shapefil's' attribute data during the map import procedure, correct? If I'm correct, then this video will help you. If not correct, then you need to get busy and thoroughly understand the procedure to get to step 10, otherwise you need to read up or watch additional tutorials.
To watch the video on how to use object data as mtext labels, click >>HERE<<.
Note (and a little off subject): If you have point blocks (not polygons) with attributes, you can use the same MAPIMPORT command and have AutoCAD insert object data directly into your block's attribute. The end result will be a circle, diamond, square, or whatever symbol you use to represent a point, with its attribute correctly hosting a chosen object data value.
For example, you could have a map of the 48 contiguous States. Your shapefile would be point vectors and consist of State Capitals. Your block would be a circle with an attribute tag City. During the MAPIMPORT command, several operations would be performed when importing the shapefile:
- your circle block, as opposed to a default symbol, would be used to represent the shapefile's point locations.
- each circle block would be geospatially positioned on each State's capital city.
- each block's City attribute would display the corresponding State Capital.
After import, everything would be in the Cad environment. You have your own block, you can pick the layer and layer color, and you can scale or rotate the block. You've also leveraged both the prj and the dbf, the former to position each block and the latter to 'fill in' the Capital. And all of this from a shapefile that you simply downloaded.
Chicagolooper
