Easy Labels: How to Automate Labeling With the Map 3D Toolset

Learning
automate labeling with the Map 3D toolset feature

Who loves labeling drawings (ooh, I do, I do)?

For those of us tasked with labeling drawings and designs, this task can be tedious and time consuming. Also, QC checking your labels is probably a process that is incorporated into your project workflow to make sure spelling is correct and the labels make sense. So, this post won’t solve EVERY labeling process, but if you happen to have intelligent geospatial data, you can automate the labeling process completely with the Map3Dtoolset.

Interrogate the Geospatial Data

In this example, I have been tasked with labeling data from parcels. This data may include the property owner, acreage, zoning, address, etc. The first thing I want to do is interrogate the data to see if this information is attached to it. This is very easy to do with the Map 3D toolset. Simply navigate to the Map Task Pane (MAPWSPACE command), select the layer you want to interrogate, and click the Table tool. The Data Table palette will appear.

Data Table Palette Map 3D toolset

What’s cool about the Data Table palette is that it will zoom to the feature you click on. Just make sure you have Auto-Zoom and Auto-Scroll clicked on.

auto-scroll auto-zoom Map 3D toolset

What’s even cooler is that it works in reverse, too. If you click on a feature in the drawing, it will automatically highlight in the Data Table palette.

auto-scroll auto-zoom Map 3D toolset

So, after opening the Data Table palette, I see that I am in luck, and that the geospatial data I have has all the information I need to automate labeling.

automate label Map 3D toolset

Be sure to make note of the column headers and write them down. You will need to know the property name to add to your label.

Making a Style Label

What I want is a label that will show the address, acreage, and zoning. Navigate to the Map Task Pane, click the Style button, and in the Style Editor palette click the Feature Label ellipsis button.

Feature Label Map 3D toolset

The Style Label dialog box is where you can add static text or labels based upon properties in the feature you are connected to. Also, as you would expect, there are all the formatting and text options to make your text look like you want it to.

Style Label Map 3D toolset

So, as I mentioned before, I want to label three properties from my feature. This is a little more involved than if I want to label just one property. If I wanted to label one property, I would simply use the Text content drop-down and choose it from the list.

Style Label Map 3D toolset

However, I need three properties in one label. You might think, “OK, I’ll just click the Add label button to add multiple properties,” but you can only have one label per feature. What to do……?

Expression Editor to the Rescue

If you click the Text content drop-down, navigate to the bottom of the list, you will see that there is an option called Use Expression.

Expression Editor Map 3D toolset

The Expression Editor is used to create text or numeric expressions that determine the content of labels when you style features. What we want to do is “glue” the properties together to make the label look correct. Without getting into the nitty gritty here (that’s what the Map 3D help s for), this is the expression you need to use to connect (Concat) properties and text together.

Expression Editor Map 3D toolset

Here’s the text for you so that you can copy/paste it into your expression editor.

Concat ( ‘ADDR:’, OADDR1 , ‘P ACRES: ‘, ACRES )

All you will have to do is replace the text in single quotes with text you want and the properties you have.

And that’s it to automate labeling with the Map 3D toolset! It can really give you your labels for free. 

Try AutoCAD free for 15 days
The AutoCAD Blog is all about helping you get the most out of AutoCAD. It's also the best way for you to connect with the makers of AutoCAD. Subscribe to keep up with AutoCAD

______
icon-svg-close-thick

Cookie preferences

Your privacy is important to us and so is an optimal experience. To help us customize information and build applications, we collect data about your use of this site.

May we collect and use your data?

Learn more about the Third Party Services we use and our Privacy Statement.

Strictly necessary – required for our site to work and to provide services to you

These cookies allow us to record your preferences or login information, respond to your requests or fulfill items in your shopping cart.

Improve your experience – allows us to show you what is relevant to you

These cookies enable us to provide enhanced functionality and personalization. They may be set by us or by third party providers whose services we use to deliver information and experiences tailored to you. If you do not allow these cookies, some or all of these services may not be available for you.

Customize your advertising – permits us to offer targeted advertising to you

These cookies collect data about you based on your activities and interests in order to show you relevant ads and to track effectiveness. By collecting this data, the ads you see will be more tailored to your interests. If you do not allow these cookies, you will experience less targeted advertising.

icon-svg-close-thick

THIRD PARTY SERVICES

Learn more about the Third-Party Services we use in each category, and how we use the data we collect from you online.

icon-svg-hide-thick

icon-svg-show-thick

Strictly necessary – required for our site to work and to provide services to you

Qualtrics
W
Akamai mPulse
W
Digital River
W
Dynatrace
W
Khoros
W
Launch Darkly
W
New Relic
W
Salesforce Live Agent
W
Wistia
W
Tealium
W
Upsellit
W
CJ Affiliates
W
Commission Factory
W
Google Analytics (Strictly Necessary)
W
Typepad Stats
W
Geo Targetly
W
SpeedCurve
W
Qualified
#

icon-svg-hide-thick

icon-svg-show-thick

Improve your experience – allows us to show you what is relevant to you

Google Optimize
W
ClickTale
W
OneSignal
W
Optimizely
W
Amplitude
W
Snowplow
W
UserVoice
W
Clearbit
#
YouTube
#

icon-svg-hide-thick

icon-svg-show-thick

Customize your advertising – permits us to offer targeted advertising to you

Adobe Analytics
W
Google Analytics (Web Analytics)
W
AdWords
W
Marketo
W
Doubleclick
W
HubSpot
W
Twitter
W
Facebook
W
LinkedIn
W
Yahoo! Japan
W
Naver
W
Quantcast
W
Call Tracking
W
Wunderkind
W
ADC Media
W
AgrantSEM
W
Bidtellect
W
Bing
W
G2Crowd
W
NMPI Display
W
VK
W
Adobe Target
W
Google Analytics (Advertising)
W
Trendkite
W
Hotjar
W
6 Sense
W
Terminus
W
StackAdapt
W
The Trade Desk
W
RollWorks
W

Are you sure you want a less customized experience?

We can access your data only if you select "yes" for the categories on the previous screen. This lets us tailor our marketing so that it's more relevant for you. You can change your settings at any time by visiting our privacy statement

Your experience. Your choice.

We care about your privacy. The data we collect helps us understand how you use our products, what information you might be interested in, and what we can improve to make your engagement with Autodesk more rewarding.

May we collect and use your data to tailor your experience?

Explore the benefits of a customized experience by managing your privacy settings for this site or visit our Privacy Statement to learn more about your options.