Autodesk Auto CAD Map 3D 2011 Instruction Manual Autocad En

User Manual: autodesk AutoCAD Map 3D - 2011 - Instruction Manual Free User Guide for Autodesk AutoCAD Software, Manual

Open the PDF directly: View PDF PDF.
Page Count: 2180

DownloadAutodesk Auto CAD Map 3D - 2011 Instruction Manual Autocad En
Open PDF In BrowserView PDF
AutoCAD® Map 3D 2011

User's Guide

April 2010

©

2010 Autodesk, Inc. All Rights Reserved. Except as otherwise permitted by Autodesk, Inc., this publication, or parts thereof, may not be
reproduced in any form, by any method, for any purpose.
Certain materials included in this publication are reprinted with the permission of the copyright holder.
Trademarks
The following are registered trademarks or trademarks of Autodesk, Inc., and/or its subsidiaries and/or affiliates in the USA and other countries:
3DEC (design/logo), 3December, 3December.com, 3ds Max, Algor, Alias, Alias (swirl design/logo), AliasStudio, Alias|Wavefront (design/logo),
ATC, AUGI, AutoCAD, AutoCAD Learning Assistance, AutoCAD LT, AutoCAD Simulator, AutoCAD SQL Extension, AutoCAD SQL Interface,
Autodesk, Autodesk Envision, Autodesk Intent, Autodesk Inventor, Autodesk Map, Autodesk MapGuide, Autodesk Streamline, AutoLISP, AutoSnap,
AutoSketch, AutoTrack, Backburner, Backdraft, Built with ObjectARX (logo), Burn, Buzzsaw, CAiCE, Civil 3D, Cleaner, Cleaner Central, ClearScale,
Colour Warper, Combustion, Communication Specification, Constructware, Content Explorer, Dancing Baby (image), DesignCenter, Design
Doctor, Designer's Toolkit, DesignKids, DesignProf, DesignServer, DesignStudio, Design Web Format, Discreet, DWF, DWG, DWG (logo), DWG
Extreme, DWG TrueConvert, DWG TrueView, DXF, Ecotect, Exposure, Extending the Design Team, Face Robot, FBX, Fempro, Fire, Flame, Flare,
Flint, FMDesktop, Freewheel, GDX Driver, Green Building Studio, Heads-up Design, Heidi, HumanIK, IDEA Server, i-drop, ImageModeler, iMOUT,
Incinerator, Inferno, Inventor, Inventor LT, Kaydara, Kaydara (design/logo), Kynapse, Kynogon, LandXplorer, Lustre, MatchMover, Maya,
Mechanical Desktop, Moldflow, Moonbox, MotionBuilder, Movimento, MPA, MPA (design/logo), Moldflow Plastics Advisers, MPI, Moldflow
Plastics Insight, MPX, MPX (design/logo), Moldflow Plastics Xpert, Mudbox, Multi-Master Editing, Navisworks, ObjectARX, ObjectDBX, Open
Reality, Opticore, Opticore Opus, Pipeplus, PolarSnap, PortfolioWall, Powered with Autodesk Technology, Productstream, ProjectPoint, ProMaterials,
RasterDWG, RealDWG, Real-time Roto, Recognize, Render Queue, Retimer,Reveal, Revit, Showcase, ShowMotion, SketchBook, Smoke, Softimage,
Softimage|XSI (design/logo), Sparks, SteeringWheels, Stitcher, Stone, StudioTools, ToolClip, Topobase, Toxik, TrustedDWG, ViewCube, Visual,
Visual LISP, Volo, Vtour, Wire, Wiretap, WiretapCentral, XSI, and XSI (design/logo).
All other brand names, product names or trademarks belong to their respective holders.
Disclaimer
THIS PUBLICATION AND THE INFORMATION CONTAINED HEREIN IS MADE AVAILABLE BY AUTODESK, INC. "AS IS." AUTODESK, INC. DISCLAIMS
ALL WARRANTIES, EITHER EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO ANY IMPLIED WARRANTIES OF MERCHANTABILITY OR
FITNESS FOR A PARTICULAR PURPOSE REGARDING THESE MATERIALS.
Published by:
Autodesk, Inc.
111 McInnis Parkway
San Rafael, CA 94903, USA

Contents

Chapter 1

Getting Started Guide . . . . . . . . . . . . . . . . . . . . . . . 1
Overview of AutoCAD Map 3D Concepts . . . . . . . . . . . . . . . . . 1
The AutoCAD Map 3D Window . . . . . . . . . . . . . . . . . . . 2
Map Files and Data Sources . . . . . . . . . . . . . . . . . . . . . . 3
Map Files and Display Maps . . . . . . . . . . . . . . . . . . . . . 7
Geospatial Features and Drawing Objects . . . . . . . . . . . . . . 9
Overview of AutoCAD Map 3D Features . . . . . . . . . . . . . . . . . 10
Create and Assign Geographic Coordinate Systems . . . . . . . . 11
Combine Geospatial Features and Drawing Objects . . . . . . . . 12
Create and Edit Features and Drawing Objects . . . . . . . . . . . 19
Search and Filter Data . . . . . . . . . . . . . . . . . . . . . . . . 24
View and Edit Attribute Data . . . . . . . . . . . . . . . . . . . . 27
Use Metadata . . . . . . . . . . . . . . . . . . . . . . . . . . . . 30
Organize Data . . . . . . . . . . . . . . . . . . . . . . . . . . . . 31
Style Data . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 34
Theme and Analyze Data . . . . . . . . . . . . . . . . . . . . . . 37
Manage Data . . . . . . . . . . . . . . . . . . . . . . . . . . . . 43
Share and Publish Data . . . . . . . . . . . . . . . . . . . . . . . 46
Customize Your Working Environment . . . . . . . . . . . . . . 49
Extend Functionality Using Open Source and API . . . . . . . . . 51
Finding Information . . . . . . . . . . . . . . . . . . . . . . . . . . . 51
Watching Videos . . . . . . . . . . . . . . . . . . . . . . . . . . 51
Using InfoCenter . . . . . . . . . . . . . . . . . . . . . . . . . . 55
Using the Help . . . . . . . . . . . . . . . . . . . . . . . . . . . 57

iii

Watching the Welcome Screen Videos . . . . . . . . . . . .
Navigating the User's Guide . . . . . . . . . . . . . . . . . .
Using the Tutorials . . . . . . . . . . . . . . . . . . . . . .
Getting Help with AutoCAD . . . . . . . . . . . . . . . . .
New in This Release . . . . . . . . . . . . . . . . . . . . . .
Using Other Sources of Information . . . . . . . . . . . . .
Participating in Autodesk Training . . . . . . . . . . . . . .
Printing This Documentation . . . . . . . . . . . . . . . . .
AutoCAD Map 3D Sample Data and Templates . . . . . . . . . .
Sample Real-World Data . . . . . . . . . . . . . . . . . . .
Templates for Maps and Map Books . . . . . . . . . . . . .
Symbols for Water, Gas, Electric, and Emergency Response .
Symbols for General Use . . . . . . . . . . . . . . . . . . .
North Arrows, Scale Bars, and Other Map Elements . . . . .
Geospatial Data Available for Purchase . . . . . . . . . . . .
Tutorial Sample Files . . . . . . . . . . . . . . . . . . . . .
AutoCAD Samples . . . . . . . . . . . . . . . . . . . . . . .

.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.

.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.

. 57
. 57
. 58
. 58
. 59
. 59
. 60
. 61
. 62
. 63
. 66
. 69
. 70
. 71
. 72
. 73
. 73

User's Guide . . . . . . . . . . . . . . . . . . . . . . . . . 75
Chapter 2

Setting Up . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 77
Overview of Setting Up . . . . . . . . . . . . . . . . . . . . . . . . . . 77
Setting Up AutoCAD Map 3D . . . . . . . . . . . . . . . . . . . . . . . 80
Overview of Setting Up AutoCAD Map 3D . . . . . . . . . . . . . 81
Setting Up Users and Assigning Rights . . . . . . . . . . . . . . . 82
Customizing Your Work Environment . . . . . . . . . . . . . . . 84
Creating New Coordinate Systems . . . . . . . . . . . . . . . . . 89
Setting Up Object Classification . . . . . . . . . . . . . . . . . 116
Setting Up for Digitizing . . . . . . . . . . . . . . . . . . . . . . 130
Setting Up Your Map File . . . . . . . . . . . . . . . . . . . . . . . . 139
Overview of Setting Up Your Map File . . . . . . . . . . . . . . 139
Logging Into AutoCAD Map 3D . . . . . . . . . . . . . . . . . . 141
Assigning Coordinate Systems . . . . . . . . . . . . . . . . . . . 142
Attaching Drawings . . . . . . . . . . . . . . . . . . . . . . . . 154
Setting Up a Query Library . . . . . . . . . . . . . . . . . . . . 173
Setting Up Annotation Templates . . . . . . . . . . . . . . . . . 185
Setting Up Object Data . . . . . . . . . . . . . . . . . . . . . . 198
Using Data from Feature Sources . . . . . . . . . . . . . . . . . 204
Setting Up Data Sources for Drawings . . . . . . . . . . . . . . . 204
Setting Options . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 216
Overview of Setting Options . . . . . . . . . . . . . . . . . . . . 217
Setting Task Pane Options . . . . . . . . . . . . . . . . . . . . . 220
Setting Drawing Options . . . . . . . . . . . . . . . . . . . . . 223
Setting Multi-user Options . . . . . . . . . . . . . . . . . . . . . 226
Setting System Options . . . . . . . . . . . . . . . . . . . . . . 228

iv | Contents

Setting Coordinate System Options . . . . . . . . .
Setting Coordinate Tracker Options . . . . . . . . .
Setting Coordinate Geometry Options . . . . . . .
Setting Data Source Options for Drawings . . . . .
Setting Data View Options . . . . . . . . . . . . . .
Setting Geospatial Feature Editing Options . . . . .
Setting Metadata Options . . . . . . . . . . . . . .
Setting InfoCenter Options . . . . . . . . . . . . .
Associating Database Versions with File Extensions
Setting Query Options (DWG) . . . . . . . . . . . .
Using Associative Hatch . . . . . . . . . . . . . . .
Saving Option Settings . . . . . . . . . . . . . . . .
Setting Raster Image Options . . . . . . . . . . . .
Customizing and Automating Import and Export .
Setting Up and Running Workflows . . . . . . . . . . . .
Overview of Workflows . . . . . . . . . . . . . . .
Running Workflows . . . . . . . . . . . . . . . . .
Editing or Creating Workflows . . . . . . . . . . .
Changing the Workflow Designer Display . . . . .

Chapter 3

.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.

.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.

.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.

.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.

.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.

.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.

. 230
. 232
. 233
. 235
. 237
. 239
. 241
. 242
. 242
. 244
. 246
. 248
. 249
. 260
. 274
. 275
. 278
. 281
. 289

Bringing In Data . . . . . . . . . . . . . . . . . . . . . . . . . 291
Overview of Bringing In Data . . . . . . . . . . . . . . . . . .
Before You Bring In Data . . . . . . . . . . . . . . . . . . . . .
Creating a Map . . . . . . . . . . . . . . . . . . . . . . .
Organizing Layers in Your Map . . . . . . . . . . . . . .
Bringing in GIS Features . . . . . . . . . . . . . . . . . . . . .
Overview of Bringing In GIS Features . . . . . . . . . . .
Filtering Features When You Add Them to a Map . . . .
Changing Coordinate Systems . . . . . . . . . . . . . .
Bringing In Features from Oracle . . . . . . . . . . . . .
Bringing In Features from ArcSDE . . . . . . . . . . . . .
Bringing In Features from SQL Server . . . . . . . . . . .
Bringing In Features from SQL Server Spatial . . . . . . .
Bringing In Features From SQLite . . . . . . . . . . . . .
Bringing In Features from MySQL . . . . . . . . . . . .
Bringing In Features from SHP . . . . . . . . . . . . . . .
Bringing In Features from SDF . . . . . . . . . . . . . . .
Bringing in Features from PostgreSQL/PostGIS . . . . . .
Accessing Data from ODBC . . . . . . . . . . . . . . . .
Bringing In Features from WFS . . . . . . . . . . . . . .
Repairing Broken Feature Connections . . . . . . . . . .
Bringing In Drawing Data From DWG Files . . . . . . . . . . .
Overview of Bringing in Drawing Data From DWG Files .
Bringing In Drawing Objects from AutoCAD Layers . . .
Bringing In Drawing Objects by Object Class . . . . . . .
Bringing In Drawing Objects by Location . . . . . . . . .

.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.

.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.

.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.

. 291
. 296
. 296
. 300
. 303
. 305
. 309
. 311
. 312
. 316
. 323
. 326
. 330
. 332
. 335
. 337
. 340
. 342
. 346
. 349
. 350
. 351
. 355
. 356
. 358

Contents | v

Bringing In Drawing Objects by Property . . . . . . . . .
Bringing In Drawing Objects Based on Attached Data . .
Bringing In Drawing Objects Based on Topology . . . . .
Combining Conditions . . . . . . . . . . . . . . . . . .
Bringing in Survey Data . . . . . . . . . . . . . . . . . . . . .
Bringing in LandXML Data . . . . . . . . . . . . . . . .
Bringing in ASCII Point Data . . . . . . . . . . . . . . .
Bringing in LiDAR Data . . . . . . . . . . . . . . . . . .
Bringing in Point Cloud Data . . . . . . . . . . . . . . .
Converting Data From Other Formats to Drawing Objects . .
Overview of Converting Geospatial Data to Drawing
Objects . . . . . . . . . . . . . . . . . . . . . . . . . .
Styling Drawing Data Converted From a Geospatial Data
Store . . . . . . . . . . . . . . . . . . . . . . . . . . .
Supported Import Formats . . . . . . . . . . . . . . . . .
Specifying an Area to Import . . . . . . . . . . . . . . .
Specifying an AutoCAD Layer During Import . . . . . . .
Assigning an Object Class During Import . . . . . . . . .
Performing a Coordinate Conversion During Import . . .
Importing Attribute Data . . . . . . . . . . . . . . . . .
Specifying How to Import Points . . . . . . . . . . . . .
Importing Polygons . . . . . . . . . . . . . . . . . . . .
Creating Centroids for Polygons . . . . . . . . . . . . . .
Importing Objects with Links to an External Database . .
Displaying Attribute Data as Text . . . . . . . . . . . . .
Adding Rasters and Surfaces . . . . . . . . . . . . . . . . . . .
Overview of Adding Rasters and Surfaces . . . . . . . . .
Adding Raster-Based Surfaces to Your Map . . . . . . . .
Adding 2D Rasters . . . . . . . . . . . . . . . . . . . . .
Adding an Image from a WMS (Web Map Service) . . . .
Making an Image Transparent . . . . . . . . . . . . . . .
Specifying Image Insertion Point . . . . . . . . . . . . .
Using Other Raster Image Formats . . . . . . . . . . . .
Joining Data to GIS Features . . . . . . . . . . . . . . . . . . .
Overview of Joins . . . . . . . . . . . . . . . . . . . . .
Creating a Join . . . . . . . . . . . . . . . . . . . . . . .
Modifying or Removing Joins . . . . . . . . . . . . . . .
Editing Joined Data . . . . . . . . . . . . . . . . . . . .
Using Joins with Calculated Properties . . . . . . . . . .
Sharing Joined Data with Others . . . . . . . . . . . . .
Adding Attributes to Drawing Objects . . . . . . . . . . . . . .
Storing Attribute Data in the Drawing (Object Data) . . .
Overview of Linking Database Records to Objects . . . .
Creating a Link Template . . . . . . . . . . . . . . . . .
Opening a Linked Database Table . . . . . . . . . . . . .
Manually Linking Database Records to Objects . . . . . .

vi | Contents

.
.
.
.
.
.
.
.
.
.

.
.
.
.
.
.
.
.
.
.

.
.
.
.
.
.
.
.
.
.

. 361
. 363
. 367
. 368
. 370
. 371
. 372
. 374
. 375
. 377

. . . . 378
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.

.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.

.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.

. 384
. 387
. 417
. 419
. 421
. 423
. 425
. 427
. 429
. 431
. 433
. 435
. 437
. 437
. 441
. 443
. 445
. 449
. 451
. 453
. 507
. 507
. 509
. 514
. 515
. 518
. 519
. 521
. 521
. 522
. 525
. 527
. 528

Automatically Linking Database Records to Objects .
Converting Object Data to Database Links . . . . . .
Editing Database Links . . . . . . . . . . . . . . . . .
Editing a Link Template . . . . . . . . . . . . . . . .
Using Open Source FDO Providers . . . . . . . . . . . . .
Bringing In AutoCAD Civil 3D Data . . . . . . . . . . . . .

Chapter 4

Managing

.
.
.
.
.
.

.
.
.
.
.
.

.
.
.
.
.
.

.
.
.
.
.
.

.
.
.
.
.
.

. 530
. 533
. 536
. 538
. 540
. 543

Data . . . . . . . . . . . . . . . . . . . . . . . . . 547

Overview of Managing Data . . . . . . . . . . . . . . . . . .
About Geospatial Feature Classes, Data Stores, and Schemas .
Overview of Geospatial Data . . . . . . . . . . . . . .
Working with FDO Schemas . . . . . . . . . . . . . . .
Working with Oracle Data . . . . . . . . . . . . . . . .
Working with SQL Server Data . . . . . . . . . . . . .
Working with SQL Server Spatial Data . . . . . . . . .
Working with SQLite Data . . . . . . . . . . . . . . . .
Working with MySQL Data . . . . . . . . . . . . . . .
Working with SDF Data . . . . . . . . . . . . . . . . .
Working with SHP Data . . . . . . . . . . . . . . . . .
Working with PostgreSQL/PostGIS Data . . . . . . . . .
Working with ODBC Data . . . . . . . . . . . . . . . .
Working with ESRI ArcSDE Data . . . . . . . . . . . . .
Working with WFS Data . . . . . . . . . . . . . . . . .
Working with Feature Sources . . . . . . . . . . . . . . . . .
Overview of Working with Feature Sources . . . . . . .
Setting Up Database Users . . . . . . . . . . . . . . . .
Creating a Data Store . . . . . . . . . . . . . . . . . .
Creating FDO-Enabled SQL Server Spatial Data Stores .
Deleting a Feature Source . . . . . . . . . . . . . . . .
Working with Schemas . . . . . . . . . . . . . . . . . . . . .
Overview of Working with Schemas . . . . . . . . . . .
Creating a Schema . . . . . . . . . . . . . . . . . . . .
Setting Up Constraints in the Schema Editor . . . . . .
Exposing a Native Database View in a Schema . . . . .
Importing and Exporting a Schema . . . . . . . . . . .
Viewing a Schema . . . . . . . . . . . . . . . . . . . .
Editing a Schema . . . . . . . . . . . . . . . . . . . . .
Deleting Schemas . . . . . . . . . . . . . . . . . . . .
Undoing Schema Changes . . . . . . . . . . . . . . . .
Migrating Data . . . . . . . . . . . . . . . . . . . . . . . . .
Overview of Migrating Data . . . . . . . . . . . . . . .
Migrating GIS Data (Bulk Copy) . . . . . . . . . . . . .
Understanding How Bulk Copy Converts Data Types .
Fixing Geometry Issues After a Bulk Copy . . . . . . .
Reviewing the Bulk Copy Log Information . . . . . . .
Migrating DWG Data to GIS . . . . . . . . . . . . . . .

.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.

.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.

.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.

.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.

. 547
. 551
. 551
. 553
. 554
. 559
. 561
. 565
. 567
. 569
. 572
. 574
. 576
. 579
. 581
. 582
. 582
. 584
. 586
. 590
. 593
. 593
. 594
. 596
. 599
. 603
. 606
. 608
. 610
. 613
. 614
. 615
. 616
. 617
. 623
. 625
. 626
. 628

Contents | vii

Chapter 5

Visualization and Styling . . . . . . . . . . . . . . . . . . . . . 631
Overview of Visualization and Styling . . . . . . . . . . . . .
Controlling the Display of Your Map . . . . . . . . . . . . .
Overview of the Display Manager . . . . . . . . . . . .
Controlling Display Order . . . . . . . . . . . . . . . .
Setting Map Scale . . . . . . . . . . . . . . . . . . . .
Creating Multiple Display Maps . . . . . . . . . . . . .
Styling Features . . . . . . . . . . . . . . . . . . . . . . . .
Overview of Styling Features . . . . . . . . . . . . . . .
Defining Scale Ranges . . . . . . . . . . . . . . . . . .
Styling Point Features . . . . . . . . . . . . . . . . . .
Styling Line Features . . . . . . . . . . . . . . . . . . .
Styling Area Features . . . . . . . . . . . . . . . . . . .
Labeling Features . . . . . . . . . . . . . . . . . . . . .
Saving and Loading Styled Feature Layers . . . . . . . .
Styling Drawing Layers . . . . . . . . . . . . . . . . . . . . .
Overview of Styling Drawing Layers . . . . . . . . . . .
Styling a Drawing Layer . . . . . . . . . . . . . . . . .
Creating a Style . . . . . . . . . . . . . . . . . . . . .
Combining Styles . . . . . . . . . . . . . . . . . . . .
Modifying a Style . . . . . . . . . . . . . . . . . . . .
Saving a Display Style in the Library . . . . . . . . . .
Referencing a Library Style . . . . . . . . . . . . . . .
Creating and Modifying a Display Manager Scale
Threshold . . . . . . . . . . . . . . . . . . . . . . .
Viewing Styles at All Scale Thresholds . . . . . . . . . .
Styling Raster Images . . . . . . . . . . . . . . . . . . . . . .
Overview of Styling Raster Images . . . . . . . . . . . .
Changing Brightness, Color, or Transparency for Raster
Images . . . . . . . . . . . . . . . . . . . . . . . . .
Viewing Raster Images . . . . . . . . . . . . . . . . . .
Styling Point Clouds . . . . . . . . . . . . . . . . . . . . . .

Chapter 6

.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.

.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.

.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.

.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.

. 631
. 633
. 634
. 636
. 638
. 638
. 639
. 640
. 643
. 645
. 648
. 650
. 651
. 651
. 652
. 652
. 657
. 658
. 661
. 662
. 664
. 666

.
.
.
.

.
.
.
.

.
.
.
.

.
.
.
.

. 667
. 669
. 671
. 671

. . . . . 672
. . . . . 674
. . . . . 675

Creating and Editing Data . . . . . . . . . . . . . . . . . . . . 681
Overview of Creating and Editing Data . .
Working with Features . . . . . . . . . . .
Overview of Working with Features .
Creating New Features . . . . . . . .
Checking In Features . . . . . . . . .
Checking Out Features . . . . . . . .
Canceling Checkout . . . . . . . . .
Updating Edits Automatically . . . .
Editing Features . . . . . . . . . . .
Working Offline . . . . . . . . . . .
Managing Versions . . . . . . . . . .

viii | Contents

.
.
.
.
.
.
.
.
.
.
.

.
.
.
.
.
.
.
.
.
.
.

.
.
.
.
.
.
.
.
.
.
.

.
.
.
.
.
.
.
.
.
.
.

.
.
.
.
.
.
.
.
.
.
.

.
.
.
.
.
.
.
.
.
.
.

.
.
.
.
.
.
.
.
.
.
.

.
.
.
.
.
.
.
.
.
.
.

.
.
.
.
.
.
.
.
.
.
.

.
.
.
.
.
.
.
.
.
.
.

.
.
.
.
.
.
.
.
.
.
.

.
.
.
.
.
.
.
.
.
.
.

.
.
.
.
.
.
.
.
.
.
.

.
.
.
.
.
.
.
.
.
.
.

. 681
. 683
. 684
. 686
. 693
. 695
. 697
. 698
. 701
. 721
. 723

Working with Drawing Objects . . . . . . . . . . . . . . . . . . . . . 727
Overview of Working with Drawing Objects . . . . . . . . . . . 727
Editing Data in Attached Drawings . . . . . . . . . . . . . . . . 729
Cleaning Up Drawing Data . . . . . . . . . . . . . . . . . . . . 765
Creating, Editing, and Managing Topologies . . . . . . . . . . . 820
Using Map Editing Tools . . . . . . . . . . . . . . . . . . . . . . 926
Working with Polygon Objects . . . . . . . . . . . . . . . . . . 954
Adding and Deleting Annotation . . . . . . . . . . . . . . . . . 980
Using Object Classification . . . . . . . . . . . . . . . . . . . . 981
Working with Survey Data . . . . . . . . . . . . . . . . . . . . . . . . 996
Overview of Working with Survey Data . . . . . . . . . . . . . . 997
Working with Survey Data Stores . . . . . . . . . . . . . . . . . 999
Working with Projects . . . . . . . . . . . . . . . . . . . . . . 1001
Working with Surveys . . . . . . . . . . . . . . . . . . . . . . 1002
Working with Point Groups . . . . . . . . . . . . . . . . . . . 1004
Working with Survey Points . . . . . . . . . . . . . . . . . . . 1005
Creating Surfaces From Survey Data . . . . . . . . . . . . . . . 1009
Working With Point Cloud Data . . . . . . . . . . . . . . . . . . . . 1012
Overview of Point Clouds . . . . . . . . . . . . . . . . . . . . 1012
Overview of LiDAR Data . . . . . . . . . . . . . . . . . . . . . 1012
Overview of Point Cloud Files and Objects . . . . . . . . . . . 1013
Managing LiDAR Data . . . . . . . . . . . . . . . . . . . . . . 1015
Using LiDAR Data to Create a Point Cloud Data Store . . . . . 1019
Creating Surfaces From Point Cloud Data . . . . . . . . . . . . 1021
Filtering Point Cloud Data . . . . . . . . . . . . . . . . . . . . 1024
Entering Coordinate Geometry . . . . . . . . . . . . . . . . . . . . 1026
Overview of Coordinate Geometry Commands . . . . . . . . . 1027
Using Angle and Distance to Specify a Point . . . . . . . . . . 1032
Using Bearing and Distance to Specify a Point . . . . . . . . . 1034
Using Bearings from Two Points to Specify a Point . . . . . . . 1036
Using Deflection and Distance to Specify a Point . . . . . . . . 1037
Using Distances from Two Points to Specify a Point . . . . . . . 1040
Using Azimuth and Distance to Specify a Point . . . . . . . . . 1042
Using Distance and Offset from a Line to Specify a Point . . . . 1044
Creating an Inverse Report . . . . . . . . . . . . . . . . . . . . 1045
Working with Attribute Data and Object Data . . . . . . . . . . . . . 1047
Viewing External Data Sources for Drawing Object Data . . . . 1047
Entering and Editing Object Data . . . . . . . . . . . . . . . . 1061
Digitizing Objects . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1073
Overview of Digitizing Maps . . . . . . . . . . . . . . . . . . . 1073
Overview of Digitizing Objects . . . . . . . . . . . . . . . . . . 1079
Digitizing Using MAPDIGITIZE . . . . . . . . . . . . . . . . . 1081
Attaching Object Data As You Digitize . . . . . . . . . . . . . . 1082
Linking Database (SQL) Records as You Digitize . . . . . . . . . 1084

Chapter 7

Annotating Maps . . . . . . . . . . . . . . . . . . . . . . . . 1089

Contents | ix

Overview of Annotating Maps . . . . . . . . . . .
Adding Labels . . . . . . . . . . . . . . . . . . . .
Adding Labels to Features . . . . . . . . . .
Allowing Labels to Obscure Points . . . . . .
Displaying Fixed Labels at Point Locations .
Annotating Drawing Objects . . . . . . . . . . . .
Overview of Annotation . . . . . . . . . . .
Attaching Annotation to Objects . . . . . .
Refreshing Annotation . . . . . . . . . . . .
Updating Annotation . . . . . . . . . . . . .
Deleting Annotation from Drawings . . . . .
Working with Text Layers . . . . . . . . . . . . .
Creating Text Layers . . . . . . . . . . . . .
Styling a Text Layer . . . . . . . . . . . . . .
Adding Text to a Text Layer . . . . . . . . .
Editing an Instance on a Text Layer . . . . .
Adding a Legend . . . . . . . . . . . . . . . . . .
Annotating with AutoCAD Text Objects . . . . . .

Chapter 8

.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.

.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.

.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.

.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.

.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.

.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.

.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.

.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.

. 1089
. 1091
. 1091
. 1096
. 1098
. 1100
. 1100
. 1103
. 1105
. 1106
. 1108
. 1109
. 1109
. 1111
. 1113
. 1115
. 1116
. 1119

Analyzing Data . . . . . . . . . . . . . . . . . . . . . . . . . 1121
Overview of Analyzing Data . . . . . . . . . . . . . . . . . . .
Getting Information About Features and Objects . . . . . . . .
Getting Information about Features . . . . . . . . . . . .
Getting Information About Drawing Objects . . . . . . .
Measuring and Tracking Coordinates . . . . . . . . . . . . . .
Overview of Measuring and Tracking . . . . . . . . . . .
Tracking Coordinates . . . . . . . . . . . . . . . . . . . .
Measuring Geodetic Distance . . . . . . . . . . . . . . .
Measuring Coordinate Geometry . . . . . . . . . . . . .
Creating Themes . . . . . . . . . . . . . . . . . . . . . . . . .
Overview of Creating Themes . . . . . . . . . . . . . . .
Theming Features . . . . . . . . . . . . . . . . . . . . . .
Theming Drawing Data . . . . . . . . . . . . . . . . . . .
Analyzing Raster-Based Surfaces . . . . . . . . . . . . . . . . .
Overview of Analyzing Raster-Based Surfaces . . . . . . .
Adding and Modifying Contour Lines . . . . . . . . . . .
Draping Map Data Over 3D Surfaces . . . . . . . . . . . .
Viewing Surfaces in 3D . . . . . . . . . . . . . . . . . . .
Using Hillshading and Vertical Exaggeration . . . . . . .
Theming Surfaces to Analyze Height, Slope, and Aspect .
Changing Colors in a Themed Surface . . . . . . . . . .
Finding and Selecting Data . . . . . . . . . . . . . . . . . . . .
Finding and Selecting Features . . . . . . . . . . . . . . .
Finding and Querying Drawing Objects . . . . . . . . . .
Analyzing Feature Classes . . . . . . . . . . . . . . . . . . . .
Overview of Analyzing Feature Classes . . . . . . . . . .

x | Contents

.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.

.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.

.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.

. 1121
. 1124
. 1125
. 1143
. 1147
. 1148
. 1149
. 1152
. 1153
. 1162
. 1163
. 1165
. 1176
. 1186
. 1187
. 1189
. 1192
. 1194
. 1199
. 1202
. 1204
. 1206
. 1206
. 1218
. 1301
. 1302

Buffering Features in Your Map . . . . . . .
Overlaying Two Feature Sources . . . . . . .
Analyzing Drawing Topologies . . . . . . . . . . .
Overview of Analyzing Drawing Topologies .
Performing a Shortest Path Trace . . . . . . .
Performing a Best Route Analysis . . . . . .
Performing a Flood Trace . . . . . . . . . . .
Overlaying Two Topologies . . . . . . . . . .
Dissolving a Composite Topology . . . . . .
Buffering a Topology . . . . . . . . . . . . .
Querying a Topology . . . . . . . . . . . . .
Saving a Temporary Topology . . . . . . . .

Chapter 9

.
.
.
.
.
.
.
.
.
.
.
.

.
.
.
.
.
.
.
.
.
.
.
.

.
.
.
.
.
.
.
.
.
.
.
.

.
.
.
.
.
.
.
.
.
.
.
.

.
.
.
.
.
.
.
.
.
.
.
.

.
.
.
.
.
.
.
.
.
.
.
.

.
.
.
.
.
.
.
.
.
.
.
.

.
.
.
.
.
.
.
.
.
.
.
.

.
.
.
.
.
.
.
.
.
.
.
.

. 1306
. 1309
. 1318
. 1319
. 1324
. 1328
. 1333
. 1336
. 1342
. 1345
. 1348
. 1354

Publishing and Sharing Maps . . . . . . . . . . . . . . . . . 1357
Overview of Publishing and Sharing . . . . . . . . . . . . . . . .
Publishing Maps . . . . . . . . . . . . . . . . . . . . . . . . . .
Overview of Publishing Maps . . . . . . . . . . . . . . . .
Adding a Reference Grid to a Map . . . . . . . . . . . . . .
Publishing a Map to a Plotter . . . . . . . . . . . . . . . .
Publishing to DWF . . . . . . . . . . . . . . . . . . . . . .
Publishing to PDF . . . . . . . . . . . . . . . . . . . . . .
Publishing to a Web Page . . . . . . . . . . . . . . . . . . .
Using eTransmit . . . . . . . . . . . . . . . . . . . . . . .
Publishing to MapGuide . . . . . . . . . . . . . . . . . . .
Viewing Publish to MapGuide Results . . . . . . . . . . . .
Publishing Map Books . . . . . . . . . . . . . . . . . . . .
Converting and Exporting . . . . . . . . . . . . . . . . . . . . .
Overview of Converting and Exporting . . . . . . . . . . .
Supported Objects . . . . . . . . . . . . . . . . . . . . . .
Supported Formats . . . . . . . . . . . . . . . . . . . . . .
Exporting To Autodesk SDF (Spatial Data File) . . . . . . . .
Exporting DWG Data to SDF2 Format . . . . . . . . . . . .
Exporting To ESRI Arc/INFO Coverages . . . . . . . . . . .
Exporting to ESRI ArcSDE . . . . . . . . . . . . . . . . . .
Exporting to ESRI SHP . . . . . . . . . . . . . . . . . . . .
Exporting To Geographic Markup Language (GML) . . . . .
Exporting To MapInfo MIF/MID . . . . . . . . . . . . . . .
Exporting To MapInfo TAB . . . . . . . . . . . . . . . . . .
Exporting To MicroStation Design (DGN) Versions 7 and 8 .
Exporting to Multiple Classes . . . . . . . . . . . . . . . .
Exporting To Shape Multiclass . . . . . . . . . . . . . . . .
Exporting To SQLite . . . . . . . . . . . . . . . . . . . . .
Exporting To VML (Vector Markup Language) . . . . . . . .
Exporting Point Cloud Data . . . . . . . . . . . . . . . . .
Mapping Drawing Attributes to Feature Class Properties . .
Exporting Text Enclosed in a Polyline . . . . . . . . . . . .

.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.

. 1357
. 1360
. 1360
. 1362
. 1363
. 1364
. 1373
. 1373
. 1376
. 1376
. 1379
. 1381
. 1403
. 1405
. 1411
. 1412
. 1413
. 1417
. 1419
. 1422
. 1424
. 1429
. 1431
. 1433
. 1435
. 1439
. 1443
. 1447
. 1449
. 1451
. 1452
. 1455

Contents | xi

Exporting Polygons from a Polygon Topology . . . . . . .
Saving Drawing Objects to a DXF File . . . . . . . . . . .
Exporting Maps to DWG Format . . . . . . . . . . . . . .
Exporting DWG Data to an FDO Data Store . . . . . . . .
Exporting DWG Data to an Image Format . . . . . . . . .
Moving DWG Data to a Spatial Data Store and Back Again
Saving or Exporting a Display Manager Layer . . . . . . .
Exporting Survey Points to a LandXML File . . . . . . . .
Exporting and Printing Attribute Data . . . . . . . . . . . . . .
Overview of Exporting Attribute Data . . . . . . . . . . .
Exporting from the Data Table . . . . . . . . . . . . . . .
Printing from the Data View . . . . . . . . . . . . . . . .
Creating a Drawing Object Report (DWG) . . . . . . . . .

Chapter 10

.
.
.
.
.
.
.
.
.
.
.
.
.

.
.
.
.
.
.
.
.
.
.
.
.
.

. 1457
. 1458
. 1459
. 1461
. 1465
. 1465
. 1469
. 1471
. 1472
. 1472
. 1473
. 1474
. 1477

Working with Metadata . . . . . . . . . . . . . . . . . . . . 1481
Overview of Working with Metadata . . . . . . . . . . . . .
Setting Metadata Options . . . . . . . . . . . . . . . . . .
Creating and Viewing Metadata . . . . . . . . . . . . . . .
Working with Metadata Style Sheets . . . . . . . . . . . . .
Working with Metadata Templates . . . . . . . . . . . . . .
Overview of Metadata Templates . . . . . . . . . . . .
Using Metadata Templates . . . . . . . . . . . . . . .
Previewing Metadata Templates . . . . . . . . . . . .
Setting a Default Metadata Template . . . . . . . . . .
Deactivating Metadata Templates . . . . . . . . . . .
Exporting Metadata Templates . . . . . . . . . . . . .
Removing Metadata Templates . . . . . . . . . . . . .
Editing Metadata . . . . . . . . . . . . . . . . . . . . . . .
Overview of Editing Metadata . . . . . . . . . . . . .
Updating Metadata . . . . . . . . . . . . . . . . . . .
Copying and Pasting Metadata . . . . . . . . . . . . .
Adding and Deleting Records in the Metadata Editor .
Working with Compound Metadata Elements . . . . .
Using the Record Navigator . . . . . . . . . . . . . .
Auditing Metadata . . . . . . . . . . . . . . . . . . .
Sharing Metadata . . . . . . . . . . . . . . . . . . . . . . .
Overview of Sharing Metadata . . . . . . . . . . . . .
Importing Metadata . . . . . . . . . . . . . . . . . .
Exporting Metadata . . . . . . . . . . . . . . . . . . .
Publishing and Printing Metadata . . . . . . . . . . .

.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.

.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.

.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.

.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.

. 1481
. 1484
. 1486
. 1488
. 1490
. 1490
. 1491
. 1493
. 1494
. 1495
. 1496
. 1497
. 1498
. 1498
. 1503
. 1504
. 1504
. 1505
. 1506
. 1509
. 1510
. 1510
. 1510
. 1512
. 1514

Reference Guide . . . . . . . . . . . . . . . . . . . . . 1517
Chapter 11

xii | Contents

Command Reference . . . . . . . . . . . . . . . . . . . . . . 1519

Mapping Commands . . .
Discontinued Commands
Wildcard Characters . . .
Improving Performance .

Chapter 12

.
.
.
.

.
.
.
.

.
.
.
.

.
.
.
.

.
.
.
.

.
.
.
.

.
.
.
.

.
.
.
.

.
.
.
.

.
.
.
.

.
.
.
.

.
.
.
.

.
.
.
.

.
.
.
.

.
.
.
.

.
.
.
.

.
.
.
.

.
.
.
.

.
.
.
.

.
.
.
.

.
.
.
.

. 1519
. 1533
. 1537
. 1538

Expression Evaluator . . . . . . . . . . . . . . . . . . . . . . 1541
Functions . . . . . . . . . . . . . . . . . . . . . . .
Arithmetic Functions . . . . . . . . . . . . . .
String-Handling Functions . . . . . . . . . . .
Equality and Conditional Functions . . . . . .
Symbol-Handling Functions . . . . . . . . . .
Conversion Functions . . . . . . . . . . . . .
Other Functions . . . . . . . . . . . . . . . .
Variables . . . . . . . . . . . . . . . . . . . . . . .
Dot Variables . . . . . . . . . . . . . . . . . .
Object Data Variables . . . . . . . . . . . . . .
Block Attribute Variables . . . . . . . . . . . .
SQL Variables and Expressions . . . . . . . . .
Object Classification Variables . . . . . . . . .
AutoLISP Variables . . . . . . . . . . . . . . .
EED Expressions . . . . . . . . . . . . . . . .
Using Color in Expressions . . . . . . . . . . . . . .
Tips and Suggestions for the Expression Evaluator .

Chapter 13

.
.
.
.

.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.

.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.

.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.

.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.

.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.

.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.

.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.

.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.

. 1541
. 1541
. 1543
. 1543
. 1544
. 1544
. 1545
. 1546
. 1546
. 1549
. 1549
. 1549
. 1551
. 1551
. 1551
. 1552
. 1553

Expression Builder . . . . . . . . . . . . . . . . . . . . . . . 1555
Using the Expression Builder . . . . . . . . . . . . . . . . . . . . . . 1555

Dialog Boxes . . . . . . . . . . . . . . . . . . . . . . . 1557
Chapter 14

Analyzing Data Dialog Boxes . . . . . . . . . . . . . . . . . . 1559
Create Buffer dialog box . . .
Buffer Warning dialog box . .
Generate Contour dialog box
Hillshade Settings dialog box .
Overlay Analysis dialog box .

Chapter 15

.
.
.
.
.

.
.
.
.
.

.
.
.
.
.

.
.
.
.
.

.
.
.
.
.

.
.
.
.
.

.
.
.
.
.

.
.
.
.
.

.
.
.
.
.

.
.
.
.
.

.
.
.
.
.

.
.
.
.
.

.
.
.
.
.

.
.
.
.
.

.
.
.
.
.

.
.
.
.
.

.
.
.
.
.

.
.
.
.
.

.
.
.
.
.

.
.
.
.
.

. 1559
. 1560
. 1561
. 1562
. 1563

Annotation Dialog Boxes . . . . . . . . . . . . . . . . . . . . 1569
Annotation Delete dialog box . . . . . .
Annotation Refresh dialog box . . . . . .
Annotation Text dialog box . . . . . . .
Annotation Update dialog box . . . . . .
Define Annotation Template dialog box .
Edit Expression dialog box . . . . . . . .

.
.
.
.
.
.

.
.
.
.
.
.

.
.
.
.
.
.

.
.
.
.
.
.

.
.
.
.
.
.

.
.
.
.
.
.

.
.
.
.
.
.

.
.
.
.
.
.

.
.
.
.
.
.

.
.
.
.
.
.

.
.
.
.
.
.

.
.
.
.
.
.

.
.
.
.
.
.

.
.
.
.
.
.

. 1569
. 1569
. 1570
. 1571
. 1572
. 1574

Contents | xiii

Insert Annotation dialog box . . . . . . . . . . . . . . . . . . . . . . 1574
New Annotation Template Name dialog box . . . . . . . . . . . . . 1576

Chapter 16

Autodesk MapGuide Dialog Boxes . . . . . . . . . . . . . . . 1577
Publish to MapGuide dialog box . . . . . .
Publish to MapGuide Results dialog box . .
Define New Object Data Field dialog box .
New Layer dialog box . . . . . . . . . . . .
Autodesk MapGuide Export dialog box . .
Autodesk MapGuide Import dialog box . .

Chapter 17

.
.
.
.
.
.

.
.
.
.
.
.

.
.
.
.
.
.

.
.
.
.
.
.

.
.
.
.
.
.

.
.
.
.
.
.

.
.
.
.
.
.

. . . . . . .
. . . . . . .
. . . . . . .
. . . . . . .
dialog box .
. . . . . . .

.
.
.
.
.
.

.
.
.
.
.
.

.
.
.
.
.
.

.
.
.
.
.
.

.
.
.
.
.
.

.
.
.
.
.
.

.
.
.
.
.
.

.
.
.
.
.
.

.
.
.
.
.
.

.
.
.
.
.
.

.
.
.
.
.
.

.
.
.
.
.
.

.
.
.
.
.
.

.
.
.
.
.
.

. 1577
. 1578
. 1578
. 1579
. 1580
. 1582

.
.
.
.
.
.

.
.
.
.
.
.

.
.
.
.
.
.

.
.
.
.
.
.

.
.
.
.
.
.

. 1585
. 1587
. 1588
. 1591
. 1593
. 1595

.
.
.
.
.
.

.
.
.
.
.
.

.
.
.
.
.
.

.
.
.
.
.
.

.
.
.
.
.
.

. 1597
. 1598
. 1599
. 1600
. 1601
. 1602

Data Connect Dialog Boxes . . . . . . . . . . . . . . . . . . 1603
Create a Join / Edit a Join dialog box . . . .
Create Data Store dialog box . . . . . . . .
Edit Spatial Contexts . . . . . . . . . . . .
Feature Information dialog box . . . . . .
Feature Source Scope . . . . . . . . . . . .
Feature Source Administration dialog box .
Feature Source Connection dialog box . . .
Manage Layer Data dialog box . . . . . . .
Save Features dialog box . . . . . . . . . .
Select Coordinate System dialog box . . . .
User Credentials dialog box . . . . . . . .
View/Create Query Statement dialog box .

Chapter 20

.
.
.
.
.
.

Coordinate Systems Dialog Boxes . . . . . . . . . . . . . . . 1597
MAPDIST . . . . . . . . . . . . . . . . . . . . . . . . . .
Assign Global Coordinate System dialog box . . . . . . .
Select Drawings to Assign Coordinate System dialog box .
Coordinate Tracker Options Dialog Box . . . . . . . . . .
Track Coordinates Dialog Box . . . . . . . . . . . . . . .
Create Reference System Dialog Box . . . . . . . . . . . .

Chapter 19

.
.
.
.
.
.

Cleaning Up Maps Dialog Boxes . . . . . . . . . . . . . . . . 1585
Cleanup Methods Page .
Error Markers Page . . .
Select Actions Page . . .
Drawing Cleanup . . . .
Drawing Cleanup Errors
Select Objects Page . . .

Chapter 18

.
.
.
.
.
.

.
.
.
.
.
.
.
.
.
.
.
.

.
.
.
.
.
.
.
.
.
.
.
.

.
.
.
.
.
.
.
.
.
.
.
.

.
.
.
.
.
.
.
.
.
.
.
.

.
.
.
.
.
.
.
.
.
.
.
.

.
.
.
.
.
.
.
.
.
.
.
.

.
.
.
.
.
.
.
.
.
.
.
.

.
.
.
.
.
.
.
.
.
.
.
.

.
.
.
.
.
.
.
.
.
.
.
.

.
.
.
.
.
.
.
.
.
.
.
.

.
.
.
.
.
.
.
.
.
.
.
.

.
.
.
.
.
.
.
.
.
.
.
.

.
.
.
.
.
.
.
.
.
.
.
.

. 1603
. 1604
. 1605
. 1606
. 1606
. 1606
. 1607
. 1607
. 1608
. 1609
. 1610
. 1610

Data Table Dialog Box . . . . . . . . . . . . . . . . . . . . . 1613
Data Table dialog box . . . . . . . . . . . . . . . . . . . . . . . . . . 1613

xiv | Contents

Chapter 21

Digitizing Dialog Boxes . . . . . . . . . . . . . . . . . . . . . 1615
MAPDIGITIZE (Digitize command) . . . . . .
Data to Attach dialog box . . . . . . . . . . .
Digitize Setup dialog box . . . . . . . . . . . .
Link Template Data Entry dialog box . . . . .
Link Template Key Column Entry dialog box .

Chapter 22

.
.
.
.
.

.
.
.
.
.

.
.
.
.
.

.
.
.
.
.

.
.
.
.
.

.
.
.
.
.

.
.
.
.
.

.
.
.
.
.

.
.
.
.
.

.
.
.
.
.

. 1615
. 1616
. 1617
. 1619
. 1620

Display Manager Dialog Boxes . . . . . . . . . . . . . . . . . 1621
MAPDISPLAYLIBRARY (Display Library command) . . .
MAPDISPLAYMANAGER (Display Manager command) .
Alter Block Insertion dialog box . . . . . . . . . . . . .
Alter Line Format dialog box . . . . . . . . . . . . . . .
Alter Linetype dialog box . . . . . . . . . . . . . . . . .
Alter Lineweight dialog box . . . . . . . . . . . . . . .
Alter Plotstyle dialog box . . . . . . . . . . . . . . . . .
Copy Scale dialog box . . . . . . . . . . . . . . . . . .
Define Hatch dialog box . . . . . . . . . . . . . . . . .
Define Text dialog box . . . . . . . . . . . . . . . . . .
Edit Text Instance dialog box . . . . . . . . . . . . . . .
Import Old Theme dialog box . . . . . . . . . . . . . .
New Scale dialog box . . . . . . . . . . . . . . . . . . .
Range of Values dialog box . . . . . . . . . . . . . . . .
Select Display Element dialog box . . . . . . . . . . . .
Source Drawing Scope dialog box . . . . . . . . . . . .
Style Band dialog box . . . . . . . . . . . . . . . . . . .
Style Label dialog box . . . . . . . . . . . . . . . . . .
Style Line dialog box . . . . . . . . . . . . . . . . . . .
Style Point dialog box . . . . . . . . . . . . . . . . . .
Style Polygon dialog box . . . . . . . . . . . . . . . . .
Style Text Layer dialog box . . . . . . . . . . . . . . . .
Thematic Mapping dialog box . . . . . . . . . . . . . .
Thematic Values dialog box . . . . . . . . . . . . . . .
Theme dialog box . . . . . . . . . . . . . . . . . . . . .

Chapter 23

.
.
.
.
.

.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.

.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.

.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.

.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.

.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.

.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.

. 1621
. 1621
. 1622
. 1622
. 1623
. 1624
. 1624
. 1624
. 1625
. 1626
. 1627
. 1628
. 1629
. 1629
. 1631
. 1633
. 1633
. 1634
. 1636
. 1637
. 1639
. 1640
. 1642
. 1644
. 1645

Editing Maps Dialog Boxes . . . . . . . . . . . . . . . . . . . 1647
ADEFILLPOLYG (Fill Closed Polyline command) .
ADERSHEET (Rubber Sheet command) . . . . . . .
ADETRANSFORM (Transform command) . . . . .
MAPCOGO . . . . . . . . . . . . . . . . . . . . .
MAPFEATUREMERGE . . . . . . . . . . . . . . . .
MAPFEATURESPLIT . . . . . . . . . . . . . . . . .
MAPIGNORESPLITMERGERULES . . . . . . . . .
MAPLINESTRINGCREATE . . . . . . . . . . . . .
MAPLINESTRINGEDIT . . . . . . . . . . . . . . .

.
.
.
.
.
.
.
.
.

.
.
.
.
.
.
.
.
.

.
.
.
.
.
.
.
.
.

.
.
.
.
.
.
.
.
.

.
.
.
.
.
.
.
.
.

.
.
.
.
.
.
.
.
.

.
.
.
.
.
.
.
.
.

.
.
.
.
.
.
.
.
.

.
.
.
.
.
.
.
.
.

. 1647
. 1648
. 1649
. 1651
. 1651
. 1652
. 1653
. 1654
. 1655

Contents | xv

MAPMULTILINESTRINGCREATE . . . .
MAPMULTILINESTRINGEDIT . . . . .
MAPMULTIPOINTCREATE . . . . . . .
MAPMULTIPOINTEDIT . . . . . . . . .
MAPMULTIPOLYGONCREATE . . . . .
MAPMULTIPOLYGONEDIT . . . . . . .
MAPPOINTCREATE . . . . . . . . . . .
MAPPOLYGONCREATE . . . . . . . . .
MAPPOLYGONEDIT . . . . . . . . . .
Break Objects at Boundary dialog box .
COGO Input dialog box . . . . . . . .
Split and Merge Rules dialog box . . . .
Trim Objects At Boundary dialog box .

Chapter 24

.
.
.
.
.
.
.
.
.
.
.
.
.

.
.
.
.
.
.
.
.
.
.
.
.
.

.
.
.
.
.
.
.
.
.
.
.
.
.

.
.
.
.
.
.
.
.
.
.
.
.
.

.
.
.
.
.
.
.
.
.
.
.
.
.

.
.
.
.
.
.
.
.
.
.
.
.
.

.
.
.
.
.
.
.
.
.
.
.
.
.

.
.
.
.
.
.
.
.
.
.
.
.
.

.
.
.
.
.
.
.
.
.
.
.
.
.

.
.
.
.
.
.
.
.
.
.
.
.
.

.
.
.
.
.
.
.
.
.
.
.
.
.

.
.
.
.
.
.
.
.
.
.
.
.
.

.
.
.
.
.
.
.
.
.
.
.
.
.

. 1656
. 1658
. 1659
. 1659
. 1660
. 1662
. 1663
. 1663
. 1665
. 1666
. 1668
. 1669
. 1672

.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.

.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.

.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.

.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.

.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.

.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.

.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.

.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.

. 1675
. 1676
. 1678
. 1679
. 1679
. 1680
. 1682
. 1683
. 1684
. 1684
. 1685
. 1686
. 1686
. 1688
. 1689
. 1690
. 1690
. 1691
. 1691
. 1692
. 1693
. 1696
. 1696
. 1697

Import Export Dialog Boxes . . . . . . . . . . . . . . . . . . 1699
Attribute Data dialog box . . . . . . . . . .
Block Mapping dialog box . . . . . . . . .
Conflict Resolution dialog box . . . . . . .
Coordinate System Translation dialog box .

xvi | Contents

.
.
.
.
.
.
.
.
.
.
.
.
.

External Databases Dialog Boxes . . . . . . . . . . . . . . . . 1675
Associate Database Versions dialog box . . . . . . .
Column dialog box . . . . . . . . . . . . . . . . . .
Column Values dialog box . . . . . . . . . . . . . .
Configure Data Source dialog box . . . . . . . . . .
Connect Data Source dialog box . . . . . . . . . . .
Convert Object Data to Database Links dialog box .
Define Link Template dialog box (MAPOD2ASE) . .
Define Link Template dialog box (MAPDEFINELT) .
Source dialog box . . . . . . . . . . . . . . . . . . .
Disconnect Data Source dialog box . . . . . . . . .
Header/Footer dialog box . . . . . . . . . . . . . . .
Link Template Properties dialog box . . . . . . . . .
Page Setup dialog box . . . . . . . . . . . . . . . .
Select Database Version dialog box . . . . . . . . . .
Select Existing Link Template dialog box . . . . . .
Select Link Template dialog box . . . . . . . . . . .
Select Link Templates dialog box . . . . . . . . . . .
Select Query dialog box . . . . . . . . . . . . . . . .
Select Table dialog box (MAPBROWSETBL) . . . . .
Sort dialog box . . . . . . . . . . . . . . . . . . . .
Table Filter dialog box . . . . . . . . . . . . . . . .
Table Filter History dialog box . . . . . . . . . . . .
Table Properties dialog box . . . . . . . . . . . . . .
Zoom Scale dialog box . . . . . . . . . . . . . . . .

Chapter 25

.
.
.
.
.
.
.
.
.
.
.
.
.

.
.
.
.

.
.
.
.

.
.
.
.

.
.
.
.

.
.
.
.

.
.
.
.

.
.
.
.

.
.
.
.

.
.
.
.

.
.
.
.

.
.
.
.

.
.
.
.

.
.
.
.

. 1699
. 1701
. 1701
. 1703

Define Link Template dialog box (MAPIMPORT4) . . . . . . . . .
Export dialog box . . . . . . . . . . . . . . . . . . . . . . . . . .
Export to LandXML dialog box . . . . . . . . . . . . . . . . . .
Object Class Attribute Mapping dialog box . . . . . . . . . . . .
Import dialog box . . . . . . . . . . . . . . . . . . . . . . . . .
Import Data Options dialog box (MAPIMPORT4) . . . . . . . . .
Import ASCII Points dialog box . . . . . . . . . . . . . . . . . .
LandXML Coordinate System dialog box . . . . . . . . . . . . .
Layer Mapping dialog box (MAPIMPORT4) . . . . . . . . . . . .
Layer Mapping dialog box (Import) . . . . . . . . . . . . . . . .
Link Template to Export dialog box . . . . . . . . . . . . . . . .
Map Data Elements to Block Name dialog box (MAPIMPORT4) .
Map Data Elements to Layers dialog box (MAPIMPORT4) . . . . .
Map Data Elements to SQL dialog box (MAPIMPORT4) . . . . . .
Map Export dialog box . . . . . . . . . . . . . . . . . . . . . . .
Map Export Options dialog box . . . . . . . . . . . . . . . . . .
New Property Data Type dialog box . . . . . . . . . . . . . . . .
Feature Class Property Mapping dialog box . . . . . . . . . . . .
Property Value Mapping . . . . . . . . . . . . . . . . . . . . . .
Select Attributes dialog box . . . . . . . . . . . . . . . . . . . . .
Map Import dialog box . . . . . . . . . . . . . . . . . . . . . . .
New Layer dialog box . . . . . . . . . . . . . . . . . . . . . . . .
Object Data Table dialog box (Export) . . . . . . . . . . . . . . .
Object Data Table dialog box (Import) . . . . . . . . . . . . . . .
Object Data/External Database Mapping dialog box . . . . . . . .
Point Mapping dialog box . . . . . . . . . . . . . . . . . . . . .
Design File Input Settings . . . . . . . . . . . . . . . . . . . . .
Design File Output Settings . . . . . . . . . . . . . . . . . . . . .

Chapter 26

. 1704
. 1704
. 1709
. 1710
. 1711
. 1715
. 1716
. 1717
. 1718
. 1719
. 1720
. 1720
. 1721
. 1722
. 1723
. 1725
. 1726
. 1727
. 1728
. 1729
. 1729
. 1730
. 1730
. 1731
. 1732
. 1733
. 1734
. 1736

Managing Data Dialog Boxes . . . . . . . . . . . . . . . . . 1739
Schema Editor . . . . . . . . . . . .
Bulk Copy . . . . . . . . . . . . . . .
Create Data Store Dialog Box . . . . .
Manage Versions dialog box . . . . .
Resolve Feature Conflicts dialog box .

Chapter 27

.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.

.
.
.
.
.

.
.
.
.
.

.
.
.
.
.

.
.
.
.
.

.
.
.
.
.

.
.
.
.
.

.
.
.
.
.

.
.
.
.
.

.
.
.
.
.

.
.
.
.
.

.
.
.
.
.

.
.
.
.
.

.
.
.
.
.

.
.
.
.
.

.
.
.
.
.

.
.
.
.
.

. 1739
. 1744
. 1747
. 1748
. 1750

Metadata Dialog Boxes . . . . . . . . . . . . . . . . . . . . . 1751
Metadata Viewer . . . . . . . . . . . .
Metadata Editor . . . . . . . . . . . . .
Attribute Editor . . . . . . . . . . . . .
Metadata Options dialog box . . . . . .
Import Metadata Options dialog box .
Export Metadata dialog box . . . . . .
Create Metadata Template dialog box .
Compound Element Metadata Editors .

.
.
.
.
.
.
.
.

.
.
.
.
.
.
.
.

.
.
.
.
.
.
.
.

.
.
.
.
.
.
.
.

.
.
.
.
.
.
.
.

.
.
.
.
.
.
.
.

.
.
.
.
.
.
.
.

.
.
.
.
.
.
.
.

.
.
.
.
.
.
.
.

.
.
.
.
.
.
.
.

.
.
.
.
.
.
.
.

.
.
.
.
.
.
.
.

.
.
.
.
.
.
.
.

.
.
.
.
.
.
.
.

.
.
.
.
.
.
.
.

. 1751
. 1754
. 1756
. 1756
. 1757
. 1757
. 1758
. 1758

Contents | xvii

Chapter 28

Object Classification Dialog Boxes . . . . . . . . . . . . . . . 1779
MAPSELECTCLASSIFIED (Select Classified Objects command) . .
MAPSELECTUNCLASSIFIED (Select Unclassified Objects
command) . . . . . . . . . . . . . . . . . . . . . . . . . . . .
MAPSELECTUNDEFINED (Select Undefined Objects command) .
Attach Object Class Definition File dialog box . . . . . . . . . . .
Classified Property List dialog box . . . . . . . . . . . . . . . . .
Classify dialog box . . . . . . . . . . . . . . . . . . . . . . . . .
Classify Objects dialog box . . . . . . . . . . . . . . . . . . . . .
Color Range Editor dialog box . . . . . . . . . . . . . . . . . . .
Define Object Classification dialog box . . . . . . . . . . . . . .
Layer Range Editor dialog box . . . . . . . . . . . . . . . . . . .
Linetype Range Editor dialog box . . . . . . . . . . . . . . . . .
Lineweight Range Editor dialog box . . . . . . . . . . . . . . . .
New Object Class Definition File dialog box . . . . . . . . . . . .
New Property dialog box . . . . . . . . . . . . . . . . . . . . . .
Plotstyle Range Editor dialog box . . . . . . . . . . . . . . . . .

Chapter 29

.
.
.
.
.

.
.
.
.
.

.
.
.
.
.

.
.
.
.
.

.
.
.
.
.

.
.
.
.
.

.
.
.
.
.

.
.
.
.
.

.
.
.
.
.

.
.
.
.
.

.
.
.
.
.

.
.
.
.
.

. 1780
. 1780
. 1781
. 1782
. 1782
. 1783
. 1783
. 1785
. 1789
. 1789
. 1790
. 1790
. 1791
. 1792

.
.
.
.
.

.
.
.
.
.

.
.
.
.
.

. 1793
. 1794
. 1795
. 1797
. 1797

Polygon Object Dialog Boxes . . . . . . . . . . . . . . . . . 1817
MAPPOLYLINETOPOLYGON (Convert Polylines to Polygons
command) . . . . . . . . . . . . . . . . . . . . . . . . . .
MAPUSEMPOLYGON . . . . . . . . . . . . . . . . . . . . . .
MAPMPEDIT (Edit Polygon command) . . . . . . . . . . . .
MPSPLIT (Split Polygon command) . . . . . . . . . . . . . .
Create Polygons From Topology dialog box . . . . . . . . . .
Polygon Fill Properties dialog box . . . . . . . . . . . . . . .

Chapter 32

.
.
.
.
.
.
.
.
.
.
.
.
.
.

Object Data Dialog Boxes . . . . . . . . . . . . . . . . . . . 1793
Attach Object Data dialog box . . . . .
Attach/Detach Object Data dialog box .
Edit Object Data dialog box . . . . . .
Rename Table dialog box . . . . . . . .
Select Link Template Key dialog box . .

Chapter 31

. . 1779

.
.
.
.
.
.

.
.
.
.
.
.

.
.
.
.
.
.

. 1817
. 1818
. 1818
. 1821
. 1823
. 1824

Printing and Publishing Dialog Boxes . . . . . . . . . . . . . 1827
Create Map Book/Edit Map Book dialog box . . . . . .
Identify Map Book Template Placeholders dialog box .
Map Book Properties dialog box . . . . . . . . . . . .
Tile Properties dialog box . . . . . . . . . . . . . . . .
Select Plot Set to Convert dialog box . . . . . . . . . .
Map Information dialog box . . . . . . . . . . . . . .
Plot Map Set dialog boxes . . . . . . . . . . . . . . .

xviii | Contents

.
.
.
.
.
.
.

.
.
.
.
.
.
.

.
.
.
.
.
.
.

.
.
.
.
.
.
.

.
.
.
.
.
.
.

.
.
.
.
.
.
.

.
.
.
.
.
.
.

. 1827
. 1829
. 1830
. 1831
. 1831
. 1832
. 1833

Chapter 33

Query Dialog Boxes . . . . . . . . . . . . . . . . . . . . . . . 1835
Alternate Font dialog box . . . . . . . . .
Change Category dialog box . . . . . . . .
Data Condition dialog box . . . . . . . . .
Define New Category dialog box . . . . . .
Define Query dialog box . . . . . . . . . .
Define Range Table dialog box . . . . . . .
Define Text dialog box . . . . . . . . . . .
Hatch Options dialog box . . . . . . . . .
Load Internal Query dialog box . . . . . .
Location Condition dialog box . . . . . . .
New Range Table dialog box . . . . . . . .
Output Report Options dialog box . . . . .
Property Condition dialog box . . . . . . .
Query Library Administration dialog box .
Rename Category dialog box . . . . . . . .
Rename Range Table dialog box . . . . . .
Run Library Query dialog box . . . . . . .
Save Current Query dialog box . . . . . . .
Set Property Alterations dialog box . . . .
SQL Condition History dialog box . . . . .
SQL Link Condition dialog box . . . . . .
Type SQL Condition dialog box . . . . . .

Chapter 34

.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.

.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.

.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.

.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.

.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.

.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.

.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.

.
.
.
.
.
.
.
.
.

.
.
.
.
.
.
.
.
.

.
.
.
.
.
.
.
.
.

.
.
.
.
.
.
.
.
.

.
.
.
.
.
.
.
.
.

.
.
.
.
.
.
.
.
.

.
.
.
.
.
.
.
.
.

.
.
.
.
.
.
.
.
.

.
.
.
.
.
.
.
.
.

.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.

.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.

.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.

.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.

. 1835
. 1835
. 1836
. 1838
. 1838
. 1842
. 1846
. 1847
. 1848
. 1849
. 1852
. 1852
. 1855
. 1858
. 1860
. 1860
. 1861
. 1862
. 1863
. 1866
. 1866
. 1870

.
.
.
.
.
.
.
.
.

.
.
.
.
.
.
.
.
.

.
.
.
.
.
.
.
.
.

.
.
.
.
.
.
.
.
.

.
.
.
.
.
.
.
.
.

. 1873
. 1873
. 1875
. 1875
. 1877
. 1877
. 1878
. 1879
. 1883

Saving Objects Dialog Boxes . . . . . . . . . . . . . . . . . . 1885
ADEREMOBJS (Remove Objects from Save Set command)
ADESELOBJS (Select Objects for Save Back command) . .
ADESHOWOBJS (Show Objects in Save Set command) . .
Save Objects to Source Drawings dialog box . . . . . . . .
Who Has It Information dialog box . . . . . . . . . . . .

Chapter 36

.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.

Raster Image Dialog Boxes . . . . . . . . . . . . . . . . . . . 1873
MAPIFRAME (Image Frame command) .
Image Correlation dialog box . . . . . .
Image Information dialog box . . . . . .
Image Management dialog box . . . . . .
Image Management Layout dialog box .
Image Select dialog box . . . . . . . . . .
Insert Image dialog box . . . . . . . . . .
Raster Extension Options dialog box . . .
Transparency Color dialog box . . . . . .

Chapter 35

.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.

.
.
.
.
.

.
.
.
.
.

.
.
.
.
.

.
.
.
.
.

.
.
.
.
.

. 1885
. 1886
. 1887
. 1887
. 1889

Survey Dialog Boxes . . . . . . . . . . . . . . . . . . . . . . 1891
New Data Store dialog box . . . . . . . . . . . . . . . . . . . . . . . 1891

Contents | xix

Project Properties dialog box . . . .
Survey Properties dialog box . . . .
Point Group Properties dialog box .
Field Note Editor . . . . . . . . . .
Create Surface dialog box . . . . . .
Source Data dialog box . . . . . . .
Point Cloud Manager . . . . . . . .
Surface Manager . . . . . . . . . .
Filter Point Cloud dialog box . . . .
Grid Parameters dialog box . . . . .
Point Cloud Style dialog box . . . .

Chapter 37

.
.
.
.
.
.
.
.
.
.
.

.
.
.
.
.
.
.
.
.
.
.

.
.
.
.
.
.
.
.
.
.
.

.
.
.
.
.
.
.
.
.
.
.

.
.
.
.
.
.
.
.
.
.
.

.
.
.
.
.
.
.
.
.
.
.

.
.
.
.
.
.
.
.
.
.
.

.
.
.
.
.
.
.
.
.
.
.

.
.
.
.
.
.
.
.
.
.
.

.
.
.
.
.
.
.
.
.
.
.

.
.
.
.
.
.
.
.
.
.
.

.
.
.
.
.
.
.
.
.
.
.

.
.
.
.
.
.
.
.
.
.
.

.
.
.
.
.
.
.
.
.
.
.

.
.
.
.
.
.
.
.
.
.
.

. 1892
. 1893
. 1894
. 1894
. 1895
. 1897
. 1897
. 1898
. 1900
. 1901
. 1902

.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.

.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.

.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.

.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.

.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.

.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.

.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.

.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.

. 1905
. 1905
. 1906
. 1906
. 1906
. 1907
. 1908
. 1908
. 1908
. 1917
. 1918
. 1920
. 1922
. 1923
. 1926
. 1928
. 1929
. 1931
. 1931
. 1933
. 1933
. 1934
. 1934
. 1936
. 1937

Topology Dialog Boxes . . . . . . . . . . . . . . . . . . . . . 1939
MAPEDITDIR (Edit Direction command) . . . . . .
MAPEDITRES1 (Edit Direct Resistance command) . .
MAPEDITRES2 (Edit Reverse Resistance command) .
MAPLINKADD (Add Topology Link command) . . .
MAPLINKDEL (Delete Topology Link command) . .

xx | Contents

.
.
.
.
.
.
.
.
.
.
.

Setting Map Options Dialog Boxes . . . . . . . . . . . . . . 1905
MAPABOUT (About AutoCAD Map 3D command) .
MAPAUTOCHECKOUT . . . . . . . . . . . . . . . .
MAPDOCKWSPACE (Dock Task Pane command) . .
MAPEDITSETAUTO . . . . . . . . . . . . . . . . . .
MAPFEATUREEDITTOOLS . . . . . . . . . . . . . .
MAPWSFOCUS . . . . . . . . . . . . . . . . . . . .
MAPWSPACE (Task Pane command) . . . . . . . . .
MAPWSREFRESH . . . . . . . . . . . . . . . . . . .
AutoCAD Map Options dialog box . . . . . . . . . .
Coordinate Geometry Setup dialog box . . . . . . .
Define/Modify Drawing Set dialog box . . . . . . .
Drawing Maintenance dialog box . . . . . . . . . .
Drawing Set Display Filter dialog box . . . . . . . .
Drawing Settings dialog box . . . . . . . . . . . . .
Drawing Statistics dialog box . . . . . . . . . . . . .
Drive Alias Administration dialog box . . . . . . . .
Feature Editing Options dialog box . . . . . . . . .
Generate Object Data Index dialog box . . . . . . .
Index Maintenance dialog box . . . . . . . . . . . .
Remove Object Data Index dialog box . . . . . . . .
Select Alias dialog box . . . . . . . . . . . . . . . .
Undefined Alias Referenced dialog box . . . . . . .
User Administration dialog box . . . . . . . . . . .
User Information dialog box . . . . . . . . . . . . .
User Login dialog box . . . . . . . . . . . . . . . .

Chapter 38

.
.
.
.
.
.
.
.
.
.
.

.
.
.
.
.

.
.
.
.
.

.
.
.
.
.

.
.
.
.
.

.
.
.
.
.

.
.
.
.
.

.
.
.
.
.

.
.
.
.
.

. 1939
. 1939
. 1940
. 1941
. 1942

MAPLINKEDIT (Edit Topology Link command) . . . . . . . . . . . . 1943
MAPLINKREV (Reverse Direction of Topology Link command) . . . . 1943
MAPLINKUPD (Update Topology Link command) . . . . . . . . . . 1944
MAPNODADD (Add Topology Node command) . . . . . . . . . . . . 1944
MAPNODDEL (Delete Topology Node command) . . . . . . . . . . . 1945
MAPNODEDIT (Edit Topology Node command) . . . . . . . . . . . . 1946
MAPNODINS (Insert Topology Node command) . . . . . . . . . . . 1947
MAPNODUPD (Update Topology Node command) . . . . . . . . . . 1948
MAPPOLYADD (Add Topology Polygon command) . . . . . . . . . . 1948
MAPPOLYDEL (Delete Topology Polygon command) . . . . . . . . . 1949
MAPPOLYUPD (Update Topology Polygon command) . . . . . . . . 1949
AutoCAD Map Confirmation dialog box - MAPTOPOADMIN
Delete . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1950
AutoCAD Map Confirmation dialog box - MAPTOPOEDIT . . . . . . 1951
AutoCAD Map Confirmation dialog box - MAPTOPOADMIN
Rename . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1951
Centroid Objects dialog box . . . . . . . . . . . . . . . . . . . . . . 1952
Create Closed Polylines dialog box . . . . . . . . . . . . . . . . . . . 1953
Create Network Topology - Create New Nodes dialog box . . . . . . 1955
Create Network Topology - Select Links dialog box . . . . . . . . . . 1956
Create Network Topology - Select Nodes dialog box . . . . . . . . . . 1957
Create Node Topology - Select Nodes dialog box . . . . . . . . . . . 1959
Create Polygon Topology - Create New Centroids dialog box . . . . . 1960
Create Polygon Topology - Create New Nodes dialog box . . . . . . . 1961
Create Polygon Topology - Select Centroids dialog box . . . . . . . . 1962
Create Polygon Topology - Select Links dialog box . . . . . . . . . . 1964
Create Polygon Topology - Select Nodes dialog box . . . . . . . . . . 1965
Create Polygon Topology - Set Error Markers dialog box . . . . . . . 1967
Create Topology - Select Topology dialog box . . . . . . . . . . . . . 1969
Create Topology Warning dialog box . . . . . . . . . . . . . . . . . 1971
Delete Topology dialog box . . . . . . . . . . . . . . . . . . . . . . 1971
Edit Direct Resistance dialog box . . . . . . . . . . . . . . . . . . . . 1972
Edit Direction dialog box . . . . . . . . . . . . . . . . . . . . . . . . 1972
Edit Reverse Resistance dialog box . . . . . . . . . . . . . . . . . . . 1973
Edit Topology dialog box . . . . . . . . . . . . . . . . . . . . . . . . 1973
Link Objects dialog box . . . . . . . . . . . . . . . . . . . . . . . . 1975
Load Topology Conflict dialog box . . . . . . . . . . . . . . . . . . 1976
Load Topology dialog box . . . . . . . . . . . . . . . . . . . . . . . 1976
Load Topology From Source Drawing dialog box . . . . . . . . . . . 1978
Network Topology Analysis - Choose Locations dialog box . . . . . . 1978
Network Topology Analysis - Output dialog box . . . . . . . . . . . . 1980
Network Topology Analysis - Resistance and Direction dialog
box . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1981
Network Topology Analysis - Select Method dialog box . . . . . . . . 1983
Node Objects dialog box - Network and Polygon Topologies) . . . . . 1985
Node Objects dialog box (Node topology) . . . . . . . . . . . . . . . 1987

Contents | xxi

Rename Topology dialog box . . . . . . . . . . . . . . . . . . . . . . 1988
Select Data dialog box - Topology Overlay . . . . . . . . . . . . . . . 1989
Topology Buffer - Create New Centroids and Nodes dialog box . . . . 1990
Topology Buffer - New Topology dialog box . . . . . . . . . . . . . . 1991
Topology Buffer - Set Buffer Distance dialog box . . . . . . . . . . . 1992
Topology Dissolve - Create New Centroids and Nodes dialog box . . 1994
Topology Dissolve - Create Nodes dialog box . . . . . . . . . . . . . 1995
Topology Dissolve - New Topology dialog box . . . . . . . . . . . . . 1996
Topology Dissolve - Object Data dialog box . . . . . . . . . . . . . . 1997
Topology Dissolve - Set Parameter dialog box . . . . . . . . . . . . . 1998
Topology Overlay Analysis - Analysis Type dialog box . . . . . . . . 1999
Topology Overlay Analysis - Create New Centroids and Nodes dialog
box . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2002
Topology Overlay Analysis - Create Nodes dialog box . . . . . . . . . 2003
Topology Overlay Analysis - Output Topology dialog box . . . . . . . 2004
Topology Overlay Analysis - Output Attributes dialog box . . . . . . 2006
Topology Overlay Analysis - Select Overlay Topology dialog box . . . 2007
Topology Query dialog box . . . . . . . . . . . . . . . . . . . . . . . 2008
Topology Query Result dialog box . . . . . . . . . . . . . . . . . . . 2010
Topology Selection dialog box . . . . . . . . . . . . . . . . . . . . . 2011
Topology Statistics dialog box . . . . . . . . . . . . . . . . . . . . . 2011

Chapter 39

Viewing Dialog Boxes . . . . . . . . . . . . . . . . . . . . . 2013
Quick View Drawings dialog box . .
Zoom Drawing Extents dialog box .
Define Document View dialog box .
Define Key View dialog box . . . .
Document View dialog box . . . . .
Key View dialog box . . . . . . . .

Chapter 40

.
.
.
.
.
.

.
.
.
.
.
.

.
.
.
.
.
.

.
.
.
.
.
.

.
.
.
.
.
.

.
.
.
.
.
.

.
.
.
.
.
.

.
.
.
.
.
.

.
.
.
.
.
.

.
.
.
.
.
.

.
.
.
.
.
.

.
.
.
.
.
.

.
.
.
.
.
.

.
.
.
.
.
.

.
.
.
.
.
.

.
.
.
.
.
.

.
.
.
.
.
.

. 2013
. 2014
. 2015
. 2017
. 2019
. 2019

Workflow Designer . . . . . . . . . . . . . . . . . . . . . . . 2021
MAPWORKFLOWOPEN . . . . . . . . . .
MAPWORKFLOWRUN . . . . . . . . . . .
Workflow Designer . . . . . . . . . . . . .
Workflow Activity Input dialog boxes . . .
Add Feature Layer . . . . . . . . . . . . . .
Add Group . . . . . . . . . . . . . . . . .
Add Map . . . . . . . . . . . . . . . . . .
Change Feature Layer Properties . . . . . .
Change Feature Layer Symbol . . . . . . .
Change Group Properties . . . . . . . . . .
Connect To Data Store . . . . . . . . . . .
Create Buffer Layer . . . . . . . . . . . . .
Display Feature Attributes . . . . . . . . .
Highlight Features/Remove Highlighting .

xxii | Contents

.
.
.
.
.
.
.
.
.
.
.
.
.
.

.
.
.
.
.
.
.
.
.
.
.
.
.
.

.
.
.
.
.
.
.
.
.
.
.
.
.
.

.
.
.
.
.
.
.
.
.
.
.
.
.
.

.
.
.
.
.
.
.
.
.
.
.
.
.
.

.
.
.
.
.
.
.
.
.
.
.
.
.
.

.
.
.
.
.
.
.
.
.
.
.
.
.
.

.
.
.
.
.
.
.
.
.
.
.
.
.
.

.
.
.
.
.
.
.
.
.
.
.
.
.
.

.
.
.
.
.
.
.
.
.
.
.
.
.
.

.
.
.
.
.
.
.
.
.
.
.
.
.
.

.
.
.
.
.
.
.
.
.
.
.
.
.
.

.
.
.
.
.
.
.
.
.
.
.
.
.
.

. 2021
. 2021
. 2022
. 2025
. 2028
. 2029
. 2030
. 2030
. 2031
. 2033
. 2034
. 2036
. 2037
. 2038

List Current Connections . . .
List Feature Classes . . . . . .
List Feature Layer Properties .
Load Layer File . . . . . . . .
Perform Overlay . . . . . . .
Remove Connection . . . . .
Remove Feature Layer . . . .
Remove Group . . . . . . . .
Remove Map . . . . . . . . .
Rename Map . . . . . . . . .
Run AutoCAD Command . .
Run Workflow . . . . . . . .
Save Layer File . . . . . . . .
Select Features . . . . . . . .
Switch Map . . . . . . . . . .
Zoom To Extents . . . . . . .

Chapter 41

.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.

.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.

.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.

.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.

.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.

.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.

.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.

.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.

.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.

.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.

.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.

.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.

.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.

.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.

.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.

.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.

.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.

.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.

.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.

.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.

. 2039
. 2039
. 2040
. 2040
. 2041
. 2043
. 2044
. 2044
. 2045
. 2045
. 2046
. 2047
. 2048
. 2049
. 2050
. 2050

Programming Interfaces . . . . . . . . . . . . . . . . . . . . 2053
Glossary . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2055
Index . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2081

Contents | xxiii

xxiv

Getting Started Guide

1

This section provides the following:
■

An introduction to the main concepts and features of AutoCAD Map 3D

■

A description of resources for learning more about the program

■

An overview of the available sample data and templates

For a tutorial that provides a tour of the application and leads you through the basic steps of
creating a map, see Introducing AutoCAD Map 3D 2011.
For a general overview of working with geospatial data, see Best Practices for Managing Geospatial
Data.

Overview of AutoCAD Map 3D Concepts
AutoCAD Map 3D is the leading engineering solution for creating and managing
spatial data. AutoCAD Map 3D bridges the gap between Computer Aided Design
(CAD) and Geographic Information Systems (GIS). AutoCAD Map 3D provides
direct access to the leading data formats used in design and GIS. Use AutoCAD®
tools to maintain a broad variety of geospatial information. Integrate GIS
functions in your design processes in a single environment for more efficient
workflows. The results are better designs, increased productivity, and better data
quality.

1

The AutoCAD Map 3D Window

The main elements of the AutoCAD Map 3D product window

The Ribbon. The commands for your mapping tasks.
Data Table and Data View. Display attribute data in a table format. Use
the Data Table (page 2059) for viewing spatial data and attribute data for
geospatial features; use the Data View for viewing attribute data linked to
drawing objects.
The Task Pane. Use the Task Pane (page 2076) tabs for the following:
■

Managing maps and map data

■

Displaying and styling data layers

■

Bringing in and managing survey data

■

Publishing multi-page map books

Status Bars. Check the current cursor location, change exaggeration and
scale settings, switch between 2D and 3D, and use common tools.
Dynamic input. Launch commands and respond to prompts at the cursor
location. For experienced AutoCAD users, the command interface allows for
efficient editing using keyboard entry.

2 | Chapter 1 Getting Started Guide

Tell me more
■

To switch between Tool-based, Task-based, and Map
Classic workspaces (page 86)

■

To access the Data Table (page 1127)

■

To use the Data View (page 1047)

■

To set Task Pane options (page 221)

■

To add an item to the status bar

■

To use dynamic input

■

Lesson 2: Take a Quick Tour of AutoCAD Map 3D

■

Set Up Your Work Environment

■

Customizing Your Work Environment (page 84)

■

Workspaces

■

Setting Options (page 216)

Procedures

Tutorial

Workflow

Related topics

Map Files and Data Sources
What is a map?
An AutoCAD Map 3D map file is a window onto your information. It has links
to all the data and images you include in your map:
■

Standard AutoCAD objects

■

Spatial data from a database or file

■

Raster images

■

Attribute data

You can use multiple sources in a single map file. For example, attach a DWG
file to your map file, query in some of its layers, and add them as Display
Manager layers. Then, connect to a SHP file that becomes another layer in

Map Files and Data Sources | 3

your display map, or add features from a geospatial database. The map file
remembers all the connections and which objects you added to the map file.

This map contains a photo raster image, building data stored in a SHP file, and parcel
data stored in a DWG file.

What is the Display Manager?
You coordinate the data in your map using the Display Manager.
Each set of data is a Display Manager layer. For example, a raster layer can
display an aerial photograph of a city. An SDF layer can display an SDF file
representing parcels within the city. A drawing layer can display objects from
the current drawing or from an attached drawing file.
Display Manager layers are not the same as AutoCAD layers.
In the Display Manager, you can style each layer separately, change the order
of the layers, and view and plot the result. You can specify line styles, color,
and weights; fill colors and styles; labels; and more.

What is in a map file?
Each AutoCAD Map 3D map file contains the information for connecting to
the data sources, drawings, raster images, and attribute data for its contents.

4 | Chapter 1 Getting Started Guide

It also stores queries, object data, styling information, printing layouts, and
any customized settings.

Each data set is a layer in the map.

Whenever you open a map file, all this information is immediately available
to you.

What is a data source?
A data source is any source of information that can be used in a map. It can
be any of the following:
■

A spatial database created with Oracle, SQL Server, or another relational
database management system

■

A file-based spatial data store, such as Autodesk SDF or ESRI SHP

■

An AutoCAD drawing file

■

A spreadsheet or other ODBC source that contains attribute data

■

A raster image, such as a TIFF or DEM file

The relationship between the sources and the map file is dynamic. If the data
in the source file changes, those changes are updated in your map file. When
you change the objects in your map file, you can save those changes back to
their original sources.

Map Files and Data Sources | 5

What can you do with a finished map?
You can share maps even with viewers who do not have access to AutoCAD
Map 3D. For example, you can share maps in the following ways:
■

Print maps

■

Save maps as DWFs (which can be viewed with Autodesk Design Review,
available from the Autodesk web site)

■

Publish maps to MapGuide

■

Convert all the data to AutoCAD DWG data

■

Post maps on the web

Publish to a MapGuide server to share a map on the web.

AutoCAD cannot read some information in an AutoCAD Map 3D file, such
as links to external spatial data. To share a map with an AutoCAD user, convert
all the data in your map to DWG format, including data from spatial data
stores.

Tell me more
■

Show me how to publish a map to a MapGuide server.

■

To access data through FDO (page 308)

■

To bring drawing objects into your map (page 354)

■

To create a map with styled feature layers (page 641)

Video

Procedures

6 | Chapter 1 Getting Started Guide

■

To create a map with styled drawing layers (page 654)

■

To publish your map (page 1361)

■

Lesson 3: Get Started

■

Create a Map Start to Finish

■

Bring in data from multiple image files to a single layer.

■

Publish a completed map to a MapGuide server.

■

Overview of the Display Manager (page 634)

■

Overview of Publishing and Sharing (page 1357)

■

Converting and Exporting (page 1403)

Tutorial

Workflow

GIS Skills

Related topics

Map Files and Display Maps
A map file is a drawing that connects to all the sources for your map: geospatial
features, drawing objects, raster images, and attribute data.
Each map file can contain multiple display maps (for printing or for online
distribution), in which you can selectively hide or show items in your map.
Maps exist only as conceptual structures, and are not separate entities or files.
You can apply styles to the items in a display map, based on data, layers, and
other criteria. Changes that you make to the appearance of items in a map do
not affect the actual data in your map file.

Map Files and Display Maps | 7

This map has Display Manager layers for railroads, roads, parks, the river, and
parcels. Each is styled differently. For an introduction to the parts of the AutoCAD
Map 3D window, see Lesson 2: Take a Quick Tour of AutoCAD Map 3D.

Tell me more
■

Show me how to theme a parcels layer.

■

To create multiple display maps (page 639)

■

To create a map with styled feature layers (page 641)

■

To create a map with styled drawing layers (page 654)

■

Lesson 3: Get Started

■

Use Themes to Reveal Patterns in Data

■

Choose the right type of theme to suit your data.

Video

Procedures

Tutorial

Workflow

GIS Skills

8 | Chapter 1 Getting Started Guide

Related topics

■

Overview of the Display Manager (page 634)

■

Creating Multiple Display Maps (page 638)

Geospatial Features and Drawing Objects
Use AutoCAD Map 3D to work with both CAD objects and geospatial features.
You can combine them in your map, edit either type of data, and move data
from one format to the other.

Combine data from drawing files and geospatial data stores.

Geospatial Features
A feature is the spatial description of a real-world entity such as a road or a
utility pole. Features are stored in a spatial database or in file formats such as
Oracle, ArcSDE, SDF, or SHP. The spatial database or file is referred to as a
feature source.
Using Open Source FDO Data Access Technology, AutoCAD Map 3D natively
accesses spatial data. To work with features, connect to the database or file
and then select the sets of features (feature classes) to include in your map.

Drawing Objects
A drawing object is any object in a DWG file, such as a line, circle, or closed
polyline.
Create and store drawing objects in the current map, or attach a DWG file to
the current map and query in its objects. AutoCAD Map 3D remembers the

Geospatial Features and Drawing Objects | 9

original location of the objects and saves edited objects back to their original
file.

Tell me more
■

Show me how to bring in objects from a set of attached DWG
files.

■

Show me how to bring in features from a feature class.

■

Show me how to bring in data from AutoCAD Civil 3D.

■

To access data through FDO (page 308)

■

To bring drawing objects into your map (page 354)

■

Tutorial: Building a Map

■

Create a Map Start to Finish

■

Bring in data from multiple image files to a single layer.

■

Bring in a subset of features using a query.

■

Overview of Bringing In Data (page 291)

■

Overview of Creating and Editing Data (page 681)

Video

Procedures

Tutorial

Workflow

GIS Skills

Related topics

Overview of AutoCAD Map 3D Features
AutoCAD Map 3D is built on the latest release of AutoCAD® software and is
enhanced with a suite of geospatial tools. It has all the features and
functionality of AutoCAD, which is automatically installed with AutoCAD
Map 3D.

10 | Chapter 1 Getting Started Guide

Create and Assign Geographic Coordinate Systems
Work with more than 4,000 real-world coordinate systems or define your own
custom coordinate system. Use tools such as transform, rubber sheeting, and
track coordinates to georeference your AutoCAD design data accurately.

Coordinate systems determine how your map is projected in two dimensions.

Assign a coordinate system to the drawing to locate it in
real space.

Create and Assign Geographic Coordinate Systems | 11

You can enter or select the appropriate coordinate system
for the map.

Tell me more
■

Show me how to set a map to the coordinate system of
the data.

■

To assign coordinate systems (page ?)

■

Exercise 1: Create a map

■

Work with Coordinate Systems

■

Reproject incoming data to a new coordinate system.

■

Overview of Coordinate Systems (page 143)

Video

Procedures

Tutorial

Workflow

GIS Skills

Related topics

Combine Geospatial Features and Drawing Objects
AutoCAD Map 3D software integrates computer-aided design (CAD) and
geographic information system (GIS) data. After working with the data, you

12 | Chapter 1 Getting Started Guide

can maintain it in a DWG™ file, convert it to an external file, or move it into
a spatial database.

DWG Data
Maps are saved in DWG format. Open an AutoCAD drawing directly, or attach
drawings and query in just the objects you want.
■

Combine feature data from a spatial
database with objects from CAD
drawings, raw geometry from a
spreadsheet, and raster images.

■

Features and objects are automatically
transformed to the coordinate system
used in the map.

Spatial Data
Connect to the data to include.
■

Directly access and edit spatial data in
files and databases.

■

Without data translations, data integrity is ensured.

■

Connect to publicly available web services such as Web Map Services (WMS)
and Web Feature Services (WFS).

Combine Geospatial Features and Drawing Objects | 13

Raster Images
Add aerial photos, contour maps, and DEM surfaces.
■

Georeferenced images are displayed
in the correct location.

■

Surface rasters are draped over your
elevations.

Connect to the data from the Task pane.

14 | Chapter 1 Getting Started Guide

■

Select the data source.

■

Select the feature classes to add to
your map.

■

Each feature class you add becomes a
layer in the Display Manager.

The layers in Display Manager (page 2060) represent the data
sources to which this map is connected. The Data Table (page
2059) lets you edit the information for individual items in a layer.

Import Data
You can import data, rather than connecting to it. Importing breaks the
connection to the source and adds a “snapshot” of the data to your map. If
the data changes after that, you will not see any changes in your map unless
you import the data again. There is no way to update imported data in its
source. Similarly, when you export data, you export the current data only.
The connection to the live data is lost.

Combine Geospatial Features and Drawing Objects | 15

When you import data, you can structure it in your map. Assign data to layers
or object classes. Add attribute data to object data tables. Assign a coordinate
system. Specify that points come in as points, text, or blocks.

You can read, write, and convert data between standard formats. For a list of
supported formats, see the following topics:
■

Bringing in GIS Features (page 303)

■

Supported Import Formats (page 387)

■

Supported Export Formats (page 1412)

Integrate Database Information
Join CAD objects to commonly used databases using link templates. Join
geospatial data to ODBC data stores and databases using joins.

16 | Chapter 1 Getting Started Guide

When you join a database to a feature layer, the properties
from both data stores are available to that layer for theming
and other purposes.

Add Survey Data
Bring in points you exported from Autodesk Civil 3D (LandXML) or ASCII
data from a GPS device.

Use the Survey tab to import and
organize survey data

Combine Geospatial Features and Drawing Objects | 17

Add Point Cloud Data
Bring in point cloud (page 2071) data from LiDAR (page 2066) Aerial Survey (.LAS)
files or ASCII (.XYZ) files.

Use the Point Cloud Manager to bring in point cloud data

Tell me more

Procedures

■

To access data through FDO (page 308)

■

To bring drawing objects into your map (page 354)

■

To add a raster image to the map (page 440)

■

To import data from other formats (page 381)

■

To bring LandXML data into a Survey Data Store (page
371)

■

To bring ASCII point data into a Survey Data Store (page
373)

■

To bring LiDAR data into your map (page 374)

■

Tutorial: Building a Map

■

Create a Feature Map

■

Create a CAD Map

Tutorial

Workflow

18 | Chapter 1 Getting Started Guide

GIS Skills

Related topics

■

Bring in data from multiple image files to a single layer.

■

Access data published on a public web server.

■

Bring in point data from a Microsoft Access database.

■

Bring in a subset of features using a query.

■

Bringing in GIS Features (page 303)

■

Bringing In Drawing Data From DWG Files (page 350)

■

Converting Data From Other Formats to Drawing Objects
(page 377)

■

Joining Data to GIS Features (page 507)

■

Adding Attributes to Drawing Objects (page 521)

■

Adding Rasters and Surfaces (page 437)

■

Bringing in Survey Data (page 370)

■

Bringing in LiDAR Data (page 374)

Create and Edit Features and Drawing Objects
When you connect to a feature source, your map is a window onto the data.
Your edits are made directly to the source. The data remains in its source
location. Any changes you make appear in the source. Any changes in the
source are immediately reflected in your map.
When you edit objects from attached drawings, AutoCAD Map 3D tracks the
original location of each object and saves them back to their original source.

Use AutoCAD Tools to Edit All Data
Use the full set of AutoCAD editing tools and commands to add or change
map objects. It does not matter what the object source is. Editing does not
convert the data. AutoCAD Map 3D includes all the AutoCAD editing tools
as well as tools designed for creating maps, such as using coordinate geometry
to specify a point. View and style with the ease of GIS, edit with the power of
CAD.

Create and Edit Features and Drawing Objects | 19

Use the powerful, high-precision AutoCAD tools to
edit a feature, then save your changes back to the
data source.

Lock Data for Secure Editing
For geospatial features, you can choose how to save your changes. Set an
option to save changes to the original source automatically, or work offline
and update the feature source when you finish editing. Check out a feature
to lock it for other users (if the feature source supports this option). Check it
back in to make it available again.
For drawing objects, you can lock the source drawings so no one else can use
them. You can use save set options to control whether your changes are saved
back to the original drawings or affect the current map only.

20 | Chapter 1 Getting Started Guide

Drawing objects selected for editing in a save set (the red circle in the
illustration) are locked so others cannot edit them.

Spatial Data Type

Locking Capability

Oracle and ArcSDE

Individual features are locked when you
check them out.

Attached drawings (DWG)

Individual objects are locked when you
query them into the map.

Clean Up Drawings
Using Drawing Cleanup tools, you can automate the correction of common
drafting and digitizing errors. Delete duplicates, correct undershoots and
dangling objects, and more.

Create and Edit Features and Drawing Objects | 21

Review, mark, and correct errors interactively.

Use Coordinate Geometry Commands
Create and measure simple coordinate geometry (COGO) for lines, curves,
closed polylines, and polygons. When drawing plats and existing conditions,
input geometry in terms of bearing, direction, deflection, and azimuth angle.

22 | Chapter 1 Getting Started Guide

Use the Deflection And Distance COGO command to
specify a point by supplying a deflection angle and a
distance from another point.

Use the COGO Input dialog box to enter coordinates manually or select them
in the drawing or in the Data Table. The Inverse Report option gives you
information about the relationship between existing points.

Tell me more

Video

Procedures

■

Show me how multi-user editing of drawing files works.

■

Show me how to edit features stored in a database or data
store.

■

Show me how to create new features from existing AutoCAD
objects.

■

To work with features (page 683)

■

To work with drawing objects (page 727)

■

To clean up drawing data (page 765)

■

To enter coordinate geometry (page 1026)

■

Tutorial: Building a Map

■

Create and Edit Data

■

Edit DWG files in a multi-user environment.

■

Edit feature geometry directly in a SHP file using CAD tools.

Tutorial

Workflow

GIS Skills

Create and Edit Features and Drawing Objects | 23

Related topics

■

Create new features from existing AutoCAD objects.

■

Working with Features (page 683)

■

Working with Drawing Objects (page 727)

■

Overview of Sharing Attached Drawings (page 730)

■

Cleaning Up Drawing Data (page 765)

■

Overview of Coordinate Geometry Commands (page 1027)

Search and Filter Data
Using DWG query functionality, multiple users can access, search, and edit
the same sets of DWG files or base maps simultaneously.

Use a property filter and a location filter to view the condition of roads in a circular
area.

24 | Chapter 1 Getting Started Guide

Use queries to filter data as you add it to
your map. You can also filter data after you
add it to your map. For example, use a
query to select a subset of data.

Use geospatial and DWG queries to find a feature or object based on its
location, its properties, or attribute data linked to it from another source.

Search and Filter Data | 25

Apply a query to any feature layer in the
Display Manager.

Tell me more
■

Show me how to run a query on a set of attached DWG
files.

■

Show me how to run a query on a feature class.

■

To filter feature data when you add it to a map (page
310)

■

To find and filter features (page 1209)

■

To filter drawing data when you add it to your map
(page 354)

■

To find and select drawing objects (page 1219)

■

Lesson 5: Find and Edit Features

■

Find and Edit Objects in Attached Drawings

■

Edit Features in a Geospatial Feature Source

Video

Procedures

Tutorial

Workflow

26 | Chapter 1 Getting Started Guide

■

Bring in a subset of features using a query.

■

Filtering Features When You Add Them to a Map
(page 309)

■

Overview of Bringing in Drawing Data From DWG
Files (page 351)

■

Finding and Selecting Features (page 1206)

■

Finding and Querying Drawing Objects (page 1218)

GIS Skills

Related topics

View and Edit Attribute Data
Attribute data is non-geometry data about a drawing object or feature. For
example, a drawing of parcels can have attribute data that lists the owner and
improvements for each parcel.
For drawing objects, you can do the following:
■

Import attribute data.

■

Attach drawing objects with links to external data.

■

Link database entries to the data already associated with drawing objects.

■

Create and manage attribute data within AutoCAD Map 3D using Data
View.

■

Use attribute data as the basis of queries.

■

Display attribute data on your map as text.

■

View attribute data linked to drawing objects using the Data View.

For geospatial feature data, you can do the following:
■

Join an attribute data store to an existing feature class.

■

Create and manage attribute data within AutoCAD Map 3D.

■

Use attribute data as the basis of queries.

View and Edit Attribute Data | 27

■

Display attribute data on your map as text.

■

View and edit attribute data for features using the Data Table.

Data Table
Use the Data Table to highlight data for specific features in your map. AutoCAD
Map 3D maintains the link between spatial data and attribute data; when you
update the attribute data, the updates are dynamically reflected in your
drawing.

The Data Table displays geometry and attribute data for a feature. You can search and
theme features based on any data in the feature source.

Data View
To link attribute data to drawing objects, attach the database to the current
map. Then use a link template to connect the data to the objects.

28 | Chapter 1 Getting Started Guide

Link attribute data to drawing objects, then highlight
objects in your map by selecting the linked data in
the table.

Tell me more
■

Show me how to view the contents of an SDF file.

■

To display the Data Table

■

To use the Data View

■

Data Table and Data View

■

Attach Attribute Data to Drawing Objects

■

Add Attribute Data Based on Constraints

■

Join Attribute Data to a Geospatial Feature

■

Convert styled DWG objects to features.

■

Viewing Data for a Selected Layer, Join, Unfiltered Feature Class, or Non-Spatial Data Table (page 1134)

■

Setting Up Data Sources for Drawings (page 204)

Video

Procedures

Tutorial

Workflow

GIS Skills

Related topics

View and Edit Attribute Data | 29

■

Adding Attributes to Drawing Objects (page 521)

Use Metadata
View, create, and edit metadata (the who, what, when, where, why, and how)
about your spatial information.

View and edit metadata.

Publish metadata in standard formats including International Organization
for Standardization (ISO) (19115 and 19139) and Federal Geographic Data
Committee (FGDC). Share your data with other people in your organization
or externally with contractors and regulatory agencies.

Tell me more

Video

■

Show me how to view and interpret metadata.

■

Show me how to create and edit metadata.

■

To work with metadata (page 1487)

Procedure

30 | Chapter 1 Getting Started Guide

■

Lesson 6: Generate Metadata for a Classified Drawing

■

Create a Feature Map

■

Create a CAD Map

■

View and interpret metadata.

■

Create metadata for your map.

■

Creating and Viewing Metadata (page 1486)

■

Overview of Sharing Metadata (page 1510)

Tutorial

Workflow

GIS Skill

Related topics

Organize Data
Organize objects in your drawing by the real-world features that they represent
(for example, roads, parcels, cables, or water pipes).

Object Classification for Drawing Objects
When you create an object using object classification, the object automatically
takes its properties and values from its object class. Classification maintains
consistency and establishes standards in your drawing.

Organize Data | 31

The Object Class tab of the Properties
palette displays the properties
associated with the class of the
selected object.

If you are an AutoCAD Map 3D subscriber, you can download free
industry-specific toolkits. These toolkits fast-track the classification process.
To enroll in or visit the Subscription Center, click
at the top right of the application window.

in the InfoCenter area

Feature Classes for Geospatial Data
FDO features use schemas to define their feature classes and feature properties.
A schema is a set of feature classes. Each feature class has properties that
describe its members.
You can do the following with feature classes:
■

Define schemas (databases and files)

■

Create a data store and add a schema to it

■

Load data models with XML Metadata Interchange (XMI) from industry
standard modeling programs

■

Edit a schema (for spatial data formats that support editing)

32 | Chapter 1 Getting Started Guide

Use the Schema Editor to create or edit properties in a feature
class.

Tell me more
■

Show me how to append a feature class to an SDF file.

■

To set up object classification (page 118)

■

To use object classification (page 981)

■

To work with feature schemas (page 595)

■

To enroll as a subscriber or visit the Subscription
Center (page 56)

■

Tutorial: Classifying Drawing Objects

■

Set Up Your DWG Data

■

Move CAD Data to GIS

Video

Procedure

Tutorial

Workflow

Organize Data | 33

■

Edit a schema (SDF)

■

Overview of Setting Up Object Classification (page
117)

■

Overview of Object Classification (page 981)

■

Overview of Working with Schemas (page 594)

GIS Skills

Related topics

Style Data
Use styles to change the appearance of objects and features in your map.
■

Assign visual properties to object groups, or to objects that match certain
criteria.

■

Create complex styles, such as roads with a thick black line with a double
yellow stripe down the middle. Use specific colors and line types for
different features.

■

Call out details with attribute-driven labels that provide text along a curve
and segment-stitching functionality.

■

Blend data using transparency.

■

Save and reuse styles in any project, saving time and streamlining map
production.

■

Save display layer definitions (which include styling information and
pointers to the data source) for reuse.

■

Export styles to share with others.

■

Use special formatting options for raster images to show hillshade, contours,
and more.

34 | Chapter 1 Getting Started Guide

Style Drawing Objects and Features

Style layers in Display Manager (page 2060) to change the
appearance of your map.

Style Surfaces
Visualize and analyze large-scale topographic information—digital elevation
models (DEM) and ESRI GRID files.
■

Show elevation, slope, and aspect.

■

Create contours.

■

Perform sunlight studies with hill shading.

■

Drape aerial photographs and vector data on topography data.

■

Publish the results to 3D DWF files for viewing in free Autodesk® Design
Review software. No experience with AutoCAD Map 3D is required.

Style Data | 35

Style raster surfaces to show
elevation.

Styling Point Cloud Data
Style point cloud (page 2071) data by classification, elevation, LiDAR intensity,
and RGB values.

Style point clouds by classification

36 | Chapter 1 Getting Started Guide

Tell me more

Video

Procedure

■

To apply styles to points (page 646)

■

To apply styles to areas (page 650)

■

To apply styles to lines (page 649)

■

To style point data by classificationIn the Display Manager,
right-click the point cloud layer or gr... (page 677)

■

Lesson 2: Style Map Features

■

Style and Label a Linear Feature

■

Hide and show features as you zoom in and out.

■

Replace points in the map with symbols.

■

Set transparency for parcels or other features.

■

Styling Features (page 639)

■

Styling Drawing Layers (page 652)

■

Creating Themes (page 1162)

■

Overview of Styling Raster Images (page 672)

■

Styling Point Clouds (page 675)

Tutorial

Workflow

GIS Skills

Related topics

Theme and Analyze Data
Answer questions about your data and make decisions.
■

Sort, filter, and edit information about map items in a tabular format.

■

Temporarily join data from external data stores to features in your map
and use that data to theme the features.

Theme and Analyze Data | 37

■

Locate specific coordinate points and measure the geodetic distance
between points.

■

Visually communicate relative values and scale with themed displays.

■

Create contour maps to help you analyze 3D terrain.

■

Use raster-based theming to analyze elevation, slope, and aspect, drape
map data over surfaces and view the data in 3D, and more.

■

Create buffer zones based on feature properties and select objects based
on their proximity to a buffer. Save the buffer as its own feature class, for
future reuse.

■

Overlay two geospatial layers to compare their data. Save the resulting data
as a separate layer, which you can join to attribute data or theme.

38 | Chapter 1 Getting Started Guide

Theme Data
Use color themes to show the elevation of terrain or illustrate the population
density of counties.
The colors give the viewer an immediate
sense of the population distribution in
California

Create themes by varying the style based
on an attribute of the feature; for example,
change the color of parcels based on their
size.

Theme and Analyze Data | 39

Analyze Surfaces
Create contour maps and analyze geospatial data by exaggerating elevations or
looking at maps in different light conditions.

Create Buffers
Use buffers to analyze features by proximity.

40 | Chapter 1 Getting Started Guide

The buffer in this map defines an area within 1000 feet of the river.
You can use the buffer to see which parcels lie within the flood zone.

Overlay Two Feature Layers
Use overlays to compare two feature classes or layers.

Theme and Analyze Data | 41

This map overlays two layers (a flood zone and an enterprise zone). You can use the
overlay to see where the two intersect. That area becomes a new layer, which you can
style and save out to a file and use as a separate data store.

Tell me more

Video

Procedures

■

Show me how to color surfaces based on elevation.

■

Show me how to theme a parcels layer.

■

Show me how to create a buffer zone around a parcel.

■

Show me how to join attribute data to features.

■

To get information about features and objects (page 1125)

■

To find, filter, and query data (page 1206)

■

To measure and track coordinates (page 1147)

■

To create themes (page 1163)

■

To analyze raster-based surfaces (page 1186)

■

To create a buffer (page 1308)

■

To perform an Overlay operation (page 1316)

■

Tutorial: Analyzing Data

■

Analyze Data

■

Analyze Data with Overlays

Tutorial

Workflow

42 | Chapter 1 Getting Started Guide

GIS Skills

Related topics

■

Join attribute data to features.

■

Color a surface by elevation and adjust hill shading.

■

Change the elevation ranges for a surface.

■

Analyze the slope and aspect of a site.

■

Select features by location using a buffer.

■

Getting Information about Features (page 1125)

■

Getting Information About Drawing Objects (page 1143)

■

Joining Data to GIS Features (page 507)

■

Measuring and Tracking Coordinates (page 1147)

■

Adding and Modifying Contour Lines (page 1189)

■

Creating Themes (page 1162)

■

Analyzing Raster-Based Surfaces (page 1186)

■

Buffering Features in Your Map (page 1306)

■

Overlaying Two Feature Sources (page 1309)

Manage Data
AutoCAD Map 3D acts as a hub for managing large amounts of spatial data.
■

Use Schema Editor to create new schemas.

■

Add and delete features and properties in existing schemas.

■

Use Data Connect to create a data store from within AutoCAD Map 3D.

■

Export DWG data to Oracle format, ESRI ArcSDE format (page 1461), or
Autodesk SDF (page 44).

■

Export your entire map to DWG format.

■

Use Bulk Copy to copy data from one data store to another.

Manage Data | 43

Use Bulk Copy to convert data from
one geospatial format to another.

The Spatial Data File (SDF)
The spatial data file (SDF) format lets you store geometry and attribute
information in a file-based geospatial format.
SDF can hold more information and has faster performance than DWG. SDF
supports rich geometry, multiple tables, and spatial indexing.

44 | Chapter 1 Getting Started Guide

The circle represents an SDF file with a single
schema that defines three feature classes: valves,
pipes, and hydrants.
■

Use Data Connect to connect directly to an SDF file. Any edits you make
are made to the SDF file.

■

If you import data from SDF, the imported data becomes drawing objects
in your map and the live connection to the SDF file is broken. Importing
is one way to convert the data from SDF to DWG.

■

You can copy data to SDF format from other geospatial formats, and from
SDF to those formats, using Bulk Copy.

Tell me more
■

Show me how to create an SDF file and import a
schema.

■

Show me how to copy data from one data store to another.

■

Show me how to append a feature class to an SDF file.

■

Show me how to limit what can be entered in a field.

■

To create a data store for a file-based data provider
(page 589)

Video

Procedure

Manage Data | 45

■

To create a schema (page 598)

■

Other ways to move data into SDF format (page 1417)

■

To copy data from one feature source to another
(page 621)

■

To import data from other formats (page 381)

■

Tutorial: Managing Data From Different Sources

■

Manage Data

■

Create a GIS data store (SDF) to be populated from
various sources

■

Bulk copy data from a SHP file to an SDF file

■

Edit a schema (SDF)

■

Limit what can be entered in a field

■

About Geospatial Feature Classes, Data Stores, and
Schemas (page 551)

■

Overview of Geospatial Data (page 551)

■

Importing Autodesk SDF (Spatial Data Files) (page
387)

■

Working with Schemas (page 593)

■

Exporting DWG Data to an FDO Data Store (page
1461)

■

Bringing In Features from SDF (page 337)

■

Migrating Data (page 615)

■

Overview of Converting Geospatial Data to Drawing
Objects (page 378)

■

Overview of Converting and Exporting (page 1405)

Tutorial

Workflow

GIS Skill

Related topics

Share and Publish Data
Distribute your geospatial data, maps, and designs in various ways.

46 | Chapter 1 Getting Started Guide

Share Data
AutoCAD Map 3D makes it easy to share data, both within and outside your
organization.
When you edit data in the original source,
your changes are immediately visible to
others in your organization.

Send Maps to the Field

The original map in AutoCAD Map 3D is at the top. On the lower left, the map appears
in Autodesk MapGuide Studio. On the right, the map is displayed in a web browser.
■

Plot/print single-page or multi-page maps to paper or to a file.

Share and Publish Data | 47

■

Use map books to divide a large map into tiles, which are rendered on
separate pages. You can include a legend, title, and other information on
each page.
You can produce maps with insets using map books.

■

Publish maps to the internet using Autodesk MapGuide® Enterprise
software.
All layers, layer definitions, dynamic labels, queries, filters, and styles
(including point, line, raster, and other styles) in your map are published.
If you set up styles for different zoom levels, the appearance of the map
changes as the end-user zooms in our out in a web browser. Zooming
changes the appearance based on the styling rules you established in
AutoCAD Map 3D.

■

Publish your map as a single HTML page. The result is a “snapshot” of the
map that anyone can view in a web browser.

■

Save maps in Autodesk DWF format to use with Autodesk Design Review
(a free, downloadable viewer). Distribute or post the results on the web or
on an intranet. You can create map books in DWF format.
If you assigned a coordinate system to all the maps in your DWF file, the
publishing operation automatically converts the coordinate information
to latitude/longitude coordinates. Autodesk Design Review 2008 can
automatically navigate to a specific location when you enter coordinates.
It displays coordinates of any location in the map when you move your
mouse over that location.

■

Export to another format, such as DGN or SHP.

■

Create comma-separated reports as text files, listing information about
objects in attached drawing files. You can import the report files into a
spreadsheet, database, or document.

■

Use eTransmit to package all the files your map uses and send them to
another AutoCAD Map 3D user.

Tell me more

Video

■

Show me how to publish a map to a MapGuide server.

■

Show me how to create a map book.

■

Show me how to publish a map book with attributes to a
DWF file.

48 | Chapter 1 Getting Started Guide

Procedures

■

To publish your map (page 1361)

■

To export drawing objects to other file formats (page
1408)

■

To print and export attribute data (page 1472)

■

Lesson 7: Publish Your Map

■

Print and Publish Data

■

Publish a completed map to a MapGuide server.

■

Create a map book with appropriate-scale tiling for a city.

■

Produce a multi-sheet DWF file for a map book.

■

Overview of Publishing and Sharing (page 1357)

■

Overview of Converting and Exporting (page 1405)

■

Overview of Exporting Attribute Data (page 1472)

■

Creating a Drawing Object Report (DWG) (page 1477)

Tutorials

Workflow

GIS Skills

Related topics

Customize Your Working Environment
Customize AutoCAD Map 3D
The layout of the ribbon, toolbars, and dockable windows is saved in a
workspace.
You can customize an existing workspace or create a new one. You can save
different workspaces for different tasks, use them to help you streamline
common tasks, or set up best practices for mapping tasks and workflow.
For example, you can set up a map creation workspace to streamline acquiring,
integrating, and building maps. Set up another workspace for creating and
publishing map books and atlases.

Customize Your Working Environment | 49

Within a session, you can switch between
workspaces.

Customize Your Maps
Customize map settings and optionally save the resulting map as a template.
For each map, you can do the following:
■

Set the coordinate system

■

Attach drawing files

■

Save and organize drawing queries in a library

■

Define annotation templates

■

Set up object data

■

Attach external data and link it to drawing objects

Create and Use Automated Workflows
Automate a task that involves multiple activities with workflows. For each
activity, you can specify input parameters and settings.
You can use the properties of one activity as the input parameter for a later
activity in the workflow. For example, set up an overlay workflow that specifies
the feature classes to compare and the type of overlay to perform.
You can also specify that some settings can be changed at run time. For
example, use the same overlay workflow for any pair of feature classes, selecting
the feature classes when you run the workflow.
See also:
■

Overview of Setting Up AutoCAD Map 3D (page 81)

■

Customizing Your Work Environment (page 84)

■

Overview of Setting Up Your Map File (page 139)

50 | Chapter 1 Getting Started Guide

■

Overview of Setting Options (page 217)

■

Overview of Workflows (page 275)

Extend Functionality Using Open Source and API
Extensibility Using Open Source
With the power of FDO Data Access Technology, you can take advantage of
the open source world. FDO extends data access. Third party and open source
FDO providers support data stores not currently supported by Autodesk. (For
example, there are FDO providers for ESRI Personal Geodatabase and PostGIS).
To make it easier for developers to extend capabilities of FDO, Autodesk
released FDO as an open source project. Check the http://fdo.osgeo.org site. The
open source project is under the Open Source Geospatial Foundation (OSGeo)
http://www.osgeo.org. This initiative enables developers all over the world to
tap into powerful geospatial data access technology.

Robust API
AutoCAD Map 3D comes with robust .NET application programming interfaces
(APIs) that organizations can use to create custom tools and automate common
procedures. AutoCAD Map 3D and Autodesk MapGuide Enterprise software
share a unified geospatial API, as well as unified FDO data access technology.
Use these tools to build custom applications that share business logic and
common code.

Finding Information
Watching Videos
The GIS Skills file contains nearly one hundred videos that show how to use
the features of AutoCAD Map 3D. The tutorial “Building a Map” also contains
videos for each exercise.
This page lists the GIS Skills videos by category.

Extend Functionality Using Open Source and API | 51

Data Preparation
Data Conversion
Data Access
Show me how to bring multiple image files onto a single layer
Show me how to run a query on a feature class

Data Editing
Show me how to draft a new feature for an existing feature class
Show me how to edit features stored in a database or data store
Show me how to edit features using automatic check-out
Show me how to add a point using distance/distance
Show me how to add a point using bearing/bearing
Show me how to split a parcel feature
Show me how to create new features from existing AutoCAD objects
Show me how to check out features for editing in the field
Show me how to check in features after editing in the field
Show me how to make the Data Table transparent
Show me how automatic zoom works
Show me how automatic scroll works
Show me how to export records for selected features

Data Management
Show me how to create a new SDF file and import a schema
Show me how to copy data from one data store to another
Show me how to append a feature class to an SDF file
Show me how to delete properties in the Schema Editor
Show me how to limit what can be entered in a field
Show me how to join attribute data to features
Show me how to manage joins

52 | Chapter 1 Getting Started Guide

Show me how to create a calculated field

Styling and Theming Features
Show me how to make a layer visible only at a certain scale range
Show me how to create a second scale range for a road layer
Show me how to replace points with symbols
Show me how to label features
Show me how to label features with automatic resizing
Show me how to set the number of decimal places for labels
Show me how to create a text layer and add text
Show me how to edit text
Show me how to rotate text
Show me how to make the features on a layer semi-transparent
Show me how to theme a parcels layer
Show me how to manually adjust the ranges of a theme
Show me how to exclude zero values and change colors for the ranges
Show me how to theme based on individual values

Analysis
Show me how to color surfaces based on elevation
Show me how to adjust the settings for hillshading
Show me how to delete elevation ranges and change the color of a range
Show me how to add a new elevation range
Show me how to view and navigate in 3D
Show me how to exaggerate the vertical dimension of a surface
Show me how to drape layers on a surface
Show me how to perform a slope analysis of a surface
Show me how to create a contour layer from a surface
Show me how to create a network topology
Show me how to load a topology

Watching Videos | 53

Show me how to find the shortest path between two points
Show me how to do an overlay analysis using two topologies
Show me how to create an overlay analysis for features
Show me how to create a buffer zone around a parcel
Show me how to use a buffer zone to select parcels
Show me how to create overlapping buffer zones
Show me how to use a location query with multiple buffers

Sharing Data with Others
Show me how to export a layer to SDF
Show me how to import a layer from SDF
Show me how to save a layer to a .layer file
Show me how to drag .layer files into an existing map

Map Layout and Cartography
Show me how to manage layers with draw order and folders
Show me how to include an AutoCAD layer in the Display Manager
Show me how to place a legend in the map and specify its contents
Show me how to edit the table style for the legend

Printing, Plotting, and Publishing
Show me how to create a map book.
Show me how to publish a map book with attributes to a DWF file
Show me how to plot to a PDF file

54 | Chapter 1 Getting Started Guide

Using InfoCenter

InfoCenter connects you to Help files and online
resources.

To look up information
1 Type a word or phrase in the InfoCenter field.
2 To add a location (file or document) to search, click the arrow next to
Search (the magnifying glass) and select Add Search Location.
For example, search the Help, the New Features Workshop, and specified
files at one time.
You can also search a single file or location.
3 Click Search.
The results are displayed as links on the InfoCenterSearch Results panel.
Click any link to display the topic, article, or document. To find a
command, click the Find A Command On The Ribbon entry.
You can change some settings for InfoCenter. See Setting InfoCenter
Options (page 242).
To hide InfoCenter
■

Click the arrow to the left of the InfoCenter field. Click it again to redisplay
InfoCenter.

Subscription Center
With Autodesk Subscription, you get the latest releases of Autodesk software,
incremental product enhancements, personalized web support from Autodesk
technical experts, and self-paced e-Learning.
Subscription services are available to subscription members only (available in
countries/regions where Autodesk subscriptions are offered).

Using InfoCenter | 55

Subscription resources provide interactive product features over the Internet.
Each time you access subscription resources from Subscription Center in an
Autodesk product, product information (such as the serial number, version,
language, and the subscription contract ID) is sent to Autodesk for verification
that your product is on subscription.
Autodesk compiles statistics using the information sent to subscription
resources to monitor how they are being used and how they can be improved.
Autodesk maintains the information provided by or collected from you in
accordance with Autodesk's published privacy policy, which is available at
http://www.autodesk.com/privacy.
To enroll as a subscriber or visit the Subscription Center
■

Click

.

Communication Center
The online Autodesk Communication Center gives you access to the AutoCAD
Map 3D knowledge base and other user groups discussing AutoCAD Map 3D.
To check the Autodesk Communication Center
■

Click

.

Favorites
You can define favorite entries in the InfoCenter results list panel, the
Subscription Center panel, or the Communication Center.
To add a topic to the Favorites list
1 Use InfoCenter, Subscription Center, or Communication Center to display
a list of results.
2 Click the Add To Favorites icon next to the entry to add.
Entries that display a yellow star have been added to the Favorites list.
To view a topic in the Favorites list
■

Click

and select the topic.

56 | Chapter 1 Getting Started Guide

See also:
■

Setting InfoCenter Options (page 242)

■

Using the Help (page 57)

■

Getting Help with AutoCAD (page 58)

■

Using Other Sources of Information (page 59)

Using the Help
AutoCAD Map 3D Help contains the AutoCAD Help, AutoCAD Map 3D User’s
Guide, Reference Guide, Getting Started Guide, and additional information.
To display Help
■

Click
.
Click the question mark to display the User’s Guide. Click the down arrow
to select a document to view.

Watching the Welcome Screen Videos
The Welcome screen displays when you start AutoCAD Map 3D. It contains
links that launch videos explaining how to get started with AutoCAD Map
3D. It also has links to further information.
If you turn off the display of the Welcome screen, type welcomescreen at the
command prompt to see it again.

Navigating the User's Guide
The User’s Guide contains chapters for each major task area of AutoCAD Map
3D.
The User’s Guide displays related information on three tabs:
■

Concept — Conceptual information about performing the task and hints
to help you use the feature.

■

Procedure — Step-by-step instructions to perform the task.

Using the Help | 57

■

Quick Reference — The commands you need for this task, and where to
find them on the menus and toolbars.

Use the tabs in the left pane to find information:
Contents

The Contents groups topics by subject. Browse by selecting and
expanding topics. If you use the Index or Search tabs to find a
topic, the Contents tab updates to show you where that topic is.
Both AutoCAD Map 3D and AutoCAD Help topics are listed in the
Contents.

Index

In the alphabetical list of keywords, look up the name of a feature,
command, or operation, or an action you want the program to
perform.
You can look up topics for both AutoCAD Map 3D and AutoCAD.

Favorites

Create your own list of favorite topics. To add a topic to the list,
open the Favorites tab and click Add.

Search

Find information using a question phrased in everyday language.
The search ranks resulting topics by relevance.
NOTE Search technology varies by language version of the product.
The Search tab provides either the traditional Microsoft® search
that locates keywords and exact phrases, or a natural-language
search that analyzes phrases or questions.

Using the Tutorials
Try the tutorials to get started or to learn advanced functionality in AutoCAD
Map 3D. Click Help ➤ Learning Resources ➤ Tutorials.

Getting Help with AutoCAD
AutoCAD Map 3D includes the complete functionality of AutoCAD, including
all the AutoCAD commands and system variables. Help for the two programs
is integrated into a single Help file. For help with AutoCAD commands, search
for the command name in the Help.

58 | Chapter 1 Getting Started Guide

New in This Release
■

The Readme contains updates about this release of AutoCAD Map 3D,
including late-breaking product news and known software issues. View the
Readme.

■

New Features Workshop — View a series of graphical topics designed to help
you learn about the new features in AutoCAD Map 3D and AutoCAD. Click
Help ➤ New Features Workshop.

Using Other Sources of Information
To see the resources available to help you learn AutoCAD Map 3D, see Learning
Resources.

Geospatial Guidelines
■

Best Practices for Managing Geospatial Data— Learn the key concepts of
working with geospatial data and the best way to use AutoCAD Map 3D
to achieve your goals.

■

GIS Skills for Engineers— See over 90 animations that help you take your
skills to the next level.

Developer Documentation
■

Developer Documentation (page 2053) — Learn how to use the AutoCAD
Map 3D Application Programming Interfaces (APIs), including ObjectARX,
ObjectARX Managed Wrappers, ActiveX, and AutoLISP. Click Help ➤
Developer Resources ➤ AutoCAD Map 3D Developer Help.

■

FDO Developer Help — Extend the functionality of the feature source
providers. See FDO Developer’s Guide, The Essential FDO, and the API
references for each provider:
■

FDO Provider for Oracle API Reference

■

FDO Provider for ArcSDE API Reference

■

FDO Provider for SQL Server API Reference

■

FDO Provider for MYSQL API Reference

■

FDO Provider for SHP API Reference

■

FDO Provider for SDF API Reference

New in This Release | 59

■

FDO Provider for ODBC API Reference

■

FDO Provider for Raster API Reference

■

FDO Provider for WMS API Reference

Specialized AutoCAD Manuals
■

Some AutoCAD manuals, such Build Your World and Getting Started, are
available on the product CD. For information on printing these manuals,
see Printing This Documentation (page 61).

Online Resources
■

Product Support Resources— Get answers quickly and efficiently through
email or get Product Support phone numbers.

■

AutoCAD Map 3D Discussion Groups— Share product information, ideas,
and solutions with other AutoCAD Map 3D and other Autodesk product
users.

■

Training Resources— Learn about the training resources available for
AutoCAD Map 3D and other Autodesk products.

■

Developer Center— Learn about programming and development tools to
help customize AutoCAD Map 3D or build your own applications.

■

Subscription Center — Access your subscription services including support
and training through the InfoCenter Communication Center. For more
information, see Using InfoCenter (page 55).

■

Communication Center — Receive Autodesk company news and product
announcements, breaking news from Autodesk Product Support, new
article notifications, tips, and more. For more information, see Using
InfoCenter (page 55).

Participating in Autodesk Training
Training programs and products from Autodesk help you learn the key
technical features of your Autodesk software and improve your productivity.
For the latest information about Autodesk training, visit
http://www.autodesk.com/autocadarchitecture-training or contact your local
Autodesk office.

60 | Chapter 1 Getting Started Guide

For information on custom training, authorized Autodesk training centers,
how-to tips, and learning tools (such as Autodesk Courseware), go to Training
Resources.

e-Learning
With Autodesk Subscription, you get the latest releases of Autodesk software,
incremental product enhancements, personalized web support from Autodesk
technical experts, and self-paced e-Learning.
Subscription services are available to subscription members only (available in
countries/regions where Autodesk subscriptions are offered).
For more information about subscription, see Subscription Center (page 55).

Printing This Documentation
You can print the Help and other manuals.

Printing PDF Versions of the Help
Most of the Help, including the AutoCAD Map 3D User’s Guide (the help system),
are available in PDF format.
NOTE You must have Adobe® Acrobat Reader™ installed to view and print PDF
documents.
To print the AutoCAD Map 3D Users Guide
1 Open the AutoCAD Map 3D User’s Guide.
2 Click Print.
WARNING The User’s Guide is over 1000 pages long! To save paper, print
only the chapters you need.

To print the other manuals
1 Insert the AutoCAD Map 3D CD or DVD into the drive.
2 When the CD browser starts, click the Documentation tab. If the CD
browser does not start automatically, double-click the Setup.exe file.
3 On the Documentation tab, select the book to print.

Printing This Documentation | 61

4 Click Print.

AutoCAD Map 3D Sample Data and Templates
Use sample data to experiment with map techniques before deploying your
own data.
AutoCAD Map 3D sample data includes the following:
■

Symbol sets

■

Templates

■

Map elements, such as north arrows, scale bars, and legends

Use these elements to create maps quickly and easily, enhance new and existing
maps, promote standards, and improve consistency. They can also serve as
the basis for developing your own templates and data.

©

IGN - 2007, NAVTEQ, DigitalGlobe, Intermap Technologies

AutoCAD Map 3D sample data, symbols, and templates

62 | Chapter 1 Getting Started Guide

Sample Real-World Data
With Autodesk Subscription, you get any new upgrades of your Autodesk
software and any incremental product enhancements, if these are released
during your subscription term. Product enhancements may include extensions,
bonus packs or other rich content for AutoCAD Map 3D software. To learn
more, visit http://www.autodesk.com/subscription.
For all data connections to be correct and connected automatically, copy your
sample data to this location: C:\AutoCAD Map 3D 2011 Sample Data. If you
put it in a different location, you must fix data connections.
The sample data includes the following:
■

Redding, California
A real-world data set from the city of Redding, California, in the United
States. The set includes parcel data, soil drawings, water data, metadata,
and more.

■

Haute-de-Seine
The Institut Geographique National (the national mapping agency of
France) provides data covering “department 92.” Departments are French
administrative units, roughly analogous to English counties. Department
92 includes several cities near Paris, in an area called Haute-de-Seine.

Sample Real-World Data | 63

©

IGN - 2007

Institut Geographique National (IGN)
provides a comprehensive set of sample
data for Haute-de-Seine.

■

NAVTEQ data
NAVTEQ provides data sets for 3-km x 3-km areas of seven sample cities
from around the world. NAVTEQ data is used in a broad range of
location-based applications, navigation products, and mapping sites. The
sets include vector data, street centerline map data, and much more. Use
the sample data to get an idea of what NAVTEQ can provide and how to
use it to enhance your maps in AutoCAD Map 3D.

■

DigitalGlobe imagery
DigitalGlobe provides imagery for the seven sample cities. DigitalGlobe is
a provider of high resolution aerial and satellite imagery.

■

Intermap 3D elevation data
Intermap Technologies provides Digital Elevation Models (DEMs) for the
seven sample cities. Intermap provides high-quality, precise, 3D
digital-elevation data and images.

64 | Chapter 1 Getting Started Guide

■

DigitalGlobe ImageConnect
ImageConnect is a plug-in you can install on top of AutoCAD Map 3D. It
allows you to bring in georeferenced satellite and aerial photos from the
DigitalGlobe online image server. ImageConnect is a quick, cost-effective
way to add high-resolution imagery to your maps.

■

Map Book Templates
These templates are installed with AutoCAD Map 3D.

These map book templates are installed with AutoCAD Map
3D.

Sample Real-World Data | 65

■

More 3D elevation data
AutoCAD Map 3D sample data includes additional DEMs to experiment
with.

■

Sample maps
These maps use sample data from NAVTEQ, Intermap Technologies, and
DigitalGlobe. There are also real-world maps from Redding, Grand Forks,
Crater Lake, and more.

■

Symbols
The sample data includes a copy of the symbol sets, north arrows, and
scale bars that are installed with AutoCAD Map 3D.
When you download these files to the AutoCAD Map 3D 2011 Sample Data
folder, documentation for their use is also downloaded.

■

Additional sample data and maps, including Crater Lake, US Geology, and
Grand Forks, North Dakota are installed here:
\Program Files\AutoCAD Map 3D 2011\Sample\Maps

Templates for Maps and Map Books
Templates allow you to reuse or standardize map settings, layouts, layer
definitions and settings, block definitions, data connections, coordinate system
information, and more.
Instead of manually reproducing the settings and common parts of your maps,
you save them in a template file (.dwt). Then you can use the template as you
create new files.

66 | Chapter 1 Getting Started Guide

When you create a series of maps, templates save time and improve
consistency.
AutoCAD Map 3D comes with two types of templates:
■

Templates for creating new maps
There are four templates available to choose from: map2d.dwt, map2diso.dwt,
map3d.dwt, map3diso.dwt. The templates settings optimize 2D and 3D
display for metric (ISO) and imperial (ANSI) units, respectively. Click
➤ New ➤ Drawing. Select a template from the list.

Templates provided with AutoCAD Map 3D include map2d.dwt and map3d.dwt.

■

Templates for creating map books and tiled DWFs
These templates help you create attractive printed map books or tiled DWFs
with a minimal amount of layout work. There are three designs available,
each with numerous paper sizes, both metric (ISO) and imperial (ANSI).
Each design has its own navigation arrows, layout settings, title blocks,
and more.

Templates for Maps and Map Books | 67

Map book templates provided with AutoCAD Map 3D include Elegant,
Classic, and original designs.

You can use both types of templates as-is or adapt them to suit your needs.
Templates are available in \Documents and Settings\\Local
Settings\Application Data\Autodesk\ AutoCAD Map 3D
2011\R17.2\enu\Templates
If you are an AutoCAD Map 3D subscriber, you can download free
industry-specific toolkits. These toolkits include specialized templates. To
enroll in or visit the Subscription Center, click
the top right of the application window.
See also:
■

Lesson 2: Customize a Map Book Template

68 | Chapter 1 Getting Started Guide

in the InfoCenter area at

Symbols for Water, Gas, Electric, and Emergency
Response
AutoCAD Map 3D comes with sample symbol sets customized for water
networks, gas utilities, electric utilities (North America), and emergency
response planning. You can use the sample symbols as-is or as a basis for
developing your own symbols.
Using symbols can promote standardization and consistency in your
organization, and can also improve communication by using familiar
symbology.
Each set of symbols comes in a separate DWG file. For example, there is Map
- Water.dwg, Map - Electric.dwg, and so on. There are several files for Emergency
Response.

These electric symbols are examples from Map Electric.dwg.

These gas symbols are examples from Map - Gas.dwg.

These water symbols are examples from Map Water.dwg.

These emergency response symbols are examples from
Map - ER Incident Centers.dwg.

The symbols are available in \Program Files\AutoCAD Map 3D
2011\Sample\Symbols.
The symbols are in dynamic block format, making them easy to rotate, resize,
and color. They have block color properties, which optimizes them for use in
DWGs. You can also use them in the Style Editor when styling points.

Symbols for Water, Gas, Electric, and Emergency Response | 69

To set up the symbols for easy drag-and-drop into your maps, you can add
them to a Tool Palette.

Symbols for General Use
AutoCAD Map 3D has sample symbols for general-purpose use, such as points
of interest, transportation, and local government.
Like the industry symbols (page 69), general-purpose symbols are usable as-is,
or as a basis for developing new symbols.
Using symbols can help promote standardization and consistency in your
organization, and can improve communication by using familiar symbology.
The symbols come in two formats:
■

Dynamic block versions (Map - Points of Interest.DWG) are in dynamic block
format so you can scale and rotate them easily. You can control outline
and fill colors separately in the Style Editor. The symbols are black by
default when viewed in the DWG.

These general-use symbols are examples
from Map - Points of Interest.dwg.

■

Bitmap versions in .png format lend a more graphical representation to
your points.

These bitmap symbols are examples
from Map - Points of Interest.dwg.

70 | Chapter 1 Getting Started Guide

The general-use symbols are available in \Program Files\AutoCAD Map 3D
2011\Sample\Symbols.

North Arrows, Scale Bars, and Other Map Elements
Sample north arrows and scale bars (both metric and imperial) are available
as dynamic blocks for you to insert into your maps.

These north arrows are examples from the Symbols
folder.

These scale bars are examples from the Symbols folder.

Because they are in dynamic block format, these symbols are easy to scale,
rotate, and color. Use the scale bar attributes to set the correct scale.
The samples are available in \Program Files\AutoCAD Map 3D
2011\Sample\Symbols.
A modern, easy-to-read legend style is automatically available when you add
a legend to a map.

North Arrows, Scale Bars, and Other Map Elements | 71

The legend style on the left appears in your onscreen map.
The legend style on the right appears in the published version.

Geospatial Data Available for Purchase
You can add raster elevation data to 3D maps, vector data, such as land plots
or points of interest, or satellite imagery.
Autodesk partners with leading geospatial data providers to provide a geodata
portal with high-resolution, precision, geospatial data. Get data quickly, easily,
and at lower cost.
Visit the geodata portal at http://www.autodesk.com/geodata.
The following types of data are available on the portal:
■

Aerial and satellite imagery from DigitalGlobe

■

3D raster elevation data from Intermap Technologies

■

Vector data, such as roads and land parcels, from NAVTEQ

■

Weather data from WeatherBug

72 | Chapter 1 Getting Started Guide

This data is from Intermap Technologies, NAVTEQ, and DigitalGlobe.

Tutorial Sample Files
The tutorials are accessible from the Help menu.
After installation, the tutorial sample files are located in Program Files\AutoCAD
Map 3D 2011\Help\Map 3D Tutorials. The tutorials advise you to copy the
sample files to your My Documents folder so you do not modify the original
files.

AutoCAD Samples
AutoCAD provides sample drawings, sheet sets, blocks, VBA examples, and
more.
After installation, the files are located in C:\Program Files\AutoCAD Map 3D
2011\Sample.

Tutorial Sample Files | 73

74

User's Guide

This section explains AutoCAD Map 3D’s features by introducing concepts, providing
step-by-step procedures, and providing quick reference information.
For information on AutoCAD commands, refer to the AutoCAD Help.

75

76

2

Setting Up

Overview of Setting Up
You can customize AutoCAD Map 3D and set up each map file you create to
make your work easier and more productive.
The following tables summarize your setup options on a product-wide and
map-wide basis.
On a product-wide
level...

Use this method...

To get this result...

Set up user access.

Click Map Setup tab ➤ Map panel ➤

The system administrator assigns
login names and passwords to
users, and specifies what each
user can do within the product.
See Setting Up Users and Assigning Rights (page 82).

➤ User Administration.

Set up your workspace.

In the Tool-based Ribbon Workspace,
click Tools tab ➤ Customization panel
➤ User Interface.

Create new coordinate
systems.

Click Map Setup tab ➤ Coordinate
System panel ➤ Define Global Coordinate System.

Customize the ribbons, menus,
toolbars, and dockable windows.
See Customizing Your Work Environment (page 84).
Create a new coordinate system
or use a predefined coordinate
system as a basis for creating
your own.
See Defining Coordinate Systems
(page 89).

77

On a product-wide
level...
Set up object classification.

Use this method...
1 Select a sample object for the
object class.

2 Attach an object definition file.
3 On the Map Explorer tab of the
Task Pane, right-click Object
Classes. Click Define Object Class.

Set up for digitizing

1 Configure the digitizer in the
AutoCAD Options dialog box.

2 Register the map using the TABLET command.

3 Set digitizing specifications in the
Digitize Setup dialog box.

4 Use the MAPDIGITIZE command

To get this result...
Define a set of standard objects
for your organization so that new
drawing objects of that type use
the properties you defined.
See Overview of Setting Up Object Classification (page 117).

Convert paper-based graphical
information into a digital format
using drawing commands to
trace data from the paper map
into a DWG file.
See Setting Up for Digitizing
(page 130) and Overview of Digitizing Objects (page 1079).

to digitize the objects.

Set default values and settings.

In the Tool-based Ribbon Workspace,
click Map Setup tab ➤ Map panel ➤ angle-arrow.

Set options related to images you added with Raster Extension.

In the Tool-based Ribbon Workspace,
click Insert tab ➤ Image panel ➤ anglearrow.

78 | Chapter 2 Setting Up

Change settings that affect the
work environment, how the
program starts up, whether users
must log in, and settings for your
current drawings, data sources,
and more.
See Setting Options (page 216).
Changes settings related to the
Raster Extension, such as where
image-related files are stored,
how images display in maps, and
memory usage options. These
options do not affect images you
added with Data Connect.
Setting Raster Image Options
(page 249)

On a product-wide
level...

Use this method...

To get this result...

Customize and automate
import and export operations.

Edit the mapexport.ini file using a text
editor such as WordPad.

Modify the .ini files that specify
import and export settings.
See Customizing the Import and
Export .ini Files (page 264).

On a map-wide basis...

Use this method...

To get this result...

Assign a coordinate system.

Click Map Setup tab ➤ Co-

Specify the coordinate system used for attached drawings and for the current
drawing.
See Assigning Coordinate Systems (page
142)

ordinate System panel ➤ As-

sign.
Attach drawings.

Drag a drawing file from
Windows Explorer to the
Map Explorer tab of the
Task Pane.

Work with objects from other drawings by
attaching those drawings to the current
map and querying in the objects.
See Overview of Attaching Drawings (page
154)

Modify the settings for attached drawings.

At the Command prompt,
enter adedrawings.

Specify how attached drawings work with
the current drawing and view information
about attached drawings.
See Modifying Attached Drawing Settings
(page 163).

1 To save the current

Save and reuse drawing queries in a library.
See Overview of Using the Query Library
(page 174).

Set up queries.

query, click Home
tab ➤ Data panel ➤ Define Query.

2 To run a saved query,
click Create
tab ➤ Object Query

panel ➤ Run.

Overview of Setting Up | 79

On a map-wide basis...

Use this method...

To get this result...

Define annotation templates.

Click Annotate tab ➤ Map

Define the information to display in a
drawing object annotation and the layout
of that information. Then you can attach
instances of the annotation to drawing
objects in your drawing.
See Defining Annotation Templates (page
190)

Annotation panel ➤ Define

Template.

Set up object data.

Object Data.

Create tables with fields for text and numerical information. Attach records from the
table to drawing objects.
See Creating an Object Data Table (page
200).

Drag the database file from
Windows Explorer to the
Map Explorer tab of the
Task Pane.

Attach a database to your map and link
records from that table to objects in your
map.
See Attaching a Data Source (page 208).

Click Map Setup tab ➤ Attribute Data panel ➤ Define

Set up data sources for
drawings.

Setting Up AutoCAD Map 3D
See also:
■

Overview of Setting Up Your Map File (page 139)

■

Setting Options (page 216)

■
■
■
■
■

To add a new user (page 83)
To create a new workspace (page 85)
To add ribbon, menu, and toolbar options (page 85)
To add entire ribbon tabs, menus, or toolbars to a workspace (page 86)
To switch between Tool-based, Task-based, and Map Classic workspaces
(page 86)
To restore the default colors (page 86)
To show the command line interface for a particular workspace (page 87)
To hide the map status bar (page 87)
To enable Update Edits Automatically by default (page 88)
To disable connection pooling by default (page 88)
To turn file selection dialog boxes on or off (page 88)
To turn other dialog boxes on or off (page 88)

■
■
■
■
■
■
■

80 | Chapter 2 Setting Up

Overview of Setting Up AutoCAD Map 3D
You can customize AutoCAD Map 3D to make your work easier and more
productive. Your changes affect all future sessions of AutoCAD Map 3D.
See also:
■

Overview of Setting Up Your Map File (page 139)

■

Setting Options (page 216)

The following table summarizes your customization options.
To do this...

Use this method...

To get this result...

Assign a coordinate system.

Click Map Setup tab ➤ Co-

Specify the coordinate system used for attached drawings and for the current
drawing.
See Assigning Coordinate Systems (page
142)

ordinate System panel ➤ As-

sign.
Attach drawings.

Drag the drawing file from
Windows Explorer to the
Map Explorer tab of the
Task Pane.

Work with objects from other drawings by
attaching those drawings to the current
map and querying in the objects.
See Overview of Attaching Drawings (page
154)

Modify the settings for attached drawings.

At the Command prompt,
enter adedrawings.

Specify how attached drawings work with
the current drawing and view information
about attached drawings.
See Modifying Attached Drawing Settings
(page 163).

1 To save the current

Save and reuse queries in a library.
See Overview of Using the Query Library
(page 174).

Set up queries.

query, click Home
tab ➤ Data panel ➤ Define Query.

2 To run a saved query,
click Create

Overview of Setting Up AutoCAD Map 3D | 81

To do this...

Use this method...

To get this result...

tab ➤ Object Query

panel ➤ Run.

Define annotation templates.

Click Annotate tab ➤ Map
Annotation panel ➤ Define

Template.

Set up object data.

Object Data.

Create tables with fields for text and numerical information. Attach records from the
table to objects.
See Creating an Object Data Table (page
200).

Drag the database file from
Windows Explorer to the
Map Explorer tab of the
Task Pane.

Attach a database to your map and link
records from that table to objects in your
map.
See Attaching a Data Source (page 208).

Click Map Setup tab ➤ Attribute Data panel ➤ Define

Set up data sources for
drawings.

Define the information to display in an
annotation and the layout of that information. Then you can insert instances of the
annotation into your drawing.
See Defining Annotation Templates (page
190)

Setting Up Users and Assigning Rights
The system administrator controls who has access to AutoCAD Map 3D by
assigning login names and passwords to users. Also, the system administrator
can specify the privileges or operations available to each user.
AutoCAD Map 3D stores the settings for several AutoCAD Map 3D options
with your login name, which means that these option settings are in effect
whenever you log in under that name to that copy of AutoCAD Map 3D on
that machine. After you log in, AutoCAD Map 3D sets up your user
environment, including user privileges and user-specific options, such as Task
Pane options and Data Source options.
See also:
■

Setting Task Pane Options (page 221)

■

Setting Data Source Options (page 236)

82 | Chapter 2 Setting Up

To add a new user
1 Click Map Setup tab ➤ Map panel ➤

➤ User Administration.

2 In the User Administration dialog box (page 1934), under User Profile, in
the Login Name box, enter a name for the user.
The login name must be unique. It is not case sensitive. Use any characters
except the following: " / \ [ ] : ; | = , + * ? < >
3 In the Password box, enter a password for the user. Passwords are case
sensitive.
4 Under Privileges, specify the operations available to the user by selecting
one or more of the following:
■

Superuser — User can perform user administration tasks, set system
options, and perform any other AutoCAD Map 3D operation.
The default superuser login name is SuperUser (not case sensitive) and
the password is SUPERUSER (case sensitive). If security is an issue,
make sure that you change the default superuser login and password.

■

Alter Drawing Set — User can attach and detach drawings. If this
option is not selected, the user can activate and deactivate drawings,
but cannot attach and detach them.

■

Alter Object Class — User can define and edit object class definitions.
If this option is not selected, users can only assign object classes and
change the current object classification file.

■

Edit Drawing — User can edit objects and save them back to source
drawings. If this option is not selected, the user can edit objects but
cannot save them back to source drawings.

■

Draw Query — User can execute Draw mode queries, which copy
objects into the current drawing. If this option is not selected, users
can do Preview and Report mode queries only.

5 Click Add.
6 Click OK.
To edit a user profile, select the name in the User List and modify the settings
you want. Click Update.

Setting Up Users and Assigning Rights | 83

Quick Reference
MAPUSERADMIN
Performs administrative functions
Menu

Setup menu ➤ User Administration

Command Line

MAPUSERADMIN

Task Pane

In Map Explorer, right-click Current Drawing ➤ User
Admin

Dialog Box

User Administration dialog box

Customizing Your Work Environment
Your work environment – that is, the way the ribbon, menus, toolbars, and
dockable windows are laid out – is saved in a workspace.
You can customize a workspace to look and function just the way you want,
or create a workspace. You can save different workspaces for different tasks,
use them to help you streamline common tasks, or set up best practices for
mapping tasks and workflow.
For example, you can set up a map creation workspace to streamline acquiring,
integrating, and building maps, and another workspace for creating and
publishing map books and atlases.
Within a session, you can easily switch between workspaces.
AutoCAD Map 3D includes three predefined workspaces:
■

Tool-based Ribbon Workspace

■

Task-based Ribbon Workspace

■

Map Classic Workspace

You can customize any of these workspaces and easily switch between them.
See also:
■

Workspaces

■

To create a new workspace (page 85)

84 | Chapter 2 Setting Up

■

To add ribbon, menu, and toolbar options (page 85)

■

To add entire ribbon tabs, menus, or toolbars to a workspace (page 86)

■

To switch between Tool-based, Task-based, and Map Classic workspaces
(page 86)

■

To restore the default colors (page 86)

■

To show the command line interface for a particular workspace (page 87)

■

To hide the map status bar (page 87)

■

To enable Update Edits Automatically by default (page 88)

■

To disable connection pooling by default (page 88)

To create a new workspace
1 In the Tool-based Ribbon Workspace, click Tools tab ➤ Customization
panel ➤ User Interface.
2 In the Customize User Interface dialog box, under Customizations In All
CUI FILES, right-click the Workspaces node and select New Workspace,
or right-click an existing workspace and select duplicate.
3 Select the new workspace.
4 Under Workspace Contents, click Customize Workspace.
5 In the Customizations In All CUI Files tree, check the items you want to
include.
6 Click Done.
7 Click OK.
To add ribbon, menu, and toolbar options
1 In the Customize User Interface dialog box, under Customizations In All
CUI Files, select the workspace you want to modify.
2 Under Customizations In All CUI Files, expand the item you want to
customize so that you can see all the items underneath it.
For example, expand the Topology menu to see the topology options
underneath.

Customizing Your Work Environment | 85

3 Under Command List, click and drag the tool you want to include to the
item in Customizations In All CUI Files.
4 Click Apply.
5 Click OK.
To add entire ribbon tabs, menus, or toolbars to a workspace
1 In the Customize User Interface dialog box, under Customizations In All
CUI Files, select the workspace you want to modify.
2 Under Workspace Contents, click Customize Workspace.
3 In the Customizations In All CUI Files tree, check the items you want to
include.
4 Click Done.
5 Click OK.
To switch between Tool-based, Task-based, and Map Classic workspaces
1 Click the Workspace Switching button in the bottom-right corner of the
application window.
A floating toolbar opens with all workspace options available. You can
either dock this toolbar, leave it floating or close it.
2 In the toolbar, use the drop-down list to select the workspace you want.
Unless you specify otherwise, AutoCAD Map 3D opens with the Tool-based
workspace.
For more information, see Workspaces.
To restore the default colors

1 Click

➤ Options.

2 In the Options dialog box, click the Display tab, and then click Colors.
3 In the Drawing Window Colors dialog box, select the element you want
to change by clicking the images for the Model tab or Layout tabs.
As you click areas of the images, the selection is displayed in the Window
Element list. You can also change an attribute by selecting it from the

86 | Chapter 2 Setting Up

Window Element list. For example, for the Map background, select Model
Tab Background.
4 From the Color list, click Select Color.
5 In the Select Color dialog box, click the Color Books tab, and then select
AutoCAD Map 3D Colors from the Color Book list.
The AutoCAD Map 3D color book displays the default colors used in the
application. You can select a color or use the color book as a reference.
It does do not control the defaults in the application; do not attempt to
modify it.
6 Select a color by clicking a color chip.
For example, click the blue Map Background chip to use the new map
background color (model tab).
7 Click OK.
8 In the Color Options dialog box, click Apply and Close to record the
current option settings in the system registry and close the dialog box.
9 In the Options dialog box, click OK.
To show the command line interface for a particular workspace
1 In the Tool-based Ribbon Workspace, click Tools tab ➤ Customization
panel ➤ User Interface.
2 In the Customize User Interface dialog box, select a workspace.
3 In the Workspace Contents area, expand Palettes, scroll to the bottom
of the list, and then click Command Line.
4 In the Properties area under Appearance, click Show, and then select Yes
from the drop-down list.
5 Under Workspace Contents, click the Customize Workspace button.
6 Click OK.
To hide the map status bar
1 At the Command prompt, enter mapstatusbar.
2 Enter hide.

Customizing Your Work Environment | 87

To enable Update Edits Automatically by default
1 At the Command prompt, enter mapeditsetautodefault
2 Enter active.
To disable connection pooling by default
1 At the Command prompt, enter mapconnectionpooling.
2 Enter deactive.
To turn file selection dialog boxes on or off
NOTE If you use scripts to automate some AutoCAD Map 3D functions, you may
find it useful to turn off dialog boxes .
1 At the Command prompt, enter filedia.
2 To turn on dialog boxes , enter 1. To turn off dialog boxes , enter 0.
To turn other dialog boxes on or off
1 At the Command prompt, enter cmddia.
2 To turn on dialog boxes , enter 1. To turn off dialog boxes , enter 0.

Quick Reference
MAPOPTIONS
Sets AutoCAD Map 3D options
Menu

Setup menu ➤ Autodesk Map Options

Icon
Options
Command Line

MAPOPTIONS

Task Pane

In Map Explorer, right-click Current
Drawing ➤ Options

Dialog Box

AutoCAD Map Options dialog box

OPTIONS

88 | Chapter 2 Setting Up

Customizes the AutoCAD settings
Menu

Setup menu ➤ AutoCAD Options

Command Line

OPTIONS

Task Pane

Right-click in the drawing area ➤ Options

MAPEDITSETAUTODEFAULT
Specifies the default setting for updating edits to the feature source
automatically
Command Line

MAPEDITSETAUTODEFAULT

MAPSTATUSBAR
Toggles the Map status bar on and off
Command Line

MAPSTATUSBAR

MAPCONNECTIONPOOLING
Toggles connection pooling on and off
Command Line

MAPCONNECTIONPOOLING

Creating New Coordinate Systems
AutoCAD Map 3D comes with an extensive library of coordinate systems. If
no suitable coordinate system exists, you can define a customized coordinate
system.
See also:
■

Overview of Coordinate Systems (page 143)

■

Overview of Grid Data Files and Datum Shift Issues (page 103)

■
■

To define coordinate systems (page 90)
To work with grid data files and datum shifts (page 102)

Defining Coordinate Systems
You can define customized coordinate systems in AutoCAD Map 3D.

Creating New Coordinate Systems | 89

See also:
■

Overview of Coordinate Systems (page 143)

■

Assigning a Coordinate System to the Current Drawing (page 147)

To define coordinate systems
■
■
■
■
■
■
■
■

To define a coordinate system (page 92)
To define a datum (page 94)
To define an ellipsoid (page 95)
To create a coordinate system category (page 97)
To modify or delete a coordinate system (page 98)
To modify or delete a datum (page 99)
To modify or delete an ellipsoid (page 100)
To edit or delete a coordinate system category (page 101)

Overview of Creating New Coordinate Systems
You can create acompletely new global coordinate system (page 2065) or use a
predefined coordinate system as a basis for creating your own. You can also
modify or delete any coordinate systems that you define. You cannot delete
any of the predefined coordinate systems supplied with AutoCAD Map 3D.
When you define a coordinate system you must specify the following
parameters:
■

map projection (page 2068) — Used to convert points from latitude and
longitude to Cartesian coordinates.
and one of the following:

■

datum (page 2059) — Reference point, line, or surface for mapping.

■

ellipsoid (page 2062) — Geometric surface whose plane sections are all circles
or ellipses.

See also:
■

Overview of Coordinate Systems (page 143)

■

Overview of Grid Data Files and Datum Shift Issues (page 103)

90 | Chapter 2 Setting Up

For this item...

Define, delete, or modify using this
method...

global coordinate system (page 2065) To define a coordinate system (page 92)
To modify or delete a coordinate system
(page 98)
Datum

To define a datum (page 94)
To modify or delete a datum (page 99)

Ellipsoid

To define an ellipsoid (page 95)
To modify or delete an ellipsoid (page 100)

Coordinate system category

To create a coordinate system category
(page 97)
To edit or delete a coordinate system category (page 101)

Quick Reference
ADEDEFCRDSYS
Defines a global coordinate system
Menu

Setup menu ➤ Define Global Coordinate System

Command Line

ADEDEFCRDSYS

Dialog Box

Global Coordinate System Manager Dialog Box

Defining a Global Coordinate System
You can define a new global coordinate system (page 2065) based on your own
data or use a predefined coordinate system as a basis for creating your own.
Depending on the projection you use to define a custom coordinate system,
you must provide certain information. For example, if you use the Transverse
Mercator projection, you must specify a longitude value called the central
meridian.

Creating New Coordinate Systems | 91

False Origin
When defining a custom coordinate system, you may want to enter a false
origin, with northing and easting values. For example, if you are using the
Transverse Mercator projection, and the central meridian bisects the mapping
region, half of the X coordinates are negative values. Coordinate system
definitions usually include an offset called the false origin that is added to all
coordinates to make them positive. The X coordinate of this offset is called
the false origin easting. The Y coordinate of this offset is called the false origin
northing.

Scale Reduction Factor
To produce the smallest possible distance between the projection surface and
any point in the region you are mapping, you must specify a scale reduction
factor. This is particularly important when you are mapping large regions. For
the Transverse Mercator projection, you enter this value in the Scale Reduction
field in the Define Global Coordinate System dialog box.
See also:
■

Overview of Coordinate Systems (page 143)

■

Overview of Grid Data Files and Datum Shift Issues (page 103)

To define a coordinate system
1 Click Map Setup tab ➤ Coordinate System panel ➤ Define Global
Coordinate System.
2 In the Global Coordinate System Manager dialog box, select a category.
3 Do one of the following:
■

To create a new coordinate system, click Define.

■

To create a new coordinate system based on an existing, predefined
coordinate system, select the coordinate system from the Coordinate
Systems In Category list. Click Modify.

4 On the General tab of the Define Coordinate System dialog box, enter a
unique code in the Code box.
The code must be unique within a category and across all coordinate
systems and must not contain spaces. Only the following characters are
valid: A-Z (upper or lower case), 0-9, dash, and underscore.

92 | Chapter 2 Setting Up

If you are creating a new coordinate system based on an existing
coordinate system, you must change the code before you can change any
of the other information.
5 Enter a description.
AutoCAD Map 3D displays the description in the Coordinate Systems In
Category list of the Global Coordinate System Manager dialog box.
6 In the Units box, select the units to use for this coordinate system.
7 Under Coordinate System Type, select one of the following:
■

To base the coordinate system on a datum (page 2059), select Geodetic.
Click Select to specify the datum.

■

To base the coordinate system on an ellipsoid (page 2062), select
Non-Geodetic. Click Select to specify the ellipsoid.

8 On the Projection tab, select a projection.
The projection you choose determines how many projection parameters
you must enter and the units you can use.
9 Optionally, under False Origin, enter Northing and Easting values.
10 Under Projection Parameters, enter values for the remaining fields in the
dialog box. Click OK.
These fields vary according to the projection you select.

Quick Reference
ADEDEFCRDSYS
Defines a global coordinate system
Menu

Setup menu ➤ Define Global Coordinate System

Command Line

ADEDEFCRDSYS

Dialog Box

Global Coordinate System Manager Dialog Box

Defining a New Datum
You can define a new datum based on your own data or use a predefined
datum (page 2059) as a basis for creating your own.

Creating New Coordinate Systems | 93

When defining a custom datum, select the conversion technique, either
Molodensky, Bursa/Wolfe, or Seven Parameter Transformation. After choosing
the conversion technique, specify the appropriate conversion parameters for
the technique you chose.
See also:
■

Overview of Coordinate Systems (page 143)

■

Overview of Grid Data Files and Datum Shift Issues (page 103)

■

Defining an Ellipsoid (page 95)

To define a datum
1 Click Map Setup tab ➤ Coordinate System panel ➤ Define Global
Coordinate System.

Select Define or Modify.

2 On the General tab of the Define Global Coordinate System dialog box
or the Modify Global Coordinate System dialog box, select Geodetic.
Click Define.
3 In the Datum Manager dialog box, click Define.
4 On the General tab of the Define Datum dialog box, enter a code and
description for the datum (page 2059).
The code must be unique within a category and across all coordinate
systems and must not contain spaces. Only the following characters are
valid: A-Z (upper or lower case), 0-9, dash, and underscore.
AutoCAD Map 3D displays the description in the Datums list of the
Datum Manager dialog box.
5 Under Ellipsoid, select or define an ellipsoid (page 2062) to use for the new
datum.
For information about defining ellipsoids, see Defining an Ellipsoid (page
95).
6 On the Datum Conversion tab, select a conversion technique from the
Datum Conversion Technique list.
7 Enter the appropriate conversion parameters for the conversion technique
you selected.
Under Conversion Parameters, under Vector Component Deltas To
WGS-84 In Meters, enter the vector component deltas to WGS-84.

94 | Chapter 2 Setting Up

If you use the Bursa/Wolfe or Seven Parameter Transformation conversion
method, fill in all four edit boxes under Rotation Angle From WGS-84 In
Arc Seconds.

Quick Reference
ADEDEFCRDSYS
Defines a global coordinate system
Menu

Setup menu ➤ Define Global Coordinate System

Command Line

ADEDEFCRDSYS

Dialog Box

Global Coordinate System Manager Dialog Box

Defining an Ellipsoid
You can define a new ellipsoid (page 2062) based on your own data or use a
predefined ellipsoid as a basis for creating your own.
When defining a custom ellipsoid, you must specify the calculation method
and values used to determine the dimensions of the ellipsoid. After choosing
the calculation method, you supply two of the required values, and AutoCAD
Map 3D determines the remaining two values for you.
See also:
■

Overview of Coordinate Systems (page 143)

■

Overview of Grid Data Files and Datum Shift Issues (page 103)

■

Defining a New Datum (page 93)

To define an ellipsoid
1 Do one of the following:
■

On the General tab of the Define Datum dialog box or the Modify
Datum dialog box, under Ellipsoid, click Define.
Click Map Setup tab ➤ Coordinate System panel ➤ Define Global
Coordinate System.

Select Define or Modify.

Creating New Coordinate Systems | 95

■

Under Coordinate System Type on the General tab of the Define
Global Coordinate System dialog box, select Non-Geodetic. Click
Define.

2 In the Ellipsoid Manager dialog box, click Define.
3 In the Define Ellipsoid dialog box, enter a code and description for the
ellipsoid (page 2062).
The code must be unique within a category and across all coordinate
systems and must not contain spaces. Only the following characters are
valid: A-Z (upper or lower case), 0-9, dash, and underscore.
AutoCAD Map 3D displays the description in the Available Ellipsoids list.
4 Under Ellipsoid Dimensions, do the following:
5 Select a calculation method.
6 Enter values for the two parameters that correspond to the calculation
method you chose. AutoCAD Map 3D computes the other two values
based on the ones you enter.
7 Click OK.

Quick Reference
ADEDEFCRDSYS
Defines a global coordinate system
Menu

Setup menu ➤ Define Global Coordinate System

Command Line

ADEDEFCRDSYS

Dialog Box

Global Coordinate System Manager Dialog Box

Creating a Coordinate System Category
You can organize your coordinate systems by creating categories and moving
coordinate systems into those categories.
See also:
■

Overview of Coordinate Systems (page 143)

96 | Chapter 2 Setting Up

■

Overview of Creating New Coordinate Systems (page 90)

■

Overview of Grid Data Files and Datum Shift Issues (page 103)

To create a coordinate system category
1 Click Map Setup tab ➤ Coordinate System panel ➤ Define Global
Coordinate System.
2 In the Global Coordinate System Manager dialog box, click Category
Manager.
3 In the Coordinate System Category Manager, click New.
4 Type a name in the Category Name box.
5 From the Available Categories list, select a category that contains
coordinate systems to include in the new category.
6 In the Coordinate Systems In Category list, select the coordinate systems
to include in the new category.
7 Click Add.
You can select any number of coordinate systems from existing categories
to include in the new category.
8 When you have finished adding coordinate systems, click OK.

Quick Reference
ADEDEFCRDSYS
Defines a global coordinate system
Menu

Setup menu ➤ Define Global Coordinate System

Command Line

ADEDEFCRDSYS

Dialog Box

Global Coordinate System Manager Dialog Box

Creating New Coordinate Systems | 97

Modifying or Deleting a Global Coordinate System
You can modify or delete any coordinate systems that you define. You cannot
modify or delete predefined coordinate systems supplied with AutoCAD Map
3D.
See also:
■

Overview of Coordinate Systems (page 143)

■

Overview of Creating New Coordinate Systems (page 90)

■

Creating a Coordinate System Category (page 96)

To modify or delete a coordinate system
1 Click Map Setup tab ➤ Coordinate System panel ➤ Define Global
Coordinate System.
2 In the Global Coordinate System Manager dialog box, select the category
that contains the global coordinate system to modify or delete.
3 Select the coordinate system from the Coordinate Systems In Category
list.
4 To modify the coordinate system, click Modify.
To delete the coordinate system, click Remove. Click OK.
5 If you are modifying the coordinate system, in the Modify Global
Coordinate System dialog box, change information as necessary.
To modify a predefined coordinate system, you must change the code
on the General tab before you can change the other coordinate system
properties.

Quick Reference
ADEDEFCRDSYS
Defines a global coordinate system
Menu

Setup menu ➤ Define Global Coordinate System

Command Line

ADEDEFCRDSYS

98 | Chapter 2 Setting Up

Dialog Box

Global Coordinate System Manager Dialog Box

Modifying or Deleting a Datum
You can modify or delete any datum (page 2059) that you define. You cannot
modify or delete predefined datums supplied with AutoCAD Map 3D.
If you modify or delete a datum that you have defined, you must also modify
or delete any coordinate systems that reference that datum.
See also:
■

Overview of Coordinate Systems (page 143)

■

Overview of Creating New Coordinate Systems (page 90)

■

Overview of Grid Data Files and Datum Shift Issues (page 103)

■

To define an ellipsoid (page 95)

To modify or delete a datum
1 On the General tab of the Define Global Coordinate System dialog box
or the Modify Global Coordinate System dialog box, select Geodetic.
Click Define.
Click Map Setup tab ➤ Coordinate System panel ➤ Define Global
Coordinate System.

Select Define or Modify.

2 In the Datum Manager dialog box, select a datum (page 2059).
3 To modify the datum, click Modify.
To remove the datum, click Remove.
4 If you are modifying the datum, on the General tab of the Define Datum
dialog box, change the code and description for the datum.
To modify a predefined datum, you must change the code on the General
tab before you can change the other datum properties.
5 Under Ellipsoid, select or define an ellipsoid (page 2062) to use for the datum.
For information about defining ellipsoids, see Defining an Ellipsoid (page
95).
6 On the Datum Conversion tab, select a conversion technique from the
Datum Conversion Technique list.

Creating New Coordinate Systems | 99

7 Enter the appropriate conversion parameters for the conversion technique
you selected.

Quick Reference
ADEDEFCRDSYS
Defines a global coordinate system
Menu

Setup menu ➤ Define Global Coordinate System

Command Line

ADEDEFCRDSYS

Dialog Box

Global Coordinate System Manager Dialog Box

Modifying or Deleting an Ellipsoid
You can modify or delete any ellipsoid (page 2062) that you define. You cannot
modify or delete predefined ellipsoids supplied with AutoCAD Map 3D.
If you modify or delete an ellipsoid (page 2062) that you have defined, you must
also modify or delete any coordinate systems that reference that ellipsoid.
See also:
■

Overview of Coordinate Systems (page 143)

■

Overview of Creating New Coordinate Systems (page 90)

■

To define an ellipsoid (page 95)

To modify or delete an ellipsoid
1 On the General tab of the Define Datum dialog box or the Modify Datum
dialog box, under Ellipsoid, click Define.
2 In the Ellipsoid Manager dialog box, select an ellipsoid (page 2062).
Click Map Setup tab ➤ Coordinate System panel ➤ Define Global
Coordinate System.

Select Define or Modify.

3 To modify the ellipsoid, click Modify.
To delete the ellipsoid, click Remove.

100 | Chapter 2 Setting Up

4 If you are modifying an ellipsoid, enter a code and description for the
ellipsoid.
To modify a predefined ellipsoid, you must change the code before you
can change the other ellipsoid properties.
5 Under Calculation Method, select a calculation method.
6 Enter the appropriate ellipsoid dimension parameters for the calculation
method you selected.

Quick Reference
ADEDEFCRDSYS
Defines a global coordinate system
Menu

Setup menu ➤ Define Global Coordinate System

Command Line

ADEDEFCRDSYS

Dialog Box

Global Coordinate System Manager Dialog Box

Modifying or Deleting a Coordinate System Category
You can modify categories by adding or removing coordinate systems, or
moving coordinate systems from one category to another. You can also delete
categories.
See also:
■

Overview of Coordinate Systems (page 143)

■

Overview of Creating New Coordinate Systems (page 90)

■

Creating a Coordinate System Category (page 96)

To edit or delete a coordinate system category
1 Click Map Setup tab ➤ Coordinate System panel ➤ Define Global
Coordinate System.
2 In the Global Coordinate System Manager dialog box, click Category
Manager.

Creating New Coordinate Systems | 101

3 In the Coordinate System Category Manager, select a category.
4 To modify the category, click Edit.
To delete the category, click Remove.
5 If you are modifying the category, do one or more of the following:
■

To remove coordinate systems from the category, click the coordinate
system names in the list under the Category Name box. Click Remove.

■

To add coordinate systems to the category, click the coordinate system
names in the list under the Available Categories list. Click Add.

■

To add coordinate systems from different categories, select the category
name in the Available Categories list.

Quick Reference
ADEDEFCRDSYS
Defines a global coordinate system
Menu

Setup menu ➤ Define Global Coordinate System

Command Line

ADEDEFCRDSYS

Dialog Box

Global Coordinate System Manager Dialog Box

Grid Data Files and Datum Shifts
AutoCAD Map 3D uses grid data files to specify datum (page 2059) shift
information and Grid Data Catalog files to determine the order for those files
when converting from one datum to another.
See also:
■

Creating New Coordinate Systems (page 89)

■

Overview of Coordinate Systems (page 143)

To work with grid data files and datum shifts
■
■

To set up a new grid data file (page 105)
To set up a new grid data file for the United States (page 108)

102 | Chapter 2 Setting Up

■
■
■
■
■
■

To set up a new grid data file for France (page 109)
To set up a new grid data file for Australia or New Zealand (page 110)
To use the new high accuracy GDA94 datum (page 111)
To use version 2 of the Canadian National Transformation (page 112)
To use version 1 of the Canadian National Transformation (page 113)
To modify a coordinate system definition file (page 116)

Overview of Grid Data Files and Datum Shift Issues
When converting between certain coordinate systems in North America,
France, Australia, and New Zealand, AutoCAD Map 3D uses grid-based data
files called grid data files to obtain datum (page 2059) shift information.
For the United States, France, Australia, and New Zealand geography, the grid
data files are in the public domain and are distributed with AutoCAD Map
3D. The grid data files which cover Canadian geography are not in the public
domain and must be obtained from the proper authorities in Canada.
AutoCAD Map 3D uses Grid Data Catalog (GDC) files to determine the order
in which grid data files are used in areas of overlap when converting from one
datum (page 2059) to another.
See also:
■

Creating New Coordinate Systems (page 89)

■

Datum Shift Issues for North American Users (page 112)

■

Grid Data Files for Australia and New Zealand (page 109)

■

Grid Data Files for the United States (page 105)

■

Coordinate System Files (page 113)

■

Australian Datum Transformation and Coordinate System Changes (page
110)

You can do the following with grid data files
To do this...

See this topic...

Set up a new grid data file

Grid Data Catalog (GDC) Files (page 104)

Specify a new grid data file for the United
States

Grid Data Files for the United States (page
105)

Creating New Coordinate Systems | 103

To do this...

See this topic...

Specify a new grid data file for Australia or
New Zealand

Grid Data Files for Australia and New Zealand (page 109)

Use the high accuracy GDA94 datum for
Australia

Australian Datum Transformation and Coordinate System Changes (page 110)

Specify a grid data version to resolve differences between source and destination coordinate systems for Canada

Datum Shift Issues for North American
Users (page 112)

Modify a coordinate system file

Coordinate System Files (page 113)

Grid Data Catalog (GDC) Files
AutoCAD Map 3D uses Grid Data Catalog (GDC) files to determine the order
in which grid data files are used in areas of overlap when converting from one
datum (page 2059) to another in certain parts of the world, such as North
America, France, Australia, and New Zealand.
If there is an overlapping coverage, AutoCAD Map 3D selects the grid data file
with the smallest grid cell in the region of the conversion. If the grid cell sizes
are the same, AutoCAD Map 3D selects the grid data file that appears first in
the GDC file.
Grid Data Catalog files are ASCII text files with a .gdc extension that are stored,
by default, in the C:\Documents and Settings\All Users\Application
Data\Autodesk\Geospatial Coordinate Systems folder. The base name of
a GDC file is based on the transformation with which it is associated. For
example, the GDC file for the NAD27 to NAD83 transformation is
Nad27toNad83.gdc.
Each line in a GDC file points to a grid data file (also known as a datum shift
data file). GDC files also often include comments that are preceded by a pound
sign (#) and a fallback datum definition that is used when none of the grid
data files provide coverage for a point being converted.
See also:
■

Datum Shift Issues for North American Users (page 112)

■

Coordinate System Files (page 113)

104 | Chapter 2 Setting Up

■

Overview of Grid Data Files and Datum Shift Issues (page 103)

■

Grid Data Files for the United States (page 105)

■

Grid Data Files for Australia and New Zealand (page 109)

■

Australian Datum Transformation and Coordinate System Changes (page
110)

To set up a new grid data file
1 When you obtain a new grid data file, copy it into the appropriate folder
under the Autodesk shared coordinate system folder, by default
C:\Documents and Settings\All Users\Application Data\Autodesk\Geospatial
Coordinate Systems.
2 Open the appropriate GDC file in any text editor or word processor that
can produce an ASCII file, such as Notepad or Wordpad.
NOTE Back up GDC files before you edit them, so you can restore them to
their previous state, if necessary.
3 Edit the file to point to the name and location of your new grid data file.
4 Make other changes needed, such as rearranging or replacing grid data
files, changing the fallback datum (page 2059) definition, or adding
comments.

Grid Data Files for the United States
AutoCAD Map 3D uses North American Datum Conversion (NADCON) grid
data files from the National Geodetic Survey to obtain latitude and longitude
shift information for converting between coordinate systems within the United
States. A pair of grid data files is required for each area or state covered: a .las
file is required for latitude shift values (latitude seconds) and a .los file for
longitude shift values (longitude seconds).
The NADCON files include grid data files for transformations between NAD83
and state readjustments to HARN (High Accuracy Resolution Network) projects.
The .las and .los files are in the public domain and are distributed with
AutoCAD Map 3D. The files are stored in the Autodesk shared coordinate
system folder, by default C:\Documents and Settings\All Users\Application
Data\Autodesk\Geospatial Coordinate Systems\Usa\Nadcon.

Creating New Coordinate Systems | 105

The following is a list of NADCON grid data files.
Files (.las and
.los)

NADCON (North American
Datum Conversion)

Area/State

conus

NAD27 to NAD83

United States (USA) - lower 48 states including
EEZ

alaska

Alaska to NAD83

Alaska

hawaii

Old Hawaiian to NAD83

Hawaii

prvi

Puerto Rico to NAD83

Puerto Rico, Virgin Islands

stlrnc

St. Lawrence Island to NAD83

St Lawrence: off the coast of Alaska

stpaul

St. Paul Island to NAD83

St Paul: Pribiloff Islands off the coast of Alaska

stgeorge

St. George Island to NAD83

St George: Pribiloff Islands off the coast of
Alaska

alhpgn

NAD83 to NAD83 (HARN)

Alabama

azhpgn

NAD83 to NAD83 (HARN)

Arizona

cahpgn

NAD83 to NAD83 (HARN)

California, south of 38 degrees North

cnhpgn

NAD83 to NAD83 (HARN)

California, north of 38 degrees North

cohpgn

NAD83 to NAD83 (HARN)

Colorado

emhpgn

NAD83 to NAD83 (HARN)

Idaho and Montana, east of 113 degrees West

ethpgn

NAD83 to NAD83 (HARN)

Texas, east of 100 degrees West

flhpgn

NAD83 to NAD83 (HARN)

Florida

gahpgn

NAD83 to NAD83 (HARN)

Georgia

kyhpgn

NAD83 to NAD83 (HARN)

Kentucky

HARN Readjustments

106 | Chapter 2 Setting Up

Files (.las and
.los)

NADCON (North American
Datum Conversion)

Area/State

lahpgn

NAD83 to NAD83 (HARN)

Louisiana

mdhpgn

NAD83 to NAD83 (HARN)

Maryland and Delaware

mehpgn

NAD83 to NAD83 (HARN)

Maine

mihpgn

NAD83 to NAD83 (HARN)

Michigan

mshpgn

NAD83 to NAD83 (HARN)

Mississippi

nbhpgn

NAD83 to NAD83 (HARN)

Nebraska

ndhpgn

NAD83 to NAD83 (HARN)

North Dakota

nehpgn

NAD83 to NAD83 (HARN)

New England (Connecticut, Massachusetts,
New Hampshire, Rhode Island, and Vermont)

nmhpgn

NAD83 to NAD83 (HARN)

New Mexico

nyhpgn

NAD83 to NAD83 (HARN)

New York

okhpgn

NAD83 to NAD83 (HARN)

Oklahoma

pvhpgn

NAD83 to NAD83 (HARN)

Puerto Rico, Virgin Islands

sdhpgn

NAD83 to NAD83 (HARN)

South Dakota

tnhpgn

NAD83 to NAD83 (HARN)

Tennessee

vahpgn

NAD83 to NAD83 (HARN)

Virginia, excluding West Virginia

wihpgn

NAD83 to NAD83 (HARN)

Wisconsin

wmhpgn

NAD83 to NAD83 (HARN)

Idaho and Montana, west of 113 degrees West

wohpgn

NAD83 to NAD83 (HARN)

Washington and Oregon

wthpgn

NAD83 to NAD83 (HARN)

Texas, west of 100 degrees West

wyhpgn

NAD83 to NAD83 (HARN)

Wyoming

Creating New Coordinate Systems | 107

For more information about NADCON grid data files, refer to the National
Geodetic Survey web site.
See also:
■

Datum Shift Issues for North American Users (page 112)

■

Coordinate System Files (page 113)

■

Overview of Grid Data Files and Datum Shift Issues (page 103)

■

Grid Data Files for Australia and New Zealand (page 109)

■

Australian Datum Transformation and Coordinate System Changes (page
110)

To set up a new grid data file for the United States
1 When you obtain a new grid data file, copy it into the appropriate folder
under the Autodesk shared coordinate system folder, by default
C:\Documents and Settings\All Users\Application Data\Autodesk\Geospatial
Coordinate Systems\Usa\Nadcon.
2 Open the appropriate GDC file in any text editor or word processor that
can produce an ASCII file, such as Notepad or Wordpad.
NOTE Back up GDC files before you edit them, so you can restore them to
their previous state, if necessary.
3 Edit the file to point to the name and location of your new grid data file.
4 Make other changes needed, such as rearranging or replacing grid data
files, changing the fallback datum (page 2059) definition, or adding
comments.

Grid Data Files for France
AutoCAD Map 3D comes with a grid data catalog file (RgfToNtf.gdc) and a
national grid data file (gr3df97a.txt )for France. This file is installed in a folder
under the Autodesk shared coordinate system folder, by default C:\Documents
and Settings\All Users\Application Data\Autodesk\Geospatial Coordinate Systems.
Several French municipalities have developed local grid data files that allow
for more precise transformations within their respective regions. You can
obtain municipal grid data files from the local GIS or Survey department. If

108 | Chapter 2 Setting Up

you add references to such municipal grid data files to the French grid data
catalog file, AutoCAD Map 3D will automatically use them as appropriate.
Points within the boundaries of the municipal grids will be transformed using
the local grid data, and points outside those boundaries will be transformed
using national grid data.
To set up a new grid data file for France
1 When you obtain a new grid data file, copy it into the appropriate folder
under the Autodesk shared coordinate system folder, by default
C:\Documents and Settings\All Users\Application Data\Autodesk\Geospatial
Coordinate Systems.
2 Open RgfToNtf.gdc in any text editor or word processor that can produce
an ASCII file, such as Notepad or Wordpad.
NOTE Back up GDC files before you edit them, so you can restore them to
their previous state, if necessary.
3 Edit the file to point to the name and location of your new grid data file.
4 Make other changes needed, such as rearranging or replacing grid data
files, changing the fallback datum (page 2059) definition, or adding
comments.

Grid Data Files for Australia and New Zealand
AutoCAD Map 3D comes with grid data files for Australia and New Zealand.
These files are installed in folders under the Autodesk shared coordinate system
folder, by default C:\Documents and Settings\All Users\Application
Data\Autodesk\Geospatial Coordinate Systems.
Following is a table of the grid data files and GDC files used for Australia and
New Zealand.
Area

Transformation

Grid Data File (GSB) GDC File

Australia

AGD84 to GDA94

QLD_1299.gsb

Agd84ToGda94.gdc

Victoria

AGD66 to GDA94

vic_0799.gsb

Agd66ToGda94.gdc

Tasmania

AGD66 to GDA94

tas_1098.gsb

Agd66ToGda94.gdc

Northern Territory

AGD66 to GDA94

Nt_0599.gsb

Agd66ToGda94.gdc

Creating New Coordinate Systems | 109

Area

Transformation

Grid Data File (GSB) GDC File

New Zealand

New Zealand

nzgd2kgrid9911.gsb

Nzgd49ToNzgd2K.gdc

For more information about Australia and New Zealand coordinate systems,
go to http://www.ga.gov.au.
See also:
■

Australian Datum Transformation and Coordinate System Changes (page
110)

■

Datum Shift Issues for North American Users (page 112)

■

Coordinate System Files (page 113)

■

Overview of Grid Data Files and Datum Shift Issues (page 103)

■

Grid Data Files for the United States (page 105)

To set up a new grid data file for Australia or New Zealand
1 When you obtain a new grid data file, copy it into the appropriate folder
under the Autodesk shared coordinate system folder, by default
C:\Documents and Settings\All Users\Application Data\Autodesk\Geospatial
Coordinate Systems.
2 Open the appropriate GDC file in any text editor or word processor that
can produce an ASCII file, such as Notepad or Wordpad.
NOTE Back up GDC files before you edit them, so you can restore them to
their previous state, if necessary.
3 Edit the file to point to the name and location of your new grid data file.
4 Make other changes needed, such as rearranging or replacing grid data
files, changing the fallback datum (page 2059) definition, or adding
comments.

Australian Datum Transformation and Coordinate System
Changes
The Geocentric Datum of Australia (GDA) is the new Australian coordinate
system, replacing the Australian Geodetic Datum (AGD). GDA is part of a

110 | Chapter 2 Setting Up

global coordinate reference frame and is directly compatible with the Global
Positioning System (GPS).
Due to differences in the way the two datums were created, the GDA94
coordinates of a point appear to be about 200 meters northeast of the AGD
coordinates of the same point. The precise size and orientation of the difference
varies from place to place. For more technical information on the GDA, go to
http://www.icsm.gov.au/icsm/gda/
The new implementation of GDA94 and the associated datum (page 2059)
transformations are available by using the coordinate system files supplied in
AutoCAD Map 3D.
See also:
■

Grid Data Files for Australia and New Zealand (page 109)

■

Coordinate System Files (page 113)

■

Overview of Grid Data Files and Datum Shift Issues (page 103)

To use the new high accuracy GDA94 datum
1 Reassign one of the following coordinate systems to your drawing:
■

AMG66-49-Grid through AMG66-57-Grid

■

AMG-49-Grid through AMG-57-Grid

■

MGA-48-Grid through MGA-58-Grid

■

ISG_54-2-Grid through ISG_56-2-Grid

■

SGC-Grid

■

VICT-Grid

■

LL-AGD84-Grid

For example, if you have a drawing that uses AM666-49, reassign it to
AM666-49-Grid before using GDA94.
2 Do one of the following:
■

To define a new coordinate system using high accuracy datum (page
2059) transformations, use ASTRLA66-Grid and ASTRLA84-Grid.

■

To define a new coordinate system using the 3-Dimensional Similarity
Transformations, use ASTRLA66-7P, STRLA66-Tasm-7P,
ASTRLA66-VictNSW-7P, ASTRLA66-ACT-7P, and ASTRLA84-7P.

Creating New Coordinate Systems | 111

Datum Shift Issues for North American Users
If the source and destination coordinate systems use different datums,
AutoCAD Map 3D automatically performs a datum (page 2059) shift. Within
North America, this is most often a shift between the NAD27 and NAD83
datums.
For United States users, AutoCAD Map 3D uses the freely distributable
NADCON grid data files (page 105) supplied by USGS.
Canadian users can use either version 1 or version 2 of the Canadian National
Transformation supplied by Geomatics Canada. If both versions of the
Canadian National Transformation are present, AutoCAD Map 3D uses version
2.
WARNING Geomatics Canada no longer supports version 1, and many Canadian
provinces do not consider it to produce valid results. If you are in Canada and
doing NAD Shifts, it is recommended that you use version 2.
See also:
■

Creating New Coordinate Systems (page 89)

■

Grid Data Files for Australia and New Zealand (page 109)

■

Grid Data Files for the United States (page 105)

■

Coordinate System Files (page 113)

■

Australian Datum Transformation and Coordinate System Changes (page
110)

To use version 2 of the Canadian National Transformation
1 Obtain a copy of the data file.
Contact Information Services, Geodetic Survey Division, Geomatics
Canada
615 Booth Street
Ottawa, Ontario, K1A 0E9
(613) 995-4410
http://www.geod.nrcan.gc.ca
2 Once you have the file, copy it into the Autodesk shared coordinate
system folder, by default C:\Documents and Settings\All Users\Application

112 | Chapter 2 Setting Up

Data\Autodesk\Geospatial Coordinate Systems\Canada, and give it the
name Ntv2_0.gsb.
3 Using a text editor such as Notepad, open Nad27ToNad83.gdc (located
by default in the C:\Documents and Settings\All Users\Application
Data\Autodesk\Geospatial Coordinate Systems folder).
4 Delete the initial pound sign (#) from the line that begins:
#.\Canada\Ntv2_0.gsb.
To use version 1 of the Canadian National Transformation
1 Obtain a copy of the data file.
2 Copy it into the C:\Documents and Settings\All Users\Application
Data\Autodesk\Geospatial Coordinate Systems\Canada folder, and give it
the name grid11.dac.
3 Open Nad27ToNad83.gdc.
4 Delete the initial pound sign (#) from the line that begins:
#.\Canada\grid11.dac.
For more information on editing GDC files, see Grid Data Catalog (GDC) Files
(page 104).

Coordinate System Files
AutoCAD Map 3D uses certain files for storing coordinate system definitions
and defining datum (page 2059) transformation information.
Following is a list of these files. Files that should not be modified are marked
with an asterisk (*).
File

Description

Agd66ToGda94.gdc

Grid Data Catalog file for transformations
within Australia. Default grid data files:
Vic_0799.gsb, nt_0599.gsb, and
TAS_1098.gsb. Default fallback datum

(page 2059): ASTRLA66.
Agd84ToGda94.gdc

Grid Data Catalog file for transformations
within Australia. Default grid data file:

Creating New Coordinate Systems | 113

File

Description
QLD_1299.gsb. Default fallback datum:
ASTRLA84-7P.

GeoidHeight.gdc

Grid Data Catalog file for determining the
geoid height for any position in the United
States. Default data files are
GEO96AN.GEO, GEO96AS.GEO,
GEO96HW.GEO, GEO96NC.GEO,
GEO96NE.GEO, GEO96NW.GEO,
GEO96PR.GEO, GEO96SC.GEO,
GEO96SE.GEO, and GEO96SW.GEO. Fallback datum definition is not recommended.

Nad27ToNad83.gdc

Grid Data Catalog file for transformations
within North America. Default data files:
Conus.l?s, Alaska.l?s, PrVi.l?s, Hawaii.l?s,
STGEORGE.l?s, STLRNC.l?s, and STPAUL.l?s. Default fallback datum: NAD2748.

Nad83ToHarn.gdc

Grid Data Catalog file for transformations
within North America. Default grid data
files: alhpgn.l?s, azhpgn.l?s, cnhpgn.l?s,
cohpgn.l?s, cshpgn.l?s, emhpgn.l?s, ethpgn.l?s, flhpgn.l?s, gahpgn.l?s, hihpgn.l?s,
kshpgn.l?s, kyhpgn.l?s, lahpgn.l?s, mdhpgn.l?s, mehpgn.l?s, mihpgn.l?s, mshpgn.l?s, nbhpgn.l?s, ndhpgn.l?s, nehpgn.l?s,
nmhpgn.l?s, nvhpgn.l?s, nyhpgn.l?s, ohhpgn.l?s, okhpgn.l?s, pvhpgn.l?s, sdhpgn.l?s, tnhpgn.l?s, uthpgn.l?s, vahpgn.l?s,
wihpgn.l?s, wmhpgn.l?s, wohpgn.l?s,
wthpgn.l?s, wvhpgn.l?s, and wyhpgn.l?s.
Fallback datum definition is not recommended.

Nzgd49ToNzgd2K.gdc

Grid Data Catalog file for transformations
within New Zealand. Default grid data file:
nzgd2kgrid9911.gsb. Default fallback
datum: NZGD49-7P.

114 | Chapter 2 Setting Up

File

Description

Rgf93ToNtf.gdc

Grid Data Catalog file for transformations
between the RGF93 and NTF datums used
within France. Default grid data file:
gr3df97a.txt. Default fallback datum: NTFG.

Vertcon.gdc

Grid Data Catalog file for computing the
modeled difference in orthometric height
between the North American Vertical
Datum of 1988 (NAVD 88) and the National Geodetic Vertical Datum of 1929 (NGVD
29) for a given location specified by latitude and longitude. Default grid data files:
VERTCONC.94, VERTCONE.94, and VERTCONW.94. Fallback datum definition is not
recommended.

Category.csd *

A binary compiled file used for storing coordinate system category definitions. Also
called a dictionary file.

Coordsys.csd *

Coordinate systems dictionary file.

Datums.csd *

Datums dictionary file.

Elipsoid.csd *

Ellipsoids dictionary file.

.mrt files *

Multiple Regression Transformation binary
files that store the coefficients required for
multiple regression analysis. The base name
of the file is the same as the key name of
the datum with which it is associated.

.94 files *

Grid data files used by Vertcon.gdc.

.geo files *

Data files for determining the geoid height
for any position in the United States. These
are in GEOID96 format and are used by
GeoidHeight.gdc.

Creating New Coordinate Systems | 115

File

Description

.gsb files *

Grid data files for Canada, Australia, and
New Zealand. Both latitude and longitude
shifts (as well as accuracy values) are incorporated into a single .gsb file. The file
structure also supports the concept of
multiple grids, and subgrids within a major
grid.

.las and .los files *

Grid data files for United States geography.

See also:
■

Overview of Grid Data Files and Datum Shift Issues (page 103)

■

Grid Data Catalog (GDC) Files (page 104)

■

Grid Data Files for Australia and New Zealand (page 109)

■

Grid Data Files for the United States (page 105)

To modify a coordinate system definition file
1 Find the file to modify in the Autodesk shared coordinate system folder,
by default C:\Documents and Settings\All Users\Application
Data\Autodesk\Geospatial Coordinate Systems.
2 Make a backup copy of the file before modifying it.
NOTE Files that should not be modified are marked with an asterisk (*) in
the table on the Concept tab of this topic.
3 Edit the file in a text editor.

Setting Up Object Classification
■
■
■
■
■
■

Overview of Setting Up Object Classification (page 117)
Defining an Object Class (page 119)
Using Base Object Classes (page 122)
Specifying Ranges and Defaults (page 124)
Modifying an Object Class Definition (page 127)
Creating an Object Classification File (page 128)

116 | Chapter 2 Setting Up

See also:
■

Overview of Setting Up Object Classification (page 117)

■

Attaching an Object Class Definition File (page 995)

■
■
■
■
■
■
■

To set up object classification (page 118)
To define an object class (page 120)
To base a new object class on an existing class (page 123)
To specify that an object class can be used only as a base class (page 124)
To specify a default value and a range for a property (page 125)
To modify an object class definition (page 127)
To create a new object classification file (page 129)

See also:
■

Overview of Setting Up Object Classification (page 117)

Overview of Setting Up Object Classification
Object classes define a set of standard objects for your organization. When a
user adds one of these standard objects to a drawing that uses object
classification, the object is created using the properties you have defined and
is a “classified” object.
NOTE Object classification affects drawing objects only. For information about
classification methods for geospatial feature data, see Overview of Geospatial Data
(page 551)
A classified object is created using the appropriate object type. It has the object
data, external data, and topology data that you have defined for the object
class, and all properties included in the object class definition have values
that fall within the range you specified for the property.
When users edit the properties of classified objects, they can enter only values
that fall within the ranges you have specified for the property.
NOTE To define an object class, you must have Alter Object Class privileges (page
82).
See also:
■

Using Object Classification (page 981)

Setting Up Object Classification | 117

■

Understanding Object Classification (page 983)

NOTE Object classification affects drawing objects only. For information about
classification methods for geospatial feature data, see Overview of Geospatial Data
(page 551)
To set up object classification
■

Determine the standard objects for your organization.

■

Determine the hierarchy of object classes.
You can create categories of object classes and have all object classes in a
category inherit certain settings from the base object class for that category.

■

Create a sample object that has all the data and properties that to include
in the object class definition file.

■

Attach (page 995) an existing object definition file or create (page 129) a new
object class definition file.

■

Define (page 120) the new object class.
To use this object class as a base class (page 123), set the default value and
the range of allowable values (page 125) for each object that you include.

■

Store the object class definition file in a location that is accessible to all
the people in your organization who need it.

■

You can attach the object class definition file to your drawing template so
it is attached to all new drawings.

Quick Reference
ATTACHDEF
Changes the current feature definition file
Menu

Click Setup ➤ Classification Tools ➤ Attach Definition
File.

Command Line

ATTACHDEF

Task Pane

In Map Explorer, under Current Drawing, right-click
Object Classes ➤ Attach Definition File

Dialog Box

Attach Object Class Definition File dialog box

118 | Chapter 2 Setting Up

FEATUREDEF
Defines a new object class based on an example in thecurrent drawing
Menu

Click Setup ➤ Classification Tools ➤ Define Object
Class.

Icon
Define Object Class
Command Line

FEATUREDEF

Task Pane

In Map Explorer, under Current Drawing, right-click
Object Classes ➤ Define Object Class

Dialog Box

Define Object Classification dialog box

NEWDEF
Creates a new object class definition file
Menu

Click Setup ➤ Classification Tools ➤ New Definition
File.

Command Line

NEWDEF

Task Pane

In Map Explorer, under Current Drawing, right-click
Object Classes ➤ New Definition File

Dialog Box

New Object Class Definition File dialog box

Defining an Object Class
Define an object class by selecting a sample object in your drawing, choosing
which of its properties to include in the definition, and specifying the allowable
settings.
For example, if you want to define an object class for maintenance hole covers,
select an existing maintenance hole cover in your drawing.
If you do not have a sample object in your drawing, create an object with the
data and property settings that you want to include in the object class
definition.
For each object class, AutoCAD Map 3D stores information on how to create
the object, what properties it should have, what data should be attached, and
what topology information should be associated with it. All objects you create
using this object class definition have the selected properties and values.

Setting Up Object Classification | 119

NOTE Object classification affects drawing objects only. For information about
classification methods for geospatial feature data, see Overview of Geospatial Data
(page 551)

Editing Object Class Definitions
To define an object class, you must have Alter Object Class Privileges (page
82).
WARNING Only one person should edit object class definitions at a time. If two
people edit at the same time, one set of edits may be lost.
If someone has recently edited the definition file, quit AutoCAD Map 3D and
restart to get the updated definitions.

Renaming an Object Class
When you rename an object class, you change the name only in the object
class definition file. Any objects tagged with the object class name are
unchanged. Since these objects point to a name that no longer exists in the
object class definition file, the objects become undefined. You can search for
these undefined objects and update their object class name.
See also:
■

Using Base Object Classes (page 122)

■

Modifying an Object Class Definition (page 127)

■

Attaching an Object Class Definition File (page 995)

NOTE To define an object class, you must have Alter Object Class privileges (page
82).
NOTE Object classification affects drawing objects only. For information about
classification methods for geospatial feature data, see Overview of Geospatial Data
(page 551)
To define an object class
1 Select a sample object for the object class.
The sample object must have the properties, links, and attributes that
you want to include in the definition of the object class.

120 | Chapter 2 Setting Up

2 If an object definition file is not attached, enter attachdef at the command
prompt and attach the file.
3 On the Map Explorer tab of the Task Pane, right-click Object Classes.
Click Define Object Class.
4 When prompted to select a sample object, select the sample object. Press
Enter.
5 In the Define Object Classification dialog box (page 1785), enter a name
and a description.
6 To base this object class on an existing object class (page 123), select the
existing object class from the Based On list.
To use this object class as a base only, select Use As Base Object
Classification Only.
7 On the Applies To tab, select the object type for this object class.
You must select the object type before you can select properties on the
Properties List tab.
For best results, select the most specific object type that applies to all
objects in this class.
NOTE If you plan to use this object class with objects from a drawing source,
do not select more than one object type.
8 On the Properties List tab, select each of the properties you want to
include in the definition. For each property, enter a default value and a
range of possible values (page 125).
To specify a line weight, enter the decimal value as an integer. For
example, to specify a line weight of 0.13, enter 13.
To define a new property, click New Property. In the New Property dialog
box (page 1791), specify the category and name for the new property.
9 On the Class Settings tab, select the object to use to create the feature.
For example, if you are defining an object class for roads, select Polyline
as the creation method.
NOTE You can select only objects that match the object type you selected
on the Applies To tab.
You can also specify the icon to display for the object class and whether
you want the object class to appear on the Map Explorer tab of the Task
Pane.

Setting Up Object Classification | 121

Quick Reference
FEATUREDEF
Defines a new object class based on an example in thecurrent drawing
Menu

Click Setup ➤ Classification Tools ➤ Define Object
Class.

Icon
Define Object Class
Command Line

FEATUREDEF

Task Pane

In Map Explorer, under Current Drawing, right-click
Object Classes ➤ Define Object Class

Dialog Box

Define Object Classification dialog box

Using Base Object Classes
You can create hierarchies of object classes. When you base a new object class
on an existing object class, the new object class has all the properties of the
base class.
You cannot change base properties, but you can modify their attributes,
including the default value and the range of allowable values, and you can
include additional properties.
NOTE Object classification affects drawing objects only. For information about
classification methods for geospatial feature data, see Overview of Geospatial Data
(page 551)
NOTE To define an object class, you must have Alter Object Class privileges (page
82).

Sample Use
1 Define an object class called Roads with the basic properties that you
want to assign to all roads.
2 Define object classes called Primary Roads, Local Roads, and Fire Roads,
and base each of them on Roads.
Because the new object classes are based on Roads, they include all the
properties selected for Roads.

122 | Chapter 2 Setting Up

When you select all objects in a base class, objects in object classes based
on that class are also selected.

Using Object Classes as Base Classes Only
Sometimes when you create a base class, you intend to use it only as a base
for other object classes and not to create objects in drawings. For example,
you may not want the to use the Roads object class to create roads. You want
people to create roads using the Primary Roads and Secondary Roads classes
that are based on the Roads class. You can specify that an object class can be
used only as a base class.

Editing Base Classes
To edit a definition for an object class, you must have a sample object in the
drawing. However, if you use an object class as a base class only, you will not
have any example objects. For these object classes, you must edit the .xml
definition file directly.
See also:
■

Defining an Object Class (page 119)

■

Setting Up Object Classification (page 116)

NOTE To define an object class, you must have Alter Object Class privileges (page
82).
NOTE Object classification affects drawing objects only. For information about
classification methods for geospatial feature data, see Overview of Geospatial Data
(page 551)
To base a new object class on an existing class
1 Define the object class (page 120).
2 For Based On, select the object class on which you want to base this new
object class.
The selected properties of the base object class appear in the list.
3 You cannot clear any of the properties of the base object class, but you
can edit the property attributes, including the default and the range of
allowable values.

Setting Up Object Classification | 123

4 Add any additional properties you want, and finish defining the object
class.
To specify that an object class can be used only as a base class
1 Define the object class (page 120).
2 In the Define Object Classification dialog box (page 1785), select Use As
Base Object Classification Only.
Users can select objects using the base object class, but they cannot create
objects using it.

Quick Reference
FEATUREDEF
Defines a new object class based on an example in thecurrent drawing
Menu

Click Setup ➤ Classification Tools ➤ Define Object
Class.

Icon
Define Object Class
Command Line

FEATUREDEF

Task Pane

In Map Explorer, under Current Drawing, right-click
Object Classes ➤ Define Object Class

Dialog Box

Define Object Classification dialog box

Specifying Ranges and Defaults
When you define an object class, you can specify a range of allowable values
and a default value for new objects created using the object class.
NOTE Object classification affects drawing objects only. For information about
classification methods for geospatial feature data, see Overview of Geospatial Data
(page 551)
When someone creates a new object using this object class, AutoCAD Map
3D creates the object using the current settings for the property. If the current

124 | Chapter 2 Setting Up

settings do not match the range, the object is created using the specified
default value.
When users edit the values for properties associated with the object class, they
can only values that are within the allowable range. (This applies only if you
edit the properties using the Object Class Data tab of the Properties palette.)
When users classify existing objects, they can skip objects whose values are
not within the specified range. If they do not skip these objects, the objects
are assigned the default values.
NOTE To define an object class, you must have Alter Object Class privileges (page
82).
See also:
■

Defining an Object Class (page 119)

■

Setting Up Object Classification (page 116)

NOTE To define an object class, you must have Alter Object Class privileges (page
82).
NOTE Object classification affects drawing objects only. For information about
classification methods for geospatial feature data, see Overview of Geospatial Data
(page 551)
To specify a default value and a range for a property
1 Create the object class and select the object type (page 120) on the Applies
To tab of the Define Object Classification dialog box (page 1785).
2 On the Properties List tab, select a property.
3 Under Property Attributes, for Default, enter the default value for this
property.
4 For Range, specify the range of allowable values.
Click … to select from a list of properties if available, otherwise, enter
the values.
■

To enter a list of values, separate them with commas, for example:
1,5,9

Setting Up Object Classification | 125

■

To enter a range of numbers, enclose the first and last numbers in
square brackets and separate the numbers with a comma, for example:
[3,7]

■

You can combine a range with additional values, for example: 1,[3,7],9

■

To delete a range, enter two dashes ( "--" ).

Range values are case sensitive. For example, if you specify "Road" as an
allowable value in the range, "ROAD" will not match this value and will be
considered outside of the range.
See also:
■

Color Range Editor dialog box (page 1783)

■

Layer Range Editor dialog box (page 1789)

■

Linetype Range Editor dialog box (page 1789)

■

Lineweight Range Editor dialog box (page 1790)

■

Plotstyle Range Editor dialog box (page 1792)

Quick Reference
FEATUREDEF
Defines a new object class based on an example in thecurrent drawing
Menu

Click Setup ➤ Classification Tools ➤ Define Object
Class.

Icon
Define Object Class
Command Line

FEATUREDEF

Task Pane

In Map Explorer, under Current Drawing, right-click
Object Classes ➤ Define Object Class

Dialog Box

Define Object Classification dialog box

126 | Chapter 2 Setting Up

Modifying an Object Class Definition
To add properties to an object class definition, you must have a sample object
that includes the properties you want to add.
NOTE Object classification affects drawing objects only. For information about
classification methods for geospatial feature data, see Overview of Geospatial Data
(page 551)

Notes and Warnings
When you rename an object class, you change the name only in the object
classification file. Any objects tagged with the object class name are unchanged.
Since these objects point to an object class name that no longer exists in the
object classification file, the objects become undefined. You can search for
these undefined objects and update their object class name.
NOTE To modify an object class, you must have Alter Object Class privileges
(page 82).
See also:
■

Defining an Object Class (page 119)

■

Setting Up Object Classification (page 116)

NOTE To modify an object class definition, you must have Alter Object Class
privileges (page 82).
NOTE Object classification affects drawing objects only. For information about
classification methods for geospatial feature data, see Overview of Geospatial Data
(page 551)
To modify an object class definition
1 Open a drawing that contains an object classified with the object class
you want to modify.
To add properties to the object class definition, the sample object must
have the properties you want to add to the object class definition.
2 If an object classification file is not attached, enter attachdef at the
command prompt and attach the file.

Setting Up Object Classification | 127

3 On the Map Explorer tab of the Task Pane, right-click the object class
whose definition you want to modify. Click Define Object Class.
4 Select the sample object. This object must be classified with the object
class you want to modify.
5 In the Define Object Classification dialog box (page 1785), modify
properties.
■

You cannot change the object type used for the feature.

■

On the Properties List tab, select or clear properties you want to include
in the definition. For each new property, enter a default value and a
range of possible values (page 125).
To specify a line weight, enter the decimal value as an integer. For
example, to specify a line weight of 0.13, enter 13.

■

On the Class Settings tab, specify the icon to display for the feature
and whether the data appears on the Map Explorer tab of the Task
Pane.

Quick Reference
FEATUREDEF
Defines a new object class based on an example in thecurrent drawing
Menu

Click Setup ➤ Classification Tools ➤ Define Object
Class.

Icon
Define Object Class
Command Line

FEATUREDEF

Task Pane

In Map Explorer, under Current Drawing, right-click
Object Classes ➤ Define Object Class

Dialog Box

Define Object Classification dialog box

Creating an Object Classification File
The object classification file contains information on object classes you have
defined. You can create a new object classification file.

128 | Chapter 2 Setting Up

NOTE Object classification affects drawing objects only. For information about
classification methods for geospatial feature data, see Overview of Geospatial Data
(page 551)
As a general rule, you want to use the same object classification file across all
your drawings. This ensures that you have the same object class definitions
for all source drawings attached to a drawing. You may want to attach the
object classification file to the drawing template, and make sure that everyone
has the same alias to the path.
If users in your organization share the object classification file, store it on the
network in a place accessible to all users.
To use object classification, users attach the object classification file to their
drawing. They can then create standard objects using the object class
definitions.
Only the object classes defined in the object classification file attached to a
drawing can be assigned to objects or used to create new objects.
NOTE To create a new object classification file, you must have Alter Object Class
privileges (page 83).
See also:
■

Attaching an Object Class Definition File (page 995)

■

Setting Up Object Classification (page 116)

NOTE Object classification affects drawing objects only. For information about
classification methods for geospatial feature data, see Overview of Geospatial Data
(page 551)
To create a new object classification file
1 On the Map Explorer tab of the Task Pane, right-click Object Classes.
Click New Definition File.
2 In the New Object Class Definition File dialog box (page 1790), specify a
name for the new object classification file. Click OK.
NOTE To create a new object classification file, you must have Alter Object Class
privileges (page 83).

Setting Up Object Classification | 129

Quick Reference
NEWDEF
Creates a new object class definition file
Menu

Click Setup ➤ Classification Tools ➤ New Definition
File.

Command Line

NEWDEF

Task Pane

In Map Explorer, under Current Drawing, right-click
Object Classes ➤ New Definition File

Dialog Box

New Object Class Definition File dialog box

Setting Up for Digitizing
■
■
■
■

Overview of Digitizing (page 130)
Configuring the Digitizer (page 131)
Registering the Map (page 133)
Setting Digitizing Specifications (page 136)

See also:
■

Digitizing Objects (page 1073)

■

Overview of Digitizing Maps (page 1073)

■
■
■
■

To prepare for digitizing (page 131)
To configure the digitizer (page 132)
To register the map (page 136)
To set digitizing specifications (page 138)

Overview of Digitizing
Digitizing is the process of converting paper-based graphical information into
a digital format. When you digitize a map, you use drawing commands to
trace data from the paper map into a DWG file.
See also:
■

Digitizing Objects (page 1073)

130 | Chapter 2 Setting Up

■

Configuring the Digitizer (page 131)

■

Registering the Map (page 133)

■

Setting Digitizing Specifications (page 136)

To prepare for digitizing
1 Configure the digitizer. (page 132)
2 Register the map. (page 136)
3 Set the digitizing specifications. (page 138)

Quick Reference
OPTIONS
Customizes the AutoCAD settings
Menu

Setup menu ➤ AutoCAD Options

Command Line

OPTIONS

Task Pane

Right-click in the drawing area ➤ Options

TABLET
Calibrates, configures, and turns on and off an attached digitizing table
Command Line

TABLET

MAPDIGISETUP
Sets up user options for digitizing nodes and linear objects
Menu

Click Map ➤ Data Entry ➤ Digitize Setup.

Command Line

MAPDIGISETUP

Dialog Box

Digitize Setup dialog box

Configuring the Digitizer
You must configure the digitizer so a movement on the digitizing tablet can
be recorded directly into an existing drawing file as you digitize.

Setting Up for Digitizing | 131

To configure the digitizing tablet, you define screen pointing areas. A screen
pointing area is a rectangular region on the digitizer surface within which the
digitizer acts like a mouse and can access windows, menus, and dialog boxes.
You can configure two screen pointing areas, one fixed and one floating.
When you digitize, the fixed screen pointing area is disabled. To access the
menus from the digitizer, use the floating screen pointing area.
You can toggle between the fixed and floating screen pointing areas with the
F12 key.
See also:
■

Registering the Map (page 133)

■

Setting Digitizing Specifications (page 136)

■

Digitizing Objects (page 1073)

■

Overview of Digitizing Maps (page 1073)

To configure the digitizer

1 Click

➤ Options. In the Options dialog box, click the System tab.

2 Select your digitizer in the Current Pointing Device list.
3 Start the TABLET command, and use the CFG option to configure the
tablet. Specify the fixed screen pointing area and a floating screen pointing
area in a corner of your tablet area.
4 Mark the floating screen area on your tablet with a marker or piece of
paper.
When you complete the configuration, two new options appear on the
status bar at the bottom of the AutoCAD Map 3D window. Tablet and
FLOAT let you toggle the two modes.
Use the Options dialog box to disable the mouse while you are digitizing.

1 Click

➤ Options. In the Options dialog box, click the System tab.

2 Under Accept Input From, select Digitizer Only.
3 Click OK.

132 | Chapter 2 Setting Up

When you complete digitizing, return to the Options dialog box and select
the Digitizer And Mouse option to use both input devices.

Quick Reference
OPTIONS
Customizes the AutoCAD settings
Menu

Setup menu ➤ AutoCAD Options

Command Line

OPTIONS

Task Pane

Right-click in the drawing area ➤ Options

TABLET
Calibrates, configures, and turns on and off an attached digitizing table
Command Line

TABLET

Registering the Map
Registration is the process of making a map's coordinate system correspond to
the Cartesian coordinate system used by AutoCAD Map 3D.
You select specific calibration and control points for each map that you digitize.

Setting Up for Digitizing | 133

The crosses in this illustration mark the digitizer calibration points.

Choosing the Number of Calibration Points
Selecting a maximum of nine points is a good rule; specifying more only
increases computation time with little increase in precision. If the original is
not badly distorted, four corner points and some intermediate points are
sufficient. It is more important to distribute the points evenly around the
whole map than to concentrate more points in an area.

Calibration Options
To complete the calibration, select one of the following transformation options:
■

Orthogonal — Needs only two digitized and specified calibration points
to create a transformation consisting of arbitrary translation, uniform
scaling, and rotation. This method is not recommended unless only two
control points can be found.

■

Affine — Requires three calibration points. Allows a tablet transformation
combining translation, independent X and Y scaling, rotation, and some
skewing. Provides an arbitrary linear transformation in two-dimensional
space. This is the preferred method for registering paper maps drawn in a
Cartesian coordinate system.

■

Projective — Needs at least four calibration points. Makes a transformation
equivalent to a perspective projection of any plane onto another plane.
Allows for some stretching of an original paper drawing by different

134 | Chapter 2 Setting Up

amounts along a perspective projection. This is the best option for
orthophotos.
The TABLET command calculates the errors associated with the available
transformation options, depending on how many points you digitized. When
the calculations are complete, or when you cancel the calculations, a table
showing the results of your calibration appears.
There are four possible responses from the calibration calculations for each
transformation type:
■

Exact — Number of points specified is correct for this type of
transformation.

■

Success — More points specified than needed. For a Success, the RMS error
and standard deviation are reported.

■

Impossible — Not enough points specified to define a transformation.

■

Failure — Points specified are colinear or coincidental. The transformation
may not have a valid definition.

If you get either Impossible or Failure, do not use that transformation. If all
the results are Impossible or Failure, check the calibration on the digitizer,
recalibrate, and digitize the map again.

RMS error, Standard Deviation, and Residual Values
The RMS error indicates how uniform or extreme the required transformation
is: the lower the value, the better the calibration.
Standard deviation is reported at all calibration points. The residual error is
the difference between the actual calibration point and the computed
transformation point. A large difference indicates a procedural error. You may
have entered the wrong coordinates or digitized a wrong point.
If the RMS and standard deviation values seem high, you might have made
an error when entering location values or the map might have slipped during
calibration. In this case, restart the procedure to calibrate the digitizer.
See also:
■

Configuring the Digitizer (page 131)

■

Setting Digitizing Specifications (page 136)

■

Digitizing Objects (page 1073)

Setting Up for Digitizing | 135

■

Overview of Digitizing Maps (page 1073)

To register the map
1 Tape the map on the tablet. The map on the tablet should be flat, with
no bumps or wrinkles, and securely fastened.
2 Start the TABLET command and use the CAL option.
3 Digitize the control points of the map, and enter X and Y coordinate
values for the locations.
4 When you complete the control points, press Enter. Wait for the
calculations to complete.
5 At the prompt, enter the calibration option to use. Select the
transformation that gave an Exact outcome. If all the transformations
were a Success, select the option with the lowest RMS and standard
deviation errors.

Quick Reference
TABLET
Calibrates, configures, and turns on and off an attached digitizing table
Command Line

TABLET

Setting Digitizing Specifications
To use the options provided by the MAPDIGITIZE command, you must
configure the digitizer and register the map.

Attaching Data
You can link data to objects as you digitize. Although you can store data in
AutoCAD Map 3D as block attributes, you can perform more sophisticated
analysis of the data if you use one of the following methods:
■

Data linked to an object is stored as object data in the drawing.

■

Data linked to an object is stored in an external database.

136 | Chapter 2 Setting Up

Label Point
A label point is the point used to insert text to describe the digitized object.
You can specify a label point for each object as you digitize.

Layer
Plan the layers you will use in your drawing. A layer is a logical grouping of
data, which simplifies organizing and viewing data. For more information,
look up "layers, creating" in the help index.
Each object that represents a different type of map data should go on a separate
layer. For example, a polyline representing a coastline could go on a layer
named COASTLINE, interstate highways on a layer named INTERSTATE, land
boundaries on a layer named LOTS.
If you have not established a scheme for layer names, you can create one using
the numeric feature-classification code found in some digital source data. For
example, major roads might be on a layer named "170-201". A better naming
convention combines names that suggest their function and a structure that
allows selection with wild cards and groups of layer names. For example, you
might decide that all topographic objects should go on layers beginning with
the letters TP. So you might put rivers on a layer named TP_RIVERS, and
contours on a layer named TP_CONTOURS. To freeze, thaw, lock, or unlock
all layers with topographic data, you use the expression TP*. For more
information on wild-card characters, look up "wild-card characters" in the
help index.

Block Name or Linetype
To represent nodes using blocks available in the current drawing, select a block
name or ACAD_POINT for the block name.
Choosing ACAD_POINT places a point object at each node position. For
information about changing the appearance of this point object, look up
DDPTYPE in the help index.
Wherever possible, use the linetypes supplied with AutoCAD Map 3D to
indicate different types of boundaries, road types, and waterways. Using
standard linetypes ensures consistency across maps and helps you keep track
of what you have digitized. Associate each linetype with a different layer.

Object Snap
Use object snap to tie nodes or segments to linear objects that are already in
place. For example, always use object snap to position junctions of pipes,
roads, or railways.

Setting Up for Digitizing | 137

Width
Linear objects that contain three-dimensional information cannot have a
width.
See also:
■

Registering the Map (page 133)

■

Configuring the Digitizer (page 131)

■

Digitizing Objects (page 1073)

■

Overview of Digitizing Maps (page 1073)

To set digitizing specifications
1 At the command prompt, enter mapdigisetup.
2 In the Digitize Setup dialog box (page 1617), select an object type.
Select Nodes to digitize points or blocks. Select Linear to digitize polylines.
3 To attach data to objects as you digitize them, select Attach Data.
Click Data To Attach and select the table to use for the data. As you
digitize the objects, you are prompted for the data to attach to the object.
4 To change the label point for objects as you digitize them, select Prompt
For Label Point.
5 Specify the layer for new objects.
6 Specify the block (for nodes) or the linetype (for linear objects) to use
when creating the new objects.
7 Specify whether to snap to the closest endpoint (for nodes) or insertion
point (for linear objects).
8 For nodes, select whether to specify the rotation and scale of each node
block.
For linear objects, select whether the objects are 2D or 3D. For 2D objects,
specify a width.
9 Click OK to close the dialog box and save your settings.

138 | Chapter 2 Setting Up

Quick Reference
MAPDIGISETUP
Sets up user options for digitizing nodes and linear objects
Menu

Click Map ➤ Data Entry ➤ Digitize Setup.

Command Line

MAPDIGISETUP

Dialog Box

Digitize Setup dialog box

Setting Up Your Map File
See also:
■

Setting Up AutoCAD Map 3D (page 80)

■

Setting Options (page 216)

■
■
■
■
■
■
■

To log in to AutoCAD Map 3D (page 142)
To assign coordinate systems (page 143)
To attach drawings (page 154)
To set up a query library (page 173)
To set up annotation templates (page 186)
To set up object data (page 198)
To set up data sources for drawings (page 205)

Overview of Setting Up Your Map File
You can set up each map file you create to make your work easier and more
productive.
See also:
■

Setting Up AutoCAD Map 3D (page 80)

■

Setting Options (page 216)

Setting Up Your Map File | 139

The following table summarizes your customization options for a map file.
To do this...

Use this method...

To get this result...

Assign a coordinate system.

Click Map Setup tab ➤ Co-

Specify the coordinate system used for attached drawings and for the current
drawing.
See Assigning Coordinate Systems (page
142)

ordinate System panel ➤ As-

sign.
Attach drawings.

Drag the drawing file from
Windows Explorer to the
Map Explorer tab of the
Task Pane.

Work with objects from other drawings by
attaching those drawings to the current
map and querying in the objects.
See Overview of Attaching Drawings (page
154)

Modify the settings for attached drawings.

In the Tool-based Ribbon
Workspace, click Home tab

Specify how attached drawings work with
the current drawing and view information
about attached drawings.
See Modifying Attached Drawing Settings
(page 163).

➤ Data panel ➤ Define
Drawing Set.

Set up queries.

1 To save the current
query, click Home
tab ➤ Data pan-

Save and reuse queries in a library.
See Overview of Using the Query Library
(page 174).

el ➤ Define Query.

2 To run a saved query,
click Create
tab ➤ Object Query

panel ➤ Run.

Define annotation templates.

Click Annotate tab ➤ Map
Annotation panel ➤ Define

Template.

140 | Chapter 2 Setting Up

Define the information to display in an
annotation and the layout of that information. Then you can insert instances of the
annotation into your drawing.
See Defining Annotation Templates (page
190)

To do this...

Use this method...

To get this result...

Set up object data.

Click Map Setup tab ➤ At-

Object Data.

Create tables with fields for text and numerical information. Attach records from the
table to objects.
See Creating an Object Data Table (page
200).

Drag the database file from
Windows Explorer to the
Map Explorer tab of the
Task Pane.

Attach a database to your map and link
records from that table to objects in your
map.
See Attaching a Data Source (page 208).

tribute Data panel ➤ Define

Set up data sources for
drawings.

Logging Into AutoCAD Map 3D
When you log into AutoCAD Map 3D, your work environment is automatically
set up as it was last saved, including user privileges and user-specific options.
Depending on your organization, you may be required to log in. System
Administrators can set this AutoCAD Map 3D multi-user option.
If user login is not required, you can work with AutoCAD Map 3D without
logging in. However, you can log in at anytime to restore settings that you
have saved to your user name or to use privileges associated with your user
name.

User Privileges
To perform some AutoCAD Map 3D commands, you must be logged in as a
user with the appropriate privileges.
Example: To change Multi-user settings in the AutodCAD Map Options dialog
box, you must have Superuser privileges.
The default superuser name is SuperUser (not case sensitive), and the default
superuser password is SUPERUSER (case sensitive).
TIP You can customize many AutoCAD Map 3D settings. Some of these
customizations are saved to your user name. To customize the settings differently
for each drawing, set up multiple user names and log in with the appropriate
name for each drawing.

Logging Into AutoCAD Map 3D | 141

See also:
■

Setting Multi-user Options (page 226)

■

Setting Up Users and Assigning Rights (page 82)

To log in to AutoCAD Map 3D

1 Click Map Setup tab ➤ Map panel ➤

➤ User Login.

2 In the User Login dialog box (page 1937), for Login Name, enter the login
name provided to you by your system administrator.
3 In the Password box, enter your password.
The default superuser login name is SuperUser (case insensitive) and the
password is SUPERUSER (case sensitive). If security is an issue, make sure
that you change the default superuser login and password. See To add a
new user (page 83).
4 Click OK.

Quick Reference
MAPLOGIN
Allows you to log in as an AutoCAD Map 3D user
Menu

Setup menu ➤ User Login

Command Line

MAPLOGIN

Task Pane

In Map Explorer, right-click Current Drawing ➤ User
Login

Dialog Box

User Login dialog box

Assigning Coordinate Systems
With AutoCAD Map 3D, you can combine data from maps that use different
coordinate systems.

142 | Chapter 2 Setting Up

See also:
■

Defining Coordinate Systems (page 89)

■

Grid Data Files and Datum Shifts (page 102)

To assign coordinate systems
■
■
■
■
■
■
■

To use coordinate systems with maps (page 145)
To assign a coordinate system to a source drawing (page 146)
To assign a coordinate system to the current drawing (page 147)
To determine if a coordinate system is geodetic (page 149)
To turn off a global coordinate system (page 150)
To see the assigned coordinate system for a source drawing (page 151)
To transform the coordinate system of a drawing (page 152)

Overview of Coordinate Systems
With AutoCAD Map 3D, you can combine data from maps using different
coordinate systems. To do this, you specify the coordinate system used for
attached drawings and for the current drawing. When you bring objects from
attached drawings into the current drawing, the objects are transformed to
the coordinate system of the current drawing.
The coordinate system you assign to your drawing specifies the system that
was used when creating the drawing. For example, if you created a map using
Universal Transverse Mercator, Zone 27, US Survey Feet, you assign the code
UTM-27F to the map.
You specify the coordinate system used for the current drawing and for
attached source drawings before querying any items from the source drawings.
When you query objects from source drawings, AutoCAD Map 3D
automatically converts them to the coordinate system of the current drawing.
This operation is called coordinate transformation. When you save objects back
to source drawings, AutoCAD Map 3D reverses the conversion.
The coordinate system code and definition are stored in the drawing file. You
can share the drawing with anyone using Autodesk Map 2000 Release 4 or
later, and they will have the correct coordinate system.
When the coordinate system you select is assigned to the selected attached
drawings, a backup file, with a .bak extension, is made of each source drawing
before assigning the coordinate system information.

Assigning Coordinate Systems | 143

The coordinate systems supplied with AutoCAD Map 3D include the Universal
Transverse Mercator System and the State Plane coordinate systems used in
the USA, as well as many international coordinate systems used around the
world. For a complete listing of supported systems, see the Global Coordinate
System Manager dialog box.

Tell me more
■

Show me how to assign a coordinate
system to my map.

■

Show me how to set a map to the coordinate system of the data.

■

To assign a coordinate system to the
current drawing (page 147)

■

To assign a coordinate system to a
source drawing (page 146)

■

To turn off a global coordinate system
(page 150)

■

Exercise 1: Create a map

■

Transform a DWG File to a Different
Coordinate System

■

Combine Data with Different Coordinate Systems

■

Reproject incoming data to a new coordinate system

■

Overview of Creating New Coordinate
Systems (page 90)

■

Overview of Grid Data Files and Datum
Shift Issues (page 103)

Video

Procedure

Tutorial

Workflow

GIS Skill

Related topics

144 | Chapter 2 Setting Up

To use coordinate systems with maps
■

Assign a coordinate system (page 145) to your current drawing and to the
source drawings.

■

Set Coordinate System Options (page 230)

■

Define a coordinate system (page 91)

Quick Reference
ADEDEFCRDSYS
Defines a global coordinate system
Menu

Setup menu ➤ Define Global Coordinate System

Command Line

ADEDEFCRDSYS

Dialog Box

Global Coordinate System Manager Dialog Box

ADESETCRDSYS
Assigns a global coordinate system code for the current drawing or attached
drawings
Menu

Setup menu ➤ Assign Global Coordinate System

Icon
Assign Coordinate System
Command Line

ADESETCRDSYS

Task Pane

In Map Explorer, right-click Current
Drawing ➤ Coordinate System

Dialog Box

Assign Global Coordinate System dialog box

Assigning a Coordinate System to a Source Drawing
You must specify a coordinate system for each attached source drawing to
take advantage of the coordinate transformation capabilities in AutoCAD Map
3D.

Assigning Coordinate Systems | 145

See also:
■

Overview of Coordinate Systems (page 143)

■

Transforming the Coordinate System of a Drawing (page 152)

■

Viewing the Assigned Coordinate System for a Source Drawing (page 151)

■

Removing an Assigned Coordinate System (page 150)

■

Overview of Creating New Coordinate Systems (page 90)

■

Overview of Grid Data Files and Datum Shift Issues (page 103)

To assign a coordinate system to a source drawing

1 Click Map Setup tab ➤ Coordinate System panel ➤ Assign.
2 In the Assign Global Coordinate System dialog box (page 1598), under
Source Drawings, click Select Drawings.
3 In the Select Drawings to Assign Coordinate System dialog box (page 1599),
select the source drawings. You cannot assign a coordinate system to a
source drawing that currently has queried objects in the current drawing.
4 Under Source Drawings, enter the coordinate system code for the selected
source drawings.
If you do not know the code, click Select Coordinate System. In the Select
Global Coordinate System dialog box, select a category. Select from a list
of available coordinate systems. You can also search for coordinate systems
by code or description using the Search box. Click Properties to view the
properties of the selected coordinate system.
To remove an assigned coordinate system, in the Code box in the Assign
Global Coordinate System dialog box, type a period.
5 Click OK.

Quick Reference
ADESETCRDSYS
Assigns a global coordinate system code for the current drawing or attached
drawings

146 | Chapter 2 Setting Up

Menu

Setup menu ➤ Assign Global Coordinate System

Icon
Assign Coordinate System
Command Line

ADESETCRDSYS

Task Pane

In Map Explorer, right-click Current
Drawing ➤ Coordinate System

Dialog Box

Assign Global Coordinate System dialog box

Assigning a Coordinate System to the Current Drawing
You must specify a coordinate system for the current drawing to take advantage
of the coordinate transformation capabilities in AutoCAD Map 3D.
After you bring objects into the current drawing, do not change the coordinate
transformation options if you plan to save changes back to source drawings.
The save-back process uses the original settings to determine whether
adjustments are necessary to restore objects to the correct coordinate system.
See also:
■

Overview of Coordinate Systems (page 143)

■

Transforming the Coordinate System of a Drawing (page 152)

■

Assigning a Coordinate System to a Source Drawing (page 145)

■

Removing an Assigned Coordinate System (page 150)

■

Overview of Creating New Coordinate Systems (page 90)

■

Overview of Grid Data Files and Datum Shift Issues (page 103)

To assign a coordinate system to the current drawing

1 Click Map Setup tab ➤ Coordinate System panel ➤ Assign.
2 In the Assign Global Coordinate System dialog box (page 1598), under
Current Drawing, enter the coordinate system code for the current
drawing.
If you do not know the code, click Select Coordinate System. In the Select
Global Coordinate System dialog box, select a category. Select from a list

Assigning Coordinate Systems | 147

of available coordinate systems. You can also search for coordinate systems
by code or description using the Search box. Click Properties to view the
properties of the selected coordinate system.
3 Click OK.

Quick Reference
ADESETCRDSYS
Assigns a global coordinate system code for the current drawing or attached
drawings
Menu

Setup menu ➤ Assign Global Coordinate System

Icon
Assign Coordinate System
Command Line

ADESETCRDSYS

Task Pane

In Map Explorer, right-click Current
Drawing ➤ Coordinate System

Dialog Box

Assign Global Coordinate System dialog box

Using a Geodetic Coordinate System
All geographic data is created in some coordinate system, and in the context
of some datum (page 2059). A datum includes ellipsoid (page 2062) information
and a datum definition. For example, the Gauss-Kruger Conformal projection
system used in Germany uses the Bessel ellipsoid and Potsdam datum
definition. Some coordinate systems only specify the ellipsoid; these are
non-geodetic. Coordinate systems that specify the complete datum are
geodetic.
Most of the coordinate systems supplied with AutoCAD Map 3D are geodetic,
but about ten percent are non-geodetic. Therefore, you should determine
whether the coordinate systems you use are geodetic or non-geodetic before
you assign a coordinate system to a drawing. If you have data in a drawing
that uses a non-geodetic coordinate system, but do not know what datum the
data came from, you might introduce errors if you convert the drawing to a
geodetic coordinate system.

148 | Chapter 2 Setting Up

See also:
■

Overview of Coordinate Systems (page 143)

■

Transforming the Coordinate System of a Drawing (page 152)

■

Overview of Creating New Coordinate Systems (page 90)

■

Defining a New Datum (page 93)

■

Defining an Ellipsoid (page 95)

To determine if a coordinate system is geodetic

1 Click Map Setup tab ➤ Coordinate System panel ➤ Assign.
2 In the Assign Global Coordinate System dialog box (page 1598), under
Current Drawing or Source Drawings, click Select Coordinate System.
3 In the Category list, select the category that contains the coordinate
system you want.
4 In the Coordinate Systems In Category list, select a coordinate system.
5 Click Properties.
The type of coordinate system is displayed under Coordinate System Type on
the General tab of the Global Coordinate Systems Properties dialog box. If the
coordinate system is geodetic, the datum (page 2059) is displayed in the Datum
box.

Quick Reference
ADESETCRDSYS
Assigns a global coordinate system code for the current drawing or attached
drawings
Menu

Setup menu ➤ Assign Global Coordinate System

Icon
Assign Coordinate System
Command Line

ADESETCRDSYS

Assigning Coordinate Systems | 149

Task Pane

In Map Explorer, right-click Current
Drawing ➤ Coordinate System

Dialog Box

Assign Global Coordinate System dialog box

Removing an Assigned Coordinate System
For ADE data, using the AutoCAD Map 3D coordinate systems requires many
complex calculations that can decrease performance when querying objects
from attached drawings and saving back the objects. With FDO data these
calculations are unnecessary, so there is no performance impact.
You can turn off a coordinate system while working in a particular drawing.
See also:
■

Overview of Coordinate Systems (page 143)

To turn off a global coordinate system

1 Click Map Setup tab ➤ Coordinate System panel ➤ Assign.
2 In the Assign Global Coordinate System dialog box (page 1598), in the Code
box under Current Drawing, enter a period (.). Press Enter.
3 Click OK.

Quick Reference
ADESETCRDSYS
Assigns a global coordinate system code for the current drawing or attached
drawings
Menu

Setup menu ➤ Assign Global Coordinate System

Icon
Assign Coordinate System
Command Line

ADESETCRDSYS

Task Pane

In Map Explorer, right-click Current
Drawing ➤ Coordinate System

150 | Chapter 2 Setting Up

Dialog Box

Assign Global Coordinate System dialog box

Viewing the Assigned Coordinate System for a Source Drawing
If the current drawing has an assigned coordinate system, you can view the
code in the Drawing Settings dialog box.
See also:
■

Overview of Coordinate Systems (page 143)

■

Transforming the Coordinate System of a Drawing (page 152)

■

Assigning a Coordinate System to a Source Drawing (page 145)

■

Removing an Assigned Coordinate System (page 150)

To see the assigned coordinate system for a source drawing
1 In the Tool-based Ribbon Workspace, click Home tab ➤ Data panel ➤
Define Drawing Set.
2 Click Drawing Settings.
AutoCAD Map 3D displays the global coordinate system code for the active
drawing to the right of the drawing name.

Quick Reference
ADEDWGSTAT
Displays drawing statistics
Menu

Setup menu ➤ More DWG Options ➤ Drawing
Statistics

Command Line

ADEDWGSTAT

Task Pane

In Map Explorer, right-click Drawings ➤ Statistics

Dialog Box

Drawing Statistics dialog box

Assigning Coordinate Systems | 151

Transforming the Coordinate System of a Drawing
You can transform an existing map from one coordinate system to another
by querying the objects from the attached source drawing into the current
drawing.
The original source drawing is unchanged, but the objects in the current
drawing use the new coordinate system.
See also:
■

Overview of Coordinate Systems (page 143)

■

Assigning a Coordinate System to a Source Drawing (page 145)

■

Assigning a Coordinate System to the Current Drawing (page 147)

■

Querying Objects from Attached Drawings (page 1235)

To transform the coordinate system of a drawing
1 Open a new drawing.
2 Attach the drawing whose coordinate system you want to transform. See
Attaching Drawings (page 154).
3 In the new drawing, assign the new coordinate system to the current
drawing. See Assigning a Coordinate System to the Current Drawing (page
147).
4 If you have not already assigned a coordinate system to the original
drawing, do that now. Assign the coordinate system that was used to
create the original drawing. See Assigning a Coordinate System to a Source
Drawing (page 146).
5 Define a query to bring in all objects from the source drawing. The easiest
way to do this is to define a location condition and use the Boundary
Type "All." This retrieves all objects in the source drawing. See Finding
All Objects in a Specified Location (page 1241).
As the objects are retrieved from the source drawing into the current drawing,
they are transformed from the coordinate system of the source drawing to the
coordinate system of the current drawing.
Once the objects are in the new drawing, you can detach the source drawing
and save the new drawing. The objects are unchanged in the source drawing,
but they use the new coordinate system in the new drawing.

152 | Chapter 2 Setting Up

Quick Reference
ADEDRAWINGS
Manages the drawing set
Menu

In the Classic workspace, click Setup menu ➤
Define/Modify Drawing Set

Icon
Define/Modify Drawing Set
Command Line

ADEDRAWINGS

Task Pane

In Map Explorer, right-click
Drawings ➤ Define/Modify Drawing Set

Dialog Box

Define/Modify Drawing Set dialog box

ADEQUERY
Controls defining, modifying, saving, loading, and executing a query
Menu

In the Classic workspace, click Setup menu ➤ More
DWG Options ➤ Define Query

Icon
Define Query
Command Line

ADEQUERY

Task Pane

In Map Explorer, right-click Current Query ➤ Define
-or- Right-click a query ➤ Edit

Dialog Box

Define Query dialog box

ADESETCRDSYS
Assigns a global coordinate system code for the current drawing or attached
drawings
Menu

Setup menu ➤ Assign Global Coordinate System

Icon
Assign Coordinate System
Command Line

ADESETCRDSYS

Assigning Coordinate Systems | 153

Task Pane

In Map Explorer, right-click Current
Drawing ➤ Coordinate System

Dialog Box

Assign Global Coordinate System dialog box

Attaching Drawings
When you attach a drawing to the current drawing, you can work with any
objects and data in that drawing, edit them, and save them back to the attached
drawing.
NOTE To attach a geospatial feature source to the current drawing and bring in
its features, use Data Connect. See Overview of Bringing In GIS Features (page
305).
See also:
■

Overview of Bringing in Drawing Data From DWG Files (page 351)

To attach drawings
■
■
■
■
■
■

To create a drawing set (page 156)
To attach drawings (page 158)
To activate a drawing (page 160)
To activate a group of drawings (page 160)
To create a drive alias (page 161)
To open an active attached drawing (page 163)

Overview of Attaching Drawings
You can work with objects from other drawings by attaching the other drawings
to the current drawing. The group of drawings attached to the current drawing
is called a drawing set.
Example: You have separate drawings for each quadrant of a town. You attach
those drawings to the current drawing, and then view all the quadrants
simultaneously.
NOTE To attach a geospatial feature source to the current drawing and bring in
its features, use Data Connect. See Overview of Bringing In GIS Features (page
305).

154 | Chapter 2 Setting Up

Aligning Attached Drawings
If an attached drawing has a global coordinate system assigned to it, objects
from that drawing are automatically converted to their appropriate size and
location in the current drawing.
If an attached drawing does not have a global coordinate system assigned to
it, you can specify how to align objects from that drawing when they are
copied into the current drawing.

Attached Drawings

Current Drawing

Tile drawings by specifying the drawing offset for each attached drawing, as
shown above.
For each attached drawing, you can specify a drawing offset. You can also
specify how objects from the attached drawings are scaled or rotated when
they are brought into the current drawing.
For information about passwords and security, see AutoCAD help.
See also:
■

Setting Transformation Options (page 167)

Attaching Drawings | 155

■

Viewing Information about Attached Drawings (page 171)

■

Viewing Objects in the Save Set (page 752)

NOTE To attach a geospatial feature source to the current drawing and bring in
its features, use Data Connect. See Overview of Bringing In GIS Features (page
305).
To create a drawing set
1 If necessary, create a drive alias (page 161).
2 Attach the drawings (page 157) you plan to use with the project.
3 Activate the drawings (page 160) to query.
If you no longer use an attached drawing with the current drawing, you can
remove the drawing from the drawing set.
To modify the settings for attached drawings, such as the offset, scale, or save
back extents, see Modifying Attached Drawing Settings (page 163).

Quick Reference
ADEDRAWINGS
Manages the drawing set
Menu

In the Classic workspace, click Setup menu ➤
Define/Modify Drawing Set

Icon
Define/Modify Drawing Set
Command Line

ADEDRAWINGS

Task Pane

In Map Explorer, right-click
Drawings ➤ Define/Modify Drawing Set

Dialog Box

Define/Modify Drawing Set dialog box

156 | Chapter 2 Setting Up

Attaching a Drawing
NOTE To attach a geospatial feature source to the current drawing and bring in
its features, use Data Connect. See Overview of Bringing In GIS Features (page
305).

Nested Drawings
If you attach a drawing that has other drawings already attached to it, those
other drawings appear in the list as nested drawings.
You can query objects from nested drawings. If a top-level drawing is not
active, you cannot see or activate nested drawings. However, if the top-level
drawing is active, you can deactivate a nested drawing.

Working with Xrefs
To query data in an external reference, delete the external reference from the
attached drawing and attach the reference drawing to the current drawing

The Order of Attached Drawings
The order in which you attach drawings can affect the properties of objects
retrieved by queries.
If two drawings use the same name for a block, layer, group, or text style,
AutoCAD Map 3D uses the definition from the first retrieved object that uses
that item.
For example, if you create a query to retrieve objects on LAYER_A, and LAYER_A
does not exist in the current drawing, AutoCAD Map 3D uses the definition
of LAYER_A in the first active attached drawing that contains objects on
LAYER_A. Objects retrieved from LAYER_A in other drawings acquire the color
and linetype that is defined for LAYER_A in this drawing. This change also
applies when you save changes back to attached drawings.
TIP To maintain consistency between drawings, define blocks, layers, groups,
and text styles in the current drawing. For example, if you define a LAYER_A in
the current drawing, AutoCAD Map 3D applies the current drawing definition of
LAYER_A to objects retrieved from LAYER_A in all attached drawings, and when
you save back, applies the current drawing layer definition to the saved objects.
For information about passwords and security, see AutoCAD help.

Attaching Drawings | 157

See also:
■

Overview of Attaching Drawings (page 154)

■

Viewing Information about Attached Drawings (page 171)

■

Viewing Objects in the Save Set (page 752)

■

Modifying Attached Drawing Settings (page 163)

NOTE To attach a geospatial feature source to the current drawing and bring in
its features, use Data Connect. See Overview of Bringing In GIS Features (page
305).
To attach drawings
■

Drag the file from Windows Explorer to the Map Explorer tab of the Task
Pane.

- or 1 Open the drawing to which you want to attach another drawing.
2 In the Tool-based Ribbon Workspace, click Home tab ➤ Data panel ➤
Define Drawing Set.
To specify separate filters for file names and for descriptions, click Filter
and use the Drawing Set Display Filter dialog box (page 1922).
To change the drawing description, specify simple transformation settings,
or define save back extents, click Drawing Settings and use the Drawing
Settings dialog box (page 1923).
3 In the Define/Modify Drawing Set dialog box (page 1918), click Attach.
4 In the Select Drawings to Attach dialog box, select the drawings to attach.
Click Add.
To modify the settings for attached drawings, such as the offset, scale, or save
back extents, see Modifying Attached Drawing Settings (page 163).
For information on viewing the attached drawings, see Viewing All Objects
in Selected Attached Drawings (page 745).

158 | Chapter 2 Setting Up

Quick Reference
ADEDRAWINGS
Manages the drawing set
Menu

In the Classic workspace, click Setup menu ➤
Define/Modify Drawing Set

Icon
Define/Modify Drawing Set
Command Line

ADEDRAWINGS

Task Pane

In Map Explorer, right-click
Drawings ➤ Define/Modify Drawing Set

Dialog Box

Define/Modify Drawing Set dialog box

Activating a Drawing
When you run a query to retrieve objects from attached drawings, AutoCAD
Map 3D retrieves objects only from active drawings.
You cannot make a drawing active or inactive when there are locked objects
in the drawing.
NOTE If an attached drawing is active in the current drawing, you cannot open
that drawing directly.
NOTE To attach a geospatial feature source to the current drawing and bring in
its features, use Data Connect. See Overview of Bringing In GIS Features (page
305).
See also:
■

Overview of Attaching Drawings (page 154)

■

Overview of Bringing in Drawing Data From DWG Files (page 351)

■

Modifying Attached Drawing Settings (page 163)

NOTE To attach a geospatial feature source to the current drawing and bring in
its features, use Data Connect. See Overview of Bringing In GIS Features (page
305).

Attaching Drawings | 159

To activate a drawing
➤

In the Map Explorer tab of the Task Pane, right-click the drawing name.
Click Activate.

NOTE To activate a nested drawing, you must first activate the drawing to which
it is attached.
To activate a group of drawings
1 In the Tool-based Ribbon Workspace, click Home tab ➤ Data panel ➤
Define Drawing Set.
2 Select the drawings to activate.
3 Click Activate.

Quick Reference
ADEDRAWINGS
Manages the drawing set
Menu

In the Classic workspace, click Setup menu ➤
Define/Modify Drawing Set

Icon
Define/Modify Drawing Set
Command Line

ADEDRAWINGS

Task Pane

In Map Explorer, right-click
Drawings ➤ Define/Modify Drawing Set

Dialog Box

Define/Modify Drawing Set dialog box

Creating a Drive Alias
If you plan to share drawings with other users, use drive aliases to specify the
location of attached drawings.
Example: You connect to the drawing server as drive J, but another user
connects as drive K. This makes it difficult to share drawings, since your
drawing specifies J as the location for the attached files. However, if you both

160 | Chapter 2 Setting Up

assign the same drive alias to the server, such as ProjectMaps, you can specify
the location of the attached drawings by this drive alias.
AutoCAD Map 3D provides a default drive alias called C. To store drawings
in a location other than drive C, create a drive alias for the location.
NOTE To attach a geospatial feature source to the current drawing and bring in
its features, use Data Connect. See Overview of Bringing In GIS Features (page
305). Geospatial connections do not require drive aliases.
See also:
■

Overview of Attaching Drawings (page 154)

■

Overview of Bringing in Drawing Data From DWG Files (page 351)

■

Modifying Attached Drawing Settings (page 163)

NOTE To attach a geospatial feature source to the current drawing and bring in
its features, use Data Connect. See Overview of Bringing In GIS Features (page
305). Geospatial connections do not require drive aliases.
To create a drive alias
1 In the Tool-based Ribbon Workspace, click Home tab ➤ Data panel ➤
Define Drawing Set.
2 In the Define/Modify Drawing Set dialog box, click Attach.
3 In the Select Drawings to Attach dialog box, click

.

4 In the Drive Alias Administration dialog box (page 1928), type a name for
the alias.
The name must use only alphanumeric characters (including hyphen
and underscore), contain no spaces or colons, and start with a character.
NOTE If you are creating a drive alias for a drawing with an undefined alias,
type that alias name exactly.
5 Specify a path for the new alias.
6 Click Add.

Attaching Drawings | 161

Quick Reference
ADEDEFCRDSYS
Defines a global coordinate system
Menu

Setup menu ➤ Define Global Coordinate System

Command Line

ADEDEFCRDSYS

Dialog Box

Global Coordinate System Manager Dialog Box

ADEDRAWINGS
Manages the drawing set
Menu

In the Classic workspace, click Setup menu ➤
Define/Modify Drawing Set

Icon
Define/Modify Drawing Set
Command Line

ADEDRAWINGS

Task Pane

In Map Explorer, right-click
Drawings ➤ Define/Modify Drawing Set

Dialog Box

Define/Modify Drawing Set dialog box

Opening an Active Attached Drawing
You cannot directly open an attached drawing that is activated in the current
drawing. You must first deactivate it in the current drawing.
NOTE To attach a geospatial feature source to the current drawing and bring in
its features, use Data Connect. See Overview of Bringing In GIS Features (page
305).
See also:
■

Overview of Attaching Drawings (page 154)

■

Overview of Bringing in Drawing Data From DWG Files (page 351)

■

Modifying Attached Drawing Settings (page 163)

162 | Chapter 2 Setting Up

NOTE To attach a geospatial feature source to the current drawing and bring in
its features, use Data Connect. See Overview of Bringing In GIS Features (page
305).
To open an active attached drawing
1 Do one of the following:
■

Deactivate (page 160) the attached drawing.

■

Close the drawing containing the attached drawing.

2 To open the drawing, click

➤ Open ➤ Drawing.

Quick Reference
ADEDRAWINGS
Manages the drawing set
Menu

In the Classic workspace, click Setup menu ➤
Define/Modify Drawing Set

Icon
Define/Modify Drawing Set
Command Line

ADEDRAWINGS

Task Pane

In Map Explorer, right-click
Drawings ➤ Define/Modify Drawing Set

Dialog Box

Define/Modify Drawing Set dialog box

Modifying Attached Drawing Settings
■
■
■
■
■

Overview of Modifying Attached Drawing Settings (page 164)
Creating a Drawing Description (page 166)
Setting Transformation Options (page 167)
Setting Save Back Extents (page 170)
Viewing Information about Attached Drawings (page 171)

Attaching Drawings | 163

See also:
■

Overview of Attaching Drawings (page 154)

■

Overview of Bringing in Drawing Data From DWG Files (page 351)

■
■
■
■

To create a drawing description (page 166)
To set transformation options (page 169)
To set save back extents (page 170)
To view information about attached drawings (page 172)

Overview of Modifying Attached Drawing Settings
You can specify how attached drawings work with the current drawing. You
can also view information about attached drawings.
NOTE You cannot specify drawing settings for nested drawings.
NOTE To attach a geospatial feature source to the current drawing and bring in
its features, use Data Connect. See Overview of Bringing In GIS Features (page
305).
See also:
■

Overview of Attaching Drawings (page 154)

■

Overview of Bringing in Drawing Data From DWG Files (page 351)

To do this...

Use this method...

Create a drawing description

In the Tool-based Ribbon Workspace, click
Home tab ➤ Data panel ➤ Define
Drawing Set. Click the Drawing Settings
tab.
See Creating a Drawing Description (page
166).

Specify how to adjust the scale, rotation,
and XY offset of objects retrieved from an
attached drawing.

164 | Chapter 2 Setting Up

In the Tool-based Ribbon Workspace, click
Home tab ➤ Data panel ➤ Define
Drawing Set.Click the Drawing Settings
tab.
See Setting Transformation Options (page
167).

To do this...

Use this method...

Specify save back extents that are different
from the drawing extents.

In the Tool-based Ribbon Workspace, click

Vew information about attached drawings
such as the number and type of objects,
symbol tables, object data tables, and object classes.

In the Map Explorer tab of the Task Pane,
right-click Drawings. Click Statistics.
See Viewing Information about Attached
Drawings (page 171).

Home tab ➤ Data panel ➤ Define
Drawing Set.Click the Drawing Settings
tab.
See Setting Save Back Extents (page 170).

NOTE To attach a geospatial feature source to the current drawing and bring in
its features, use Data Connect. See Overview of Bringing In GIS Features (page
305).

Quick Reference
ADEDRAWINGS
Manages the drawing set
Menu

In the Classic workspace, click Setup menu ➤
Define/Modify Drawing Set

Icon
Define/Modify Drawing Set
Command Line

ADEDRAWINGS

Task Pane

In Map Explorer, right-click
Drawings ➤ Define/Modify Drawing Set

Dialog Box

Define/Modify Drawing Set dialog box

ADEDWGSTAT
Displays drawing statistics
Menu

Setup menu ➤ More DWG Options ➤ Drawing
Statistics

Command Line

ADEDWGSTAT

Attaching Drawings | 165

Task Pane

In Map Explorer, right-click Drawings ➤ Statistics

Dialog Box

Drawing Statistics dialog box

Creating a Drawing Description
Providing a description for an attached drawing helps you and other users
identify the drawing more easily.
TIP You can filter a drawing list by the drawing description. For example, when
you are selecting drawings to Quick View, you could display only drawings with
the word 'sewer' in their description.
NOTE Drawing descriptions apply to drawings only. there is no equivalent for
geospatial feature sources.
See also:
■

Overview of Attaching Drawings (page 154)

■

Overview of Bringing in Drawing Data From DWG Files (page 351)

To create a drawing description
1 In the Tool-based Ribbon Workspace, click Home tab ➤ Data panel ➤
Define Drawing Set.
2 Click Drawing Settings.
3 In the Drawing Settings dialog box (page 1923), select the drawing for which
you want to add a description.
4 In the Drawing Description box, enter a description.
5 Click Apply.
If you later want to modify the description, return to the Drawing Settings
dialog box and enter a new description.

Quick Reference
ADEDRAWINGS

166 | Chapter 2 Setting Up

Manages the drawing set
Menu

In the Classic workspace, click Setup menu ➤
Define/Modify Drawing Set

Icon
Define/Modify Drawing Set
Command Line

ADEDRAWINGS

Task Pane

In Map Explorer, right-click
Drawings ➤ Define/Modify Drawing Set

Dialog Box

Define/Modify Drawing Set dialog box

Setting Transformation Options
Set simple transformation options to specify how to adjust the scale, rotation,
and XY offset of objects retrieved from an attached drawing. Use these settings
to make items from the attached drawings appear at the proper orientation,
size, and placement in the current drawing.
AutoCAD Map 3D stores this information with the current drawing. The
attached drawing does not change, which is useful for overlaying drawings
or tiling them.
NOTE This functionality applies to drawing objects only. There is no equivalent
for geospatial feature data.

Attaching Drawings | 167

You can rotate objects from attached drawings so they
match the rotation of the current drawing.

Example: You have individual maps for each square-mile sector. You create a
drawing that encompasses a 5-square mile area, and you attach each of the
square-mile maps. You set the appropriate offset for each attached map so it
appears correctly in the current drawing.
If you save edited objects back to attached drawings, the objects are restored
to their original rotation, scale, and offset.
NOTE If you have set a global coordinate system code, these simple transformation
options are unavailable.
Use these simple transformation settings to temporarily adjust objects from
attached drawings so they align correctly in the current drawing. You can also
permanently edit the location, rotation, or scale of an object.
See also:
■

Overview of Attaching Drawings (page 154)

■

Overview of Bringing in Drawing Data From DWG Files (page 351)

■

Moving, Rotating, and Scaling an Object (page 931)

168 | Chapter 2 Setting Up

NOTE This procedure applies to drawing objects only. There is no equivalent for
geospatial feature data.
To set transformation options
1 In the Tool-based Ribbon Workspace, click Home tab ➤ Data panel ➤
Define Drawing Set.
2 Click Drawing Settings.
3 In the Drawing Settings dialog box (page 1923), select the drawing whose
objects you want to transform.
4 Under Simple Transformation, select On/Off.
5 In the Scale box, enter the scale factor to scale the objects.
A value of 2 doubles the size of objects; a value of 0.5, halves the size of
objects.
6 In the Rotation box, enter the angle in degrees to rotate the objects.
7 In the Offset (X,Y) boxes, enter the amount to offset objects using the
drawing units from the attached drawing.
8 To select coordinates manually, click Pick.
When prompted, specify the points on which to base the simple
transformation. AutoCAD Map 3D calculates the scale, rotation, and
offset based on the four points you specify; the base point for the rotation
is 0,0.
9 Click Apply.
This procedure transforms objects from the attached drawing as they are
queried into the current drawing. When objects are saved back to the attached
drawing, the transformation is undone. To permanently transform selected
objects, use the ADETRANSFORM (page 931)command.

Quick Reference
ADEDRAWINGS
Manages the drawing set
Menu

In the Classic workspace, click Setup menu ➤
Define/Modify Drawing Set

Attaching Drawings | 169

Icon
Define/Modify Drawing Set
Command Line

ADEDRAWINGS

Task Pane

In Map Explorer, right-click
Drawings ➤ Define/Modify Drawing Set

Dialog Box

Define/Modify Drawing Set dialog box

Setting Save Back Extents
For an attached drawing, you can specify save back extents that are different
from the drawing extents.
This is useful if you save objects back to attached drawings based on their
location. If you do not specify save back extents, AutoCAD Map 3D uses the
attached drawing extents as the save back extents.
NOTE This functionality applies to drawing objects only. There is no equivalent
for geospatial feature data.
See also:
■

Overview of Attaching Drawings (page 154)

■

Overview of Bringing in Drawing Data From DWG Files (page 351)

■

Viewing Objects in the Save Set (page 752)

NOTE This procedure applies to drawing objects only. There is no equivalent for
geospatial feature data.
To set save back extents
1 In the Tool-based Ribbon Workspace, click Home tab ➤ Data panel ➤
Define Drawing Set.
2 Click Drawing Settings.
3 In the Drawing Settings dialog box (page 1923), select the drawing for which
you want to define save back extents.
4 Under Save Back Extents, click Define <.

170 | Chapter 2 Setting Up

5 Specify the boundary by using your pointing device or by entering
coordinates on the command line. When you finish specifying the
boundary, press Enter.
6 Click Apply.
TIP To view the save back extents, click Show <.

NOTE Simple transformations modify the default save back extents but do not
affect user-defined save back extents.

Quick Reference
ADEDRAWINGS
Manages the drawing set
Menu

In the Classic workspace, click Setup menu ➤
Define/Modify Drawing Set

Icon
Define/Modify Drawing Set
Command Line

ADEDRAWINGS

Task Pane

In Map Explorer, right-click
Drawings ➤ Define/Modify Drawing Set

Dialog Box

Define/Modify Drawing Set dialog box

Viewing Information about Attached Drawings
Vew information about attached drawings such as the number and type of
objects, symbol tables, object data tables, and object classes:
■

Object Counts — The number and type of objects in the attached drawing.

■

Symbol Tables — Displays information stored in symbol tables, for example,
block names, layer names, linetypes, and registered applications (regapps).
NOTE Regapps are registered applications that contain extended data (Xdata).

■

Object Data — Displays information stored in object data.

Attaching Drawings | 171

■

Object Classes — Displays object classes used in the selected drawings and
the number of objects in each object class.

NOTE This functionality applies to drawing objects only. To view information for
geospatial feature data, see Getting Information about Features (page 1125).
See also:
■

Overview of Attaching Drawings (page 154)

■

Overview of Bringing in Drawing Data From DWG Files (page 351)

■

Editing Data in Attached Drawings (page 729)

NOTE This procedure applies to drawing objects only. To view information for
geospatial feature data, see Getting Information about Features (page 1125).
To view information about attached drawings
1 In the Map Explorer tab of the Task Pane, right-click Drawings. Click
Statistics.
2 In the Drawing Statistics dialog box (page 1926), select drawings from the
Active Drawings list.
3 Click a button:
■

Object Counts displays the number of each type of object in the
selected drawings.

■

Symbol Tables displays all symbol tables in the selected drawings.

■

Object Data displays all link templates, object data tables, and
attributes.

■

Object Classes displays objects used in the selected drawings and the
type of data in each object class.

Quick Reference
ADEDWGSTAT
Displays drawing statistics

172 | Chapter 2 Setting Up

Menu

Setup menu ➤ More DWG Options ➤ Drawing
Statistics

Command Line

ADEDWGSTAT

Task Pane

In Map Explorer, right-click Drawings ➤ Statistics

Dialog Box

Drawing Statistics dialog box

Setting Up a Query Library
You can save and organize your drawing queries in the query library.
NOTE This functionality applies to drawing objects only. To filter geospatial feature
data whn you add it to your map, see Filtering Features When You Add Them to
a Map (page 309).
See also:
■

Defining Queries (page 1218)

■

Executing Queries (page 1287)

To set up a query library
NOTE This functionality applies to drawing objects only. To filter geospatial feature
data whn you add it to your map, see Filtering Features When You Add Them to
a Map (page 309).
■
■
■
■
■
■
■
■
■

To use the query library (page 174)
To save a query (page 177)
To run a query from the Query Library (page 178)
To run a query from Map Explorer (page 179)
To run an external query (page 179)
To reference an external query in the query library (page 180)
To add a category to the query library (page 182)
To edit a query saved with the current drawing (page 184)
To edit an external query (page 184)

Setting Up a Query Library | 173

Overview of Using the Query Library
If you plan to run a query more than once, you can save it. Once you have
saved a query, you can run it anytime.
■

Saving a Query (page 176)— Save the current query to the query library or
to an external file.

■

Running a Saved Query (page 178)— Run a query saved in the query library.

Each drawing has a query library where you can organize your saved queries
into categories.
■

Adding an External Query to Your Library (page 180)

■

Using Query Library Categories (page 181)

■

Editing a Saved Query (page 183)

NOTE This functionality applies to drawing objects only. To filter geospatial feature
data whn you add it to your map, see Filtering Features When You Add Them to
a Map (page 309).
See also:
■

Defining Queries (page 1237)

■

Executing Queries (page 1287)

NOTE This procedure applies to drawing objects only. To filter geospatial feature
data whn you add it to your map, see Filtering Features When You Add Them to
a Map (page 309).
To use the query library
1 On the Map Explorer of the Task Pane, right-click Query Library. Click
Administration.
2 In the Query Library Administration dialog box (page 1858), under Category,
select the category for the query you want, or click New to create a new
category (page 182).
3 Under Available Queries, select the query.

174 | Chapter 2 Setting Up

You can assign the query to a different category, change the name,
description, or location of the query, or add an external query to the
library.
4 If you have modified the settings for an existing query, click Update. If
you have added a new query, click Add.
5 Click OK.

Quick Reference
ADEQUERYLIB
Maintains the library of queries
Menu

Setup menu ➤ More DWG Options ➤ Query Library

Icon
Query Library
Command Line

ADEQUERYLIB

Task Pane

In Map Explorer, right-click Query
Library ➤ Administration

Dialog Box

Query Library Administration dialog box

ADERUNQUERY
Runs queries in the Query Library
Menu

Click Map ➤ Query ➤ Run Topology Query.

Icon
Run Query
Command Line

ADERUNQUERY

Task Pane

In Map Explorer, right-click Current Query ➤ Execute
As Preview-or- Right-click Current Query ➤ Execute
As Defined-or- Right-click a query ➤ Execute As
Preview-or- Right-click a query ➤ Execute As Defined

Dialog Box

Run Library Query dialog box

ADERUNXQUERY

Setting Up a Query Library | 175

Runs externally saved queries
Menu

Edit menu ➤ More DWG Querying Options ➤ Run
External Query

Command Line

ADERUNXQUERY

Saving a Query
If you plan to use a query more than once, you can save it.
You can save the query with the current drawing, or you can save it to an
external file. Saving to an external file is useful if you want to share a query
with another user or use it in another drawing.
If you save the query to an external file you can specify several additional
settings:
■

Save List Of Active Drawings — Sets the drawing status to Active for
drawings involved in the saved query.

■

Save Location Coordinates — Stores the coordinates used for location
queries. If you do not save the location query coordinates, AutoCAD Map
3D prompts you for them when you execute the query.

■

Keep Reference In Library — Maintains a list of the external queries in the
Query Library. If you plan to reference the query in the Query Library, you
must provide a name and description for it.

■

Save Alter Properties — Saves the property alteration definition with the
query.

■

Auto Execute — Executes the query in addition to loading it. If you do not
select Auto Execute, AutoCAD Map 3D displays the query in the Define
Query dialog box and waits for you to click Execute Query. Do not select
this option if you want to modify a query before you run it.

NOTE This functionality applies to drawing objects only. To filter geospatial feature
data whn you add it to your map, see Filtering Features When You Add Them to
a Map (page 309).
See also:
■

Overview of Queries (page 1235)

■

Executing Drawing Queries (page 1287)

176 | Chapter 2 Setting Up

■

Adding an External Query to Your Library (page 180)

NOTE This procedure applies to drawing objects only. To filter geospatial feature
data whn you add it to your map, see Filtering Features When You Add Them to
a Map (page 309).
To save a query

1 Click Home tab ➤ Data panel ➤ Define Query.
2 Make sure the query to save is the current query. If it is not, modify the
current query or click load a different query.
3 Click Save Query.
4 In the Save Current Query dialog box (page 1862), select a category for the
query.
5 Enter a name and description for the query.
6 Select any other query options you want.
7 To save the query to an external file, select Save To External File and
specify a file name.
To display the external query in the Run Library Query dialog box and
the Query Library Administration dialog box, select Keep Reference In
Library.
8 Click OK.

Quick Reference
ADEQUERY
Controls defining, modifying, saving, loading, and executing a query
Menu

In the Classic workspace, click Setup menu ➤ More
DWG Options ➤ Define Query

Icon
Define Query
Command Line

ADEQUERY

Setting Up a Query Library | 177

Task Pane

In Map Explorer, right-click Current Query ➤ Define
-or- Right-click a query ➤ Edit

Dialog Box

Define Query dialog box

Running a Saved Query
After you save queries, you can load, revise, and execute them.
NOTE If you plan to modify an externally saved query before executing it, do
not set Auto Execute in the Save Current Query dialog box. That way, when you
run the query, AutoCAD Map 3D displays the query in the Define Query dialog
box but does not execute it.
NOTE This functionality applies to drawing objects only. To filter geospatial feature
data whn you add it to your map, see Filtering Features When You Add Them to
a Map (page 309).
See also:
■

Overview of Queries (page 1235)

■

Executing Drawing Queries (page 1287)

■

Adding an External Query to Your Library (page 180)

NOTE This procedure applies to drawing objects only. To filter geospatial feature
data whn you add it to your map, see Filtering Features When You Add Them to
a Map (page 309).
■

To run a query from the Query Library (page 178)

■

To run a query from Map Explorer (page 179)

■

To run an external query (page 179)

To run a query from the Query Library

1 Click Create tab ➤ Object Query panel ➤ Run.
2 In the Run Library Query dialog box (page 1861), select the category for
the query.

178 | Chapter 2 Setting Up

3 Select the query in the Available Queries list.
4 Click Execute Query.
To run a query from Map Explorer
1 On the Map Explorer of the Task Pane, right-click the query name.
2 Do one of the following:
■

Click Execute As Preview to execute the query as a preview query,
regardless of whether it was defined as a preview, draw, or report mode
query.

■

Click Execute As Defined to execute the query using the query mode
with which it was defined.

To run an external query

1 Click Create tab ➤ Object Query panel ➤ External.
2 In the Run External Query dialog box, select the query.
3 Click OK.
If you turned off the Auto Execute option when you saved the query, the
query loads but does not execute. To execute the query, click Home tab ➤ Data
panel ➤ Define Query.
Query.

In the Define Query dialog box, click Execute

Quick Reference
ADERUNQUERY
Runs queries in the Query Library
Menu

Click Map ➤ Query ➤ Run Topology Query.

Icon
Run Query
Command Line

ADERUNQUERY

Setting Up a Query Library | 179

Task Pane

In Map Explorer, right-click Current Query ➤ Execute
As Preview-or- Right-click Current Query ➤ Execute
As Defined-or- Right-click a query ➤ Execute As
Preview-or- Right-click a query ➤ Execute As Defined

Dialog Box

Run Library Query dialog box

ADERUNXQUERY
Runs externally saved queries
Menu

Edit menu ➤ More DWG Querying Options ➤ Run
External Query

Command Line

ADERUNXQUERY

Adding an External Query to Your Library
You can list an external query in the query library. By adding a reference to
the external query to the library, you can organize the query with your other
queries. In addition, you can give the query a name and a description to help
you identify it.
You can add an external query to the Query Library for more than one drawing.
NOTE This functionality applies to drawing objects only. To filter geospatial feature
data whn you add it to your map, see Filtering Features When You Add Them to
a Map (page 309).
See also:
■

Overview of Queries (page 1235)

■

Executing Drawing Queries (page 1287)

NOTE This procedure applies to drawing objects only. To filter geospatial feature
data whn you add it to your map, see Filtering Features When You Add Them to
a Map (page 309).
To reference an external query in the query library

1 Click Create tab ➤ Object Query panel ➤ Library.

180 | Chapter 2 Setting Up

2 In the Query Library Administration dialog box (page 1858), select a
category.
3 Under Selected Query, make sure that the Query Type is set to External.
4 Click Browse. Select the file that contains the external query.
5 Specify a name and description for the query.
6 Click OK.

To execute the query, click Create tab ➤ Object Query panel ➤ Run.

Quick Reference
ADEQUERYLIB
Maintains the library of queries
Menu

Setup menu ➤ More DWG Options ➤ Query Library

Icon
Query Library
Command Line

ADEQUERYLIB

Task Pane

In Map Explorer, right-click Query
Library ➤ Administration

Dialog Box

Query Library Administration dialog box

Using Query Library Categories
The Query Library lets you organize your queries into categories.
You can move a query to a new category, or change the name or description
of a query. If you move an external query, you can specify the new location
for the query.
NOTE This functionality applies to drawing objects only. To filter geospatial feature
data whn you add it to your map, see Filtering Features When You Add Them to
a Map (page 309).

Setting Up a Query Library | 181

See also:
■

Overview of Queries (page 1235)

■

Executing Drawing Queries (page 1287)

■

Adding an External Query to Your Library (page 180)

NOTE This procedure applies to drawing objects only. To filter geospatial feature
data whn you add it to your map, see Filtering Features When You Add Them to
a Map (page 309).
To add a category to the query library

1 Click Create tab ➤ Object Query panel ➤ Library.
2 In the Query Library Administration dialog box (page 1858), do one of the
following:
■

To add a category, under Category, click New.
Enter a name for the category. Click OK. Do not include spaces in the
name.

■

To assign a query to a different category, under Category, select the
current category of the query.
From the Available Queries list, select the query. Click Category.
In the Change Category dialog box (page 1835), under New Category,
select the new category for the query. Click OK.

■

To change the name or description of a query, under Category, select
the category for the query.
Under Available Queries, select the query.
Under Selected Query, edit the name or description of the query . For
external queries, you can specify a new location for the query.
Click Update.

■

To delete a category, select the category and click Remove.
You cannot remove a category that contains queries. You must first
delete the queries or move the queries to a different category and then
remove the empty category.

■

To rename a category, select the category and click Rename.
All queries assigned to the previous category name are assigned to the
new name. The old category name no longer exists.

182 | Chapter 2 Setting Up

3 Click OK.

Quick Reference
ADEQUERYLIB
Maintains the library of queries
Menu

Setup menu ➤ More DWG Options ➤ Query Library

Icon
Query Library
Command Line

ADEQUERYLIB

Task Pane

In Map Explorer, right-click Query
Library ➤ Administration

Dialog Box

Query Library Administration dialog box

Editing a Saved Query
Once you have saved a query to the query library, you can reload the query
at any time to review it or revise it.
If you save the query to an external file, it is saved as an AutoLISP script. Using
a text editor, you can modify an external query file and include AutoLISP API
commands. For more information, refer to "Editing Query Files", under "Using
Interface Functions" in the online AutoCAD Map 3D AutoLISP Reference.
NOTE This functionality applies to drawing objects only. To filter geospatial feature
data whn you add it to your map, see Filtering Features When You Add Them to
a Map (page 309).
See also:
■

Overview of Queries (page 1235)

■

Executing Drawing Queries (page 1287)

■

Adding an External Query to Your Library (page 180)

Setting Up a Query Library | 183

NOTE This procedure applies to drawing objects only. To filter geospatial feature
data whn you add it to your map, see Filtering Features When You Add Them to
a Map (page 309).
To edit a query saved with the current drawing
1 On the Map Explorer of the Task Pane, right-click a query name. Click
Edit. The Define Query dialog box (page 1838) appears with the selected
query loaded.
2 Modify any conditions (page 1258).
3 Modify any property alterations (page 1286).
4 In the Define Query dialog box, click Save.
To save the changes to a new query, enter a new name and description.
Click OK.
5 In the Define Query dialog box, click OK to save your changes without
running the query.
To edit an external query

1 Click Create tab ➤ Object Query panel ➤ External.
2 In the Run External Query dialog box, select the query.
3 Click OK.
The external query runs and becomes the current query.

4 Click Home tab ➤ Data panel ➤ Define Query.
5 Modify any conditions (page 1258).
6 Modify any property alterations (page 1286).
7 Click Save.
NOTE To be able to edit an external query before you execute it, do not set Auto
Execute in the Save Current Query dialog box. That way, when you execute the
query, AutoCAD Map 3D loads the query in the Define Query dialog box but does
not execute it.

184 | Chapter 2 Setting Up

Quick Reference
ADEQUERY
Controls defining, modifying, saving, loading, and executing a query
Menu

In the Classic workspace, click Setup menu ➤ More
DWG Options ➤ Define Query

Icon
Define Query
Command Line

ADEQUERY

Task Pane

In Map Explorer, right-click Current Query ➤ Define
-or- Right-click a query ➤ Edit

Dialog Box

Define Query dialog box

Setting Up Annotation Templates
NOTE Annotation templates are for drawing objects only. To label geospatial
features, see Adding Labels to Features (page 1091).

Tell me more

Video

Procedure

■

Show me how to label features.

■

Show me how to label features with
automatic resizing.

■

Show me how to place a legend in the
map and specify its contents.

■

Show me how to edit the table style for
a legend.

■

To label features (page 1093)

■

To insert annotation (page 1103)

■

To create a legend (page 1118)

■

Tutorial: Annotating Your Map

Tutorial

Setting Up Annotation Templates | 185

■

Exercise 3: Add labels

■

Lesson 6: Create a Legend

■

Style and Label a Linear Feature

■

Label features and optimize placement.

■

Create and edit a legend.

■

Styling Features (page 639)

■

Setting Up Annotation Templates
(page 185)

Workflow

GIS Skill

Related topics

To set up annotation templates
NOTE Annotation templates are for drawing objects only. To label geospatial
features, see Adding Labels to Features (page 1091).
■
■
■
■
■
■

To set up annotation (page 189)
To make an XREFed drawing with annotation templates available in the
current drawing (page 189)
To define an annotation template (page 192)
To change an annotation template (page 196)
To delete all references to a selected annotation template (page 197)
To delete an annotation template (page 197)

Overview of Annotation Templates
In an annotation template, you define the information to display in the
annotation and the layout of that information. Annotation templates are
stored as specially named blocks within your drawing.
After you create an annotation template, you can insert instances of the
annotation into your drawing. Creating annotation templates and inserting
annotation is like creating and inserting blocks.
NOTE Annotation templates are for drawing objects only. To label geospatial
features, see Adding Labels to Features (page 1091).

186 | Chapter 2 Setting Up

Labeling Objects Using Annotation Templates
Use annotation to label drawing objects with data values, such as the following:
■

Attributes, such as object data (page 2070) or linked external data (page 2062)

■

Display properties, such as line weight

■

Geometric values, such as line direction

■

Graphics, such as arrows, static text, or other geometry, added with
standard AutoCAD drawing commands

NOTE Annotation templates are for drawing objects only. To label geospatial
features, see Adding Labels to Features (page 1091).
You create one “tag” for each item in the annotation template. For example,
one tag might contain the static text, “Area:” followed by a tag containing
the property .AREA. You use the Block Editor to position the tags relative to
each other. When you attach the annotation to an object, the values appear
in the same position as their tags.
Annotation templates are stored in the drawing as blocks. Unlike regular
blocks, annotation templates have the following characteristics:
■

The block name is prefixed with "ACMAP_ANN_TEMPLATE_" followed by
the annotation template name as specified in the Define Annotation
Template dialog box (page 1572).

■

The extension dictionary of the block contains special table objects.

Using Expressions in Annotation Templates
You can insert static text in the annotation template. It will appear on each
object to which you attach annotation.
You can also specify properties or define values using expressions. The values
of the properties or expressions are determined when the annotation is
inserted.
For example, create an annotation template that specifies the text “Diameter”
followed by an expression that calculates the diameter of a circle. Then insert
instances of the annotation template on several circle objects. Each one will
display “Diameter,” followed by that circle’s diameter.
When you change the text, properties, or expressions in an annotation
template, existing annotations based on that template do not change. Use the

Setting Up Annotation Templates | 187

Refresh or Update command to apply your changes to the annotations that
use the template you changed.

Using Annotation Templates from XREFs
To use an annotation template stored in another drawing, use the XBIND
command to attach that drawing as an XREF.
Block names in the XREFed drawing have a prefix that consists of the XREF
drawing file name followed by a vertical bar. Because the annotation
commands identify annotation templates by looking for the
"ACMAP_ANN_TEMPLATE_" at the beginning of the block name, you must
rename the templates in the XREFed drawing to make them available in the
current drawing.
For more information, see Bind External References in the AutoCAD help.

Tell me more

Video

Procedure

Tutorial

■

Show me how to label features.

■

Show me how to label features with
automatic resizing.

■

Show me how to place a legend in the
map and specify its contents.

■

Show me how to edit the table style for
a legend.

■

To label features (page 1093)

■

To insert annotation (page 1103)

■

To create a legend (page 1118)

■

Tutorial: Annotating Your Map

■

Exercise 3: Add labels

■

Lesson 6: Create a Legend

■

Style and Label a Linear Feature

■

Label features and optimize placement.

Workflow

GIS Skill

188 | Chapter 2 Setting Up

Related topics

■

Create and edit a legend.

■

Styling Features (page 639)

■

Setting Up Annotation Templates
(page 185)

See also:
■

Overview of Annotation (page 1100)

NOTE Annotation templates are for drawing objects only. To label geospatial
features, see Adding Labels to Features (page 1091).
To set up annotation
1 Define an annotation template. (page 192)
2 Attach annotation to objects. (page 1103)
3 If you BIND an XREFed drawing containing annotation templates, remove
the prefix from the XREFed annotation template block names to make
them available in the current drawing.
To make an XREFed drawing with annotation templates available in the
current drawing
1 Using the RENAME command, select Blocks from the Named Objects list.
2 Select the annotation template from the list of blocks in the Items list.
You will find blocks with names like
xrefdwgname$0$ACMAP_ANN_TEMPLATE_templatename.
3 Remove xrefdwgname$0$ from the name of each template you want.

Quick Reference
MAPANNTEMPLATE
Defines and modifies annotation templates
Menu

Click Setup ➤ Define Annotation Template‚Ķ.

Setting Up Annotation Templates | 189

Icon
Define Annotation Template
Command Line

MAPANNTEMPLATE

Dialog Box

Define Annotation Template dialog box

MAPANNTEXT
Creates and edits annotation text
Icon
Edit Annotation Text
Command Line

MAPANNTEXT

Dialog Box

Annotation Text dialog box

Defining Annotation Templates
An annotation template can include text and graphics.
NOTE Annotation templates are for drawing objects only. To label geospatial
features, see Adding Labels to Features (page 1091).
You create one “tag” for each item in the annotation template. For example,
one tag might contain the static text, “Area:” followed by a tag containing
the property .AREA. You use the Block Editor to position the tags relative to
each other. When you attach the annotation to an object, the values appear
in the same position as their tags.
You can add graphics by drawing them in the Block Editor. You determine
the text contents using static text, properties, and expressions.
The specific values of the properties and expressions are determined when
you attach an annotation template to drawing objects.
For example, you can define the annotation template to include a static label
(such as “Area:”), followed by a property (for example, .AREA). You can specify
the label location as .CENTER. When you attach the annotation template to
a drawing object, the annotation appears in the center of that object and
displays the word Area, followed by the area of that object.
When you change the text, properties, or expressions in an annotation
template, the existing annotations based on that template do not change. Use
the Refresh or the Update command to apply the changes.

190 | Chapter 2 Setting Up

Tell me more

Video

Procedure

Tutorial

■

Show me how to label features.

■

Show me how to label features with
automatic resizing.

■

Show me how to place a legend in the
map and specify its contents.

■

Show me how to edit the table style for
a legend.

■

To label features (page 1093)

■

To insert annotation (page 1103)

■

To create a legend (page 1118)

■

Tutorial: Annotating Your Map

■

Exercise 3: Add labels

■

Lesson 6: Create a Legend

■

Style and Label a Linear Feature

■

Label features and optimize placement.

■

Create and edit a legend.

■

Styling Features (page 639)

■

Setting Up Annotation Templates
(page 185)

Workflow

GIS Skill

Related topics

See also:
■

Attaching Annotation to Objects (page 1103)

■

Refreshing Annotation (page 1105)

■

Updating Annotation (page 1106)

Setting Up Annotation Templates | 191

NOTE Annotation templates are for drawing objects only. To label geospatial
features, see Adding Labels to Features (page 1091).
To define an annotation template

1 Click Annotate tab ➤ Map Annotation panel ➤ Define Template.
2 In the Define Annotation Template dialog box (page 1572), click New.
You can change the other settings in this dialog box later in the procedure.
3 In the New Annotation Template Name dialog box (page 1576), type a name
for the template, and click OK.
The ribbon changes to show the Block Editor tab. You use the Block Editor
to define the annotation template, which is a special type of block.
4 Click Block Editor tab ➤ Annotation panel ➤ Edit Annotation Text
Then press Enter to create a new annotation tag.
A single annotation template can contain multiple tags, as well as graphic
elements.
5 In the Annotation Text dialog box (page 1570), specify the text to include
in this annotation tag.
■

For Attribute, enter a Tag name and Value for the annotation text.
For the value, enter static text or click
to use the Expression
Chooser to specify an expression whose value varies depending on
the object being annotated.
The Expression Chooser lists the properties, object data, block
attributes, and other data associated with the current drawing.
NOTE Each tag name must be unique within the template.

■

Specify the Object Properties and Text Options for the annotation
text.
For most of the options, you can choose a static value from the
dropdown list or specify an expression that is evaluated against the
object when you insert the annotation.

192 | Chapter 2 Setting Up

Click
box, click
Click

to create an expression. Within the Edit Expression dialog
to select from a list of available properties and attributes.
to use a value from within the Block Editor.

If you select ByBlock for Color or Lineweight, the settings in the Define
Annotation Template dialog box will be used.
■

Click OK to return to the Block Editor.

6 In the Block Editor, click a location for this tag.
Since an annotation template can have multiple tags, you need to specify
their locations relative to each other. Clicking a location here allows you
to position this tag relative to any others in the template. When you
insert an annotation, it appears at the Insertion Point specified in the
Define Annotation Template dialog box (page 1572), with all its tags shown
in their relative locations, as defined in the template.
7 Optionally, to include graphical elements as a part of the annotations,
create them in the Block Editor.
Use AutoCAD drawing commands to create geometry or insert graphical
elements.
8 When you finish adding elements to the template, click Close Block
Editor on the Block Editor toolbar.
You are prompted to save your changes. When you do, the Define
Annotation Template dialog box is redisplayed.
9 In the Define Annotation Template dialog box (page 1572), specify default
properties and insertion options.
These settings control the appearance of the annotation template block.
If you selected ByBlock for Color or Lineweight in the Annotation Text
dialog box, these are the settings that will be used.
10 Click OK.
The Block Editor closes and your drawing is redisplayed. You can now
attach the annotation template to a drawing object or objects (page 1103).
When you do, the annotation (showing the appropriate values and
settings for the selected object) will appear.

Setting Up Annotation Templates | 193

Quick Reference
MAPANNTEMPLATE
Defines and modifies annotation templates
Menu

Click Setup ➤ Define Annotation Template‚Ķ.

Icon
Define Annotation Template
Command Line

MAPANNTEMPLATE

Dialog Box

Define Annotation Template dialog box

MAPANNTEXT
Creates and edits annotation text
Icon
Edit Annotation Text
Command Line

MAPANNTEXT

Dialog Box

Annotation Text dialog box

Changing Annotation Templates
You can change the contents of an existing template. For example, you can
change the expression that determines the value or location of the text
element. You can add or remove text or graphics.
If you change only the graphic elements in the template, the elements update
automatically. However, if you change text elements, refresh or update the
annotations associated with that template to see the changes in your drawing.
NOTE Annotation templates are for drawing objects only. To label geospatial
features, see Adding Labels to Features (page 1091).

Tell me more

Video

194 | Chapter 2 Setting Up

■

Show me how to label features.

■

Show me how to label features with
automatic resizing.

Procedure

Tutorial

■

Show me how to place a legend in the
map and specify its contents.

■

Show me how to edit the table style for
a legend.

■

To label features (page 1093)

■

To insert annotation (page 1103)

■

To create a legend (page 1118)

■

Tutorial: Annotating Your Map

■

Exercise 3: Add labels

■

Lesson 6: Create a Legend

■

Style and Label a Linear Feature

■

Label features and optimize placement.

■

Create and edit a legend.

■

Styling Features (page 639)

■

Setting Up Annotation Templates
(page 185)

Workflow

GIS Skill

Related topics

See also:
■

Overview of Annotation (page 1100)

■

Refreshing Annotation (page 1105)

■

Updating Annotation (page 1106)

NOTE Annotation templates are for drawing objects only. To label geospatial
features, see Adding Labels to Features (page 1091).

Setting Up Annotation Templates | 195

To change an annotation template

1 Click Annotate tab ➤ Map Annotation panel ➤ Define Template.
2 In the Template Name list, click the template to change.
3 Do one or more of the following:
■

Click Copy to make a copy of the template.

■

Click Rename to rename the template.

■

Click Edit Template Contents to modify the text or graphical elements
of the template.

■

Change any properties or insertion options.

See Defining Annotation Templates (page 190) for information about
changing the contents, properties, or options for an annotation template.
4 If you changed any text elements, use Refresh (page 1105) or Update (page
1106) to apply your changes to existing annotations that use this template.

Quick Reference
MAPANNTEMPLATE
Defines and modifies annotation templates
Menu

Click Setup ➤ Define Annotation Template‚Ķ.

Icon
Define Annotation Template
Command Line

MAPANNTEMPLATE

Dialog Box

Define Annotation Template dialog box

MAPANNTEXT
Creates and edits annotation text
Icon
Edit Annotation Text
Command Line

196 | Chapter 2 Setting Up

MAPANNTEXT

Dialog Box

Annotation Text dialog box

Deleting Annotation Templates
You can delete an annotation template only if you first delete all references
to that template from the drawing.
NOTE Annotation templates are for drawing objects only. To label geospatial
features, see Adding Labels to Features (page 1091).
See also:
■

Overview of Annotation (page 1100)

■

Deleting Annotation from Drawings (page 1108)

NOTE Annotation templates are for drawing objects only. To label geospatial
features, see Adding Labels to Features (page 1091).
To delete all references to a selected annotation template
1 Delete all references to the annotation template you plan to delete.

2 Click Annotate tab ➤ Map Annotation panel ➤ Delete Annotation.
3 Select an annotation template. Click OK.
All annotation based on the selected template is deleted.
To delete an annotation template

1 Click Annotate tab ➤ Map Annotation panel ➤ Define Template.
2 Select the annotation template to delete from the Template Name list.
3 Click Delete.
The selected annotation template is deleted.

Setting Up Annotation Templates | 197

Quick Reference
MAPANNTEMPLATE
Defines and modifies annotation templates
Menu

Click Setup ➤ Define Annotation Template‚Ķ.

Icon
Define Annotation Template
Command Line

MAPANNTEMPLATE

Dialog Box

Define Annotation Template dialog box

Setting Up Object Data
Object data is attribute data that is attached to individual objects and stored
in tables in the drawing. To use object data, first define the format for the
table, and then create each record as you attach it to an object.
NOTE Object data is for drawing objects only. For information about the attributes
(properties) of geospatial features, see Overview of the Data Table (page 1125). To
set up new feature sources for geospatial features, see Overview of Working with
Feature Sources (page 582).
See also:
■

Entering and Editing Object Data (page 1061)

■

Finding All Drawing Objects Containing Specific Data (page 1245)

■

Altering Object Properties Using Object Data (page 1267)

To set up object data
NOTE Object data is for drawing objects only. For information about the attributes
(properties) of geospatial features, see Overview of the Data Table (page 1125). To
set up new feature sources for geospatial features, see Overview of Working with
Feature Sources (page 582).
■
■
■

To set up object data (page 199)
To create an object data table (page 201)
To modify an object data table (page 203)

198 | Chapter 2 Setting Up

■

To rename or remove an object data table (page 203)

Overview of Setting Up Object Data
Object data tables store text and numerical information related to an object.
NOTE Object data is for drawing objects only. For information about the attributes
(properties) of geospatial features, see Overview of the Data Table (page 1125). To
set up new feature sources for geospatial features, see Overview of Working with
Feature Sources (page 582).
See also:
■

Creating an Object Data Table (page 200)

■

Entering and Editing Object Data (page 1061)

■

Finding All Drawing Objects Containing Specific Data (page 1245)

■

Altering Object Properties Using Object Data (page 1267)

NOTE Object data is for drawing objects only. For information about the attributes
(properties) of geospatial features, see Overview of the Data Table (page 1125). To
set up new feature sources for geospatial features, see Overview of Working with
Feature Sources (page 582).
To set up object data
1 Specify a set of fields for the table. (page 200)
2 Assign a name, description, data type, and default value to each field.
3 Use a separate procedure (page 1064) to attach a record from the table to
an object.

Quick Reference
ADEDEFDATA
Defines object data
Menu

Setup menu ➤ Define Object Data

Setting Up Object Data | 199

Icon
Define Object Data
Command Line

ADEDEFDATA

Dialog Box

Define Object Data dialog box

Creating an Object Data Table
You can create multiple object data tables in a single drawing. For example,
you can create one table with pipe flow information and a separate table with
inspection information.
NOTE Object data is for drawing objects only. For information about the attributes
(properties) of geospatial features, see Overview of the Data Table (page 1125). To
set up new feature sources for geospatial features, see Overview of Working with
Feature Sources (page 582).

Using the Same Table Name in Other Drawings
Take care when naming your tables. If you use the same table name in more
than one source drawing, be sure that all tables with same name have the
same fields and field types. If your current drawing has more than one source
drawing with the same object data table name, AutoCAD Map 3D uses the
object table definition (or structure) for the first drawing that you activate. If
the other source drawings have tables with the same name but with different
fields, you cannot use those tables in the current drawing. If necessary, you
can rename or redefine an object data table.
See also:
■

Entering and Editing Object Data (page 1061)

■

Finding All Drawing Objects Containing Specific Data (page 1245)

■

Altering Object Properties Using Object Data (page 1267)

NOTE Object data is for drawing objects only. For information about the attributes
(properties) of geospatial features, see Overview of the Data Table (page 1125). To
set up new feature sources for geospatial features, see Overview of Working with
Feature Sources (page 582).

200 | Chapter 2 Setting Up

To create an object data table

1 Click Map Setup tab ➤ Attribute Data panel ➤ Define Object Data.
2 In the Define Object Data dialog box (page 1805), select a table to modify,
or click New Table to create a new table.
■

If you select an existing table, the Object Data Fields list displays fields
already defined for the table.

■

If you click New Table, enter a name for the new table.

3 To create a new data field, fill in the Field Definition area:
■

Enter a name and description for the field.

■

Select the field type. The type specifies what kind of information can
be entered in the field. For example, if you specify a numeric type,
you cannot enter letters in the field.

■

Specify the default value for the field. This value is attached to the
object unless you change it.

4 Click Add to add the new field to the table.
5 Add any additional fields to the table.

Quick Reference
ADEDEFDATA
Defines object data
Menu

Setup menu ➤ Define Object Data

Icon
Define Object Data
Command Line

ADEDEFDATA

Dialog Box

Define Object Data dialog box

Setting Up Object Data | 201

Modifying an Object Data Table
You can add, modify, and delete fields in newly defined object data tables
until you perform a save operation (either saving objects back to source
drawings or saving the current drawing). Once you perform a save operation,
only a Superuser can modify the table. Also, if you have already queried any
object from a source drawing, you cannot modify an object data table.
When you modify an object data field, AutoCAD Map 3D updates all instances
of the field attached to objects. If the object data table is large, this process
can take a long time.
NOTE Object data is for drawing objects only. For information about the attributes
(properties) of geospatial features, see Overview of the Data Table (page 1125). To
set up new feature sources for geospatial features, see Overview of Working with
Feature Sources (page 582).

Renaming and Deleting Tables
If you have Superuser privileges, you can rename or delete object data tables.
if you have already queried any object from a source drawing, you cannot
rename or delete an object data table .
If you rename a table, the new name must not duplicate an existing table
name.
WARNING When you delete an object data table from a drawing, the table is
deleted from all attached, active source drawings.
See also:
■

Creating an Object Data Table (page 200)

■

Entering and Editing Object Data (page 1061)

■

Finding All Drawing Objects Containing Specific Data (page 1245)

■

Altering Object Properties Using Object Data (page 1267)

Use the MAPLOGIN command to log in as a Superuser, or contact your system
administrator.

202 | Chapter 2 Setting Up

NOTE Object data is for drawing objects only. For information about the attributes
(properties) of geospatial features, see Overview of the Data Table (page 1125). To
set up new feature sources for geospatial features, see Overview of Working with
Feature Sources (page 582).
To modify an object data table

1 Click Map Setup tab ➤ Attribute Data panel ➤ Define Object Data.
2 In the Define Object Data dialog box (page 1805), for Table, select the object
data table to modify.
3 Click Modify.
4 In the Define New Object Data Table dialog box (page 1803), delete, add,
or update the fields:
■

To add a field, under Field Definition, enter a name, type, description,
and default value for the field. Click Add.

■

To modify a field, under Object Data Fields, select the field to modify.
Under Field Definition, change any information. Click Update.
AutoCAD Map 3D updates the object data field and all instances of
it attached to objects. If you change the data type of a field from Real
to Integer, AutoCAD Map 3D drops everything to the right of the
decimal point, leaving only the value to the left of the decimal point.

■

To delete a field, under Object Data Fields, select the field to delete.
Click Delete.

To rename or remove an object data table

1 Click Map Setup tab ➤ Attribute Data panel ➤ Define Object Data.
2 In the Define Object Data dialog box, under Table, select the object data
table you want to rename or remove.
3 To rename the table, click Rename. In the Rename Table dialog box (page
1797), enter a new table name and click OK.
To delete the table, click Delete. The table and its object data fields and
field values are deleted from every object to which they are attached.

Setting Up Object Data | 203

NOTE When you delete an object data table from a drawing, the table is
deleted from all attached, active source drawings.

Quick Reference
ADEDEFDATA
Defines object data
Menu

Setup menu ➤ Define Object Data

Icon
Define Object Data
Command Line

ADEDEFDATA

Dialog Box

Define Object Data dialog box

Using Data from Feature Sources
A feature is the spatial description of a real-world entity such as a road, a utility
pole, or a river. Features are stored in a spatial database or file. The spatial
database or file is referred to as a feature source. You can bring feature source
data into your map using Data Connect. For detailed information about using
feature sources, see Working with Feature Sources (page 582).

Setting Up Data Sources for Drawings
You can attach a database to your drawing and link records from that table
to objects in your drawing.
NOTE This functionality is for drawing objects only. For information about joining
an external database to a geospatial feature class, see Joining Data to GIS Features
(page 507).

204 | Chapter 2 Setting Up

To set up data sources for drawings
NOTE This functionality is for drawing objects only. For information about joining
an external database to a geospatial feature class, see Joining Data to GIS Features
(page 507).
■
■
■
■
■
■
■
■
■
■
■

To use a database in a drawing (page 206)
To display information about a database table (page 206)
To open a table or database query (page 206)
To open a linked table or query (page 206)
To attach a data source by dragging the database file to the Task Pane
(page 209)
To attach a data source by right-clicking the Data Sources folder in the
Task Pane (page 209)
To configure a data source automatically (page 213)
To configure a data source manually (page 213)
To modify an existing data link file (page 213)
To connect a data source (page 215)
To disconnect a data source (page 215)

Overview of Attaching Data Sources to Drawings
A data source is a database table or a set of tables.
When you attach a data source to a drawing, the data source is listed on the
Map Explorer tab of the Task Pane. You can view and edit data in the data
source or link records from the data source to objects in the drawing.
While keeping the data source attached, you can disconnect the data source
to save resources and reconnect when you are ready to work with the data.
TIP You can work with an external database table without using the database
application itself.
NOTE This functionality is for drawing objects only. For information about joining
an external database to a geospatial feature class, see Joining Data to GIS Features
(page 507).
See also:
■

Overview of Linking Database Records to Objects (page 522)

■

Viewing External Data Linked to Drawing Objects (page 1146)

Setting Up Data Sources for Drawings | 205

NOTE This functionality is for drawing objects only. For information about joining
an external database to a geospatial feature class, see Joining Data to GIS Features
(page 507).
■

To use a database in a drawing (page 206)

■

To display information about a database table (page 206)

■

To open a table or database query (page 206)

■

To open a linked table or query (page 206)

To use a database in a drawing
Do one of the following:
■

From Windows Explorer, drag a database file to the Map Explorer tab of
the Task Pane.
If the Map Explorer tab does not immediately display the data source,
right-click a blank space in the Map Explorer tab. Click Refresh.

■

Right-click the Data Sources folder on the Map Explorer tab and select
Attach.
AutoCAD Map 3D automatically creates the files it needs to communicate
with the database application. However, for some database types, you must
configure these files yourself.

■

Click Map Setup tab ➤ Attribute Data panel ➤ Attach Data Source.

To display information about a database table
■

Right-click the table name in the Map Explorer tab. Click Properties.
You can see information such as column names and types.

To open a table or database query
■

Double-click the item.

To open a linked table or query
■

Double-click the link template name.

206 | Chapter 2 Setting Up

NOTE If you connect your database using the dbConnect command, the
instructions in this section of the Help will not work . For information on using the
dbConnect command and features, look up "dbconnect" in the help index.

Quick Reference
MAPATTACHDB
Attaches a data source to the current drawing
Menu

File menu ➤ Attach/Detach ➤ Attach External
Records

Command Line

MAPATTACHDB

Task Pane

Drag a data source onto the Map Explorer tab

MAPCONFIGDB
Configures the connection to an external data source
Menu

Click Setup ➤ Create/Edit a Source of Data ➤ External
Records.

Command Line

MAPCONFIGDB

Task Pane

In Map Explorer, right-click Data Sources ➤ Configure

Dialog Box

Configure Data Source dialog box

MAPCONNECTDB
Connects to an attached data source
Menu

File menu ➤ Connect/Disconnect ➤ Connect To
External Records

Command Line

MAPCONNECTDB

Task Pane

In Map Explorer, right-click a data source or a link
template ➤ Connect-or- To connect all data sources:
Right-click Data Sources ➤ Connect All

Dialog Box

Connect Data Source dialog box

MAPDETACHDB
Detaches a data source from the current drawing

Setting Up Data Sources for Drawings | 207

Menu

File menu ➤ Attach/Detach ➤ Detach External
Records

Command Line

MAPDETACHDB

Task Pane

In Map Explorer, right-click a data source ➤ Detach

Dialog Box

Source dialog box

MAPDISCONNECTDB
Disconnects an attached, connected database
Menu

File menu ➤ Connect/Disconnect ➤ Disconnect
From External Records

Command Line

MAPDISCONNECTDB

Task Pane

In Map Explorer, right-click a data
source ➤ Disconnect-or- To disconnect all data
sources: Right-click Data Sources ➤ Disconnect All

Dialog Box

Disconnect Data Source dialog box

Attaching a Data Source
To use data from an external data source, attach the data source to the drawing.
When you attach a data source, it appears in the Map Explorer tab of the Task
Pane along with the tables and database queries associated with it.
For the following data sources, AutoCAD Map 3D automatically creates the
files it needs to communicate with the data source:
■

.dbf

■

.db

■

.mdb

■

.xls (must have at least one named range)

■

.udl

For other data sources, you must manually create the files (page 210) before
you can attach the data source.

208 | Chapter 2 Setting Up

NOTE This functionality is for drawing objects only. For information about joining
an external database to a geospatial feature class, see Joining Data to GIS Features
(page 507).

Tips
You can set an option (page 235) to have AutoCAD Map 3D prompt you for
the database version each time you attach a data source or you can specify a
default version.
AutoCAD Map 3D stores the UDL (Universal Data Link) (page 2078) files in a
specific directory. If it does not find a UDL file in this directory, it creates a
new UDL file. You can change the directory used for UDL files.
See also:
■

Configuring a Data Source (page 210)

■

Associating Database Versions with File Extensions (page 242)

■

Setting Data Source Options for Drawings (page 235)

■

Overview of Linking Database Records to Objects (page 522)

■

Viewing External Data Linked to Drawing Objects (page 1146)

NOTE This functionality is for drawing objects only. For information about joining
an external database to a geospatial feature class, see Joining Data to GIS Features
(page 507).
To attach a data source by dragging the database file to the Task Pane
1 Using Explorer or My Computer, select the database file and drag it to
the Map Explorer tab of the Task Pane.
You can drag and drop databases with the following extensions: .udl, .db,
.dbf, .mdb, and .xls.
2 If prompted, select a version and click OK.
3 If prompted, enter your user name and password.
To attach a data source by right-clicking the Data Sources folder in the Task
Pane
1 Right-click the Data Sources folder on the Map Explorer tab of the Task
Pane and select Attach.

Setting Up Data Sources for Drawings | 209

2 In the Attach Data Source dialog box, select the file location and type.
You can attach databases with the following extensions: .udl, .db, .dbf,
.mdb, and .xls.
3 Click Attach.
AutoCAD Map 3D creates the necessary configuration files and attaches the
database.
For information on using specific database types with AutoCAD Map 3D, see
the AutoCAD help.

Quick Reference
MAPATTACHDB
Attaches a data source to the current drawing
Menu

File menu ➤ Attach/Detach ➤ Attach External
Records

Command Line

MAPATTACHDB

Task Pane

Drag a data source onto the Map Explorer tab

MAPDETACHDB
Detaches a data source from the current drawing
Menu

File menu ➤ Attach/Detach ➤ Detach External
Records

Command Line

MAPDETACHDB

Task Pane

In Map Explorer, right-click a data source ➤ Detach

Dialog Box

Source dialog box

Configuring a Data Source
Microsoft Windows uses UDL (Universal Data Link) (page 2078) files to point to
specific data sources. The UDL file lists the location of the data, the type of
database, the version of the database, and the appropriate database driver.
For each data source that you use with AutoCAD Map 3D, you must have a
UDL file in the AutoCAD Map 3D data source directory. Once the UDL file

210 | Chapter 2 Setting Up

exists in the data source directory, you can attach the data source to any
drawing.
For most data sources, AutoCAD Map 3D creates the UDL file automatically
when you attach a database. However, for some database types, you must
create the UDL file manually.
When you edit or create a UDL file, you use the Microsoft Windows Data Link
Properties dialog box. For more information on using this dialog box, refer to
your Microsoft Windows documentation.
NOTE This functionality is for drawing objects only. For information about joining
an external database to a geospatial feature class, see Joining Data to GIS Features
(page 507).

Drivers
To read external data files, AutoCAD Map 3D uses drivers that translate the
data to a standard format. The first time you use a data source with AutoCAD
Map 3D, AutoCAD Map 3D determines the appropriate driver for the data
source. It stores this information in the UDL file.
AutoCAD Map 3D supports these drivers:
■

Jet provider, which works with Microsoft Access database files

■

SQL Server provider

■

Oracle provider

■

ODBC driver, which works with ODBC-compliant databases

These drivers are installed with AutoCAD Map 3D.
Because the ODBC provider works with many different database types, it
requires additional information about each specific database type. It gets this
information from a Data Source Name (DSN) that registers information about
the database type. You need only one DSN for each database type.
For the following ODBC-compliant databases, AutoCAD Map 3D creates a
DSN for you when you attach the database:
■

Microsoft Access

■

dBase

■

Microsoft Excel

■

Paradox

Setting Up Data Sources for Drawings | 211

■

Microsoft Visual FoxPro

By default, AutoCAD Map 3D connects to Microsoft Access using the Jet
provider, which does not require a DSN. If you want to connect to Microsoft
Access using the ODBC driver, you must create a DSN.
For information on creating a DSN, refer to your Microsoft Windows
documentation.

Displaying Configuration Dialog Boxes
When you attach a data source that does not already have a UDL file, AutoCAD
Map 3D creates the UDL file and determines the settings for Windows data
source configuration.
If the Expert variable is set to 3 or more, AutoCAD Map 3D determines the
settings, and displays the data source configuration dialog boxes so you can
review or modify the settings.
NOTE If you are using the ODBC provider, before you manually create the data
link file, you must have a DSN (Data Source Name) for the database software.
Windows may have created this file when you installed your database software.
See also:
■

Accessing Data from ODBC (page 342)

■

Setting Data Source Options for Drawings (page 235)

■

Overview of Linking Database Records to Objects (page 522)

■

Viewing External Data Linked to Drawing Objects (page 1146)

NOTE This functionality is for drawing objects only. For information about joining
an external database to a geospatial feature class, see Joining Data to GIS Features
(page 507).
■

To configure a data source automatically (page 213)

■

To configure a data source manually (page 213)

■

To modify an existing data link file (page 213)

212 | Chapter 2 Setting Up

To configure a data source automatically
➤

Drag and drop one of the following database types onto the Map Explorer
tab of the Task Pane:
■

Microsoft Access

■

dBASE

■

Microsoft Excel (must have at least one named range; do not use
DATABASE or other reserved words as a range name)

■

Paradox

■

Microsoft Visual FoxPro

To configure a data source manually
1 At the command prompt, enter mapconnectdb.
2 Type a name for the data source and click OK. The data link file will have
the same name.
3 On the Provider tab of the Data Link Properties dialog box, select the
database provider. If you are using the ODBC provider, select the name
of the DSN.
4 Enter additional information as needed and click OK. The Data Link
Properties dialog box is a Microsoft Windows dialog box.
For help on database configuration, see the AutoCAD help. Additional
information is available by clicking Help in the Data Link Properties dialog
box.
To modify an existing data link file
1 At the command prompt, enter mapconnectdb.
2 Select the data source and click OK.
3 Make the modifications and click OK. The Data Link Properties dialog
box is a Microsoft Windows dialog box.
NOTE If you modify a data link file for a data source that is currently attached
and connected, the changes will not take effect until the next time you connect
the data source.

Setting Up Data Sources for Drawings | 213

NOTE If you have more than one copy of a UDL file, be sure to edit the copy in
the AutoCAD Map 3D data links directory.

Quick Reference
EXPERT
Controls whether certain prompts are issued (system variable)
Command Line

EXPERT

MAPCONFIGDB
Configures the connection to an external data source
Menu

Click Setup ➤ Create/Edit a Source of Data ➤ External
Records.

Command Line

MAPCONFIGDB

Task Pane

In Map Explorer, right-click Data Sources ➤ Configure

Dialog Box

Configure Data Source dialog box

Connecting a Data Source
To free up memory or database connections, you can disconnect a data source
but keep it attached to the current drawing. When you want to use the data
source again, reconnecting is a one-step process.
TIP You can set an option to automatically connect (page 235) to all attached data
sources each time you open a drawing.
NOTE This functionality is for drawing objects only. For information about joining
an external database to a geospatial feature class, see Joining Data to GIS Features
(page 507).
See also:
■

Setting Data Source Options for Drawings (page 235)

■

Overview of Attaching Data Sources to Drawings (page 205)

■

Overview of Linking Database Records to Objects (page 522)

214 | Chapter 2 Setting Up

■

Viewing External Data Linked to Drawing Objects (page 1146)

NOTE This functionality is for drawing objects only. For information about joining
an external database to a geospatial feature class, see Joining Data to GIS Features
(page 507).
To connect a data source
■

On the Map Explorer tab of the Task Pane, double-click the data source.

To disconnect a data source
■

Right-click the data source. Click Disconnect.

Quick Reference
MAPCONNECTDB
Connects to an attached data source
Menu

File menu ➤ Connect/Disconnect ➤ Connect To
External Records

Command Line

MAPCONNECTDB

Task Pane

In Map Explorer, right-click a data source or a link
template ➤ Connect-or- To connect all data sources:
Right-click Data Sources ➤ Connect All

Dialog Box

Connect Data Source dialog box

MAPDISCONNECTDB
Disconnects an attached, connected database
Menu

File menu ➤ Connect/Disconnect ➤ Disconnect
From External Records

Command Line

MAPDISCONNECTDB

Task Pane

In Map Explorer, right-click a data
source ➤ Disconnect-or- To disconnect all data
sources: Right-click Data Sources ➤ Disconnect All

Dialog Box

Disconnect Data Source dialog box

Setting Up Data Sources for Drawings | 215

Setting Options
You can change many settings that affect the work environment, how the
program starts up, whether users must log in, and settings for your current
drawings, data sources, and more.
See also:
■

Setting Raster Image Options (page 249)

■

Setting Data Source Options for Drawings (page 235)

■

Setting AutoCAD Options (look up “interface options, setting” in the help
index)

■
■
■
■
■
■
■
■
■
■
■
■
■
■
■
■
■
■
■
■
■
■
■

To use the AutoCAD Map Options dialog box (page 218)
To set Task Pane options (page 221)
To hide or display the Task Pane at startup (page 221)
To hide or display the Task Pane within your current session (page 221)
To refresh Map Explorer (page 221)
To adjust the transparency of the Task Pane (page 222)
To set drawing options (page 225)
To set multi-user options (page 227)
To set system options (page 229)
To specify coordinate system options (page 231)
To specify coordinate tracker options (page 232)
To set coordinate geometry options (page 234)
To change the azimuth bearing quickly (page 234)
To set data source options (page 236)
To change the expert setting (page 236)
To change the default data link file directory (page 236)
To set Data View options (page 238)
To specify Feature Edit Options (page 240)
To set metadata options (page 241)
To associate database versions with files extensions (page 243)
To set query options (page 245)
To have hatch created by property alteration be associative (page 247)
To set AutoCAD Map 3D options (page 249)

216 | Chapter 2 Setting Up

Overview of Setting Options
The following table summarizes the options you can set and where these
settings are located.
To change settings for...

Go to...

Default display of the Task Pane

AutoCAD Map Options dialog box ➤ Task
Pane (page 1909) tab.

The current drawing

AutoCAD Map Options dialog box ➤
Current Drawing (page 1909) tab.

Login and object locking

AutoCAD Map Options dialog box ➤
Multi-User (page 1915) tab

Log files and data sources

AutoCAD Map Options dialog box ➤
System (page 1916) tab

Coordinate systems

AutoCAD Map Options dialog box ➤
Current Drawing (page 1909) tab

Coordinate geometry

Coordinate Geometry Setup dialog box
(page 1917)

Data sources for drawings (and file extension associations for them) and the Data
View window

AutoCAD Map Options dialog box ➤
Data Source (page 1914) tab

Metadata

Metadata Options dialog box (page 1484)

Queries

AutoCAD Map Options dialog box ➤
Query (page 1911)tab
NOTE There are also query-related settings
on the following tabs:

Associative hatch for drawing objects with
boundaries

■

Save Back (page 1913)

■

System (page 1916)

■

Task Pane (page 1909)

AutoCAD Map Options dialog box ➤
Query (page 1911)tab

Overview of Setting Options | 217

To change settings for...

Go to...

Raster images

Raster Extension Options dialog box (page
1879)

Import defaults

mapimport.ini (page 271) and mapforeignfileproperties.ini (page 274)

Export defaults

mapexport.ini (page 269)

To use the AutoCAD Map Options dialog box
1 In the Tool-based Ribbon Workspace, click Map Setup tab ➤ Map
panel ➤ angle-arrow.
2 Click a tab.
3 In the AutoCAD Map Options dialog box (page 1908), modify options.
4 Click OK to save the settings.

Quick Reference
MAPOPTIONS
Sets AutoCAD Map 3D options
Menu

Setup menu ➤ Autodesk Map Options

Icon
Options
Command Line

MAPOPTIONS

Task Pane

In Map Explorer, right-click Current
Drawing ➤ Options

Dialog Box

AutoCAD Map Options dialog box

OPTIONS
Customizes the AutoCAD settings
Menu

Setup menu ➤ AutoCAD Options

Command Line

OPTIONS

218 | Chapter 2 Setting Up

Task Pane

Right-click in the drawing area ➤ Options

MAPDOCKWSPACE
Docks and undocks the Task Pane
Command Line

MAPDOCKWSPACE

Task Pane

Double-click the title bar (floating) or the double bar
at the top of the pane (docked)

Dialog Box

MAPDOCKWSPACE (Dock Task Pane command)

MAPWSPACE
Shows or hides the Task Pane
Menu

View menu ➤ Task Pane

Command Line

MAPWSPACE

Task Pane

Right-click a blank area ➤ Close

Dialog Box

MAPWSPACE (Task Pane command)

MAPWSREFRESH
Redisplays the Task Pane
Command Line

MAPWSREFRESH

Task Pane

Right-click a blank area ➤ Refresh

Dialog Box

MAPWSREFRESH

MAPCGAZBASE
Sets the azimuth base
Command Line

MAPCGAZBASE

MAPCGSETUP
Specifies coordinate geometry settings
Menu

At the Command prompt, enter mapcgsetup.

Icon
COGO Options
Command Line

MAPCGSETUP

Overview of Setting Options | 219

Dialog Box

Setting Coordinate Geometry Options

MAPIOPTIONS
Specifies default image correlation settings, display options, detach options,
paths, and memory settings
Menu

Setup menu ➤ Raster Options

Command Line

MAPIOPTIONS

Dialog Box

Raster Extension Options dialog box

Setting Task Pane Options
You can specify what to display in the Task Pane and what displays when you
start the program.
■

Map Explorer Categories To Display — Lets you select which categories
(nodes) you want to display on the Map Explorer tab of the Task Pane.
The visibility of some nodes is dependent on the visibility of others. For
example, the Tables node is visible in the Map Explorer tab of Task Pane
only when you select both Data Sources and Tables.
NOTE When you attach drawings with the Topologies node visible, AutoCAD
Map 3D creates a list of all the topologies to display under Topologies in Map
Explorer. If you attach a large number of drawings containing topologies at
the same time, the creation of the topology list increases the processing time.
To reduce processing time, hide the Topologies node before attaching the
drawings.

■

Show Task Pane On Startup — Specifies whether to display the Task Pane
when you start AutoCAD Map 3D.

■

Show Properties Palette On Startup — Specifies whether to display the
Properties palette when you start AutoCAD Map 3D.

See also:
■

The Task Pane

■

Getting Information About Drawing Objects (page 1143)

■

To set Task Pane options (page 221)

220 | Chapter 2 Setting Up

■

To hide or display the Task Pane at startup (page 221)

■

To hide or display the Task Pane within your current session (page 221)

■

To refresh Map Explorer (page 221)

■

To adjust the transparency of the Task Pane (page 222)

To set Task Pane options
1 In the Tool-based Ribbon Workspace, click Map Setup tab ➤ Map
panel ➤ angle-arrow.
2 In the AutoCAD Map Options dialog box (page 1908), select the Task Pane
tab.
3 Modify the options you want:
■

Under Map Explorer Categories To Display, select the categories to
display on the Map Explorer tab of the Task Pane.

■

Select which palettes you want to show at startup.

4 Click OK.
To hide or display the Task Pane at startup
1 In the Tool-based Ribbon Workspace, click Map Setup tab ➤ Map
panel ➤ angle-arrow.
2 In the AutoCAD Map Options dialog box (page 1908), click the Task Pane
(page 1909) tab.
3 Select Show Task Pane On Startup.
To hide or display the Task Pane within your current session
■

In the Tool-based Ribbon Workspace, click View tab ➤ Palettes panel ➤ Map
Task Pane

To refresh Map Explorer
■

Right-click a clear area in Map Explorer, and click Refresh; or enter
mapwsrefresh at the Command prompt.

Setting Task Pane Options | 221

To adjust the transparency of the Task Pane
1 Right-click the title bar of the Task Pane and choose Transparency.
2 In the Transparency dialog box, adjust the transparency level.
3 Click OK.

Quick Reference
MAPOPTIONS
Sets AutoCAD Map 3D options
Menu

Setup menu ➤ Autodesk Map Options

Icon
Options
Command Line

MAPOPTIONS

Task Pane

In Map Explorer, right-click Current
Drawing ➤ Options

Dialog Box

AutoCAD Map Options dialog box

MAPDOCKWSPACE
Docks and undocks the Task Pane
Command Line

MAPDOCKWSPACE

Task Pane

Double-click the title bar (floating) or the double bar
at the top of the pane (docked)

Dialog Box

MAPDOCKWSPACE (Dock Task Pane command)

MAPWSPACE
Shows or hides the Task Pane
Menu

View menu ➤ Task Pane

Command Line

MAPWSPACE

Task Pane

Right-click a blank area ➤ Close

Dialog Box

MAPWSPACE (Task Pane command)

MAPWSREFRESH

222 | Chapter 2 Setting Up

Redisplays the Task Pane
Command Line

MAPWSREFRESH

Task Pane

Right-click a blank area ➤ Refresh

Dialog Box

MAPWSREFRESH

Setting Drawing Options
You can specify general settings and coordinate transformation options for
the current drawing. If you are working with drawings that use different global
coordinate systems, AutoCAD Map 3D standardizes the drawings based on
the global coordinate system of the the current drawing.
NOTE Once you bring objects into the current drawing, do not change the
coordinate transformation options if you plan to save changes back to source
drawings. The save-back process determines whether adjustments are necessary
to restore objects to the correct coordinate system when you save them back to
source drawings.
NOTE These options affect drawing files that you attach to the current map
drawing. They do not affect geospatial feature sources.

Activate Attached Source Drawings
Set any of the following options:
■

From Last Session At Startup — Activates the drawings that were active the
last time you quit AutoCAD Map 3D. If you do not select this option, all
drawings are inactive on startup.

■

After Attaching — Sets the status of a drawing to Active when you attach
it. If you do not select this option, all drawings are inactive when you
attach them.

Coordinate Transformation Adjustments: Adjust Sizes And Scales area
Set any of the following options:
■

For Changes In Units — Use this option when you are working with text
and block objects from a source drawing that uses different coordinate
system units than the current drawing. For example, if your source drawing
uses meters and the current drawing uses U.S. Survey Feet, you can scale

Setting Drawing Options | 223

text and blocks so that their size or scale measures in feet rather than
meters.
If you do not select this option, AutoCAD Map 3D does not adjust the size
or scale of text and block objects. For example, if you have a block that is
5 meters long in the source drawing, it will be 5 feet long when you bring
it into the current drawing.
Do not change this setting after you bring objects into the current drawing,
or you might introduce unintended changes to text and blocks when you
save them back to their source drawings.
■

For Map Distortion — Use this option to adjust the size and scale of text
and blocks to correct for map distortion introduced when you represent
a spherical object (earth) in a Cartesian coordinate system.
For example, two objects, located at the northern and southern extremes
of a map, of equal length in coordinate system X remain the same length
when transformed to coordinate system Y.
If you do not select this option, AutoCAD Map 3D scales the two objects
to different lengths in coordinate system Y according to the relative map
distortion (or grid scale factor).
For Map Distortion in the Adjust Sizes And Scales area is available only if
you selected the previous option, For Changes In Units.

Coordinate Transformation Adjustments: Adjust Rotations area
Set any of the following options:
■

For Map Distortion — Adjusts the angle of text and blocks to correct for
map distortion due to the convergence angle (the deviation of the Y axis
of a Cartesian coordinate system from true north).

■

For Zero-Rotation Objects — Specifies that text and blocks that have a
rotation value of zero in the source drawing are adjusted to correct
distortion due to the convergence angle.
If you select this option, AutoCAD Map 3D calculates the convergence
angle for text and blocks with a zero rotation value. If you do not select
this option, AutoCAD Map 3D does not rotate text and blocks with a zero
rotation value, even if there is a convergence angle.
For Zero-Rotation Objects is available only if you selected the previous
option, For Map Distortion, in the Adjust Rotations area.

224 | Chapter 2 Setting Up

Select Adjust Elevations to adjust the elevation (Z axis) of objects when you
select For Changes In Units and For Map Distortion under Adjust Sizes And
Scales.

Data Source Options
Set any of the following options:
■

Select Reconnect Data Source When Drawing Opens to reconnect the
databases that were connected the last time you quit AutoCAD Map 3D.

■

In the Number Of SQL Conditions To Keep In History List box, enter the
number of SQL conditions to store in the SQL condition history list.
Reducing the size of this list saves memory and reduces the number of
conditions you must scroll through when you search for a particular
condition. The first condition added to the list is the first one dropped
when AutoCAD Map 3D reaches the maximum number you specify.

See also:
■

Activating a Drawing (page 159)

■

Overview of Coordinate Systems (page 143)

■

Setting Data Source Options for Drawings (page 235)

To set drawing options
1 In the Tool-based Ribbon Workspace, click Map Setup tab ➤ Map
panel ➤ angle-arrow.
2 In the AutoCAD Map Options dialog box (page 1908), select the Current
Drawing (page 1909) tab.
3 Modify the options you want. For information on each option, see the
Concept tab of this topic.
4 Click OK.

Quick Reference
MAPOPTIONS
Sets AutoCAD Map 3D options

Setting Drawing Options | 225

Menu

Setup menu ➤ Autodesk Map Options

Icon
Options
Command Line

MAPOPTIONS

Task Pane

In Map Explorer, right-click Current
Drawing ➤ Options

Dialog Box

AutoCAD Map Options dialog box

Setting Multi-user Options
You can specify options that affect how AutoCAD Map 3D operates for all
users, across all drawings. For example, you can set login or object locking
options. The system administrator controls these settings.
These options apply to all AutoCAD Map 3D users in a single installation and
are set by the system administrator. The settings affect all drawings and, in
network installations, are common to all users.

Force User Login
You must have Superuser privilege to set this option.
If Force User Login is enabled, users are required to log in at AutoCAD Map
3D startup. If a user attempts to halt log in by pressing the Escape key,
AutoCAD Map 3D assigns view-only privileges, and the user cannot alter the
drawing set, edit drawings, or perform queries. Once logged in, a user may
log in under a different login name, even while working in a drawing with
active source drawings.
If Force User Login is not enabled and the user does not log in, AutoCAD Map
3D uses the user's operating system login name to identify the user when
locking objects, creating the .DWK file, and restoring options. A user may log
in using his or her login name while working in drawings, including drawings
with attached source drawings.

Enable Object Locking
Protects objects that are being edited from modification by other AutoCAD
Map 3D users.
NOTE Object locking affects drawing files only. For information on using geospatial
feature data in a multi-user environment, see Overview of Working with Features
(page 684).

226 | Chapter 2 Setting Up

You cannot change the Enable Object Locking option while drawings are
attached. If this option is not selected, only one user at a time can attach a
drawing.
Object locking is recommended on networked systems to avoid conflicts when
querying and editing. If you are working on a stand-alone system, you do not
need object locking.
See also:
■

Logging Into AutoCAD Map 3D (page 141)

■

Sharing Attached Drawings (page 731)

NOTE Object locking affects drawing files only. For information on using geospatial
feature data in a multi-user environment, see Overview of Working with Features
(page 684).
To set multi-user options
1 In the Tool-based Ribbon Workspace, click Map Setup tab ➤ Map
panel ➤ angle-arrow.
2 In the AutoCAD Map Options dialog box (page 1908), select the Multi-User
(page 1915) tab.
3 Modify the options you want. For information on each option, see the
Concept tab of this topic.
4 Click OK.

Quick Reference
MAPOPTIONS
Sets AutoCAD Map 3D options
Menu

Setup menu ➤ Autodesk Map Options

Icon
Options
Command Line

MAPOPTIONS

Task Pane

In Map Explorer, right-click Current
Drawing ➤ Options

Setting Multi-user Options | 227

Dialog Box

AutoCAD Map Options dialog box

Setting System Options
You can specify options that affect the operation of a single installation of
AutoCAD Map 3D.
NOTE If you have enabled Force User Login (page 226) on the Multi-User Options
tab, you must log in as a Superuser to set System Options. The default superuser
login name is SuperUser (not case sensitive) and the password is SUPERUSER (case
sensitive).

Log File Options
■

Select Log File Active to create a log file for AutoCAD Map 3D messages.

■

In the File Name box, provide the path and name for a log file in which
to record error, warning, and diagnostic messages. The default name is
acadmap.log. Optionally, you can click Browse to search your file system
for an existing file. AutoCAD Map 3D appends messages to the file you
select.

■

Specify one of the following under Message Level:
Level 0: Error Messages — The log file contains error messages that describe
potential problems you may encounter. For example, if you attempt to
attach a drawing that is already attached, AutoCAD Map 3D produces an
error message that is stored in the log file.
Level 1: Error And Warning Messages — The log file contains warning
messages in addition to error messages. Warning messages alert you to
potential problems. For example, if you use duplicate link template names,
AutoCAD Map 3D produces a warning message that is stored in the log
file.
Level 2: Error, Warning And Diagnostic Messages — The log file contains
status messages as well as error and warning messages.

Number of Drawings Loaded Into Memory At Once
When you attach and activate drawings, AutoCAD Map 3D opens them in
memory. You do not see the open drawings, but AutoCAD Map 3D must open
them to perform operations.

228 | Chapter 2 Setting Up

The number of drawings that AutoCAD Map 3D can open in memory at the
same time depends on several factors. These include the size of the drawings,
amount of memory, and your system setup.
The number you specify here does not limit the number of active drawings.
AutoCAD Map 3D opens and closes files in memory as it needs them. If your
system has a lot of memory, you can enter a larger number (up to 200) to
make queries go faster.

Default Directories
To specify a default directory for externally saved queries or cache files, enter
the path in the appropriate box. Or click Browse to locate an existing directory.
NOTE These options affect drawing files only. They do not affect geospatial feature
sources.
See also:
■

Editing Data in Attached Drawings (page 729)

■

Overview of Using the Query Library (page 174)

To set system options
1 In the Tool-based Ribbon Workspace, click Map Setup tab ➤ Map
panel ➤ angle-arrow.
2 In the AutoCAD Map Options dialog box (page 1908), select the System
(page 1916) tab.
3 Modify the options you want. For information on each option, see the
Concept tab of this topic.
4 To enhance the performance of AutoCAD Map 3D, click Clear Cache.
5 Click OK.
NOTE If you have enabled Force User Login (page 226) on the Multi-User
Options tab, you must log in as a Superuser to set System Options. The default
superuser login name is SuperUser (not case sensitive) and the password is
SUPERUSER (case sensitive).

Setting System Options | 229

Quick Reference
MAPOPTIONS
Sets AutoCAD Map 3D options
Menu

Setup menu ➤ Autodesk Map Options

Icon
Options
Command Line

MAPOPTIONS

Task Pane

In Map Explorer, right-click Current
Drawing ➤ Options

Dialog Box

AutoCAD Map Options dialog box

Setting Coordinate System Options
You can set several options to determine how AutoCAD Map 3D performs
coordinate system transformations and responds when you open drawings
with embedded coordinate system definitions.
These options apply only to the current drawing. Each time you open a
drawing, these settings take effect, but they do not affect other drawings.

Coordinate Transformation Adjustments
Coordinate transformation allows the manipulation of the coordinate
geometry. Use the Coordinate Transformation Adjustment options to specify
how AutoCAD Map 3D performs coordinate transformations through
adjustments for size, scale, rotation, and elevation.
After you query objects into a drawing from source drawings, do not change
the coordinate transformation options if you plan to save changes back to the
source drawings.
NOTE The AutoCAD Map 3D simple transformation options, available in the
Drawing Settings dialog box, cannot be used with coordinate transformations.

Storing Coordinate Systems in the Drawing
When you open a drawing that has a coordinate system that is not in your
dictionary, AutoCAD Map 3D can add that coordinate system definition to

230 | Chapter 2 Setting Up

your dictionary. You can choose to always add the definitions, never add the
definitions, or have AutoCAD Map 3D prompt you each time.

Units
Specify the units to use when displaying geodetic distance.
See also:
■

Overview of Coordinate Systems (page 143)

■

Defining Coordinate Systems (page 89)

■

Overview of Bringing in Drawing Data From DWG Files (page 351)

■

Setting Drawing Options (page 223)

To specify coordinate system options
1 In the Tool-based Ribbon Workspace, click Map Setup tab ➤ Map
panel ➤ angle-arrow.
2 In the AutoCAD Map Options dialog box (page 1908), click the Current
Drawing (page 1909) tab.
3 Under Coordinate Transformation Adjustments, specify how you want
AutoCAD Map 3D to perform coordinate transformations.
4 Click the Coordinate Systems tab (page 1916).
■

Under Coordinate System Definitions Stored In Drawing, specify how
you want AutoCAD Map 3D to respond when you open drawings
with embedded coordinate system definitions.

■

Under Geodetic Distance, select the units to use when displaying
geodetic distance.

5 Click OK.

Quick Reference
MAPOPTIONS
Sets AutoCAD Map 3D options
Menu

Setup menu ➤ Autodesk Map Options

Setting Coordinate System Options | 231

Icon
Options
Command Line

MAPOPTIONS

Task Pane

In Map Explorer, right-click Current
Drawing ➤ Options

Dialog Box

AutoCAD Map Options dialog box

Setting Coordinate Tracker Options
You can track multiple coordinate systesm in your map using the Track
Coordinates Dialog Box (page 1601). The Track Coordinates dialog box contains
one or more Coordinate Trackers that display the coordinates of the cursor as
you move around your map. You can specify how much information the
tracker coordinates displays, and the precision of the coordinates.
See also:
■

Tracking Coordinates (page 1149)

To specify coordinate tracker options
1 In the Tool-based Ribbon Workspace, click Analyze tab ➤ Geo Tools
panel ➤ Coordinate Track.
2 In the Track Coordinates dialog box, click
Options Dialog Box (page 1600) appears.

. The Coordinate Tracker

3 In the Coordinate Tracker Options dialog box, set any of the following
options:
■

Display coordinate system descriptions: view a description of the
coordinate system in the Track Coordinates dialog box.

■

Format Lat/Long as D,M,S: display lat/long coordinates in
degrees/minutes/seconds format.

■

Include Square ID: view the MGRS square ID when tracking MGRS
coordinates.

■

Precision Level: specify the precision level of MGRS coordinates.

232 | Chapter 2 Setting Up

■

Lettering Scheme: specify the lettering scheme for MGRS coordinates.
Use AA (MGRS-New) for the WSG84 datum. Use AL (MGRS-Old) for
older datums.

■

Digitization Location: For the digitization location within a given
MGRS square, specify left top, center top, right top, left center, center,
right center, left bottom, center bottom, or right bottom.

4 Click OK.

Quick Reference
MAPTRACKCS
Tracks the coordinates of the cursor in any coordinate system
Menu

Analyze menu ➤ Track Coordinate Sytem.

Icon
Track Coordinates
Command Line

MAPTRACKCS

Task Pane

In Map Explorer, right-click Current Drawing ➤ Track
Coordinates

Setting Coordinate Geometry Options
You can set the following coordinate geometry options:
■

If North on your map is not aligned with the Y axis, specify the angle for
North.

■

If your COGO information sometimes includes elevation information, set
the COGO commands to prompt for 3D data. If you never include 3D data,
you can turn off this prompt.

■

Specify units of measure for your coordinate geometry input. For Linear
Units, select US Feet, International Feet, Meters, or Chains. For Angle
Format, select Decimal Degrees, Degrees/Minutes/Seconds, Grads, Radians,
or Surveyor’s Units.

■

If azimuth bearings on your map are measured relative to South, set the
azimuth base to South. Otherwise, leave it set to North.

Setting Coordinate Geometry Options | 233

■

Create a text log for coordinate geometry entered through the COGO Input
dialog box (page 1668).

See also:
■

Overview of Coordinate Geometry Commands (page 1027)

To set coordinate geometry options
1 In the Tool-based Ribbon Workspace, click Home tab ➤ Draw
panel ➤ COGO drop-down ➤ COGO Options.
2 In the Coordinate Geometry Setup dialog box (page 1917), set any of the
following options.
■

To change the setting for North, under Set North Direction, specify
the direction from the Y axis to North on your map. Enter a number
that represents the angular distance measured clockwise from the Y
axis.

■

To have AutoCAD Map 3D always prompt for elevation, grade, or
slope, select Prompt For 3D Data Input.

■

Specify units of measure for Linear Units and Angle Format.

■

Specify whether bearings in your map are relative to North or South.

■

To have AutoCAD Map 3D write a text log for coordinate geometry
entered through the COGO Input dialog box (page 1668) to the AutoCAD
Text Window, check Create Text Log.

3 Click OK to save your settings.
To change the azimuth bearing quickly
1 At the command prompt, enter mapcgazbase.
2 Enter n for North or s for South and press Enter.

Quick Reference
MAPCGAZBASE
Sets the azimuth base

234 | Chapter 2 Setting Up

Command Line

MAPCGAZBASE

MAPCGSETUP
Specifies coordinate geometry settings
Menu

At the Command prompt, enter mapcgsetup.

Icon
COGO Options
Command Line

MAPCGSETUP

Dialog Box

Setting Coordinate Geometry Options

Setting Data Source Options for Drawings
You can specify several options for attaching data sources for drawing objects.
NOTE These options affect drawing data only. They do not affect geospatial feature
data sources.
■

Specify whether data sources, tables, database queries, and link templates
appear on the Map Explorer tab of the Task Pane.

■

Specify whether AutoCAD Map 3D automatically reconnects the data
sources that were connected the last time you closed this drawing.

■

Specify the default driver to use when you drop an MDB file onto the Map
Explorer tab.

■

Specify the default database version for files with a .db, .dbf, or .xls file
extension that you drop on the Map Explorer tab.

■

Change the Expert setting to display or hide the data source configuration
dialog boxes. An Expert setting of 3 or above displays the configuration
dialog boxes. An Expert setting of 2 or less hides the dialog boxes.

■

Change the default location for UDL (Universal Data Link) (page 2078) files.

See also:
■

Overview of Attaching Data Sources to Drawings (page 205)

■

Overview of Linking Database Records to Objects (page 522)

■

To set Data View options (page 238)

Setting Data Source Options for Drawings | 235

NOTE These options affect drawing data only. They do not affect geospatial feature
data sources.
■

To set data source options (page 236)

■

To change the expert setting (page 236)

■

To change the default data link file directory (page 236)

To set data source options
1 In the Tool-based Ribbon Workspace, click Map Setup tab ➤ Map
panel ➤ angle-arrow.
2 In the AutoCAD Map Options dialog box (page 1908):
■

On the Task Pane (page 1909) tab, select the items to display on the
Map Explorer tab.

■

On the Current Drawing (page 1909) tab, specify whether to
automatically connect to attached data sources when you open a
drawing and how many filters or conditions should be stored in the
History List.

■

On the Data Source (page 1914) tab, specify the default driver to use
when you drop an MDB file on the Map Explorer tab of the Task Pane.
Click Associate to specify the default database version

To change the expert setting
1 At the command prompt, enter expert.
2 Enter an expert setting.
For information on the Expert system variable, look up "system variables" in
the help index.
To change the default data link file directory

1 Click

➤ Options.

2 On the Files tab of the Options dialog box, specify the Data Sources
Location.

236 | Chapter 2 Setting Up

Quick Reference
OPTIONS
Customizes the AutoCAD settings
Menu

Setup menu ➤ AutoCAD Options

Command Line

OPTIONS

Task Pane

Right-click in the drawing area ➤ Options

MAPOPTIONS
Sets AutoCAD Map 3D options
Menu

Setup menu ➤ Autodesk Map Options

Icon
Options
Command Line

MAPOPTIONS

Task Pane

In Map Explorer, right-click Current
Drawing ➤ Options

Dialog Box

AutoCAD Map Options dialog box

Setting Data View Options
Data View options apply to a single user's AutoCAD Map 3D environment.
All drawings opened by a particular user display these settings, but they do
not affect others who open the same drawings.
NOTE Data View is for drawing data only. For options related to the Data Table,
which displays the properties of geospatial feature data, see Overview of the Data
Table (page 1127).

Display Of Multiple Tables
You can specify the number of Data Views to use when displaying tables.
■

Show Each Table In A Separate Data View: Opens a new Data View window
for each open table. Move between tables by clicking the window you
want.

Setting Data View Options | 237

■

Show All Tables In One Data View: Opens only one Data View window.
When you open a new table, the previous table is automatically closed.

Data Views
You can specify the behavior of the Data View.
■

Open In Read-Only Mode: Opens the Data View in read-only mode. When
this option is selected, you cannot edit data in the Data View.

■

Save Format And Style Changes With Drawing: Saves all formatting
changes, such as column width, font, color, or borders, that you make in
the Data View.

■

Keep On Top: Specifies whether the Data View window remains on top of
all other windows, even when it is not the active window.

See also:
■

Overview of Viewing External Data Sources for Drawing Objects (page 1048)

■

Overview of Linking Database Records to Objects (page 522)

NOTE Data View is for drawing data only. For options related to the Data Table,
which displays the properties of geospatial feature data, see Overview of the Data
Table (page 1127).
To set Data View options
1 In the Tool-based Ribbon Workspace, click Map Setup tab ➤ Map
panel ➤ angle-arrow.
2 In the AutoCAD Map Options dialog box (page 1908), select the Data Source
(page 1914) tab.
3 Modify the options you want.
4 To change the number of filters that AutoCAD Map 3D displays in the
Table Filter History dialog box, select the Current Drawing (page 1909) tab.
Enter a new number.
5 Click OK.

238 | Chapter 2 Setting Up

Quick Reference
OPTIONS
Customizes the AutoCAD settings
Menu

Setup menu ➤ AutoCAD Options

Command Line

OPTIONS

Task Pane

Right-click in the drawing area ➤ Options

MAPOPTIONS
Sets AutoCAD Map 3D options
Menu

Setup menu ➤ Autodesk Map Options

Icon
Options
Command Line

MAPOPTIONS

Task Pane

In Map Explorer, right-click Current
Drawing ➤ Options

Dialog Box

AutoCAD Map Options dialog box

Setting Geospatial Feature Editing Options
You can specify options for editing geospatial features.
NOTE These options affect geospatial feature data only. For options related to
editing drawing objects, see Setting Multi-user Options (page 226).
■

Automatic Checkout: You must check out geospatial features before editing
them. This option allows you check out features automatically when you
edit them.

■

Automatic Edit Update: When you edit geospatial features in AutoCAD
Map 3D you can also update the original data resources. This option allows
you to automate updating your feature source.

Setting Geospatial Feature Editing Options | 239

■

Feature Checkout Options: You can check out geospatial features with as
drawing objects or geospatial features.
Features checked out as AutoCAD
drawing objects

Features checked out as geospatial
features

Allows you to use many common ACAD
editing commands

Allows you to use some common ACAD
editing commands in addition to geospatial feature-specific editing commands (for
example, MAPFEATURESPLIT (page 1652)
and MAPFEATUREMERGE (page 1651))

Edited features represented as AutoCAD
geometries (for example, closed polylines
are used to represent polygonal features)

Edited features are represented as geospatial geometries (for example, MAPPOLYGONS).

Most existing custom or third-party editing
applications (LISP, VB, or ObjectARX)
should continue to work. Some may require minor updates.

Supports multipart (multipolygons, multilines, and multipoints) geospatial features
and editing, such as the Hawaiian islands.

Some existing AutoCAD Map 3D editing
commands will continue to work on features (for example, rubber sheeting [ADERSHEET (page 1648)]).

Preserves and allows you to edit M and Z
values.

Allows you to use feature styling.

Allows you to use feature styling.

■

Split Prompt Options: Specify defaults for the prompts displayed when
you split a polygonal feature. Specify whether to display the prompts during
a split operation.

■

Checkin Prompt Timer: This option allows you to set a recurring check-in
prompt.

See also:
■

Editing Features (page 701)

■

Splitting Features (page 705)

NOTE These options affect geospatial feature data only. For options related to
editing drawing objects, see Setting Multi-user Options (page 226).
To specify Feature Edit Options
1 In the Tool-based Ribbon Workspace, click Map Setup tab ➤ Feature
Data panel ➤ angle-arrow.

240 | Chapter 2 Setting Up

2 In the Feature Editing Options dialog box (page 1929), select the options
you want. If you select the checkin prompt, specify the prompt interval
in minutes.
3 Click OK.

Quick Reference
MAPFEATUREEDITOPTIONS
Specifies options for editing features
Icon
Feature Edit Options
Command Line

MAPFEATUREEDITOPTIONS

Dialog Box

Feature Editing Options dialog box

Setting Metadata Options
AutoCAD Map 3D 2011 supports FGDC metadata down to the feature source
and object class levels. You can set options for your metadata on the Metadata
Options dialog box. Options for metadata include metadata template import
and export, latitude/longitude precision, and automatic updating.
See also:
■

Setting Metadata Options (page 1484)

To set metadata options
1 Launch the Metadata Viewer (page 1487).
2 On the Metadata Viewer toolbar, click Options.
3 In the Metadata Options dialog box (page 1756), do any of the following:
■

To use a metadata template, click the Template tab and select Use
Template and select the template you want from the list. If no
templates appear, click Import and import an FGDC-compliant
template.

Setting Metadata Options | 241

■

To set Latitude/longitude precision, click the Preference tab and set
the number of digits that display after the decimal point for your
reported latitude and longitude values from 0 to 10. Both values are
6 by default.

4 Click OK.

Quick Reference
MAPMETADATAOPTIONS
Displays the Metadata Options dialog box
Command Line

MAPMETADATAOPTIONS

Dialog Box

Metadata Options

Setting InfoCenter Options
The InfoCenter, located at the top of the application window, helps you find
information about AutoCAD Map 3D 2011 quickly. When you type a question
into its text-entry box, the InfoCenter searches the AutoCAD Map 3D
documentation as well as any documents you add to the search settings.
Using the InfoCenter, you can:
■

Search a custom set of the documents, such as all the User Guides and
Tutorials. If you are a developer, you can set InfoCenter to search your
favorite developer Help.

■

Search a specific document.

■

Add your own documents to the search.

■

Keep up-to-date on your favorite RSS feeds, such as the Knowledge Base
and the Discussion Boards.

For details about the InfoCenter, see the AutoCAD help.

Associating Database Versions with File Extensions
This information applies only to drawing objects.

242 | Chapter 2 Setting Up

When you drag and drop a database onto the Map Explorer tab of the Task
Pane, you can select the version of the database used to create the database.
By default, AutoCAD Map 3D prompts you each time to specify the version
that was used. If you created all your databases with a specific version of the
software, you can set an option to select that version automatically.
See also:
■

Attaching a Data Source (page 208)

■

Configuring a Data Source (page 210)

■

Setting Data Source Options for Drawings (page 235)

■

Overview of Linking Database Records to Objects (page 522)

■

Viewing External Data Linked to Drawing Objects (page 1146)

To associate database versions with files extensions
1 In the Tool-based Ribbon Workspace, click Map Setup tab ➤ Map
panel ➤ angle-arrow.
2 In the AutoCAD Map Options dialog box (page 1908), select the Data Source
(page 1914) tab.
3 Under Associate Database Versions With File Extensions, select Associate.
4 In the Associate Database Versions dialog box (page 1675), under each
database name, do one of the following:
■

To be prompted each time you drag and drop a database file onto the
Map Explorer tab of the Task Pane, select Always Prompt.

■

To associate a database file extension with a specific version of the
database software, select Always Use. Select the correct version.
When you drop a database file onto the Map Explorer tab, AutoCAD
Map 3D checks the file extension and uses the specified version of
the database software.

Quick Reference
MAPOPTIONS
Sets AutoCAD Map 3D options

Associating Database Versions with File Extensions | 243

Menu

Setup menu ➤ Autodesk Map Options

Icon
Options
Command Line

MAPOPTIONS

Task Pane

In Map Explorer, right-click Current
Drawing ➤ Options

Dialog Box

AutoCAD Map Options dialog box

Setting Query Options (DWG)
You can set several options that determine how queries run, how they appear
onscreen, and how they are saved.
NOTE These options affect drawing queries only. For information about filtering
geospatial feature data when you add it to your map, see Filtering Features When
You Add Them to a Map (page 309).

On the Task Pane Tab
You can hide or display the query node on the Map Explorer tab of the Task
Pane.
NOTE The Queries option that appears under the Data Sources category is for
database queries.
Options you set on the Task Pane tab apply to a single user's AutoCAD Map
3D environment. All drawings opened by a particular user display these
settings, but they do not affect others who open the same drawings.

On the Query Tab
You can set specific query options, including the default joining operator,
display parameters for preview queries, and options for location conditions.
Options you set on the Query tab apply only to the current drawing. Each
time you open this drawing, these settings take effect, but they do not affect
other drawings.

On the Save Back Tab
You can set options that determine if queried objects are added to the save
set.

244 | Chapter 2 Setting Up

Options you set on the Save Back tab apply only to the current drawing. Each
time you open this drawing, these settings take effect, but they do not affect
other drawings.

On the System Tab
You can specify a default directory for externally saved queries.
See also:
■

The Task Pane

■

Overview of Queries (page 1235)

NOTE These options affect drawing queries only. For information about filtering
geospatial feature data when you add it to your map, see Filtering Features When
You Add Them to a Map (page 309).
To set query options
1 In the Tool-based Ribbon Workspace, click Map Setup tab ➤ Map
panel ➤ angle-arrow.
2 Click the Task Pane (page 1909) tab to hide or display the query node on
the Map Explorer tab of the Task Pane.
3 Click the Query (page 1911) tab to set specific query options.
4 Click the Save Back (page 1913) tab set options that determine if queried
objects are added to the save set.
5 Click the System (page 1916) tab to specify a default directory for externally
saved queries.
6 Click OK.

Quick Reference
MAPOPTIONS
Sets AutoCAD Map 3D options
Menu

Setup menu ➤ Autodesk Map Options

Icon
Options

Setting Query Options (DWG) | 245

Command Line

MAPOPTIONS

Task Pane

In Map Explorer, right-click Current
Drawing ➤ Options

Dialog Box

AutoCAD Map Options dialog box

Using Associative Hatch
You can set an option to specify whether hatch objects created by property
alteration queries and thematic mapping are associative.
NOTE This option affects drawing objects only.

Hatch patterns used in thematic maps.

Associative hatch maintains a link between a hatch object and its boundary:
if the boundary is modified, the hatch updates automatically. However, if the
boundary if modified so that it no longer encloses the hatch or if any of the
boundary objects are deleted, the association between the hatch and the
boundary is lost.
When querying multiple files, it is easy to lose the association between a hatch
object and its boundary. If you want associative hatch, the easiest solution
may be to delete the old hatch object and recreate the associative hatch after
you finish modifying the attached drawings.
To maintain an existing association, keep in mind these points:
■

If you modify an object that is part of a hatch boundary, be sure that your
changes do not break the boundary. That is, you can enlarge a circle, but
do not trim it. You can extend the corner of a square, but do not open it
up.

■

To save a new associative hatch object to an attached drawing, all the
boundary objects must be in the same attached drawing. In addition, all
objects must be saved to the attached drawing at the same time. If any of
the boundary objects are saved to a different file or are saved at a different
time, the association is lost.

246 | Chapter 2 Setting Up

■

When you add an associative hatch object to the save set, all its boundary
objects are added automatically. If any of the boundary objects are locked,
the hatch is not added to the save set.

■

When you remove an associative hatch object from the save set, boundary
objects are removed from the save set automatically.

■

When you add a boundary object to the save set, hatch objects associated
with that boundary are not added to the save set automatically. To maintain
the association, add the hatch object to the save set.

■

When combining solid hatch with text, use the DRAWORDER command
to make the text visible on top of the hatch.

See also:
■

Overview of Altering the Properties of Queried Drawing Objects (page 1259)

■

Setting Polygon Options (page 977)

NOTE This option affects drawing objects only.
To have hatch created by property alteration be associative
1 In the Tool-based Ribbon Workspace, click Map Setup tab ➤ Map
panel ➤ angle-arrow.
2 Select the Query (page 1911) tab.
3 Under Query Options, select Create Associative Hatch Objects.

Quick Reference
MAPOPTIONS
Sets AutoCAD Map 3D options
Menu

Setup menu ➤ Autodesk Map Options

Icon
Options
Command Line

MAPOPTIONS

Task Pane

In Map Explorer, right-click Current
Drawing ➤ Options

Using Associative Hatch | 247

Dialog Box

AutoCAD Map Options dialog box

Saving Option Settings
AutoCAD Map 3D saves your options in one of three places, depending on
the option type.
■

Drawing options are saved in the drawing.

■

User and installation options are saved in the acadmap.ini file. On startup,
AutoCAD Map 3D searches for the acadmap.ini file first in the current
directory, then in all the directories listed in the AutoCAD Map 3D path,
and finally in the AutoCAD Map 3D executable directory. If it does not
find the acadmap.ini file, the program creates the file in the current working
directory.

■

Multi-user options are saved in the binary acadmap.sys file. The acadmap.sys
file is located in the AutoCAD Map 3D executable directory. After setting
the multi-user options, the system administrator should make the file read
only to prevent users from modifying or deleting it.

NOTE When you uninstall AutoCAD Map 3D, acadmap.ini is also uninstalled. If
you have modified the settings in this file, you should save acadmap.ini prior to
uninstalling. If you uninstall and then reinstall AutoCAD Map 3D, you can simply
replace the newly installed acadmap.ini with the saved one. Note that Map release
4 and earlier saved option settings in the ade.ini file. If you uninstall release 4 or
earlier and then install a newer release of AutoCAD Map 3D, you cannot replace
the newly installed acadmap.ini with the saved ade.ini. Instead, you will need to
reset your options in the AutoCAD Map 3D Options dialog box.
See also:
■

Setting Drawing Options (page 223)

■

Setting Task Pane Options (page 220)

■

Setting System Options (page 228)

■

Setting Multi-user Options (page 226)

■

Setting Data Source Options for Drawings (page 235)

■

Setting Up Users and Assigning Rights (page 82)

248 | Chapter 2 Setting Up

To set AutoCAD Map 3D options
1 In the Tool-based Ribbon Workspace, click Map Setup tab ➤ Map
panel ➤ angle-arrow.
2 In the AutoCAD Map Options dialog box (page 1908), modify the options
you want.
3 Click OK.

Quick Reference
OPTIONS
Customizes the AutoCAD settings
Menu

Setup menu ➤ AutoCAD Options

Command Line

OPTIONS

Task Pane

Right-click in the drawing area ➤ Options

MAPOPTIONS
Sets AutoCAD Map 3D options
Menu

Setup menu ➤ Autodesk Map Options

Icon
Options
Command Line

MAPOPTIONS

Task Pane

In Map Explorer, right-click Current
Drawing ➤ Options

Dialog Box

AutoCAD Map Options dialog box

Setting Raster Image Options
or raster images inserted with Raster Extension, set options in the Raster
Extension Options dialog box.
■
■
■

To change options for images inserted with Raster Extension (page 250)
To set the resource file directory (page 251)
To change how image frames are displayed (page 253)

Setting Raster Image Options | 249

■
■
■
■
■

To change the image display quality (page 254)
To choose an image detach method (page 255)
To turn on Shift + left-click (page 256)
To set the correlation defaults (page 257)
To configure memory for images (page 259)

Overview of Setting Raster Image Options
Raster image options are available for images you insert using the Raster
Extension. You can connect to many raster image files using Data Connect,
but you may still use the Raster Extension to insert and correlate raster images
with formats that Data Connect does not support, or to specify correlation
information for images that do not contain this information within their files.
See also:
■

Overview of Adding Rasters and Surfaces (page 437)

■

Using Other Raster Image Formats (page 453)

■

Modifying Raster Images (page 489)

To change options for images inserted with Raster Extension
■

Set the resource file directory. (page 251)

■

Change how frames are displayed. (page 253)

■

Change image display quality. (page 254)

■

Choose a method for detaching images. (page 255)

■

Use Shift + Left-click to select raster images. (page 256)

■

Set correlation defaults. (page 257)

■

Configure image-related memory options. (page 259)

Quick Reference
MAPIOPTIONS
Specifies default image correlation settings, display options, detach options,
paths, and memory settings

250 | Chapter 2 Setting Up

Menu

Setup menu ➤ Raster Options

Command Line

MAPIOPTIONS

Dialog Box

Raster Extension Options dialog box

Setting the Resource Files Directory
Resource files store information about the insertion point, scale, rotation, and
density of an image. The Resource File Directory indicates where AutoCAD
Map 3D searches for resource files for images you insert with Raster Extension
(not those you add with Data Connect). Resource files have the same base
name as the raster image with a .res extension.
When you insert an image, AutoCAD Map 3D looks for associated correlation
sources, such as world files, resource files, and tab files. By default, AutoCAD
Map 3D looks in the directory containing the image. However, for resource
files, you can specify an additional location. The additional location applies
only to resource files (.res). It does not apply to other correlation sources.
See also:
■

Overview of Adding Rasters and Surfaces (page 437)

■

Using Other Raster Image Formats (page 453)

■

Modifying Raster Images (page 489)

■

Viewing Image Information (page 474)

■

Creating a Search Path for Raster Images (page 479)

To set the resource file directory
1 In the Tool-based Ribbon Workspace, click Insert tab ➤ Image
panel ➤ angle-arrow.
2 In the Raster Extension Options dialog box (page 1879), select the Paths
tab.
3 Under Resource File Directory, type the directory path for the resource
files or click Browse to select a directory.
4 If you want AutoCAD Map 3D to search the Resource File Directory before
searching the image directory, select Use Resource File Directory Before
Using Image Directory.

Setting Raster Image Options | 251

5 Click OK to save your changes.

Quick Reference
MAPIOPTIONS
Specifies default image correlation settings, display options, detach options,
paths, and memory settings
Menu

Setup menu ➤ Raster Options

Command Line

MAPIOPTIONS

Dialog Box

Raster Extension Options dialog box

Changing How Image Frames Are Displayed
For images you insert with Raster Extension, you can choose to display the
image frame in front of an image, behind an image, or you can hide the frame.
When the frame is behind the image, you can still select the image by selecting
the frame. However, if you hide the frame, you cannot select the image by
selecting the frame.
These options do not apply to images you add with Data Connect.
NOTE If you use the Toggle Frames command to hide frames, and then redisplay
them, the frames appear in front of the images.
See also:
■

Overview of Adding Rasters and Surfaces (page 437)

■

Using Other Raster Image Formats (page 453)

■

Manually Adjusting the Image Frame During Insertion (page 465)

■

Selecting an Image (page 493)

■

Displaying Image Frames (page 494)

■

Using Shift + Left-click to Select Images (page 256)

252 | Chapter 2 Setting Up

To change how image frames are displayed
1 In the Tool-based Ribbon Workspace, click Insert tab ➤ Image
panel ➤ angle-arrow.
2 In the Raster Extension Options dialog box (page 1879), select the General
tab.
3 Under Display Preferences, select an option from the Image Frame list.
■

Frame Drawn Above Image displays the frame above the image.

■

Frame Drawn Below Image hides the frame behind the image. You
can still select the image by selecting the frame.

■

Frames Off hides the frame. If frames are hidden, you select images
by pressing Shift + left-click select method (page 493).

4 Click OK.

Quick Reference
MAPIOPTIONS
Specifies default image correlation settings, display options, detach options,
paths, and memory settings
Menu

Setup menu ➤ Raster Options

Command Line

MAPIOPTIONS

Dialog Box

Raster Extension Options dialog box

Changing Image Display Quality
For images you insert with Raster Extension, you can choose high quality or
draft quality display. High quality dithers the pixels so that the areas between
shading appear more gradual. Draft quality can speed up the performance of
your system, but may reduce the quality of how some color and grayscale
images appear onscreen. These options do not affect images you add with
Data Connect.
NOTE The display quality setting affects only how AutoCAD Map 3D displays the
image onscreen. It does not alter the contents of the image file.

Setting Raster Image Options | 253

See also:
■

Overview of Adding Rasters and Surfaces (page 437)

■

Using Other Raster Image Formats (page 453)

■

Modifying Raster Images (page 489)

■

Changing Image Display Quality and Speed (page 498)

■

Adjusting Image Brightness, Contrast, and Fade (page 496)

To change the image display quality
1 In the Tool-based Ribbon Workspace, click Insert tab ➤ Image
panel ➤ angle-arrow.
2 In the Raster Extension Options dialog box (page 1879), select the General
tab.
3 Under Display Preferences, select a Display Quality option:
■

High dithers the pixels, making differences in shading more gradual.
If you are using a 256 color palette to display images, dithering helps
make an image that has more than 256 shades appear more realistic.

■

Draft does not dither the pixels. This setting is recommended for
bitonal images.

4 Click OK.

Quick Reference
MAPIOPTIONS
Specifies default image correlation settings, display options, detach options,
paths, and memory settings
Menu

Setup menu ➤ Raster Options

Command Line

MAPIOPTIONS

Dialog Box

Raster Extension Options dialog box

254 | Chapter 2 Setting Up

Choosing an Image Detach Method
When you delete images you added with Raster Extension, from a map,
information about that image is still stored in the map file. To delete this
information, detach the image. You can choose whether images are detached
automatically when you remove the last instance of the image from the map.
This option does not affect images you added with Data Connect.
See also:
■

Overview of Adding Rasters and Surfaces (page 437)

■

Using Other Raster Image Formats (page 453)

■

Modifying Raster Images (page 489)

■

Hiding, Unloading, Detaching, and Erasing Images (page 482)

To choose an image detach method
1 In the Tool-based Ribbon Workspace, click Insert tab ➤ Image
panel ➤ angle-arrow.
2 In the Raster Extension Options dialog box (page 1879), select the General
tab.
3 Under Image Detach Preferences, select one of the following methods:
■

Ask Before Detach prompts you to detach an image when you erase
all image frames that reference that image.

■

Always Detach automatically detaches an image when you erase all
image frames that reference that image.

■

Never Detach does not detach an image when you erase all image
frames that reference that image.

4 Click OK.
NOTE You can manually detach an image by using the IMAGE command.

Quick Reference
MAPIOPTIONS

Setting Raster Image Options | 255

Specifies default image correlation settings, display options, detach options,
paths, and memory settings
Menu

Setup menu ➤ Raster Options

Command Line

MAPIOPTIONS

Dialog Box

Raster Extension Options dialog box

Using Shift + Left-click to Select Images
For images you insert with Raster Extension, you can change your selection
method. This is useful when you are zoomed in on the image and you cannot
see the image frame. This option does not affect images you add with Data
Connect.
See also:
■

Overview of Adding Rasters and Surfaces (page 437)

■

Using Other Raster Image Formats (page 453)

■

Selecting an Image (page 493)

■

Modifying Raster Images (page 489)

To turn on Shift + left-click
1 In the Tool-based Ribbon Workspace, click Insert tab ➤ Image
panel ➤ angle-arrow.
2 In the Raster Extension Options dialog box (page 1879), select the General
tab.
3 Select Shift + Left-click Image Select to be able to select images (page 493)
by pressing Shift and clicking the left mouse button.
Clear if you do not want to use this feature.
4 Click OK.

Quick Reference
MAPIOPTIONS

256 | Chapter 2 Setting Up

Specifies default image correlation settings, display options, detach options,
paths, and memory settings
Menu

Setup menu ➤ Raster Options

Command Line

MAPIOPTIONS

Dialog Box

Raster Extension Options dialog box

Setting Correlation Defaults
Most images have correlation data that is stored in the image file header or
in a correlation source file. However, some images may not have any
correlation data. For those cases, you can specify default correlation data. In
addition, if the correlation source does not contain information on scale or
density, AutoCAD Map 3D uses the default settings for those items.
NOTE If you have multiple images that require the same insertion point, scale,
rotation, and density, setting default correlation data can save you time .
See also:
■

Overview of Adding Rasters and Surfaces (page 437)

■

Using Other Raster Image Formats (page 453)

■

Correlating a Raster Image During Insertion (page 462)

■

Setting Image Density (page 467)

■

Viewing Image Information (page 474)

■

Modifying the Correlation Settings for an Image (page 501)

To set the correlation defaults
1 In the Tool-based Ribbon Workspace, click Insert tab ➤ Image
panel ➤ angle-arrow.
2 In the Raster Extension Options dialog box (page 1879), select the Image
Defaults tab.
3 Under Insertion Point, type default insertion point coordinates in the X
and Y boxes. The precision of these points depends on the precision value
in the Drawing Units dialog box. For more information about the
AutoCAD UNITS command, see the AutoCAD help.

Setting Raster Image Options | 257

4 To set an elevation for image frames, type the elevation in the Z insertion
point box.
This value is useful to establish the elevation of a floor plan image, for
example.
5 In the Rotation box, type a default rotation angle for images. The unit
of measurement depends on the selected value in the Drawing Units
dialog box.
6 In the Scale box, type a default scale for images. Image scale does not
change the scale of the vector drawing.
7 In the Density box, type a default density for images. Usually this is the
scanned resolution. For example, if the majority of your images were
scanned at 300 dots per inch, then type 300 in this box.
8 In the Units box, select the default unit for the insertion point and density
of images. For example, if the majority of your images were scanned at
300 dots per inch, then select Inch as the default.
9 Click OK.

Quick Reference
MAPIOPTIONS
Specifies default image correlation settings, display options, detach options,
paths, and memory settings
Menu

Setup menu ➤ Raster Options

Command Line

MAPIOPTIONS

Dialog Box

Raster Extension Options dialog box

Configuring Memory Use
AutoCAD Map 3D reserves 25% of the total physical memory (RAM) on your
system for inserting images with the Raster Extension. If you increase the
default amount, more of the physical memory is used for images and less is
available for other operations in AutoCAD Map 3D and for other applications
you might be running.

258 | Chapter 2 Setting Up

If you require additional memory for your images, the Raster Extension uses
a temporary swap file. For example, if you insert a 100 MB file, and the Memory
Limit is 8 MB, AutoCAD Map 3D stores the remaining 92 MB in a temporary
file. You can specify where the swap file is created.
You can change the following Raster Extension memory settings:
■

Temporary File Location — The default directory for the temporary swap
files is the Windows temp directory.
TIP For best performance, use a local drive for your temporary swap file. It is
recommended that you do not use the drive where the operating system is
installed as the drive for the swap file unless this is your only local drive.

■

Memory Limit — Specify the maximum amount of computer memory that
AutoCAD Map 3D can use to store image files.

NOTE The more physical RAM you have, the higher you can make your Memory
Limit. The higher the Memory Limit, the less swapping to hard disk occurs and
the faster your images load and display. However, do not allocate all available
physical RAM because doing so slows overall performance.
NOTE Close and restart AutoCAD Map 3D after adjusting these settings.
See also:
■

Overview of Adding Rasters and Surfaces (page 437)

■

Using Other Raster Image Formats (page 453)

■

Unloading an Image (page 486)

To configure memory for images
1 In the Tool-based Ribbon Workspace, click Insert tab ➤ Image
panel ➤ angle-arrow.
2 In the Raster Extension Options dialog box (page 1879), select the Memory
tab.
3 To locate a drive for your temporary swap file location, click Browse under
Temporary File Location, and locate a drive.

Setting Raster Image Options | 259

4 To change the amount of memory reserved for inserting images, type a
new value in the Memory Limit box. Be careful that you do not use all
of your system resources.
NOTE You can click Default to return this setting to the recommended value.
5 Click OK to accept the changes.
You must quit and restart AutoCAD Map 3D for these settings to take effect.

Quick Reference
MAPIOPTIONS
Specifies default image correlation settings, display options, detach options,
paths, and memory settings
Menu

Setup menu ➤ Raster Options

Command Line

MAPIOPTIONS

Dialog Box

Raster Extension Options dialog box

Customizing and Automating Import and Export
Use profiles and .ini files to customize and automate import and export.
■
■
■
■
■
■
■
■
■
■
■
■

To create a profile (page 263)
To use a profile (page 263)
To export to SHP as folder-based rather than file-based (page 269)
To export to SHP as file-based rather than folder-based (page 269)
To change the segmentation size for splines, polylines with bulges, arcs,
and ellipses (page 270)
To change the default seed file for exporting DGN files (page 270)
To export DGN files in imperial units rather than metric (page 270)
To import Shapefiles, MIF/MID, TAB, or VPF as folder-based, multi-select,
or file-based (page 271)
To specify DGN cell import options (page 272)
To import objects using RGB (True Color) colors (page 272)
To specify language encoding settings for GML in Asian languages (page
273)
To specify object properties (page 274)

260 | Chapter 2 Setting Up

Overview of Customizing Import and Export
Use profiles and .ini files to customize and automate import and export.
To customize or automate this...

Use this method...

Export settings

Save a profile in the Export dialog box.
See Using Profiles (page 262)

Import settings

Save a profile in the Import dialog box.
See Using Profiles (page 262)

Export defaults

Edit the mapexport.ini file.
See Customizing the Import and Export
.ini Files (page 264)

Import defaults

Edit the mapimport.ini file.
See Customizing the Import and Export
.ini Files (page 264)

Quick Reference
MAPEXPORT
Exports drawing objects and their attribute data to an external file format
Menu

Click File ➤ Convert DWG To ➤ Map 3D Export.

Icon
Export Map File
Command Line

MAPEXPORT

Dialog Box

Export dialog box

MAPIMPORT
Imports an external file format into AutoCAD Map 3D
Menu

Click File ➤ Create DWG From ➤ Map 3D Import.

Icon
Import Map File
Command Line

MAPIMPORT

Customizing and Automating Import and Export | 261

Dialog Box

Import dialog box

Using Profiles
To reuse or share your settings, save them as a profile.

Export Profiles
When you save an export profile, it does not store the current file name or
the current selection set.
When you load an export profile, if the specified data source doesn't exist,
Include Table Data is set to No.

Import Profiles
When you save an import profile, it does not store the current file name.
When you load an import profile, the table settings are reset for any input
layers that match an input layer name in the saved profile. Layers that do not
match an input layer in the saved profile are not reset.
■

If the specified coordinate system code is not in the dictionary, the
coordinate system is set to .

■

If the data field name for a layer does not exist, the drawing layer is set to
Layer 0. If the specified drawing layer does not exist, it will be created.

■

If the data field name to use for the block name does not exist, or if the
specified block does not exist, the block is set to ACAD_POINT.

When you load an import profile containing object class settings, AutoCAD
Map 3D checks for potential problems and handles them as follows:
■

If the appropriate object classification file is not attached to the drawing,
the object class settings are ignored.

■

If the object class settings for a layer contradict the import file, the object
class settings are not applied.

■

If the specified object class does not exist, the object class assignment is
set to .

■

If the object class attribute settings conflict with the import file, AutoCAD
Map 3D displays the Conflict Resolution dialog box (page 1701).

262 | Chapter 2 Setting Up

Compatibility with Previous Releases
■

Profiles saved with AutoCAD Map 3D 2004-2007 and versions 4.5, 5, and
6 are compatible with this release.

■

Profiles saved with Autodesk Map 2000 Release 4 or earlier cannot be used
with this release.

■

Profiles created in this release may contain additional information that
cannot be used with previous releases. Such incompatible profile
information is ignored when a profile is used in a previous release.

See also:
■

Overview of Converting Geospatial Data to Drawing Objects (page 378)

■

Overview of Converting and Exporting (page 1405)

To create a profile
1 In the Import dialog box (page 1711) or Map Export dialog box (page 1723),
specify the settings to save.
2 Click Save.
3 Enter a name for the profile.
To use a profile
1 In the Import dialog box (page 1711) or Map Export dialog box (page 1723),
click Load.
2 Select the profile.

Quick Reference
MAPEXPORT
Exports drawing objects and their attribute data to an external file format
Menu

Click File ➤ Convert DWG To ➤ Map 3D Export.

Icon
Export Map File
Command Line

MAPEXPORT

Customizing and Automating Import and Export | 263

Dialog Box

Export dialog box

MAPIMPORT
Imports an external file format into AutoCAD Map 3D
Menu

Click File ➤ Create DWG From ➤ Map 3D Import.

Icon
Import Map File
Command Line

MAPIMPORT

Dialog Box

Import dialog box

Customizing the Import and Export .ini Files
Some of the defaults for import and export settings are stored in .ini
(initialization) files. When you use a new format with AutoCAD Map 3D, the
information about that format is added automatically to the .ini files. However,
in some instances, you may want to modify these files yourself. In addition,
you can set some formatting options in these files.
You can modify the following .ini files:
■

mapexport.ini — Set options to export a file-based format as a folder based
format (which is especially useful for Shapefiles); to specify how to segment
arcs and circles; to define the default seed file for exporting DGN files
(which determines defaults such as units of measure and 2D vs. 3D); and
to specify language encoding settings for exporting GML data in Asian
languages.

■

mapimport.ini — Set options to use for file or folder selection; to set default
import options for DGN; to import object colors to their RGB (True Color)
equivalent; and to specify language encoding settings for importing GML
data in Asian languages.

■

mapforeignfileproperties.ini — Set options to specify linetype, line weight,
font, and justification.

264 | Chapter 2 Setting Up

Exporting to ArcView Shape Files
If you are exporting to ArcView Shape files, you can treat it as a folder-based
format. To do this, you must modify the following items in the MapExport.ini
file:
■

Specify that it requires a folder rather than a file.

■

Specify that it requires a prefix name.

■

Specify that it no longer requires a type (point/line/polyline/text).

If you modify these items, be sure to modify them only for a driver that
supports this change.

Segmenting Certain Entity Types When Exporting
When you export Splines and polylines with bulges, they are broken into
polyline segments. The SegmentationDegrees option determines the number
of degrees used for segmentation. By default, SegmentationDegrees is 2 degrees.
In addition, when you exporting to a file format that does not support arcs
or ellipses, such as Shape or Coverage, or does not support ellipses that have
axes at an angle, such as MIF/MID, you can further modify the segmentation
by changing the value for FME_ARC_DEGREES_PER_EDGE. By default,
FME_ARC_DEGREES_PER_EDGE is 5 degrees.
You can change SegmentationDegrees and FME_ARC_DEGREES_PER_EDGE
to be larger or smaller.

Exporting to MicroStation DGN Files
When exporting to DGN files, AutoCAD Map 3D reads a seed file to determine
default information, such as whether the destination DGN file is be in imperial
units or metric and whether the file is 2D or 3D. There are separate seed files
for DGn version 7 and version 8. For more information about seed files, see
MicroStation Design (DGN) Versions 7 and 8 (page 405).
To change the default units of measure (or other defaults), you must change
the default seed files specified in the MapExport.ini file.

Specifying the File and Folder Selection Options to Use for Import
By default, when you import ArcView Shape files, MapInfo MIF/MID, MapInfo
TAB, or VPF files, you can select one or more files in a folder to import. This
is called multi-select.

Customizing and Automating Import and Export | 265

If you want, you can change the settings in the mapimport.ini file so that these
formats are considered folder-based formats (you select a folder and all the
files in the folder are imported) or single-select formats (only one file can be
selected for import). Note that VPF can be folder-based or multi-select only.

Importing DGN Cells
When you import data from a DGN file, you can specify many of the DGN
import options available in Driver Options.

Importing Object Colors as RGB (True Color) Colors
By default, objects are imported using the ACI (AutoCAD Color Index) color.
When you import from DGN or MIF/MID, you can specify that objects
maintain their RGB color values.
Even if you import using RGB colors, white objects are always imported to
the ACI White, which displays white on a black background and black on a
white background. Black objects are assigned the ByLayer color. If you want
to export objects to MIF/MID as black, change the layer color to black before
exporting.
Note that if your Model Tab Background color is something other than Black
or White and you import using RGB colors, you may not be able to see objects
whose color is close to the background color.

Language Encoding Settings for Importing and Exporting GML Data
When exporting GML data in Asian languages, you must verify that
mapexport.ini contains the language encoding settings needed to export valid
GML data for the language you want.
Using Fixed schema mode when exporting is recommended, as it can recognize
certain multi-byte characters that can be problematic in Create mode.
When importing GML data in Asian languages, you must verify that the
language encoding settings specified in AutoCAD Map 3D’s mapimport.ini
file match the settings in your incoming file. The settings must match for the
import to be successful.

Adding Custom Tags
If you are familiar with the options for a driver, you can add custom tags. Use
the format:
Driver:XXX

266 | Chapter 2 Setting Up

Where XXX is the code you want to send to the driver. Add the line to the
appropriate section of the MapExport.ini file. Incorrect tags will have
unpredictable results.

Location of the .ini File
When exporting, AutoCAD Map 3D looks first for the .ini file in the current
directory. If no .ini file is there, it uses the .ini file in the C:\Documents and
Settings\All Users\Application Data\Autodesk\AutoCAD Map 3D 2011\R18.1
folder. To always use the same settings, do not create additional .ini files.

Changing Font, Line Style, Line Weight, or Justification
You can set several formatting options in the mapforeignfileproperties.ini file.
Use the [DGN_V7_FieldMappping] or [DGN_V8_FieldMapping] section to
enable a particular formatting option:
■

igds_font=MapFont

■

igds_justification=MapJustification

■

igds_weight=MapLineWeight

■

igds_style=MapLineStyle

DGN Fonts
Use the [DGN_V7_Font] section or [DGN_V8_Font] section to map DGN font
numbers to textstyles that you've defined.
DGN Line Styles
Use the [DGN_V7_LineStyle] or [DGN_V8_LineStyle] section to map DGN line
styles to line styles loaded in the AutoCAD Map 3D drawing.
DGN Line Weight
Use the [DGN_V7_LineWeight] or [DGN_V8_LineWeight] section to map
DGN lineweights to allowable AutoCAD Map 3D lineweight values.
The DGN line weight range is 0-31. AutoCAD Map 3D line weights are in
100ths of a millimeter and only the following values are supported: 0, 5, 9,
13, 15, 18, 20, 25, 30, 35, 40, 50, 53, 60, 70, 80, 90, 100, 106, 120, 140, 158,
200, 211, -1, -2 and -3. The AutoCAD Map 3D values -1, -2, and -3 indicate
ByLayer, ByBlock, and by line weight default respectively.
DGN Justification

Customizing and Automating Import and Export | 267

Use the [DGN_V7_Justification] or [DGN_V8_Justification] section to map the
DGN justification to AutoCAD vertical and horizontal modes or AutoCAD
attachment.
DGN justification values range from 0-14:
0 is Left/Top, 8 is Center/Bottom, 1 is Left/Center, 9 is Right Margin/Top, 2
is Left/Bottom, 10 is Right Margin/Center, 3 is Left Margin/Top, 11 is Right
Margin/Bottom, 4 is Left Margin/Center, 12 is Right/Top, 5 is Center/Bottom,
13 is Right/Center, 6 is Center/Top, 14 is Right/Bottom, 7 is Center/Center,
Default is 5
The following values are supported for AutoCAD Map 3D justifications:
TopLeft, TopCenter, TopRight, MiddleLeft, MiddleCenter, MiddleRight,
BottomLeft, BottomCenter, BottomRight, BaseLeft, BaseCenter, BaseRight,
BaseAlign, BottomAlign, MiddleAlign, TopAlign, BaseFit, BottomFit, MiddleFit,
TopFit, BaseMid, BottomMid, MiddleMid, TopMid
MIF Justification
Use the [MIF_Justification] section to set justification for MIF. Allowed MIF
Justifications are left, center, and right.
When importing from MIF to AutoCAD Map 3D, the last mapping in the table
is used.
Arc/INFO and E00 Justification
Use the [ARCINFO_Justification] and [E00_Justification] sections to set
justification for Arc/INFO and E00.
When importing from Arc/INFO or E00 to AutoCAD Map 3D, the last mapping
in the table is used.
See also:
■

Overview of Converting Geospatial Data to Drawing Objects (page 378)

■

Overview of Converting and Exporting (page 1405)

■

Supported Formats (page 1412)

■

To export to SHP as folder-based rather than file-based (page 269)

■

To export to SHP as file-based rather than folder-based (page 269)

■

To change the segmentation size for splines, polylines with bulges, arcs,
and ellipses (page 270)

268 | Chapter 2 Setting Up

■

To change the default seed file for exporting DGN files (page 270)

■

To export DGN files in imperial units rather than metric (page 270)

■

To specify DGN cell import options (page 272)

■

To import Shapefiles, MIF/MID, TAB, or VPF as folder-based, multi-select,
or file-based (page 271)

■

To import objects using RGB (True Color) colors (page 272)

■

To specify language encoding settings for GML in Asian languages (page
273)

■

To specify object properties (page 274)

To export to SHP as folder-based rather than file-based
1 Open the mapexport.ini file using a text editor such as WordPad.
This file is located in the C:\Documents and Settings\All Users\Application
Data\Autodesk\AutoCAD Map 3D 2011\R18.1 folder
2 Find the [SHP] section.
3 Specify File=False.
4 Specify Rootname=True.
5 Specify EntTypes=All.
6 Save and close the ..ini file.
To export to SHP as file-based rather than folder-based
1 Open the mapexport.ini file using a text editor such as WordPad.
This file is in the C:\Documents and Settings\All Users\Application
Data\Autodesk\AutoCAD Map 3D 2011\R18.1 folder.
2 Find the [SHP] section.
3 Specify File=True.
4 Specify Rootname=False.
5 Specify EntTypes=Types.
6 Save and close the .ini file.

Customizing and Automating Import and Export | 269

To change the segmentation size for splines, polylines with bulges, arcs, and
ellipses
1 Open the mapexport.ini file using a text editor such as WordPad.
This file is in the C:\Documents and Settings\All Users\Application
Data\Autodesk\AutoCAD Map 3D 2011\R18.1 folder.
2 Find the [Options] section.
3 To change the segmentation of splines and polylines with bulges, edit
the SegmentionDegrees value to the number you want.
By default, the value is two degrees.
4 To change the segmentation of arcs and ellipses, find the File section
pertaining to one of the following file formats: Arc/INFO, E00, MIF,
MapInfo, or Shape.
5 Delete the semicolon at the beginning of the following line:
Driver:FME_ARC_DEGREES_PER_EDGE=5
6 Change the FME_ARC_DEGREES_PER_EDGE value to the number you
want.
7 Save and close the .ini file.
To change the default seed file for exporting DGN files
1 Open the mapexport.ini file using a text editor such as WordPad.
This file is in the C:\Documents and Settings\All Users\Application
Data\Autodesk\AutoCAD Map 3D 2011\R18.1 folder.
2 Find the [DGCN_V7] or [DGN_V8]section . This is where the default seed
file is specified.
3 Change the default seed file to the seed file you want.
NOTE Make sure to choose a seed file for the appropriate version of DGN.
If you export to DGN version 7 using a DGN version 8 seed file, the operation
will fail.
4 Save and close the .ini file.
To export DGN files in imperial units rather than metric
1 Open the mapexport.ini file using a text editor such as WordPad.

270 | Chapter 2 Setting Up

2 Find the [DGN_V7] or [DGN_V8]section.
3 Change the default seed file to the seed file you want.
For example, change the default seed file to one that specifies imperial
units rather than metric:
Driver:RUNTIME_MACROS=_SEED,"C:\Program Files\Common
Files\Autodesk Shared\GIS\ImportExport\4.0\design\seed3d_ft.dgn"
NOTE Make sure to choose a seed file for the appropriate version of DGN.
If you export to DGN version 7 using a DGN version 8 seed file, the operation
will fail.
4 Save and close the .ini file.
To import Shapefiles, MIF/MID, TAB, or VPF as folder-based, multi-select, or
file-based
1 Open the mapimport.ini file using a text editor such as WordPad.
This file is located in the C:\Documents and Settings\All Users\Application
Data\Autodesk\AutoCAD Map 3D 2011\R18.1 folder
2 Find the File section pertaining to one of the following file formats:
ShapeFile, MIF/MID, TAB, or VPF.
The File section is preceded by a comment such as, "This section
determines how you want to Import MIF/MID files" and has several lines
containing the word File.
3 Delete the semicolon at the beginning of the line for the option you
want:
■

File=MultiSelect
The format will be considered a multi-select, file-based format. This
means that you will be able to select one or more individual files in
the Import Location dialog box to include in the import process.

■

File=SingleSelect
The format will be considered a single-select, file-based format. This
means that you will be able to select one file only in the Import
Location dialog box. Note that this is not a valid option for VPF.

■

File=False
The format will be considered a folder-based format and all files in
the selected folder will be included in the import process.

Customizing and Automating Import and Export | 271

4 Make sure there is a semicolon at the beginning of the line for the options
you do not want to use. The semicolon tells AutoCAD Map 3D to ignore
the line.
5 Save and close the .ini file.
To specify DGN cell import options
1 Open the mapimport.ini file using a text editor such as WordPad.
This file is in the C:\Documents and Settings\All Users\Application
Data\Autodesk\AutoCAD Map 3D 2011\R18.1 folder.
2 Find the [DGN_V7_V8] section.
NOTE You can also use the Cell Expansion options in the Import dialog box
(page 405) to expand cells as blocks or points, or to explode them.
3 Find Driver:DGN_XPAND_CELL.
4 Change this to CELLS2BLOCKS, EXPLODECELLS, or CELLS2POINTS.
5 Save and close the .ini file.
To import objects using RGB (True Color) colors
1 Open the mapimport.ini file using a text editor such as WordPad.
This file is in the C:\Documents and Settings\All Users\Application
Data\Autodesk\AutoCAD Map 3D 2011\R18.1 folder.
2 Find the Color section for either DGN_V7-V8 or MIF (MapInfo).
3 Delete the semicolon at the beginning of the line for the option you
want:
■

Color=Closest ACI only
The RGB values from the file will be converted to the closest ACI
value.

■

Color=RGB only
The RGB values from the file will be preserved. Objects whose color
is black (0,0,0) will be assigned the color ByLayer. Objects whose color
is white (255,255,255) will be assigned the color ACI White.

■

Color=Equivalent ACI and RGB

272 | Chapter 2 Setting Up

For any RGB value that exactly matches an ACI, the objects will be
imported using the ACI color value. All other objects will use their
RGB values.
4 Make sure there is a semicolon at the beginning of the line for the options
you do not want to use. The semicolon tells AutoCAD Map 3D to ignore
the line.
5 Save and close the .ini file.
To specify language encoding settings for GML in Asian languages
1 Open the mapimport.ini or mapexport.ini file using a text editor such as
WordPad.
2 Find the [GML2] section.
3 Delete the semicolon at the beginning of the lines for the language
encoding settings you want to use. For example, for mapimport.ini, here
are the settings you can use for Japanese.
Driver:GML2_FEATURE_ENCODING=Shift-JIS
Driver:GML2_MAPPING_FILE_ENCODING=Shift-JIS
For mapexport.ini you can use:
Driver:GML2_FEATURE_ENCODING=Shift-JIS
Driver:GML2_OUTPUT_ENCODING=Shift-JIS
Driver:GML2_MAPPING_FILE_ENCODING=Shift-JIS
Below, is a summary of some of the specific settings you can use.
Language

Possible Settings

Chinese

Big5
GB2312
GB18030
GBK

Japanese

EUC-JP
Shift-JIS

Korean

EUC-KR
KSC5601

4 Save and close the .ini file.

Customizing and Automating Import and Export | 273

To specify object properties
1 Open the mapforeignfileproperties.ini file using a text editor such as
WordPad.
This file is in the C:\Documents and Settings\All Users\Application
Data\Autodesk\AutoCAD Map 3D 2011\R18.1 folder.
2 For information on each of the settings, refer to the instructions in the
file.

Quick Reference
MAPEXPORT
Exports drawing objects and their attribute data to an external file format
Menu

Click File ➤ Convert DWG To ➤ Map 3D Export.

Icon
Export Map File
Command Line

MAPEXPORT

Dialog Box

Export dialog box

MAPIMPORT
Imports an external file format into AutoCAD Map 3D
Menu

Click File ➤ Create DWG From ➤ Map 3D Import.

Icon
Import Map File
Command Line

MAPIMPORT

Dialog Box

Import dialog box

Setting Up and Running Workflows
Use workflows to automate a set of activities.
■
■
■

To use workflows (page 276)
To run a workflow (page 278)
To edit a workflow (page 284)

274 | Chapter 2 Setting Up

■
■

To create a workflow (page 287)
To change the display of the Workflow Designer window (page 289)

Overview of Workflows
Use workflows to automate a set of activities, such as the steps involved in an
overlay analysis (page 1309).
A workflow specifies the activities to perform and the parameters for those
activities. For example, in an overlay, the workflow specifies the feature classes
or layers to compare. You can specify that workflows prompt at run time for
the values of the parameters. If you prefer, you can specify the parameters in
the workflow itself and turn off the prompts. You can edit an existing workflow
or create one.
You can run built-in or custom workflows. The built-in workflows include:
■

Overlay: Connect to (and create layers for) two data stores. Perform an
intersection overlay. Use the result of that overlay operation to erase the
portions of the layers that were within the intersection.

■

Connect and Edit: Connect to SDF, SHP, and WMS data stores and add
the connected data to AutoCAD Map 3D. Execute the AutoCAD command
Pedit (pausing for user input), and then check in all features.

■

Batch-save .Layer Files: Connect to each SDF file in a specified directory
and add it to AutoCAD Map 3D. Save each resulting Display Manager layer
as a .layer file.

■

Connect, Analyze, and Print: Connect to a data store, add its data to
AutoCAD Map 3D as a Display Manager layer, and change the symbol for
that layer. Select a set of features for buffer analysis, create the buffer, and
change the symbol for the resulting buffer layer. Select the features on the
buffer layer and display their attributes. Plot the map.

■

Select, Zoom, and Display Features: Load two .layer files. Prompt the person
running the workflow to select some features manually. Zoom to the
extents of the selected features and highlight them. Display the attributes
for the highlighted features. Select a different set of features by location.
Zoom to the extents of the selected features and highlight them. Display
the attributes for the highlighted features.

Overview of Workflows | 275

NOTE If you do not see the built-in workflows in the drop-down list of workflows,
click Open Workflow From File in that list and navigate to the Program
Files\Autodesk\AutoCAD Map 3D 2011\Sample\Workflow folder. Select the .xoml
file for the workflow to open.
NOTE If you use Windows 7, you must have write access to run a workflow. If
you have limited access, AutoCAD Map 3D cannot save the workflow. The workflow
must be saved before it is run.

Use the Workflow Designer to create or edit the sequence and parameters for the
activities in the workflow.

To use workflows
■

To run a workflow (page 278)

■

To edit a workflow (page 284)

■

To create a workflow (page 287)

■

To change the display of the Workflow Designer window (page 289)

276 | Chapter 2 Setting Up

Quick Reference
MAPWORKFLOWOPEN
Allows you to use a saved workflow
Menu

Click Setup menu ➤ Workflow Designer.

Icon
Open Workflow
Command Line

MAPWORKFLOWOPEN

MAPWORKFLOWRUN
Runs a workflow
Menu

In the Classic workspace, click Setup menu ➤
Workflow Designer.

Icon
Run Workflow
Command Line

MAPWORKFLOWRUN

MAPWORKFLOWCREATE
Creates a workflow
Menu

Click Setup menu ➤ Workflow Designer.

Command Line

MAPWORKFLOWCREATE

MAPWORKFLOWEDIT
Edits a workflow
Menu

Click Setup menu ➤ Workflow Designer.

Icon
Edit Workflow
Command Line

MAPWORKFLOWEDIT

Overview of Workflows | 277

Running Workflows
A workflow automates a set of activities. A workflow can include activities
such as the following:
■

Connecting to data

■

Creating a Display Manager layer for a geospatial data store

■

Performing an overlay analysis (page 1309)

■

Chaining to another workflow

You can run any workflow, even if you did not create it. Recently used
workflows are listed on the Workflow drop-down list, which also contains an
option for opening any saved workflow. If the workflow requires information
from you (for example, the location of a file or data store), it prompts you
during run-time. For a list of the sample workflows provided with AutoCAD
Map 3D, see Overview of Workflows (page 275).
NOTE If you use Windows 7, you must have write access to run a workflow. If
you have limited access, AutoCAD Map 3D cannot save the workflow. The workflow
must be saved before it is run.
To run a workflow
1 In the Tool-based Ribbon Workspace, on the Tools tab ➤ Workflow
panel, select a workflow from the list.

If the workflow you want is not in the list, click Open Workflow From
File at the bottom of the list.

2 Click

.

NOTE If you use Windows 7, you must have write access to run a workflow.
If you have limited access, AutoCAD Map 3D cannot save the workflow. The
workflow must be saved before it is run.

278 | Chapter 2 Setting Up

3 If prompted, specify the values for the parameters of the workflow.
For example, the Overlay workflow requires you to specify the data store
to connect to.

If the workflow requires parameters for any of its activities,
it displays a prompt.

■

To connect to database, specify login credentials.

■

To connect to a file, select the appropriate provider and click
navigate to the file.

■

To connect to a SHP folder instead of a file, select the SHP provider
and click the folder icon to specify the folder.

and

Running Workflows | 279

The workflow performs the activities in its definition and displays the
result.
For example, the built-in Overlay workflow connects to the specified data
stores, performs the overlay, and displays the resulting layers in your
map. The overlay itself is saved to the specified SDF file. AutoCAD Map
3D Connects to that SDF file and adds a Display Manager layer for it. The
connections appear in Map Explorer and in the Data Connect window.
NOTE If the workflow fails, an error message displays. Open the Workflow
Designer to find the error. The activity that failed displays a red X or an
exclamation mark.
4 If you changed any parameters in response to a prompt, you can save or
discard the changes when the workflow is complete.

Quick Reference
MAPWORKFLOWOPEN
Allows you to use a saved workflow
Menu

Click Setup menu ➤ Workflow Designer.

Icon
Open Workflow
Command Line

MAPWORKFLOWOPEN

MAPWORKFLOWRUN
Runs a workflow
Menu

In the Classic workspace, click Setup menu ➤
Workflow Designer.

Icon
Run Workflow
Command Line

280 | Chapter 2 Setting Up

MAPWORKFLOWRUN

Editing or Creating Workflows
A workflow automates a set of activities. You can change any existing workflow
or create one from scratch. For example, change the predefined Overlay
workflow to perform a Union, rather than an Intersect. Create a workflow to
connect to a set of data stores and add Display Manager layers for them.
Use the Workflow Designer to edit or create workflows.

Activities in the workflow appear as a diagram in the Workflow Designer.

Utility and AutoCAD Map 3D Activities
The Activity panel on the right side of the Workflow Designer contains two
categories of activities. AutoCAD Map 3D activities are specific to AutoCAD
Map 3D (including an activity that runs AutoCAD commands).
Utility activities are generic, and are based on C# syntax. They include the
following types of activities:
■

Directory commands (such as listing the contents of a folder)

Editing or Creating Workflows | 281

■

Logical commands (such as If/Else and For Each)

■

Workflow structure commands (such as Parallel, Sequence, and Prompt
User).

For information about the available activities, see Workflow Activity Input
dialog boxes (page 2025).

Parallel and Sequence Activities
In a workflow, parallel activities are independent of one another. For example,
when connecting to two data stores, parallel connections ensure that the
second connection executes even if the first one fails.
A sequence activity depends on previous activities. For example, within the
parallel activity at the top of the overlay workflow are two sets of sequence
activities. Each one connects to a particular data store and then creates a layer
for that data store. If the connection fails, the layer cannot be created.

Setting Activity Parameters
Each workflow activity has a set of parameters. Optionally, you can set default
parameters and specify that the workflow display a prompt at run-time. The
person running the workflow can then substitute other values. For example,
you can set default data stores for an overlay, but allow others to substitute
different data stores when they run the workflow.
Some parameters are required. For example, a Connect To Data Store activity
requires the name of the provider and the location of the data store to connect
to. Some parameters are optional, for example, the Display Name for the
activity. All optional parameters have default values you can change.
NOTE Although Display Name is optional, it is a good idea to name all activities.
If activities are not named, you can confuse them when you bind a parameter of
one activity to the output of a previous one. See the following section.

Binding Parameters
Often, a sequence activity is bound to a preceding activity. When you bind an
activity, you set its parameter to be the result of a previous activity. For
example, you can use the output of an activity that creates a layer as the source
layer for a subsequent overlay operation.

282 | Chapter 2 Setting Up

Bind the parameter for an activity to a property from a
previous activity.

Adding Activities to Workflows
If you can write simple code in a .NET-compliant language, you can add
activities to the Workflow Designer. Workflow activities perform predetermined
functions based on predetermined sets of inputs.
Use the sample activity set (Automation) as a model. Automation contains
activities for running AutoCAD Map 3D in an automated fashion, without
using the actual application. The files for this sample activity are installed
with the ObjectARX SDK.

Editing or Creating Workflows | 283

Build your activities in a .NET class library (a .dll file). Place this .dll file in the
\Program Files\AutoCAD Map 3D 2011\PlugIns\Workflow\Activities folder and
restart AutoCAD Map 3D. The activities then appear in the Workflow Designer.
For more information on creating custom workflow activities, see the
sdk.doc.main.chm.
■

To edit a workflow (page 284)

■

To create a workflow (page 287)

To edit a workflow
1 In the Tool-based Ribbon Workspace, click Tools tab ➤ Workflow panel.
Select a workflow from the drop-down list.
If the workflow you want is not in the list, click Open Workflow From
File at the bottom of the list. After you open a workflow, select it from
the list.
NOTE If you use Windows 7, you must have write access to run a workflow.
If you have limited access, AutoCAD Map 3D cannot save the workflow. The
workflow must be saved before it is run.
2 In the Tool-based Ribbon Workspace, click Tools tab ➤ Workflow
panel ➤ Edit.
3 In the Workflow Designer (page 2022), pan or zoom (page 289) as needed.
4 If necessary, expand the activity to edit.
For example, to change the settings for activities inside the Parallel
Activity at the top of the workflow, click its plus sign. The Parallel Activity
contains activities for the feature classes that are compared in the Overlay
workflow and creates the Display Manager layers for these feature classes.
NOTE To set parameters for some utility activities (For Each, If/Else, and
While), click
in the Workflow Designer toolbar. In the Properties palette
that displays, click the cell for the parameter to set. Click the browse button
that appears to select parameters from a list, if available.
5 To set the parameters for an activity (page 2025), do any of the following:
■

Double-click the activity box.

■

Click

284 | Chapter 2 Setting Up

.

■

Right-click the activity and click Set Up Parameters.

For information about the available activities and their parameters, see
Workflow Activity Input dialog boxes (page 2025). For a tutorial on
workflows, see Lesson 5: Edit a Predefined Workflow.
6 To bind an activity to the output of a previous activity from the input
editor, do the following:
■

In the activity input dialog box for the activity, click the down arrow
next to the parameter to bind.

■

Under Results Of Previous Actions, click the property to bind to.

To use a layer created by a previous activity, select it from the
list under Results Of Previous Actions.

Editing or Creating Workflows | 285

NOTE There is a shortcut for adding an activity and automatically binding
it to the previous activity. Right-click an activity and click the activity to add.
For example, right-click an Overlay activity and click Add Feature Layer to
create a new Display Manager layer that stores the output of the Overlay
operation.
7 Optionally, do any of the following:
■

To add another activity, drag it from the Activities panel to the desired
position in the workflow diagram, or right-click the activity that
precedes the new one.
When you right-click, the list contains activities that would logically
follow the current one. When you add an activity in this way, you
can automatically bind it to the one you right-clicked. For example,
right-click an Overlay activity and click Add Feature Layer to create a
new Display Manager layer that stores the output of the Overlay
operation.

■

To delete an activity, click

■

To turn the run-time prompt for an activity on or off, click
on its
box.
When the run-time prompt is on, anyone running this workflow must
provide the input for this activity. For example, the person running
the workflow must provide data store connection information for a
Connect To Data Store activity.

■

To disable or enable the activity, click
on its box.
Disable an activity temporarily to resolve problems with a workflow.
If you are not sure which activity is causing the problem, disable them
one at a time when you run the workflow. This can isolate the issue.

■

Undo or redo any changes during this editing session using

on its box.

8 Save any changes to the workflow by clicking
Workflow Designer window.
To save your changes as a new workflow, click

at the top of the

instead.

Workflows saved in AutoCAD Map 3D 2011 format cannot be opened
in AutoCAD Map 3D 2010. To use your workflow with AutoCAD Map
3D 2010, make sure that the workflow contains only activities that were

286 | Chapter 2 Setting Up

supported in that version. Then use Save As and change Save As Type to
Map 3D 2010 Workflow File. To maintain the version formatting, you
must continue to use the 2010 Save As option each time you save the
workflow

9 Click
to run the workflow from within the Workflow Designer,
which validates the activities.
As each activity executes successfully, a green check mark appears at the
top right corner of the activity box. If an exclamation mark appears
instead of the check mark, the activity is missing parameter values. Click
the exclamation point to see what is missing and correct the problem. If
a red X appears instead of the check mark, the activity failed.
Click the status link in the Workflow Status area (at the bottom of the
Workflow Designer window) to see the log.
In the log window, find the row for the activity that failed. The description
column explains the error.
10 Optionally, click

to print the workflow.

To create a workflow
1 In the Tool-based Ribbon Workspace, click Tools tab ➤ Workflow
panel ➤ New.
2 To create a workflow that uses multiple data connections, add a Parallel
activity.
■

In the Workflow Designer (page 2022), click the System panel header
on the right side of the window.

■

Drag the Parallel activity to the diagram area in the Workflow Designer
(where you see Drag And Drop Map Activities Here).
Use a separate Sequence activity for each connection. By default, the
Parallel activity has two Sequence activities. If you need more, drag
them into the Parallel activity.

■

For each connection, drag a Connect To Data Store activity into a
Sequence activity.

■

To create a layer for these connections, use an Add Feature Layer
activity. Drag this activity just below each Connect To Data Store
activity (within the Sequence activity for that connection).

Editing or Creating Workflows | 287

3 To create a workflow that uses a single data store, do the following:
■

Drag the Connect To Data Store activity to the diagram area in the
Workflow Designer (where you see Drag And Drop Map Activities
Here).

■

Optionally, create a layer for the connection by dragging a Create
Feature Layer activity just below it.

4 Add any other desired activities.
For information about the available activities and their parameters, see
Workflow Activity Input dialog boxes (page 2025). For a tutorial on
workflows, see Lesson 5: Edit a Predefined Workflow.
NOTE To set parameters for some utility activities (For Each, If/Else, and
While), click
in the Workflow Designer toolbar. In the Properties palette
that displays, click the cell for the parameter to set. Click the browse button
that appears to select parameters from a list, if available.

5 Save the workflow by clicking
window.

at the top of the Workflow Designer

Workflows saved in AutoCAD Map 3D 2011 format cannot be opened
in AutoCAD Map 3D 2010. To use your workflow with AutoCAD Map
3D 2010, make sure that the workflow contains only activities that were
supported in that version. Then use Save As and change Save As Type to
Map 3D 2010 Workflow File. To maintain the version formatting, you
must continue to use the 2010 Save As option each time you save the
workflow

6 Click
to run the workflow from within the Workflow Designer,
which validates the activities.
As each activity executes successfully, a green check mark appears at the
top right corner of the activity box. If an exclamation mark appears
instead of the check mark, the activity is missing a parameter. If a red X
appears, the activity failed. Click the link in the Workflow Status area (at
the bottom of the Workflow Designer window) to see the log.
7 Optionally, click

288 | Chapter 2 Setting Up

to print the workflow.

Quick Reference
MAPWORKFLOWCREATE
Creates a workflow
Menu

Click Setup menu ➤ Workflow Designer.

Command Line

MAPWORKFLOWCREATE

MAPWORKFLOWEDIT
Edits a workflow
Menu

Click Setup menu ➤ Workflow Designer.

Icon
Edit Workflow
Command Line

MAPWORKFLOWEDIT

Changing the Workflow Designer Display
As you work in the Workflow Designer, you can do the following:
■

Adjust the magnification and focus of the design area

■

Refresh the display

■

Hide or show the Settings and Activities panels

The Settings panel displays the parameters for the selected activity in an
editable table. The Activities panel displays the list of activities you can add
to a workflow.
To change the display of the Workflow Designer window
■

To pan or zoom, use these techniques:
■

To move to a different part of the workflow, use the scroll bars or click
Pan.

■

To zoom in or out, adjust the magnification slider.

■

To zoom to the extents of the workflow, click Show The Entire
Workflow.

Changing the Workflow Designer Display | 289

Pan, zoom, or show
the entire workflow.

■

To show or hide the activities panel, click

■

To show or hide the Settings panel for the selected activity, click
.
In the Settings panel, you can view and edit values for the parameters of
the current activity. Click the cell for the parameter to set. Click the browse
button that appears to select parameters from a list, if available.
NOTE To set parameters for some utility activities (For Each, If/Else, and While),
you must use the Properties palette (instead of the input editor).

■

To refresh the display, click

290 | Chapter 2 Setting Up

.

Bringing In Data

3

Overview of Bringing In Data
A map file in AutoCAD Map 3D is a specialized drawing (DWG) file in which
you can combine data from many sources. A map file holds all the information
required to create, edit, view, and publish your map, including the following:
■

AutoCAD drawing objects and information about attached drawing files

■

Attribute or point data stored in a spreadsheet or database that can be linked
to drawing objects

■

Information required to connect to databases like Oracle and ArcSDE

■

Information required to connect to geospatial features stored in a relational
database, such as Microsoft® SQL Server, SQL Server Spatial, Oracle® Spatial,
PostgreSQL/PostGIS, and MySQL

■

Information required to connect to geospatial features stored in a geospatial
data file format, such as an ESRI® SHP, Microsoft® SQLite, or Autodesk® SDF
file

■

Information required to connect to geospatial features stored in middleware,
such as ESRI® ArcSDE®

■

Information required to connect to web-based resources such as WFS (Web
Feature Service) sites and WMS (Web Map Service) sites

■

Information needed to connect to raster images, including DEM (page 2059)
surfaces that show elevation

■

Metadata

■

Styling information

291

■

Map layouts

■

Data from third-party providers, leveraging the power of Open Source

AutoCAD Map 3D is your window onto all this data. You have two ways to
access data: you can connect to drawing files, geospatial files, or other data
sources and view and edit entities in their original sources, saving your changes
in the native format; or you can convert the data to DWG format, breaking
any connection to the original source.
To do this...

Use this method...

Edit features from the
following sources in
their native format:

1 In Display Manager,

■

ArcSDE (page 316)

2 Select the data source

■

Autodesk SDF
(page 337)

■

ESRI SHP (page
335)

■

MySQL (page 332)

■

ODBC (page 342)

■

Oracle (page 312)

■

PostgreSQL/PostGIS (page 340)

■

SQL Server (page
323)

■

SQL Server Spatial
(page 323)

■

SQLite (page 323)

■

WFS (page 346)

Use formats that are
not listed in the Data
Connect window
(page 540)

click Data ➤ Connect
To Data.

To get this result...
All features in the selected feature
class appear in the map. Any edits
you make are saved back to the
original source.

and feature classes.

■

To connect to the data,
use an open-source or
third-party provider
(page 540).

■

To use a copy of the data
(page 378), Click Insert

292 | Chapter 3 Bringing In Data

If you use a provider to connect
to the data, you can edit it directly in its native format. If you
convert and import it, you edit a
copy of the data in DWG format.

To do this...

Use this method...

To get this result...

tab ➤ Import pan-

el ➤ Map Import .

Join attribute data to
features from Oracle,
SDF, etc. (page 507)

1 Connect to the source
of attribute data (for
example, connect to an
ODBC source such as a
Microsoft Access table)
from the Task Pane.

Both the original data for the feature layer and the joined data appear in the Data Table.

Click Data ➤ Connect
To Data.

2 Right-click a layer and
click Create A Join.

3 Specify the connected
attribute data source.

Add DWG objects
from the current
drawing (page 350)

1 In Display Manager,
click Data ➤ Add

Only the objects that match your
query are added to the map.

Drawing Data ➤
Query Current Drawing.

2 Define a query to retrieve objects.

Add drawing objects
from other drawings

1 Attach the drawings to
the current drawing.
(page 154).

2 In Display Manager,
click Data ➤ Add

Only the objects that match your
query are added to the map.
When you edit the objects, you
can choose to update the original
drawings or not.

Drawing Data ➤
Query Source Drawing.

3 Define a query to retrieve objects. See
Bringing In Drawing
Data From DWG Files
(page 350).

Overview of Bringing In Data | 293

To do this...

Use this method...

To get this result...

Convert geospatial
data to drawing data
(page 378)

■

A copy of the data is added to the
map in DWG format. The connection to the original source is
broken, and changes are not
saved back to that source.

Convert SDF files to
drawing data (page
387)

■

Click Insert tab ➤ Import
panel ➤ Map Import .

Click Insert tab ➤ Import
panel ➤ Map Import .

Use this method
for the current version of
SDF. See Overview of
Converting Geospatial
Data to Drawing Objects
(page 378).
■

A copy of the data is added to the
map in DWG format. The connection to the original source is
broken, and changes are not
saved back to that source.

In the Tool-based Ribbon
Workspace, click Insert
tab ➤ Import panel ➤
SDF2. Use this method
for the version supported
by MapGuide 6.5 and
earlier. See Importing
Autodesk SDF 2 (page
389).

Add attribute data to
use with drawing objects

1 Add the data source to
the map. See Setting
Up Data Sources for
Drawings (page 204).

2 Define a link template
for the data. See Creating a Link Template
(page 525).

3 Link records to drawing
objects. See Manually
Linking Database Records to Objects (page
528).

294 | Chapter 3 Bringing In Data

You can view or edit the data by
double-clicking the table name in
Map Explorer.

To do this...

Use this method...

Add raster images
(page 437) in the following formats:
DEM, ESRI Grid, DTED,
JPEG and JPEG2K ,
PNG, MrSID, TIFF,
ECW

1 In Display Manager,

Add raster images in
other formats (page
454)

1 Click Home tab ➤ Data

click Data ➤ Connect
To Data.

To get this result...
The image appears in your map,
where you can style it or move it
behind other features.

2 Specify the folder that
contains the raster and
select the raster.

panel ➤ Insert An Im-

age.

The image appears in your map,
where you can clip it (page 504)
or change its transparency (page
499), brightness and other settings
(page 489).

2 Select the image and
specify the image
placement and settings.
For ECW and MrSID formats,
you must download the free
raster object enabler available
from autodesk.com

1 From Civil 3D, export

Connect to data from
Civil 3D (page 543)

feature data (such as
parcels and alignments)
in SDF format and save
surfaces in DEM format.

The data appears in your map like
any other SDF or DEM data.

2 Connect to the resulting files in AutoCAD
Map 3D.

Add survey data (page
370)

■

Add LandXML files (page
371).

■

Add ASCII point data
(page 373).

The survey points appear in your
map and are stored in a new survey data store.

See also:
■

Creating a Map (page 296)

Overview of Bringing In Data | 295

Before You Bring In Data
Creating a Map
When you create a new map file, you do the following:
■

Choose a template.
The map2d.dwt template contains the optimal display settings, tools, and
views for 2D maps, while the map3d.dwt template is optimized for 3D
maps. You can also create your own templates. For information on this,
see the AutoCAD Help topic called “Use a Template File to Start a Drawing.”

■

Assign a coordinate system.
Data you add to your map file is transformed to use the coordinate system
assigned to your map. When you save it back to its source, it is transformed
back to its original coordinate system.

■

Add data.
You can combine data from many sources.
■

Geospatial data
For many geospatial formats, such as Oracle and ArcSDE, you can
connect to the source to add data using FDO (page 2062) Data Access
Technology. You access data live, in its native format. You can extend
your data access capabilities by adding an open source or third-party
FDO provider (page 2063).
You can also convert data from most of these formats to DWG format.
To do this, you import the data (rather than connect to it). However,
this method adds only a snapshot of the data and your changes do not
update the data at its source.
For other formats, such as MicroStation Design (DGN) and Arc/INFO,
you must import the data.

■

Drawing (DWG) data
You can attach AutoCAD drawing files to your map and query in objects
from those drawings, or import data from non-drawing sources to add
it as drawing data.
NOTE When you import data, you make a copy of the data and bring that
copy into your map as drawing objects. When you edit the data, you are
editing the copy. The original data is unchanged.

■

Raster data

296 | Chapter 3 Bringing In Data

Connect to raster images and surfaces, or use the Raster Extension
feature.
■

Attribute data
Join additional attributes to GIS features, or add attributes to drawing
objects using database linking or object data.

■

Data from AutoCAD Civil 3D
Export Civil 3D feature data, such as parcels and alignments, in SDF
format. Connect to the resulting SDF file in AutoCAD Map 3D. You
can also save surfaces as DEMs in Civil 3D and connect to the resulting
DEM files in AutoCAD Map 3D. You can also bring in LandXML files
using the Survey feature.

■

Survey Data
Create a new survey data store and then bring in LandXML or ASCII point
data.

■

Create Display Manager layers.
Geospatial data that you add to your map is automatically organized into
display layers by feature class. You can also add drawing data to layers.
Layers give you control over draw order (Z-order), styling, and more.

See also:
■

Assigning a Coordinate System to the Current Drawing (page 147)

■

Bringing in GIS Features (page 303)

■

Overview of Bringing in Drawing Data From DWG Files (page 351)

■

Converting Data From Other Formats to Drawing Objects (page 377)

■

Joining Data to GIS Features (page 507)

■

Adding Attributes to Drawing Objects (page 521)

■

Adding Rasters and Surfaces (page 437)

■

Using Open Source FDO Providers (page 540)

■

Bringing In AutoCAD Civil 3D Data (page 543)

■

Bringing in Survey Data (page 370)

■

Organizing Layers in Your Map (page 300)

■

Overview of Visualization and Styling (page 631)

Creating a Map | 297

■

Overview of Creating Themes (page 1163)

■

Overview of Creating New Features (page 686)

■

Getting Help with AutoCAD (page 58)

To create a map
1 Start a new drawing, choosing either the map2d.dwt or map3d.dwt
template, or a custom map template you created.
2 Assign a coordinate system to the map. (page 147)
NOTE If you do not assign a coordinate system to the map, data that you
bring into the map will appear using its native coordinate system. If you bring
in data from more than one coordinate system, entities may not align correctly
in the map.
3 Add features (page 308) and drawing objects (page 354)to the map.
To add geospatial data to a map
■

Drag and drop file-based sources into your map.

■

Use Data Connect to connect to any non-DWG data source and add
the feature classes you want.

■

Use data-based queries to add a subset of data from the data source
to your map.

To add AutoCAD drawing data to a map
■

Use data-based queries to add objects from a drawing (find all objects
on a particular layer, all objects of a certain size, all objects with certain
properties).

■

Define areas to add (draw a selection window).

■

Add specific drawing layers.

4 Optionally, add attribute data to features (page 507) and drawing objects
(page 521).
5 Optionally, To add a raster-based surface to your map (page 442).

298 | Chapter 3 Bringing In Data

6 Optionally, add open-source or third-party providers (page 540) to access
additional data formats, add data from AutoCAD Civil 3D (page 543), or
add survey data (page 370).
7 Organize the layers (page 300) that comprise your map.
8 Change the appearance of the map using styles (page 631) and themes
(page 1163).
NOTE You can create multiple display maps from the same data. See Creating
Multiple Display Maps (page 638).
9 Optionally, create new features (page 688) or drawing objects. You can
use many AutoCAD commands (page 58).

Quick Reference
ADESETCRDSYS
Assigns a global coordinate system code for the current drawing or attached
drawings
Menu

Setup menu ➤ Assign Global Coordinate System

Icon
Assign Coordinate System
Command Line

ADESETCRDSYS

Task Pane

In Map Explorer, right-click Current
Drawing ➤ Coordinate System

Dialog Box

Assign Global Coordinate System dialog box

ADEATTACHDATA
Attaches object data to objects
Menu

Create menu ➤ Attach/Detach Object Data

Icon
Attach/Detach Object Data
Command Line

ADEATTACHDATA

Dialog Box

Attach/Detach Object Data dialog box

Creating a Map | 299

Connect Feature Source
Connects a feature source
Menu

Click File ➤ Connect To Data.

Icon
Connect
Command Line

MAPCONNECT

Task Pane

In Display Manager click Data ➤ Connect to Data.

Organizing Layers in Your Map
Display Manager organizes the data in your map into layers, which you can
display and style independently. Each layer contains one type of data. For
example, you might have a layer of drawing objects, a layer that represents a
feature class from Oracle, a DEM surface layer, and a raster image layer. When
you use FDO (page 2062) to connect to a data source (via Data Connect), each
feature class or image in that data source becomes a separate layer
automatically. You can create drawing layers for drawing objects, and these
objects can be members of multiple layers.
NOTE Display Manager layers are different from the classic “AutoCAD layers” you
see in the Layer Properties Manager. AutoCAD users cannot see Display Manager
layers unless they use AutoCAD Map 3D. You use different techniques to style the
two different layer types.
View the layers in Display Manager in two ways:
■

Groups organizes the list of layers. For example, you can create a group
for as-built data and a separate group for proposed changes.

■

Draw Order determines the draw order of the layers. Items at the top of
the draw order are drawn on top of items below them on the list.

If an object is a member of more than one layer, it inherits the style of each
layer of which it is a member. For example, if a line is in both the
Transportation layer and the Roads layer, it inherits the styles of both layers.
If the layers specify conflicting style or visibility settings, the object uses the
style and visibility settings of whichever layer is higher in the Display Manager
list.

300 | Chapter 3 Bringing In Data

You can specify a thumbnail icon for drawing layers, which is used in Display
Manager and in any legends you create for this map. This affects drawing
layers only, and is not available for feature layers.
See also:
■

Overview of the Display Manager (page 634)

■

Controlling Display Order (page 636)

■

Bringing in GIS Features (page 303)

■

Bringing In Drawing Data From DWG Files (page 350)

■

Adding Rasters and Surfaces (page 437)

■

Converting Data From Other Formats to Drawing Objects (page 377)

■

To add a feature layer using FDO (Oracle, ArcSDE, SDF, SHP, WFS) (page
301)

■

To add a drawing layer (page 301)

■

To add a raster-based surface to your map (page 442)

■

To create a group (page 301)

■

To change the draw order (page 302)

■

To change the thumbnail style for a drawing layer (page 302)

To add a feature layer using FDO (Oracle, ArcSDE, SDF, SHP, WFS)
■

Connect to the FDO source. (page 303)

To add a drawing layer
■

Attach a drawing and query in objects (page 350)

To add a raster or surface layer
■

Connect to the raster or surface file or folder. (page 437)

To create a group
1 In Display Manager (page 2060), click Groups.

Organizing Layers in Your Map | 301

2 In Display Manager (page 2060), click Data ➤ New Group.
3 To change the group name, select the group then click the existing name.
Type a new name and press Enter.
4 Drag layers into the group.
NOTE Until you use the Draw Order view to specify a draw order, AutoCAD Map
3D uses the Groups order as a default draw order for the map. Once you use the
Draw Order view, changes in the Groups view do not affect the draw order.
To change the draw order
1 In Display Manager (page 2060), click Draw Order if needed.

2 Drag layers up or down to change their display order.
Items at the top of the draw order are drawn on top of items below them on
the list.
To change the thumbnail style for a drawing layer
1 Select the layer.
2 In Display Manager (page 2060), click the Style button.
3 On the Display tab of the Properties palette, next to Thumbnail Preview,
select the style of thumbnail to use.
For example, select the polyline icon to display an icon of a wavy line,
or choose the polygon icon to display hatch or fill.

302 | Chapter 3 Bringing In Data

This setting affects both the Display Manager layer and the legend for this
map.

Quick Reference
Change the display order of Display Manager layers
Control which layers appear on top (or behind) other layers
Task Pane

In Display Manager, drag an item up or down in the
list

New Display Manager Group
Creates a new Display Manager group
Task Pane

In Display Manager, click Data ➤ New Group

Sort Layers in Display Manager
Sorts the map layers alphabetically
Task Pane

In Display Manager, click the thin down arrow next
to the Map list and choose Sort Contents

Bringing in GIS Features
NOTE This topic applies to geospatial data. To bring in drawing (DWG) objects,
see Overview of Bringing in Drawing Data From DWG Files (page 351).
When you access data through FDO (page 2062), you use an FDO provider (page
2063) to connect directly to a data source, such as SDF, SHP, Oracle, SQL Server,
or ArcSDE, and work in its native format.
For FDO data sources with geometry, you select the feature classes to include
in your map.
A feature is the spatial description of a real-world entity, such as a road, a
utility pole, or a river. Features are organized into collections, called feature
classes, and are stored in a spatial database or file. The spatial database or file
is sometimes referred to as a feature source (page 2063).

Bringing in GIS Features | 303

See also:
■

Filtering Features When You Add Them to a Map (page 309)

■

Overview of Geospatial Data (page 551)

■

Working with FDO Schemas (page 553)

■
■
■

To access data through FDO (page 308)
To filter feature data when you add it to a map (page 310)
To change the coordinate system assigned to the data you are adding to a
map (page 311)
To bring in features from Oracle (page 314)
To use AutoCAD Map 3D 2011 to access FDO data stores that were created
in AutoCAD Map 3D 2007 and earlier (page 315)
To set up your system for ArcSDE 9.2 (or if you use the 9.1 client and you
access the ArcSDE 9.2 server) (page 318)
To set up your system for ArcSDE 9.1 (or if you use the 9.2 client and you
access the ArcSDE 9.1 server) (page 318)
To bring in features from ESRI ArcSDE (page 319)
To set up a direct connection to the underlying database (page 320)
For an Oracle database: (page 320)
For a SQL Server database: (page 321)
For an Oracle database, copy the following DLL files: (page 321)
For a SQL Server database, copy the following DLL files: (page 321)
For an Oracle database, set the following parameters: (page 322)
For a SQL Server database, set the following parameters: (page 322)
To bring in features from SQL Server (page 324)
To use AutoCAD Map 3D 2011 to access FDO data stores that were created
in AutoCAD Map 3D 2007 and earlier (page 325)
To bring in features from SQL Server Spatial (page 328)
To bring in features from SQLite (page 331)
To bring in features from MySQL (page 333)
To use AutoCAD Map 3D 2011 to access FDO data stores that were created
in AutoCAD Map 3D 2007 and earlier (page 334)
To bring in features from SHP (page 336)
To bring in features from SDF (page 338)
To bring in features from PostgreSQL/PostGIS (page 341)
To access ODBC data (page 344)
To create a DSN in Windows XP (page 345)
To define the table ranges required to access Excel data (page 346)
To bring in features from WFS (page 348)
To reconnect to feature data without losing styling information (page 350)

■
■
■
■
■
■
■
■
■
■
■
■
■
■
■
■
■
■
■
■
■
■
■
■
■
■

304 | Chapter 3 Bringing In Data

Overview of Bringing In GIS Features

This map of a water distribution system is made up of features stored in a set of SDF
files.

NOTE This topic applies to geospatial data. To bring in drawing (DWG) objects,
see Overview of Bringing in Drawing Data From DWG Files (page 351).
A feature is the spatial description of a real-world entity such as a road, a utility
pole, or a river. Features are stored in a spatial database or file. The spatial
database or file is referred to as a feature source (page 2063).
The feature source could be a database (such as Oracle, ArcSDE, SQL Server,
or MySQL), a file-based feature source (such as SDF or SHP), a web server (such
as WFS), or a table of feature geometry data (such as Microsoft Access).
Once you connect to a feature source, you select the types of features to include
in your map. Each type of feature is called a feature class (page 2063). AutoCAD
Map 3D displays all the features from the selected features classes in your map,
and each feature class becomes a layer in Display Manager. For example, a
feature class called Roads contains individual streets and appears on a layer
called Roads in Display Manager. You can apply a single style to this layer,
and all the streets in the layer will use that style.
A schema (page 2073) is the definition of multiple feature classes and the
relationships between them. It determines the criteria an individual feature
must meet in order to be a member of a particular feature class. For some
feature sources, you can add and edit a schema and its feature classes and

Overview of Bringing In GIS Features | 305

properties. For more information about editing schemas, see Working with
Schemas (page 593).
NOTE WMS and Raster are used to access images, not features. You cannot edit
or lock these images, and they do not use schemas.

Tell me more
■

Show me how to bring in data from a
web server using WMS.

■

Show me how to bring in point data
from an ODBC database.

■

Show me how to bring in a subset of
features using a query.

■

To access data through FDO (page 308)

■

To filter feature data when you add it
to a map (page 310)

■

Exercise 2: Use Data Connect to add
data to your map

■

Create a Feature Map

■

Access data published on a public web
server

■

Bring in point data from a Microsoft Access database

■

Bring in a subset of features using a
query

■

About Geospatial Feature Classes, Data
Stores, and Schemas (page 551)

■

Overview of Geospatial Data (page 551)

■

Working with FDO Schemas (page 553)

Video

Procedure

Tutorial

Workflow

GIS Skills

Related topics

306 | Chapter 3 Bringing In Data

FDO Provider Capabilities
You use FDO (page 2062) to connect directly to a data source and work in its
native format. Each data source type uses its own FDO provider (page 2063), and
each provider has different capabilities.
For example, Oracle and ArcSDE support locking on the feature level. When
you check out a feature, other users cannot edit it, even though they can view
your edits and edit other features in the feature source. Oracle and ArcSDE
also support persistent locking, so the object stays locked until you check it
back in.
SHP feature sources, on the other hand, support locking on the file level.
When you check out a feature, its entire SHP file is locked. Other users cannot
edit features from that file until you close the map, which releases your lock
(even if you still have features checked out at the time). Be careful to check
in your changes before you close the map.
Versioning (page 2078) allows multiple copies of a spatial dataset to be stored
and tracked by date of creation, date of change, and so on. Not every FDO
provider supports versioning.
The following table lists the level of locking, versioning, and schema editing
supported by each feature source type.
Feature Source
Type

Lock Level

Versions

Persistent
Locking

Edit
Schema

ArcSDE (page
316)

None

No

No

Yes

MySQL (page
332)

None

No

No

Yes

ODBC (page 342)

File

No

No

No

Oracle (page 312)

Feature

Yes

Yes

Yes

PostgreSQL/PostGIS (page 340)

Feature

Yes

Yes

Yes

SDF (page 337)

None

No

No

Yes

SHP (page 335)

File

No

No

Yes

Overview of Bringing In GIS Features | 307

Feature Source
Type

Lock Level

Versions

Persistent
Locking

Edit
Schema

SQL Server (page
323)
SQL Server Spatial (page 326)

None

No

No

Yes

SQLite (page 330)

File

No

No

Yes

WFS (page 346)

N/A

N/A

No

No

WMS (page 445)

N/A

N/A

N/A

N/A

Raster (page 437)

N/A

N/A

N/A

N/A

To access data through FDO
NOTE This topic applies to geospatial data. To bring in drawing (DWG) objects,
see the procedures for bringing in drawing objects. (page 354).
1 Make sure that your feature source is set up correctly. If you have
questions, refer to the Readme file.
2 Find out your user name and password, if required.
Your CAD Manager or Database Administrator can help you with this.
3 Open or create (page 296) the map that will include the data from this
feature source.
4 If you are working with data from various coordinate systems, assign a
coordinate system to the current map. See Assigning a Coordinate System
to the Current Drawing (page 147).
AutoCAD Map 3D converts all the data you bring into this map to the
assigned coordinate system. If you edit the data and save it back to its
source, AutoCAD Map 3D converts it back to the original coordinate
system.
5 In Display Manager (page 2060), click Data ➤ Connect To Data.
6 In the left pane of the Data Connect window, select the feature source.
7 In the right pane, enter a name for this connection and specify the
information required to connect to the feature source. Click Connect.

308 | Chapter 3 Bringing In Data

8 In the Add Data To Map section, under Schema, select the feature classes
to include in your map.
If this feature source contains only a single feature class, that feature class
is selected automatically. If it contains multiple feature classes, you can
right-click any of them and select Select All or Select None.
9 If necessary, click Edit Coordinate Systems to specify the coordinate
system for the incoming data (page 311).
10 Click Add To Map.
To bring in a subset of the data, click the down arrow and select Add To
Map With Query. See Filtering Features When You Add Them to a Map
(page 309). To filter data after you have added the data to your map, see
Filtering Feature Layers (page 1216).
Features from the selected feature classes appear in your map. You can style,
theme, and edit the features.
If you need additional properties related to this data, you can connect
additional data to a feature source layer using a join (page 507).

Quick Reference
Connect Feature Source
Connects a feature source
Menu

Click File ➤ Connect To Data.

Icon
Connect
Command Line

MAPCONNECT

Task Pane

In Display Manager click Data ➤ Connect to Data.

Filtering Features When You Add Them to a Map
NOTE This topic applies to geospatial data. To filter drawing (DWG) objects, see
Overview of Bringing in Drawing Data From DWG Files (page 351).
When you connect to a geospatial data store, you can choose Add To Map
With Query to filter the data you bring into your map.

Filtering Features When You Add Them to a Map | 309

You can filter a single layer or multiple layers at one time. You can filter the
data by its location in the map or by property conditions that you define. For
example, you can add only streets that cross a circle you draw on the map, or
only parcels on a particular street.
See also:
■

Filtering Feature Layers (page 1216)

■

Creating Expressions - Reference

To filter feature data when you add it to a map
NOTE This topic applies to geospatial data. To bring in drawing (DWG) objects,
see the procedures for bringing in drawing objects. (page 354).
1 Connect to the data source (page 308) in the Data Connect window.
2 Under Add Data To Map, check the layers to add.
If this feature source contains only a single feature class, that feature class
is selected automatically. If it contains multiple feature classes, you can
right-click any of them and select Select All or Select None.
3 Click the Add To Map down arrow and select Add To Map With Query
to create your expression.
In the View/Create Query Statement dialog box (page 1610), the list of
layers at the top of the window shows any existing filters for the selected
layers. If the layers use a common query (specifying a property that all
the layers have in common), that query is listed separately. Any query
you create applies to all selected layers.
4 Create the expression for your query.
For help with any expression element, see Creating Expressions Reference.
■

To filter the layer based on one of its properties (for example, to add
only the parcels whose Address property specifies a particular street),
create a query that evaluates a property.
If multiple layers are selected, only the properties they have in
common are available.

■

To filter the layer based on location (for example, to bring in only
roads within a circle you define by drawing it on the map), create a
location-based query.

310 | Chapter 3 Bringing In Data

Quick Reference
Connect Feature Source
Connects a feature source
Menu

Click File ➤ Connect To Data.

Icon
Connect
Command Line

MAPCONNECT

Task Pane

In Display Manager click Data ➤ Connect to Data.

Changing Coordinate Systems
If necessary, you can change the coordinate system of data you add to your
map.
You must specify the original coordinate system for the data. Do not specify
the coordinate system for the current map—AutoCAD Map 3D transforms the
data to the target coordinate system when it adds it to your map. Hold your
cursor over the entry in the Data Connect window to see its coordinate system
and spatial context information.
To change the coordinate system assigned to the data you are adding to a
map
1 In Display Manager (page 2060), click Data ➤ Connect To Data.
2 In the Data Connect window, select the appropriate data provider in the
Data Connections By Provider list.
3 Navigate to the data store and select it.
4 Click Connect.
5 Hold your cursor over the name of the data store to see a pop-up window
that displays its coordinate system, for example, UTM27-10.
When you add data to your map, you must specify its original coordinate
system. AutoCAD Map 3D automatically converts the data from that
coordinate system to the one specified for your map.
6 Click Edit Coordinate Systems and, in the Edit Spatial Contexts (page 1605)
dialog box, click the entry.

Changing Coordinate Systems | 311

Select the entry and click Edit to specify the coordinate system for the surface

NOTE To copy the spatial context information to the clipboard (for example,
to check against your records or for use with a Technical Support specialist),
right-click the entry and click Copy Coordinate System.
7 Click Edit.
8 In the Select Coordinate System dialog box (page 1609), select the coordinate
system you saw in the pop-up window.
Select the appropriate category from the pulldown list, and then scroll
through the entries until you find the one you want.
9 Click OK twice to return to the Data Connect window.

Bringing In Features from Oracle
You can bring features from an Oracle data source into your map, creating a
feature layer (page 2063) in Display Manager. When you do this, you can:
■

Select the feature classes to include in your map.

■

Set conditions to limit the features in your map.

■

View and edit the features

■

Style, theme, and edit the features.

■

Lock individual features when you check then out for editing.

■

Keep features checked out and locked even when you close your drawing.
Features are not checked back in and unlocked until you specify.

■

Automatically update the data source with any edits you make. Your edits
are immediately visible to anyone else using the data source.

312 | Chapter 3 Bringing In Data

■

Create versions of your data. Versioning (page 2078) creates a copy of the
data in the data source. Your changes are made to the new version of the
data. Versioning is useful for proposed changes or changes that need
approval. When the changes are final, you can make your version the
current one.

■

Use a data source set up for AutoCAD Map 3D. If your data source schema
is not set up to work with AutoCAD Map 3D, AutoCAD Map 3D creates a
custom mapping so you can use the data in your map.

■

View and edit the schema definition.

■

Create an Oracle data source.

■

Move SHP data into Oracle to take advantage of better data sharing.

■

Bring in a static copy of Oracle data as drawing objects.

■

Customize the Oracle FDO provider (page 2063).

NOTE Functionality for OSE (the Oracle Spatial OO40, which is similar to OLE DB)
is not available in a 64-bit environment. The Oracle library that OSE is built on
(Oracle Object for OLE) is 32-bit only. There is no 64-bit version.
In the 2008 release of AutoCAD Map 3D, a new column called geometrytype
was added to the table named F_AttributeDefinition. To use AutoCAD Map
3D 2011 to access FDO data stores that were created in AutoCAD Map 3D
2007 and earlier, you must first connect to the data store containing this table
and run a SQL script. Instructions for this are on the Procedure tab of this
topic. To do this, you must have the privileges required to execute the ALTER
TABLE request. In the command line, enter the following:
sqlplus /@
@/Fdo/bin/com/AlterSchemaOracle.sql; exit;

NOTE For information on customizing this provider, refer to the FDO API Reference
and the FDO Provider for Oracle API Reference. The API has custom commands for
gathering information about a provider, transmitting client services exceptions,
getting lists of accessible data stores, creating connection objects, and creating
and dropping spatial indexes.
See also:
■

Working with Oracle Data (page 554)

Bringing In Features from Oracle | 313

■

Creating a Data Store (page 586)

■

Migrating Data (page 615)

■

Importing From Oracle (page 409)

■

Styling Features (page 639)

■

To create a map with styled feature layers (page 641)

■

To edit a feature using feature editing commands (page 705)

To bring in features from Oracle
1 Make sure that your feature source is set up correctly.
2 In Display Manager (page 2060), click Data ➤ Connect To Data.
3 In the Data Connect window, select Add Oracle Connection in the Data
Connections By Provider list.
4 In the Feature Source Connection dialog box (page 1607), under Connection
Name, type a name for this connection.
You can give the connection any name you like. This name appears in
Map Explorer as the name of the feature source.
5 Under Service Name, enter the service name for the Oracle data store. If
you do not know this name, check with your System Administrator.
6 Click Login.
7 In the User Credentials dialog box (page 1610), enter your Oracle user name
and password. If your organization uses Windows authentication to log
in to Oracle, select Use Windows Authentication.
Optionally, select Remember Password if you want AutoCAD Map 3D to
log you in whenever you open this drawing.
8 Under Data Store, enter the data store name. If you do not know this
name, check with your System Administrator.
To select from a list of data stores, click the down arrow.
NOTE If the data store is not in the list, it may not use a AutoCAD Map 3D
schema. Select Show All Data Stores to add these to the list. AutoCAD Map
3D creates a mapping to use these data stores with AutoCAD Map 3D.
9 Optionally, select a version of the data store.

314 | Chapter 3 Bringing In Data

10 Click Connect.
11 In the feature class list, select the feature classes to include in the map.
If this feature source contains only a single feature class, that feature class
is selected automatically. If it contains multiple feature classes, you can
right-click any of them and select Select All or Select None.
12 Click Add To Map.
To bring in a subset of the data, click the down arrow and select Add To
Map With Query (page 309). To filter data after you’ve added the data to
your map, see Filtering Feature Layers (page 1216).
Features from the selected feature classes appear in your map. You can style,
theme, and edit the features.
If you need additional properties related to this data, you can connect
additional data to a feature source layer using a join (page 507).
To use AutoCAD Map 3D 2011 to access FDO data stores that were created
in AutoCAD Map 3D 2007 and earlier
1 Verify that you have the privileges required to execute the ALTER TABLE
request.
2 In the command line, enter the following:
sqlplus /@
@/Fdo/bin/com/AlterSchemaOracle.sql;
exit;

Quick Reference
Connect Feature Source
Connects a feature source
Menu

Click File ➤ Connect To Data.

Icon
Connect
Command Line

MAPCONNECT

Task Pane

In Display Manager click Data ➤ Connect to Data.

Bringing In Features from Oracle | 315

Bringing In Features from ArcSDE
When you view and edit features from an ArcSDE data source, you can do the
following:
■

If you use SQL Server or Oracle as the underlying relational database
management system for ArcSDE, you can use either Windows or ArcSDE
authentication.

■

Select the feature classes to include in your map.

■

Set conditions to limit the features in your map.

■

Style, theme, and edit the features.

■

Lock individual features when you check them out for editing.

■

Keep features checked out and locked even when you close your drawing.
Features are not checked back in and unlocked until you specify.

■

Automatically update the data source with any edits you make.
Your edits are immediately visible to anyone else using the data source.

■

Create versions of your data. Versioning (page 2078) creates a copy of the
data in the data source. Your changes are made to the new version of the
data. Versioning is useful for proposed changes or changes that need
approval. When the changes are final, you can make your version the
current one. To use this feature, you must have versioning support turned
on in your database. To use versioning, you must enable versions for the
ArcSDE table.
NOTE Long transactions must be set in the data store to be available in
AutoCAD Map 3D.

■

View the schema definition.

■

Bring in a static copy of ArcSDE data as drawing objects.

Supported Versions
AutoCAD Map 3D supports ArcSDE 9.1, 9.2, 9.3, and 9.3.1. The 9.3.1 version
is available as either a 32-bit or 64-bit provider on Windows. (For previous
versions, and on Linux, it is available in 32-bit only.) The 64 bit support is
available only with the 64-bit ESRI ArcSDE 9.3.1 client libraries.

316 | Chapter 3 Bringing In Data

Setting Up ArcSDE for Use with AutoCAD Map 3D
To use ArcSDE, install the following DLL files on the computer on which you
run AutoCAD Map 3D:
For version 9.1

For version 9.2 through 9.3.1

pe91.dll

pe.dll

sde91.dll

sde.dll

sg91.dll

sg.dll

The provider for this data store checks for the latest versions of the DLL files
first, and uses them if they are found. If they are not found, it checks for (and
uses) the 9.1 versions. The client DLL version should match the server version
that is being used.
If the client and server versions of ArcSDE do not match (for example if you
use the 9.1 client and you access the ArcSDE 9.3.1 server), set up your system
for the server version you are using.
Set up the services and hosts files for the appropriate version, and then use
these names when you connect to the data in the Data Connect dialog box.
For example, specify arcsdehost\esri_sde_nv, and not the values. Setup
instructions are on the Procedure tab of this topic.
You can copy these DLL files into the FDO/bin directory of AutoCAD Map 3D.
Alternatively, you can set the PATH environment variable to reference the
local folder containing these DLL files. To accomplish this, you can install an
ArcGIS 9.1 Desktop application or the ArcSDE SDK. For more information
about ArcGIS 9.1 Desktop applications and the ArcSDE SDK, refer to the ESRI
documentation.

Connecting Directly to the Database
ArcSDE provides a direct connection option. This option connects the client
directly to the Oracle or SQL Server database engine, rather than through the
separate ArcSDE process used in a normal connection. See the Procedure tab
of this topic for instructions on setting up this option.
NOTE For information on customizing this provider, refer to the FDO API Reference
and the FDO Provider for ArcSDE API Reference.

Bringing In Features from ArcSDE | 317

See also:
■

Working with ESRI ArcSDE Data (page 579)

■

Importing ESRI ArcSDE Data (page 391)

■

Styling Features (page 639)

■

To create a map with styled feature layers (page 641)

■

To edit a feature using feature editing commands (page 705)

To set up your system for ArcSDE 9.2 (or if you use the 9.1 client and you
access the ArcSDE 9.2 server)
1 Install the following DLL files on the computer on which you run
AutoCAD Map 3D.
Copy the files to the directory in which the ArcSDE provider is installed.
Usually, the directory is C:\Program Files\AutoCAD Map 3D 2011\FDO\bin
pe.dll
sde.dll
sg.dll
2 Add entries in your C:\Windows\system32\drivers\etc\services file.
The entries look like this:
esri_92ora 6161/tcp #ArcSDE 9.2 - Oracle
esri_92sql 6161/tcp #ArcSDE 9.2 - SQLServer 2005
esri_sde 5151/tcp #ArcSDE 9.1- Oracle
esri_sde_ss 5152/tcp #ArcSDE 9.2 - SQLServer

3 If you have trouble connecting, add a new line in your
C:\Windows\system32\drivers\etc\hosts file.
The line looks like this:
192.168.0.100 arcsdehost

To set up your system for ArcSDE 9.1 (or if you use the 9.2 client and you
access the ArcSDE 9.1 server)
1 Install the following DLL files on the computer on which you run
AutoCAD Map 3D.
Copy the files to the directory in which the ArcSDE provider is installed.
Usually, the directory is C:\Program Files\AutoCAD Map 3D 2011\FDO\bin

318 | Chapter 3 Bringing In Data

pe91.dll
sde91.dll
sg91.dll
2 Add entries in your C:\Windows\system32\drivers\etc\services file.
The entries look like this:
esri_92ora 6161/tcp #ArcSDE 9.2 - Oracle
esri_92sql 6161/tcp #ArcSDE 9.2 - SQLServer 2005
esri_sde 5151/tcp #ArcSDE 9.1- Oracle
esri_sde_ss 5152/tcp #ArcSDE 9.2 - SQLServer

3 If you have trouble connecting, add a new line in your
C:\Windows\system32\drivers\etc\hosts file.
The line looks like this:
192.168.0.100 arcsdehost

To bring in features from ESRI ArcSDE
1 Make sure your feature source is set up correctly. For a list of issues, refer
to the Readme.
2 In Display Manager (page 2060), click Data ➤ Connect To Data.
3 In the Data Connect window, select Add ArcSDE Connection in the Data
Connections By Provider list.
4 Under Connection Name, type a name for this connection.
You can give the connection any name you like. This name appears in
Map Explorer as the name of the feature source.
5 Under Server Name and Instance Name, enter the information for the
ArcSDE database. If you do not know the name, check with your System
Administrator.
6 Click Login.
7 In the User Credentials dialog box (page 1610), specify the login credentials
to use to log into this data store.
■

If you use SQLServer as your underlying relational database
management system and want to use your Windows Authentication
credentials, select Windows Authentication and click Login.

Bringing In Features from ArcSDE | 319

■

To use your ArcSDE login credentials, enter your user name and
password and click Login. (If you use SQL Server, ArcSDE will pass
your credentials to SQL Server.)

8 Click OK.
9 In Data Connect, under Data Store, enter the database name. If you do
not know this name, check with your System Administrator.
To select from a list of databases, click the down arrow. AutoCAD Map
3D connects to the specified server and instance and lists the available
databases. If you set up your hosts and services files as described, use
these names. For example, specify arcsdehost\esri_sde_nv, and not the
values.
10 Optionally, select a version of the database.
11 Click Connect.
12 In the feature class list, select the feature classes to include in the map.
If this feature source contains only a single feature class, that feature class
is selected automatically. If it contains multiple feature classes, you can
right-click any of them and select Select All or Select None.
13 Click Add To Map.
To bring in a subset of the data, click the down arrow and select Add To
Map With Query (page 309). To filter data after you’ve added the data to
your map, see Filtering Feature Layers (page 1216).
Features from the selected feature classes appear in your map.
If you need additional properties related to this data, you can connect
additional data to a feature source layer using a join (page 507).
To set up a direct connection to the underlying database
1 Set up connections to the underlying databases.
For an Oracle database:
■

Install the Oracle client software on the client machine where you
run AutoCAD Map 3D.

■

Open the Oracle port (for example, 1521) on the database machine
firewall.

320 | Chapter 3 Bringing In Data

■

Use the Oracle Net Manager tool to set up a tnsnames entry for the
target database (or update tnsnames.ora manually).

■

Test your connection to the target database using SQL Plus.

For a SQL Server database:
■

Install the SQL Native client software on the client machine where
you run AutoCAD Map 3D.

■

Open the SQL Server port (for example, 1433) on the database machine
firewall.

■

Set the target SQL Server database to support remote connect.

■

Test your connection to the target database using SQL Server
Management Studio.

2 Copy additional DLL files into the fdo\bin directory.
Because the connection does not use the separate ArcSDE server process,
the client needs additional ArcSDE libraries. These DLL files are available
in the ArcSDE SDK.
For an Oracle database, copy the following DLL files:
■

gsrvrora11g93.dll or gsrvrora10g93.dll, depending on whether the
Oracle client is 10gr2 or 11g. (This depends on the Oracle client version
and not the Oracle server version.)

■

sdeora11gsrvr93.dll or sdeora10gsrvr93.dll

■

xerces-c_2_7.dll

■

icuuc22.dll

■

icudt22l.dll

For a SQL Server database, copy the following DLL files:
■

gsrvrsql93.dll

■

sdesqlsrvr93.dll

■

xerces-c_2_7.dll

■

icuuc22.dll

Bringing In Features from ArcSDE | 321

■

icudt22l.dll

3 Adjust the connection parameters.
For an Oracle database, set the following parameters:
■

Server name: Specify the server name or the IP address.

■

Instance name: Enter sde:oracle10g or sde:oracle11g, depending
on the version of Oracle on the client.

■

User name: Specify the user name that is valid on the Oracle server.

■

Password: Enter @ where OracleSID is the SID
configured in the client in step 1.

■

Datastore: Enter the datastore name manually, for example, sde.

■

Version: Enter the version manually. It defaults to the root version if
you do not specify the version.

For a SQL Server database, set the following parameters:
■
■

Server name: Specify the server name or the IP address.
Instance name: If you use the default instance of MSSQLSERVER, enter
sde:sqlserver:. Otherwise, enter
sde:sqlserver:\.

■

User name/password: Specify the user name that is valid for the SQL
Server database.

■

Datastore: Enter the datastore name manually, for example, sde.

■

Version: Enter the version manually. It defaults to the root version if
you do not specify the version.

For more information and other options, see the ESRI documentation for
ArcSDE connection syntax.

Quick Reference
Connect Feature Source
Connects a feature source

322 | Chapter 3 Bringing In Data

Menu

Click File ➤ Connect To Data.

Icon
Connect
Command Line

MAPCONNECT

Task Pane

In Display Manager click Data ➤ Connect to Data.

Bringing In Features from SQL Server
AutoCAD Map 3D supports both SQL Server and SQL Server Spatial (page 326).
For SQL Server, both the 2008 version (using the native spatial support that
Microsoft added in that version) and the 2005 version (with custom spatial
support added by Autodesk) are supported. If you use SQL Server 2008 or later,
we recommend moving to the new SQL Server Spatial provider. While the
SQL Server Spatial provider does not read datastores created by the old SQL
Server provider, you can use Bulk Copy (page 617) to move the data into that
format.
When you view and edit features from a SQL Server data source, you can do
the following:
■

Select the feature classes to include in your map.

■

Set conditions to limit the features in your map.

■

Style, theme, and edit the features.

■

Automatically update the data source with any edits you make.
Your edits are immediately visible to anyone else using the data source.

■

View and edit the schema definition.

■

Create a SQL Server data source.

■

Move other geospatial data (for example, SHP data) into SQL Server, to
take advantage of better data sharing.

NOTE You can customize the SQL Server FDO provider (page 2063). The API has
custom commands to support schema read/write and geospatial and
non-geospatial data read/write. For more information, refer to the FDO API Reference
and the FDO Provider for SQL Server API Reference.

Bringing In Features from SQL Server | 323

See also:
■

Working with SQL Server Data (page 559)

■

Bringing In Features from SQL Server Spatial (page 326)

■

Creating a Data Store (page 586)

■

Migrating Data (page 615)

■

Styling Features (page 639)

■

To create a map with styled feature layers (page 641)

■

To edit a feature using feature editing commands (page 705)

To bring in features from SQL Server
1 In Display Manager (page 2060), click Data ➤ Connect To Data.
2 In the Data Connect window, select Add SQL Server Connection in the
Data Connections By Provider list.
3 Under Connection Name, type a name for this connection.
You can give the connection any name you like. This name appears in
Map Explorer as the name of the feature source.
4 Under Service Name, enter the information for the SQL Server data source.
If you do not know the name, check with your System Administrator.
5 Click Login.
6 In the User Credentials dialog box (page 1610), enter your user name and
password.
Optionally, select Remember Password if you want AutoCAD Map 3D to
log you in whenever you open this drawing.
7 Click OK.
8 In Data Connect, under Data Store, enter the data store name. If you do
not know this name, check with your System Administrator.
To select from a list of data stores, click the down arrow. AutoCAD Map
3D connects to the specified server and instance and lists the available
data stores.
9 Click Connect.
10 In the feature class list, select the feature classes to include in the map.

324 | Chapter 3 Bringing In Data

If this feature source contains only a single feature class, that feature class
is selected automatically. If it contains multiple feature classes, you can
right-click any of them and select Select All or Select None.
11 Click Add To Map.
To bring in a subset of the data, click the down arrow and select Add To
Map With Query (page 309). To filter data after you’ve added the data to
your map, see Filtering Feature Layers (page 1216).
Features from the selected feature classes appear in your map. You can style,
theme, and edit the features.
If you need additional properties related to this data, you can connect
additional data to a feature source layer using a join (page 507).
To use AutoCAD Map 3D 2011 to access FDO data stores that were created
in AutoCAD Map 3D 2007 and earlier
1 Verify that you have the privileges required to execute the ALTER TABLE
request.
2 In the command line, enter the following:
cd /Fdo/bin/com

3 Do one of the following:
■

For SQL Server 2005, enter sqlcmd -UMyUserName -P MyPassword -S
SQLServerHostName -d MyDatastore -i AlterSchemaSQLServer.sql

■

For SQL Server 2000, enter isql -UMyUserName -P MyPassword -S
SQLServerHostName -d MyDatastore -i AlterSchemaSQLServer.sql

Quick Reference
Connect Feature Source
Connects a feature source
Menu

Click File ➤ Connect To Data.

Icon
Connect
Command Line

MAPCONNECT

Bringing In Features from SQL Server | 325

Task Pane

In Display Manager click Data ➤ Connect to Data.

Bringing In Features from SQL Server Spatial
AutoCAD Map 3D supports both SQL Server (page 323) and SQL Server Spatial.
For SQL Server Spatial, AutoCAD Map 3D supports native SQL Server Spatial
data with SQL Server 2008 SP1. If you are using SQL Server 2008, we
recommend using the SQL Server Spatial provider. While the SQL Server Spatial
provider does not read datastores created by the older SQL Server provider,
you can use Bulk Copy (page 617) to move the data into that format.
When you view and edit features from a SQL Server Spatial data source, you
can do the following:
■

Use either Windows or SQL Server authentication.

■

Select the feature classes to include in your map.

■

Set conditions to limit the features in your map.

■

Style, theme, and edit the features.

■

Automatically update the data source with any edits you make.
Your edits are immediately visible to anyone else using the data source.

■

View and edit the schema definition.

■

Create a SQL Server Spatial data source.
A geographic type column is created for the geodetic coordinate system.
For other systems, a geometric type column is created. Spatial indexes are
created automatically for these geometry properties using default spatial
index parameters. You can override the defaults using the API.
You can include FDO metadata when you create a SQL Server data store.

■

Move other geospatial data (for example, SHP data) into SQL Server Spatial,
to take advantage of better data sharing.

NOTE If you close a drawing that uses a SQLServerSpatial connection and then
reopen that drawing, you will need to first reconnect to the SQLServerSpatial
connection and provide your user name and password. This information is not
remembered once the drawing is closed.

326 | Chapter 3 Bringing In Data

NOTE You can customize the SQL Server Spatial FDO provider (page 2063). The
API has custom commands to support schema read/write and geospatial and
non-geospatial data read/write. For more information, refer to the FDO API Reference
and the FDO Provider for SQL Server API Reference.

Dealing With Invalid Geometry
SQL Server Spatial validates geometry objects that are added to the database.
It validates the values of geometry columns after they are added. As a result,
some geometries are flagged as invalid, even though they are saved. This
usually affects polygons (for example, polygons that are not closed) and spikes
in geometry. Validation is based on OGC rules.
Querying invalid geometries using a spatial filter (for example, using an
expression) generates an error and the query fails. This affects SQL Server
geometry (but not SQL Server geography).
NOTE The FDO Provider for SQL Server Spatial uses the geography data type for
latitude/longitude coordinate systems and the geometry data type for all others.
The geography data type does not retain invalid geometry values and rejects them
right away. It does not support the STIsValid() or IsValid(geometry) functions
described below.

How Invalid Geometry is Handled
The FDO Provider for SQL Server Spatial recognizes that invalid geometries
may exist in a table that is being processed. The provider includes code to
avoid having queries fail, using the following strategies:
■

A query with no spatial filter returns all data.

■

A query with a spatial filter skips invalid geometries so that the query does
not fail altogether. Valid geometries matching the spatial filter are returned.

■

A query using the FDO EnvelopeIntersects filter does not skip invalid
geometries if a spatial index is included on the geometry column. In this
special-case combination, SQL Server Spatial does not fail on the query
because it doesn’t process the details of the geometry. MapGuide uses this
type of filter as its default selection filter.

AutoCAD Map 3D and MapGuide can draw these invalid geometries without
a problem.

Bringing In Features from SQL Server Spatial | 327

Using Expressions to Find Invalid Geometry
SQL Server provides a function called STIsValid() that returns 1 for valid
geometries and 0 for invalid geometries. FDO exposes access to that function
using a function called IsValid(geometry) at the FDO level. You can use this
function in AutoCAD Map 3D and MapGuide when you create an expression
to filter or select data. If you select data using no filter or using just the
EnvelopeIntersects filter, you can create a calculated property in the Data
Table using the IsValid function to see which geometries are valid or invalid.

Correcting Invalid Geometry
SQL Server Spatial also provides a function you can use to correct invalid
geometries on the server. You cannot use this function from within AutoCAD
Map 3D and MapGuide, but you can use it directly against SQL Server, for
instance, using Management Studio. Here is an example of this method:
update dbo.road set geom = geom.MakeValid() where geom.STIsValid()
= 0;

This operation makes the geometry valid by modifying its invalid parts. You
may prefer to edit the geometry yourself, rather than use a default correction
with uncertain results.
For more information on the STIsValid() and MakeValid() functions, as well
as other aspects of SQL Server Spatial, consult the SQL Server Spatial online
documentation.
See also:
■

Working with SQL Server Spatial Data (page 561)

■

Bringing In Features from SQL Server (page 323)

■

Creating FDO-Enabled SQL Server Spatial Data Stores (page 590)

■

Migrating Data (page 615)

■

Styling Features (page 639)

■

To create a map with styled feature layers (page 641)

■

To edit a feature using feature editing commands (page 705)

To bring in features from SQL Server Spatial
1 In Display Manager (page 2060), click Data ➤ Connect To Data.

328 | Chapter 3 Bringing In Data

2 In the Data Connect window, select Add SQL Server Spatial Connection
in the Data Connections By Provider list.
3 Under Connection Name, type a name for this connection.
You can give the connection any name you like. This name appears in
Map Explorer as the name of the feature source.
4 Enter the Service Name and click Login.
The service name is set when you install SQL Server Spatial itself.
5 In the User Credentials dialog box (page 1610), specify the login credentials
to use to log into this data store.
■

To use your Windows Authentication credentials, select Windows
Authentication and click Login.

■

To use your SQL Server login credentials, enter your user name and
password and click Login.

6 In Data Connect, under Data Store, enter the data store name. If you do
not know this name, check with your System Administrator.
To select from a list of data stores, click the down arrow. AutoCAD Map
3D connects to the specified server and instance and lists the available
data stores.
7 Click Connect.
8 In the feature class list, select the feature classes to include in the map.
If this feature source contains only a single feature class, that feature class
is selected automatically. If it contains multiple feature classes, you can
right-click any of them and select Select All or Select None.
9 Click Add To Map.
To bring in a subset of the data, click the down arrow and select Add To
Map With Query (page 309). To filter data after you’ve added the data to
your map, see Filtering Feature Layers (page 1216).

Quick Reference
Connect Feature Source
Connects a feature source
Menu

Click File ➤ Connect To Data.

Bringing In Features from SQL Server Spatial | 329

Icon
Connect
Command Line

MAPCONNECT

Task Pane

In Display Manager click Data ➤ Connect to Data.

Bringing In Features From SQLite
When you view and edit features from a SQLite file, you can do the following:
■

Select the feature classes to include in your map.

■

Set conditions to limit the features in your map.

■

Style, theme, and edit the features.

■

Automatically update the data source with any edits you make.
Your edits are visible as soon as another person views the saved data file.

■

View and edit the schema definition.

■

Move data from other geospatial sources (for example, SHP data) into
SQLite, to take advantage of better data sharing.

You can bring SQLite data into your map in two ways:
■

Use Data Connect to view and edit the data directly in the SQLite file. Use
this method to edit geometry and attributes or to style and theme the data.
For information, click the Procedure tab at the top of this Help topic.

■

Import the data into the current map, which converts the SQLite data to
drawing objects. Use this method to clean the data or to create a DWG
file. You can export the objects back to SQLite.

See also:
■

Working with SQLite Data (page 565)

■

Styling Features (page 639)

■

To create a map with styled feature layers (page 641)

■

To edit a feature using feature editing commands (page 705)

■

Converting Data From Other Formats to Drawing Objects (page 377)

330 | Chapter 3 Bringing In Data

■

Converting and Exporting (page 1403)

■

Migrating Data (page 615)

■

Editing a Schema (page 610)

To bring in features from SQLite
1 In the Display Manager (page 2060), click Data ➤ Connect To Data.
2 In the Data Connect window, select Add SQLite Connection in the Data
Connections By Provider list.
3 Under Connection Name, type a name for this connection.
You can give the connection any name you like. This name appears in
Map Explorer as the name of the feature source.
4 Under Source File, specify the file.
5 Click Connect.
6 In the feature class list, select the feature classes to include in the map.
If this feature source contains only a single feature class, that feature class
is selected automatically. If it contains multiple feature classes, you can
right-click any of them and select Select All or Select None.
7 Verify that the coordinate systems are correct. You can change an incorrect
coordinate system if necessary (page 311).
8 Click Add To Map.
To bring in a subset of the data, click the down arrow. Select Add To Map
With Query (page 309). To filter data after you’ve added the data to your
map, see Filtering Feature Layers (page 1216).
Features from the selected feature classes appear in your map. You can style,
theme, and edit the features.
If you need additional properties related to this data, you can use a join (page
507).

Bringing In Features From SQLite | 331

Bringing In Features from MySQL
When you view and edit features from a MySQL data source, you can do the
following:
■

Select the feature classes to include in your map.

■

Set conditions to limit the features in your map.

■

Style, theme, and edit the features.

■

Automatically update the data source with any edits you make.
Your edits are immediately visible to anyone else using the data source.

■

Use a data store set up for AutoCAD Map 3D or in other applications. If
your data source schema is not set up to work with AutoCAD Map 3D, for
example, AutoCAD Map 3D creates a custom mapping so you can use the
data in your map.

■

View and edit the schema definition.

■

Create a MySQL data source.

■

Move data from other geospatial sources (for example, SHP data) into
MySQL, to take advantage of better data sharing.

For AutoCAD Map 3D 2011, the recommended version of MySQL is 5.0.27.
In the 2008 release of AutoCAD Map 3D, a new column called geometrytype
was added to the table named F_AttributeDefinition. To use AutoCAD Map
3D 2011 to access FDO data stores that were created in AutoCAD Map 3D
2007 and earlier, you must first connect to the data store containing this table
and run a SQL script. Instructions for this are on the Procedure tab of this
topic.
NOTE The MySQL architecture supports different storage engines, each with
varying characteristics and capabilities. The API has custom commands for gathering
information, transmitting exceptions, getting lists of accessible data stores, and
creating connection objects. There is support for spatial data types and spatial
query operations. For more information, refer to the FDO API Reference and the
FDO Provider for MYSQL API Reference.
See also:
■

Working with MySQL Data (page 567)

■

Creating a Data Store (page 586)

332 | Chapter 3 Bringing In Data

■

Migrating Data (page 615)

■

Styling Features (page 639)

■

To create a map with styled feature layers (page 641)

■

To edit a feature using feature editing commands (page 705)

To bring in features from MySQL
1 Before connecting to a MySQL database, install the library file libmysql.dll.
2 In Display Manager (page 2060), click Data ➤ Connect To Data.
3 In the Data Connect window, select Add MySQL Connection in the Data
Connections By Provider list.
4 Under Connection Name, type a name for this connection.
You can give the connection any name you like. This name appears in
Map Explorer as the name of the feature source.
5 Under Service Name, enter the information for the MySQL data source.
If you do not know the name, check with your System Administrator.
6 Click Login.
7 In the User Credentials dialog box (page 1610), enter your user name and
password.
Optionally, select Remember Password if you want AutoCAD Map 3D to
log you in whenever you open this drawing.
8 Click OK.
9 In Data Connect, under Data Store, enter the data store name. If you do
not know this name, check with your System Administrator.
To select from a list of data stores, click the down arrow. AutoCAD Map
3D connects to the specified server and instance and lists the available
data stores.
NOTE If the data store is not in the list, it may not use a AutoCAD Map 3D
schema. Select Show All Data Stores to add these to the list. AutoCAD Map
3D creates a mapping to use these data stores with AutoCAD Map 3D.
10 Click Connect.
11 In the feature class list, select the feature classes to include in the map.

Bringing In Features from MySQL | 333

If this feature source contains only a single feature class, that feature class
is selected automatically. If it contains multiple feature classes, you can
right-click any of them and select Select All or Select None.
12 Click Add To Map.
To bring in a subset of the data, click the down arrow and select Add To
Map With Query (page 309). To filter data after you’ve added the data to
your map, see Filtering Feature Layers (page 1216).
Features from the selected feature classes appear in your map. You can style,
theme, and edit the features.
If you need additional properties related to this data, you can connect
additional data to a feature source layer using a join (page 507).
To use AutoCAD Map 3D 2011 to access FDO data stores that were created
in AutoCAD Map 3D 2007 and earlier
1 Verify that you have the privileges required to execute the ALTER TABLE
request.
2 In the command line, enter the following:
cd /Fdo/bin/com
mysql --user=MyUserName --password=MyPasswordMyDatabase
 MyLogFile
quit

Quick Reference
Connect Feature Source
Connects a feature source
Menu

Click File ➤ Connect To Data.

Icon
Connect
Command Line

MAPCONNECT

Task Pane

In Display Manager click Data ➤ Connect to Data.

334 | Chapter 3 Bringing In Data

Bringing In Features from SHP
You can access existing spatial and attribute data in ESRI SHP files, which store
both geometry and attributes (data) for features. A single shape can have
several separate files: SHP (shape geometry), SHX (shape index), PRJ (projection
information), CPG (code page files), IDX (spatial index), and DBF (shape
attributes in dBASE format). AutoCAD Map 3D treats each SHP and associated
DBF file as a feature class with a single geometry property.
When you connect to or import SHP polygon data, AutoCAD Map 3D checks
the geometry to see if there are multiple closed outer loops. If so, it treats the
geometry as multi-polygon (a polygon with multiple exterior rings). It does
not treat unclosed outer loops as multi-polygon.
When you create a multi-polygon in AutoCAD Map 3D and then save or
export it to SHP format, it will appear in its native SHP file as a multi-polygon.
If you brought in this type of geometry in a previous release and added styling,
you may need to update the style definitions.
When you view and edit features from a SHP data source, you can do the
following:
■

Select the feature classes to include in your map.

■

Set conditions to limit the features in your map.

■

Style, theme, and edit the features.

■

Lock the file when you connect to it.

■

Automatically update the data source with any edits you make.

■

View and edit the schema definition.

You can bring SHP data into your map in two ways:
■

Use Data Connect to view and edit the data directly in the SHP file. Use
this method to edit geometry and attributes or to style and theme the data.
For information, click the Procedure tab at the top of this Help topic.

■

Import the data into this drawing, which converts it to drawing objects.
Use this method to clean the data or to create a DWG file. You can export
the objects back to SHP format.

NOTE For information on customizing the SHP FDO provider (page 2063), refer to
the FDO API Reference and the FDO Provider for SHP API Reference.

Bringing In Features from SHP | 335

See also:
■

Converting Data From Other Formats to Drawing Objects (page 377)

■

Converting and Exporting (page 1403)

■

Working with SHP Data (page 572)

■

Styling Features (page 639)

■

To create a map with styled feature layers (page 641)

■

To edit a feature using feature editing commands (page 705)

To bring in features from SHP
1 In Display Manager (page 2060), click Data ➤ Connect To Data.
2 In the Data Connect window, select Add SHP Connection in the Data
Connections By Provider list.
3 Under Connection Name, type a name for this connection.
You can give the connection any name you like. This name appears in
Map Explorer as the name of the feature source.
4 Under Source File Or Folder, specify the location of the file. To include
multiple files in a group, specify a folder.
Click

to browse to a file. Click the folder icon to browse to a folder.

5 Click Connect.
6 In the feature class list, select the feature classes to include in the map.
If this feature source contains only a single feature class, that feature class
is selected automatically. If it contains multiple feature classes, you can
right-click any of them and select Select All or Select None.
7 Verify that the coordinate systems are correct. You can change an incorrect
coordinate system if necessary (page 311).
8 Click Add To Map.
To bring in a subset of the data, click the down arrow and select Add To
Map With Query (page 309). To filter data after you’ve added the data to
your map, see Filtering Feature Layers (page 1216).
Features from the selected feature classes appear in your map. You can style,
theme, and edit the features.

336 | Chapter 3 Bringing In Data

If you need additional properties related to this data, you can connect
additional data to a feature source layer using a join (page 507).

Quick Reference
Connect Feature Source
Connects a feature source
Menu

Click File ➤ Connect To Data.

Icon
Connect
Command Line

MAPCONNECT

Task Pane

In Display Manager click Data ➤ Connect to Data.

Bringing In Features from SDF
You can access spatial and attribute data in an Autodesk Spatial Data File (SDF).
SDF supports spatial indexing and can store geometric and non-geometric
data with minimum overhead.
When you view and edit features from an SDF data source, you can do the
following:
■

Select the feature classes to include in your map.

■

Set conditions to limit the features in your map.

■

Style, theme, and edit the features.

■

Automatically update the data source with any edits you make.

■

View and edit the schema definition.

■

Move SDF data into other geospatial formats, to take advantage of better
data sharing

NOTE The procedures here apply to the current version of SDF (SDF3). For SDF
2 files (created for MapGuide version 6.5 or earlier), you cannot use these
procedures. Instead, import (page 389) the file.

Bringing In Features from SDF | 337

You can bring SDF data into your map in three ways:
■

Use Data Connect to view and edit the data directly in the SDF file. Use
this method to edit geometry and attributes or to style and theme the data.
For information, click the Procedure tab at the top of this Help topic.

■

Import the data into the current map, which converts the SDF data to
drawing objects. Use this method to clean the data or to create a DWG
file. You can export the objects back to SDF.

■

For SDF 2 files (created for MapGuide version 6.5 or earlier), use the separate
SDF 2 Import (page 389) and SDF 2 Export (page 1417) commands.

NOTE For information on customizing this provider, refer to the FDO API Reference
and the FDO Provider for SDF API Reference.
See also:
■

Editing a Schema (page 610)

■

Importing Autodesk SDF 2 (page 389)

■

Converting Data From Other Formats to Drawing Objects (page 377)

■

Converting and Exporting (page 1403)

■

Working with SDF Data (page 569)

■

Migrating Data (page 615)

■

Styling Features (page 639)

■

To create a map with styled feature layers (page 641)

■

To edit a feature using feature editing commands (page 705)

To bring in features from SDF
1 In the Display Manager (page 2060), click Data ➤ Connect To Data.
2 In the Data Connect window, select Add SDF Connection in the Data
Connections By Provider list.
3 Under Connection Name, type a name for this connection.
You can give the connection any name you like. This name appears in
Map Explorer as the name of the feature source.
4 Under Source File, specify the file.

338 | Chapter 3 Bringing In Data

5 Click Connect.
6 In the feature class list, select the feature classes to include in the map.
If this feature source contains only a single feature class, that feature class
is selected automatically. If it contains multiple feature classes, you can
right-click any of them and select Select All or Select None.
7 Verify that the coordinate systems are correct. You can change an incorrect
coordinate system if necessary (page 311).
8 Click Add To Map.
To bring in a subset of the data, click the down arrow and select Add To
Map With Query (page 309). To filter data after you’ve added the data to
your map, see Filtering Feature Layers (page 1216).
Features from the selected feature classes appear in your map. You can style,
theme, and edit the features.
If you need additional properties related to this data, you can connect
additional data to a feature source layer using a join (page 507).
NOTE For SDF files created for MapGuide version 6.5 or earlier, you cannot use
this procedure. Instead, import (page 389) the file.

Quick Reference
Connect Feature Source
Connects a feature source
Menu

Click File ➤ Connect To Data.

Icon
Connect
Command Line

MAPCONNECT

Task Pane

In Display Manager click Data ➤ Connect to Data.

Bringing In Features from SDF | 339

Bringing in Features from PostgreSQL/PostGIS
The OSGeo FDO provider for PostgreSQL/PostGIS has 32-bit and 64-bit versions
on Windows and Linux. For AutoCAD Map 3D, it is certified for PostGIS 1.4.0
with PostgreSQL 8.4.
PostGIS adds support for geographic objects to the PostgreSQL object-relational
database so that the PostgreSQL server can be used as a back end spatial
database for GIS. When you view and edit features from a PostgreSQL data
source, you can do the following:
■

Select the feature classes to include in your map.

■

Set conditions to limit the features in your map.

■

Style, theme, and edit the features.

■

Automatically update the data source with any edits you make.
Your edits are immediately visible to anyone else using the data source.

■

View and edit the schema definition.

■

Create a PostgreSQL data source.

■

Move other geospatial data (for example, SHP data) into PostgreSQL, to
take advantage of better data sharing.

Setting Up PostgreSQL for Use with AutoCAD Map 3D
For a 32-bit environment
When you install AutoCAD Map 3D, the following DLL files are installed in
the AutoCAD Map 3D\FDO\BIN directory on the computer on which you run
AutoCAD Map 3D:
■

comerr32.dll

■

krb5_32.dll

■

libeay32.dll

■

libiconv-2.dll

■

libintl-2.dll

■

libpq.dll

■

ssleay32.dll

340 | Chapter 3 Bringing In Data

■

gssapi32.dll

■

iconv.dll

■

k5sprt32.dll

If you need to replace these files, copy them from the server bin directory
(C:\Program Files\PostgreSQL\8.4\bin) into the path or the AutoCAD Map
3D\FDO\BIN directory on the computer on which you run AutoCAD Map
3D.

For a 64-bit environment
For a 64-bit client, the following DLL files are installed in the AutoCAD Map
3D\FDO\BIN directory on the computer on which you run AutoCAD Map
3D:
■

libeay32.dll

■

libpq.dll

■

ssleay32.dll

NOTE You must install the 64-bit client DLL on 64-bit machines. You cannot
install the 32-bit client.
See also:
■

Working with PostgreSQL/PostGIS Data (page 574)

■

Creating a Data Store (page 586)

■

Migrating Data (page 615)

■

Styling Features (page 639)

■

To create a map with styled feature layers (page 641)

■

To edit a feature using feature editing commands (page 705)

To bring in features from PostgreSQL/PostGIS
1 In Display Manager (page 2060), click Data ➤ Connect To Data.
2 In the Data Connect window, select Add PostgreSQL Connection in the
Data Connections By Provider list.

Bringing in Features from PostgreSQL/PostGIS | 341

3 Under Connection Name, type a name for this connection.
You can give the connection any name you like. This name appears in
Map Explorer as the name of the feature source.
4 Enter the Service Name and click Login.
The service name is set when you install the PostgreSQL server.
5 In the User Credentials dialog box (page 1610), specify the login credentials
to use to log into this data store.
6 In Data Connect, under Data Store, enter the data store name. If you do
not know this name, check with your System Administrator.
To select from a list of data stores, click the down arrow. AutoCAD Map
3D connects to the specified server and instance and lists the available
data stores.
7 Click Connect.
8 In the feature class list, select the feature classes to include in the map.
If this feature source contains only a single feature class, that feature class
is selected automatically. If it contains multiple feature classes, you can
right-click any of them and select Select All or Select None.
9 Click Add To Map.
To bring in a subset of the data, click the down arrow and select Add To
Map With Query (page 309). To filter data after you’ve added the data to
your map, see Filtering Feature Layers (page 1216).

Accessing Data from ODBC
Use an ODBC connection to access attribute or point data in Microsoft Access,
Microsoft Excel, or dBASE.
Attribute data allows you to join information from a non-geometry source to
a geometric feature. For example, you can join assessor data to a parcel layer.
For information about joins, see Joining Data to GIS Features (page 507).
Point data can include survey points, LiDAR (page 2066) data, or GPS data, which
is typically specified either by Latitude and Longitude columns or by XY
coordinates.
By default, AutoCAD Map 3D maps each table in the database to a “feature
class” while each column becomes a “property.”

342 | Chapter 3 Bringing In Data

When you view and edit data from an ODBC database, you can do the
following:
■

Select the feature classes to include in your map.

■

Set conditions to limit the features in your map.

■

Style, theme, and edit the features.

■

Lock the file when you connect to it.

■

Automatically update the data source with any edits you make.
Your edits are immediately visible to anyone else using the data source.

■

Define feature classes for any relational database table with X, Y (and,
optionally, Z) columns. Object locations are stored in separate properties
in the object definition of a feature, which is accessible through the
Geometry class property. You cannot create or delete feature schemas.

Microsoft Excel Data
To access Microsoft Excel data, you must define table ranges in Excel. These
named ranges in the worksheet can then be treated as separate ODBC tables,
with each one mapping to an FDO (page 2062) feature class. If you do not define
named ranges, no feature classes are available to add to your map. Instructions
for defining a table range are on the Procedure tab of this topic.

Microsoft Access Data
Some Microsoft Access databases have autogenerated primary keys. You can
load data from Microsoft Access databases without these primary keys and
use that data for joins, and so on, However, without a primary key you cannot
create and update data.
To perform a AutoCAD Map 3D location query in a Microsoft Access database
that contains long integer values (longs), use the tools in Access to remove
the indexes from location-based x/y columns.
NOTE For information on customizing this provider, refer to the FDO API Reference
and the FDO Provider for ODBC API Reference.

Tell me more
■
Video

Show me how to bring in point data
from an ODBC database.

Accessing Data from ODBC | 343

■

To create a DSN in Windows XP (page
345)

■

To access ODBC data (page 344)

■

Lesson 2: Analyze Data With External
Information Using Joins

■

Join Attribute Data to a Geospatial
Feature

■

Bring in point data from a Microsoft Access database

■

About Geospatial Feature Classes, Data
Stores, and Schemas (page 551)

■

Working with ODBC Data (page 576)

Procedure

Tutorial

Workflow

GIS Skill

Related topics

■

To access ODBC data (page 344)

■

To create a DSN in Windows XP (page 345)

■

To define the table ranges required to access Excel data (page 346)

To access ODBC data
1 In the Display Manager (page 2060), click Data ➤ Connect To Data.
2 In the Data Connect window, select Add ODBC Connection in the Data
Connections By Provider list.
3 Under Connection Name, type a name for this connection.
You can give the connection any name you like. This name appears in
Map Explorer as the name of the feature source.
4 Under Source Type, select one of the following:
■

Data Source Name (DSN) — Use a DSN you have defined in your
Windows Control Panel. See the following.

344 | Chapter 3 Bringing In Data

■

Connection String — The connection string specifies the driver and
path to use.

5 Under source, specify the table.
■

Data Source Name (DSN) — Click the browse button and select the
DSN.

■

Connection String — Specify the driver and path. For a Microsoft
Access database, use the format:
Driver={Microsoft Access Driver
(*.mdb)};DBQ=pathname\filename.mdb

Where pathname\filename.mdb is the complete path and filename of
the Microsoft Access database. Note the curly braces and the space
before “(*.mdb)” For more information, see the ODBC documentation
on the Microsoft Web site.
6 If required by the table, enter your user name and password.
7 Click Connect.
8 Under Add Data To Map, select the tables.
9 For each table, specify the coordinate system.
10 Specify the columns to use for point geometry. This can be
latitude/longitude or X, Y, and Z Coordinates. To specify the column
name, click in the field, then click the down arrow to choose from a list
of column names.
11 Click Add To Map.
If Add To Map is grayed out, check that you have specified the coordinate
system and X and Y columns for the table.
To create a DSN in Windows XP
1 From your Windows desktop, click Start menu ➤ Settings ➤ Control
Panel and open the Administrative Tools control panel.
2 Double-click Data Sources (ODBC).
3 In the ODBC Data Source Administrator, click User DSN or System DSN.
A User DSN is visible only to you. A System DSN is visible to all users on
the current machine.
4 Click Add and select the driver to use.

Accessing Data from ODBC | 345

For example, to create a DSN for an Access database, select Microsoft
Access Driver.
5 In the ODBC Microsoft Access dialog box enter information about the
data. When you finish, click OK. Click OK again to close the ODBC Data
Source Administrator dialog box.
The DSN you defined appears in the DSN list in the Data Connect window.
To define the table ranges required to access Excel data
1 In Excel, open the Excel worksheet.
2 Select all the data.
3 Define a named range.
4 Enter a name for the feature class, for example, Country_Literacy.
5 Close Excel.

Quick Reference
Connect Feature Source
Connects a feature source
Menu

Click File ➤ Connect To Data.

Icon
Connect
Command Line

MAPCONNECT

Task Pane

In Display Manager click Data ➤ Connect to Data.

Bringing In Features from WFS
You can bring in web-based features that have been published to a public web
server using the WFS (Web Feature Service) open standard developed by the
Open GIS Consortium (OGC).
NOTE This topic applies to geospatial data. To bring in drawing (DWG) objects,
see Overview of Bringing in Drawing Data From DWG Files (page 351).

346 | Chapter 3 Bringing In Data

Once you have located the WFS data you want, determine the URL of the page
that serves the published layers. Often, this is not a standard web page that
you can open in a browser, but a page that has been programmed using a
scripting language such as CGI, PHP, or ASP. See the following for some
examples. You paste the address into the Data Connect window in AutoCAD
Map 3D to access the data on that page.
When you bring in features from a WFS data source, you can do the following:
■

Select the feature classes to include in your map.

■

Set conditions to limit the features in your map.

■

Reproject the data to the coordinate system of your map. Attribute data
may also be available for the WFS layers.

■

Style and theme features. You cannot edit features from a WFS data source.

Example WFS Data Sources
WFS Data Source

Description

http://demo.cubewerx.com/demo/cubeserv/cubeserv.cgi?datastore=Foundation

Data layers such as boundaries, terrains,
physiography, utilities, and more.

http://regis.intergraph.com/wfs/dcmetro/request.asp?

Virginia, USA Census tracts, Congressional
districts, counties, interstates, POI, and
places.

NOTE For information on customizing this provider, refer to the FDO API Reference
and The Essential FDO.

Tell me more
■

Show me how to bring in data from a
web server using WMS

■

To bring in features from WFS (page
348)

■

To work with WFS data (page 582)

■

Access data published on a public web
server

Video

Procedure

GIS Skill

Bringing In Features from WFS | 347

Related topics

■

Working with WFS Data (page 581)

■

Adding an Image from a WMS (Web
Map Service) (page 445)

■

Styling Features (page 639)

To bring in features from WFS
NOTE This topic applies to geospatial data. To bring in drawing (DWG) objects,
see Overview of Bringing in Drawing Data From DWG Files (page 351).
1 In the Display Manager (page 2060), click Data ➤ Connect To Data.
2 In the Data Connect window, select Add WGS Connection in the Data
Connections By Provider list.
3 Under Connection Name, type a name for this connection.
You can give the connection any name you like. This name appears in
Map Explorer as the name of the feature source.
4 Under server name, specify the URL for the WFS server. Click the down
arrow to choose from a list of recently used URLs.
5 If necessary, enter your user name and password.
6 Click Connect.
7 In the Add Data To Map area, select the feature classes to include.
If this feature source contains only a single feature class, that feature class
is selected automatically. If it contains multiple feature classes, you can
right-click any of them and select Select All or Select None.
8 For each feature class you select, verify the coordinate system. You can
change an incorrect coordinate system if necessary (page 311).
9 Click Add To Map.
To bring in a subset of the data, click the down arrow and select Add To
Map With Query (page 309). To filter data after you’ve added the data to
your map, see Filtering Feature Layers (page 1216).
Features from the selected feature classes appear in your map. If you need
additional properties related to this data, you can connect additional data to
a feature source layer using a join (page 507).

348 | Chapter 3 Bringing In Data

Quick Reference
Connect Feature Source
Connects a feature source
Menu

Click File ➤ Connect To Data.

Icon
Connect
Command Line

MAPCONNECT

Task Pane

In Display Manager click Data ➤ Connect to Data.

Repairing Broken Feature Connections
NOTE This topic applies to geospatial data. To bring in drawing (DWG) objects,
see Overview of Bringing in Drawing Data From DWG Files (page 351).
If a data file moves from its original location, you may get an error when you
open the map that references that data. For example, someone else might
create a map using an SDF file. That person then sends the map and SDF file
to you. If you store the SDF file with a different path name than the one used
by the original map creator, AutoCAD Map 3D displays an error.

To resolve this problem, you must reconnect the data using the correct path.
By doing so, you maintain styling information.
TIP To avoid this problem, use eTransmit to package and transfer files for a map.
Although this method does not work for database data (such as Oracle or SQL
Server data stores), it preserves the connections of all file-based data, such as SDF
and SHP.

Repairing Broken Feature Connections | 349

See also:
■

Using eTransmit (page 1376)

To reconnect to feature data without losing styling information
NOTE This topic applies to geospatial data. To bring in drawing (DWG) objects,
see Overview of Bringing in Drawing Data From DWG Files (page 351).
1 In Data Connect, select the data connection that is broken.
For example, select SDF_1, if the first SDF connection is broken.
2 For Source File Or Folder, type or browse to the correct data store location.
3 Click Connect, but do not click Add.
Clicking Add creates a new layer in your map, without the styling
information from the original layer.

Bringing In Drawing Data From DWG Files
NOTE This topic applies to AutoCAD drawing objects. To bring in geospatial data,
see Overview of Bringing In GIS Features (page 305).
Your map can include drawing objects from the current drawing or from other
drawings. To include objects from other drawings, you must first attach those
drawings to your map.
NOTE To open a DWG file that was created with, or contains, feature source
provider data, do not double-click the icon that represents the file. Click
Open ➤ Drawing.

➤

Each set of objects you select is stored in a layer in Display Manager. A layer
that includes drawing objects is a drawing layer (page 2060).
Drawing layers in Display Manager are different from “classic” AutoCAD layers
that you see in the AutoCAD Layer Properties Manager. AutoCAD users who
do not have AutoCAD Map 3D do not have Display Manager and so cannot
see Display Manager layers.
You style AutoCAD layers using the Layer Properties Manager. When you
bring in data by object class, location, property, or query, and store that data
in a Display Manager drawing layer, you can style and theme the layer using

350 | Chapter 3 Bringing In Data

Display Manager tools, and use the mapping and GIS tools available in
AutoCAD Map 3D.
See also:
■

Attaching a Drawing (page 157)

■
■

Use these procedures to bring drawing objects into your map (page 354)
To bring in drawing objects from AutoCAD layers in the current drawing
(page 356)
To bring in drawing objects based on object classes in the current drawing
(page 357)
To bring in drawing objects based on location (page 359)
To bring in drawing objects based on object properties (page 362)
To bring in drawing objects based on object data or external (SQL) data
(page 364)
To bring in drawing objects based on object data (page 364)
To bring in drawing objects based on external (SQL) data (page 365)
To bring in drawing objects based on topology (page 367)
To bring in drawing objects by combining query conditions (page 369)

■
■
■
■
■
■
■
■

Overview of Bringing in Drawing Data From DWG Files

This map of an electrical distribution system is based on several attached DWG files.

Overview of Bringing in Drawing Data From DWG Files | 351

NOTE This topic applies to AutoCAD drawing objects. To bring in geospatial data,
see Overview of Bringing In GIS Features (page 305).
You can include drawing objects in your map so you can view, edit, style, and
theme them.
You can select objects from the current drawing and from attached drawings.
For information about attached drawings, see Attaching Drawings (page 154).
Each set of objects you select is stored in a drawing layer (page 2060) in Display
Manager.
When you create a
drawing layer based
on...

It includes...

From...

AutoCAD Layer (page
355)

All the objects on the selected
AutoCAD layer

The current drawing

Object class (page 356)

All the objects in the selected object
class

The current drawing

Topology (page 367)

All the objects in the selected topology

The current drawing

Location (page 358)

All the objects in the specified location

The current drawing, attached source drawings,
or a selected topology

Object property (page
361)

All objects that have the selected
property, such as elevation, layer,
or area

The current drawing, attached source drawings,
or a selected topology

Attached data (page 363)

All objects with the specified data,
such as object data or linked records
from an external database

The current drawing, attached source drawings,
or a selected topology

352 | Chapter 3 Bringing In Data

In this city map example, there are separate drawing layers for each set of
entities comprising the water system.

Use the Display Manager check boxes to turn off layers, which hides the objects
on that layer, or to turn off styles, which displays the drawing objects on that
layer without styles. For more information on styling drawing layers, see
Overview of Styling Drawing Layers (page 652).

Map Base
Objects in the current drawing that are not included in any layer are included
in the Map Base layer. You can hide all objects on this layer.
NOTE Objects from attached drawings that you have queried into the current
drawing using a standard query are added to the Map Base layer. To style these
objects separately in your map, create a query to bring them into the display.

Overview of Bringing in Drawing Data From DWG Files | 353

Tell me more
■

Show me how to run a query on a set of
attached DWG files.

■

Show me how to include an AutoCAD
layer in Display Manager.

■

To bring drawing objects into your
map (page 354)

■

To bring in drawing objects from
AutoCAD layers in the current drawing
(page 356)

■

Exercise 2: Attach a drawing file

■

Create a CAD Map

■

Include AutoCAD layers in the Display
Manager

■

Bring in a subset of features using a
query

■

Attaching Drawings (page 154)

Video

Procedure

Tutorial

Workflow

GIS Skills

Related topics

Use these procedures to bring drawing objects into your map
NOTE This topic applies to AutoCAD drawing objects. To bring in geospatial data,
see procedures for bringing in geospatial data. (page 308).
■

To bring in drawing objects from AutoCAD layers in the current drawing
(page 356)

■

To bring in drawing objects based on object classes in the current drawing
(page 357)

■

To bring in drawing objects based on location (page 359)

■

To bring in drawing objects based on object properties (page 362)

354 | Chapter 3 Bringing In Data

■

To bring in drawing objects based on object data or external (SQL) data
(page 364)

■

To bring in drawing objects based on topology (page 367)

Quick Reference
ADEQUERY
Controls defining, modifying, saving, loading, and executing a query
Menu

In the Classic workspace, click Setup menu ➤ More
DWG Options ➤ Define Query

Icon
Define Query
Command Line

ADEQUERY

Task Pane

In Map Explorer, right-click Current Query ➤ Define
-or- Right-click a query ➤ Edit

Dialog Box

Define Query dialog box

Bringing In Drawing Objects from AutoCAD Layers
NOTE This topic applies to AutoCAD drawing objects. To bring in geospatial data,
see Overview of Bringing In GIS Features (page 305).
In your map, you can create a drawing layer (page 2060) in Display Manager that
includes all the objects from selected AutoCAD layers in the current drawing.
For example, you can create a layer that includes all the fire hydrants by
selecting the HYDRANT AutoCAD layer.
You can organize layers into groups. Grouping layers lets you quickly turn off
the display of all the objects in the group.
TIP To select just some of the objects on an AutoCAD layer, use a query to add
the objects to your map and combine several conditions. For example, select only
the fire hydrants within 1000 meters of a corporation yard.

Bringing In Drawing Objects from AutoCAD Layers | 355

To bring in drawing objects from AutoCAD layers in the current drawing
NOTE This topic applies to AutoCAD drawing objects. To bring in geospatial data,
see procedures for bringing in geospatial data. (page 308).
1 In Display Manager (page 2060), click Data ➤ Add Drawing Data ➤ Drawing
Layer.
2 In the Select Layers dialog box (page 1631), select the AutoCAD layers that
include the objects to display.
AutoCAD Map 3D creates a layer in Display Manager for each AutoCAD
layer you select.
3 To group the layers, select Group Selection.
If you combine the layers in a group, you can turn the display of the
group on or off.
4 Click OK.
The new layer appears in Display Manager. All objects on the selected AutoCAD
layer are included in this layer. If you selected multiple AutoCAD layers,
multiple layers are created in your map. To see the objects, you may need to
zoom to the drawing extents. Click Map Setup tab ➤ Map panel ➤ Zoom
Drawing Extents.

Quick Reference
New Display Manager Layer - AutoCAD Layer
Creates a new layer from AutoCAD layers in Display Manager
Task Pane

In Display Manager, click Data ➤ Add Drawing
Data ➤ Drawing Layer

Dialog Box

Select Display Element dialog box

Bringing In Drawing Objects by Object Class
NOTE This topic applies to AutoCAD drawing objects. To bring in geospatial data,
see Overview of Bringing In GIS Features (page 305).

356 | Chapter 3 Bringing In Data

In your map, you can create a drawing layer (page 2060) in Display Manager that
includes all the objects in an object class in the current drawing.
For example, to create a layer that includes all the primary roads, select the
PRIMARY_ROADS object class.
You can organize layers into groups. Grouping layers lets you quickly turn off
the display of all the objects in the group.
TIP To select just some of the objects in an object class, use a query to add the
objects to your map and combine conditions. For example, you can select only
the primary roads in the West quadrant of the county.
See also:
■

Combining Conditions (page 368)

■

Bringing In Drawing Objects from AutoCAD Layers (page 355)

■

Bringing In Drawing Objects Based on Topology (page 367)

■

Bringing In Drawing Objects by Location (page 358)

■

Bringing In Drawing Objects by Property (page 361)

■

Bringing In Drawing Objects Based on Attached Data (page 363)

■

Bringing in GIS Features (page 303)

To bring in drawing objects based on object classes in the current drawing
NOTE This topic applies to AutoCAD drawing objects. To bring in geospatial data,
see procedures for bringing in geospatial data. (page 308).
1 In Display Manager (page 2060), click Data ➤ Add Drawing Data ➤ Object
Class.
2 In the Select Classes dialog box (page 1631), select the object classes that
include the objects to display.
AutoCAD Map 3D creates a layer in Display Manager for each object class
you select.
3 To group the object class layers, select Group Selection.
If you combine the layers in a group, you can turn the display of the
group on or off.
4 Click OK.

Bringing In Drawing Objects by Object Class | 357

The new layer appears in Display Manager. All objects in the selected object
class are included in this layer. If you selected multiple object classes, multiple
layers are created. To see the objects, you may need to zoom to the drawing
extents. Click Map Setup tab ➤ Map panel ➤ Zoom Drawing Extents.

Quick Reference
New Display Manager Layer - Object Class
Creates a new object class layer in the Display Manager
Task Pane

In Display Manager, click Data ➤ Add Drawing
Data ➤ Object Class

Dialog Box

Select Object Classes dialog box

Bringing In Drawing Objects by Location
NOTE This topic applies to AutoCAD drawing objects. To bring in geospatial data,
see Overview of Bringing In GIS Features (page 305).
In your map, you can create a drawing layer (page 2060) in Display Manager that
includes the objects in a specified location. You can select from objects in the
current map, in attached drawings, or in a topology.
For example, you can select all utility poles within 100 feet of a specified road
or all parks within a specified quadrant of the city.
TIP You can use a query to combine a location condition with other conditions.
For example, you can find all parcels that are zoned residential and are within 500
meters of a contaminated well.

Tell me more
■

Show me how to run a query on a set of
attached DWG files.

■

To bring in drawing objects based on
location (page 359)

Video

Procedure

358 | Chapter 3 Bringing In Data

■

To bring in drawing objects by combining query conditions (page 369)

■

Exercise 3: Query in data from the
drawing

■

Create a CAD Map

■

Bring in a subset of features using a
query

■

Attaching Drawings (page 154)

■

Combining Conditions (page 368)

■

Bringing In Drawing Objects by Object
Class (page 356)

■

Bringing In Drawing Objects from
AutoCAD Layers (page 355)

■

Bringing In Drawing Objects by Property (page 361)

■

Bringing In Drawing Objects Based on
Attached Data (page 363)

Tutorial

Workflow

GIS Skill

Related topics

To bring in drawing objects based on location
NOTE This topic applies to AutoCAD drawing objects. To bring in geospatial data,
see procedures for bringing in geospatial data. (page 308).
1 Do one of the following:
■

In Display Manager (page 2060), click Data ➤ Add Drawing Data ➤
Query Current Drawing.

■

In Display Manager, click Data ➤ Add Drawing Data ➤ Query Source
Drawing. Be sure you have attached (page 154) the DWG files to query.

■

In Display Manager, click Data ➤ Add Drawing Data ➤ Query
Topology.

Bringing In Drawing Objects by Location | 359

2 In the Define Query dialog box (page 1838), click Location.
3 In the Location Condition dialog box (page 1849), select a boundary to
determine the type of area to query.
Select Fence to specify a new polyline; select Polyline to use an existing
polyline.
4 Choose a selection type:
■

Inside includes only objects that are completely inside the boundary.

■

Crossing includes all objects that are inside the boundary or crossing
the boundary.

5 If you select the Polyline boundary, specify a polyline mode.
6 To define the coordinates of the boundary, click Define and use any
AutoCAD Map 3D selection method to define the boundary.
7 Click OK.
8 Optionally, define another condition. See Combining Conditions (page
369).
9 In the Define Query dialog box, click OK.
The new layer appears in Display Manager. Objects that meet the conditions
of the query are included in this layer. To see the objects, you may need to
zoom to the drawing extents. Click Map Setup tab ➤ Map panel ➤ Zoom
Drawing Extents.

Quick Reference
New Display Manager Layer - Query
Creates a new query layer in Display Manager
Task Pane

In Display Manager, click Data ➤ Add Drawing Data
and then select a query type

Dialog Box

Define Query dialog box

360 | Chapter 3 Bringing In Data

Bringing In Drawing Objects by Property
NOTE This topic applies to AutoCAD drawing objects. To bring in geospatial data,
see Overview of Bringing In GIS Features (page 305).
In your map, you can create a drawing layer (page 2060) in Display Manager that
includes objects that have a specific property. You can select from objects in
the current map, or from objects in attached drawings.
For example, you can select all roads with a dashed linetype.
TIP You can combine a property condition with other conditions to create specific
queries. For example, you could find all parcels that are zoned Residential and
have an elevation lower than 50.
Additional Information
■

If an object has the property set to BYLAYER, it will be selected only if you
set the search value to BYLAYER.
For example, if you search for a DASHED linetype, you will get only objects
that have the linetype set to DASHED; you will not get objects that have
that linetype because they reside on a layer with a DASHED linetype. To
get these objects, you must set the search value to BYLAYER.

■

Custom objects do not appear in the Object Type values list until you load
the DBX module for the object.

■

Because topology information is stored in object data, use a data condition
to search for the following properties of topology objects: area, length,
perimeter, direction, direct resistance, and reverse resistance.

See also:
■

Attaching Drawings (page 154)

■

Combining Conditions (page 368)

■

Bringing In Drawing Objects from AutoCAD Layers (page 355)

■

Bringing In Drawing Objects by Object Class (page 356)

■

Bringing In Drawing Objects Based on Topology (page 367)

■

Bringing In Drawing Objects by Location (page 358)

■

Bringing In Drawing Objects Based on Attached Data (page 363)

Bringing In Drawing Objects by Property | 361

■

Bringing in GIS Features (page 303)

To bring in drawing objects based on object properties
NOTE This topic applies to AutoCAD drawing objects. To bring in geospatial data,
see procedures for bringing in geospatial data. (page 308).
1 Do one of the following:
■

In Display Manager (page 2060), click Data ➤ Add Drawing Data ➤ Query
Current Drawing.

■

In Display Manager, click Data ➤ Add Drawing Data ➤ Query Source
Drawing. Be sure you have attached (page 154) the DWG files to query.

■

In Display Manager, click Data ➤ Add Drawing Data ➤ Query
Topology.

2 In the Define Query dialog box (page 1838), click Property.
3 In the Property Condition dialog box (page 1855), select a property.
4 Select an operator.
For some properties, such as layer, the only available operator is = (equal).
5 Enter a value for the property.
To select from a list of values, click Values. For example, if you select the
layer property, click Values to display a list of layers in the drawings.
You can use wild-card characters to enter values for the following
properties: Block Name, Color, Text Style, Object Type, Group, Layer,
Feature Class, Linetype, and Plotstyle.
6 Click OK.
7 Optionally, define another condition. See Combining Conditions (page
369).
8 In the Define Query dialog box, click OK.
The new layer appears in Display Manager. Objects that meet the conditions
of the query are included in this layer. To see the objects, you may need to
zoom to the drawing extents. Click Map Setup tab ➤ Map panel ➤ Zoom
Drawing Extents.

362 | Chapter 3 Bringing In Data

Quick Reference
New Display Manager Layer - Query
Creates a new query layer in Display Manager
Task Pane

In Display Manager, click Data ➤ Add Drawing Data
and then select a query type

Dialog Box

Define Query dialog box

Bringing In Drawing Objects Based on Attached Data
NOTE This topic applies to AutoCAD drawing objects. To bring in geospatial data,
see Overview of Bringing In GIS Features (page 305).
In your map, you can add a drawing layer (page 2060) in Display Manager that
contains objects based on attribute data associated with the object, for example,
object data or data in a linked external database. Select from objects in the
current map, or from objects in attached drawings.
For example, if you have a linked database that lists pavement surfaces, you
can select all objects with a gravel pavement surface.
TIP Combine a data condition with other conditions to create specific queries.
For example, you could find all parcels that are zoned Residential and are within
500 yards of a contaminated well.
Notes
■

You cannot retrieve objects based on constant block attributes.

■

For Data queries, the Database Link option tests the link data stored on
the object, not the data in the database table. To retrieve objects based on
data in the linked database table, create a SQL condition.

■

Because topology information is stored in object data, use a data condition
to search for the following properties of topology objects: area, length,
perimeter, direction, direct resistance, and reverse resistance.

See also:
■

Attaching Drawings (page 154)

Bringing In Drawing Objects Based on Attached Data | 363

■

Combining Conditions (page 368)

■

Bringing In Drawing Objects from AutoCAD Layers (page 355)

■

Bringing In Drawing Objects by Object Class (page 356)

■

Bringing In Drawing Objects Based on Topology (page 367)

■

Bringing In Drawing Objects by Location (page 358)

■

Bringing In Drawing Objects by Property (page 361)

■

Bringing in GIS Features (page 303)

■

To bring in drawing objects based on object data or external (SQL) data
(page 364)

■

To bring in drawing objects based on object data (page 364)

■

To bring in drawing objects based on external (SQL) data (page 365)

To bring in drawing objects based on object data or external (SQL) data
■

To select objects based on object data (page 364)

■

To select objects based on external (SQL) data (page 365)

To bring in drawing objects based on object data
NOTE This topic applies to AutoCAD drawing objects. To bring in geospatial data,
see procedures for bringing in geospatial data. (page 308).
1 Do one of the following:
■

In Display Manager (page 2060), click Data ➤ Add Drawing Data ➤ Query
Current Drawing.

■

In Display Manager, click Data ➤ Add Drawing Data ➤ Query Source
Drawing. Be sure you have attached (page 154) the DWG files to query.

■

In Display Manager, click Data ➤ Add Drawing Data ➤ Query
Topology.

2 In the Define Query dialog box (page 1838), click Data.
3 In the Data Condition dialog box (page 1836), select the type of data to
use.

364 | Chapter 3 Bringing In Data

4 Specify the location of the data.
■

To retrieve objects based on object class, in the Class list, select the
object class of the objects to retrieve. Under Properties, select the
specific properties to query.

■

To retrieve objects based on object data, select the table and field to
query.
If two attached drawings have a table with the same name, AutoCAD
Map 3D recognizes only the fields defined in the first drawing you
activate.

■

To retrieve objects based on database link data, in the Link Template
list, select the link template associated with the objects to retrieve.
Under Key Columns, select the key column to query.
To search for objects in attached drawings, only link templates defined
in your attached drawing are displayed in the list.

■

To retrieve objects based on block attribute information, in the Blocks
list, select the block that contains the attribute tag information to
query. Under Attribute Tags, select the attribute tag to query, or select
* in the Blocks list to see a list of all the attribute tags of all the blocks
in the active drawing.

5 Select an operator.
When you query database link data, only the = operator is available.
6 Enter the data value.
You can use wild-card characters for Value. For more information about
wild cards, see Wildcard Characters (page 1537).
7 Click OK.
8 In the Define Query dialog box, click OK.
NOTE Before you execute a query with a SQL condition, verify that the appropriate
data source is attached and connected.
To bring in drawing objects based on external (SQL) data
1 Do one of the following:
■

In Display Manager (page 2060), click Data ➤ Add Drawing Data ➤ Query
Current Drawing.

Bringing In Drawing Objects Based on Attached Data | 365

■

In Display Manager (page 2060), click Data ➤ Add Drawing Data ➤ Query
Source Drawing. Be sure you have attached (page 154) the DWG files
to query.

■

In Display Manager (page 2060), click Data ➤ Add Drawing Data ➤ Query
Topology.

2 In the Define Query dialog box (page 1838), click SQL.
3 In the SQL Link Condition dialog box (page 1866), select the link template
for the table to search.
If you chose Attached Drawings in Step 1, the link template list includes
only link templates for active attached drawings. If the link template is
not listed, verify that it is defined in the attached drawing.
4 Create a SQL condition by selecting a column, an operator, and a value.
To type the condition, click Type Condition.
5 Click Add Condition to add the condition to the Current SQL Condition
list.
6 To add more conditions, select And or Or. Create another condition.
7 When you finish building the SQL condition, click OK.
8 Optionally, define another condition. See Combining Conditions (page
369).
9 In the Define Query dialog box, click OK.
The new layer appears in Display Manager. Objects that meet the conditions
of the query are included in this layer. To see the objects, you may need to
zoom to the drawing extents. Click Map Setup tab ➤ Map panel ➤ Zoom
Drawing Extents.

Quick Reference
New Display Manager Layer - Query
Creates a new query layer in Display Manager
Task Pane

366 | Chapter 3 Bringing In Data

In Display Manager, click Data ➤ Add Drawing Data
and then select a query type

Dialog Box

Define Query dialog box

Bringing In Drawing Objects Based on Topology
NOTE This topic applies to AutoCAD drawing objects. To bring in geospatial data,
see Overview of Bringing In GIS Features (page 305).
You can create a drawing layer (page 2060) in Display Manager that includes all
the objects in a topology.
For example, to create a layer that includes all the objects in the Streets
topology, select the STREETS topology.
You can organize layers into groups. Grouping layers lets you quickly turn off
the display of all the objects in the group.
TIP To select just some of the objects in a topology, combine conditions. For
example, you could find only the streets with four or more lanes.
See also:
■

Attaching Drawings (page 154)

■

Combining Conditions (page 368)

■

Bringing In Drawing Objects from AutoCAD Layers (page 355)

■

Bringing In Drawing Objects by Object Class (page 356)

■

Bringing In Drawing Objects by Location (page 358)

■

Bringing In Drawing Objects by Property (page 361)

■

Bringing In Drawing Objects Based on Attached Data (page 363)

■

Creating Topologies (page 821)

To bring in drawing objects based on topology
NOTE This topic applies to AutoCAD drawing objects. To bring in geospatial data,
see procedures for bringing in geospatial data. (page 308).
1 In Display Manager (page 2060), click Data ➤ Add Drawing Data ➤ Topology.

Bringing In Drawing Objects Based on Topology | 367

2 In the Select Display Element dialog box (page 1631), select the topologies
that include the objects to display.
AutoCAD Map 3D creates a layer in Display Manager for each topology
you select.
3 To group topology layers, select Group Selection.
If you combine the layers in a group, you can turn the display of the
group on or off.
4 Click OK.
The new layer appears in Display Manager. All objects in the selected topology
are included in this layer. If you selected multiple topologies, multiple layers
are created. To see the objects, you may need to zoom to the drawing extents.
Click Map Setup tab ➤ Map panel ➤ Zoom Drawing Extents.

Quick Reference
New Display Manager Layer - Topology
Creates a new topology layer in Display Manager
Task Pane

In Display Manager, click Data ➤ Add Drawing
Data ➤ Topology

Dialog Box

Select Display Element dialog box

Combining Conditions
NOTE This topic applies to AutoCAD drawing objects. To bring in geospatial data,
see Overview of Bringing In GIS Features (page 305).
You can combine query conditions to select specific drawing objects for a new
drawing layer (page 2060) in Display Manager.
For example, you can combine a layer condition with a location condition to
find utility lines in the West quadrant of a city.
You can select from objects in the current map, in attached drawings, or in a
topology.

368 | Chapter 3 Bringing In Data

See also:
■

Attaching Drawings (page 154)

■

Bringing In Drawing Objects from AutoCAD Layers (page 355)

■

Bringing In Drawing Objects by Object Class (page 356)

■

Bringing In Drawing Objects Based on Topology (page 367)

■

Bringing In Drawing Objects by Location (page 358)

■

Bringing In Drawing Objects by Property (page 361)

■

Bringing In Drawing Objects Based on Attached Data (page 363)

To bring in drawing objects by combining query conditions
NOTE This topic applies to AutoCAD drawing objects. To bring in geospatial data,
see procedures for bringing in geospatial data. (page 308).
1 Do one of the following:
■

In Display Manager (page 2060), click Data ➤ Add Drawing Data ➤ Query
Current Drawing.

■

In Display Manager, click Data ➤ Add Drawing Data ➤ Query Source
Drawing. Be sure you have attached (page 154) the DWG files to query.

■

In Display Manager, click Data ➤ Add Drawing Data ➤ Query
Topology.

2 In the Define Query dialog box (page 1838), create the first condition by
clicking Query Type.
■

Location — Selects objects based on their location. Click Zoom Ext
to zoom to the extents of all active attached drawings.

■

Property — Selects objects based on an object property, such as layer,
color, or area.

■

Data — Selects objects based on object class, object properties, database
links, object data, or attributes.

■

SQL — Selects objects based on linked external data.

When you finish defining the condition, you return to the Define Query
dialog box with the condition listed in the Current Query area.

Combining Conditions | 369

3 Before you create the next condition, select a joining operator.
■

And — Finds objects only if both conditions are true.

■

Or — Finds objects if either condition is true.

■

And Not — Finds objects only if the first condition is true and the
second condition is false.

■

Or Not — Finds objects if either the first condition is true or the second
condition is false.

4 Create the next condition by clicking Query Type.
5 Continue to create conditions.
6 To group conditions, select the first and last condition in the group. Click
Group. Conditions inside the parentheses are evaluated first.
7 When you finish defining conditions, click OK.
The new layer appears in Display Manager. Objects that meet the conditions
of the query are included in this layer. To see the objects, you may need to
zoom to the drawing extents. Click Map Setup tab ➤ Map panel ➤ Zoom
Drawing Extents.

Quick Reference
New Display Manager Layer - Query
Creates a new query layer in Display Manager
Task Pane

In Display Manager, click Data ➤ Add Drawing Data
and then select a query type

Dialog Box

Define Query dialog box

Bringing in Survey Data
AutoCAD Map 3D allows you to manage survey point data. You can import
survey points in LandXML or ASCII format, view point data in the Point Table
(a survey-point specific version of the Data Table (page 1613)), edit survey points,
add points using coordinate geometry commands, and export points to

370 | Chapter 3 Bringing In Data

LandXML format. Using the bulk copy feature, you can also export points to
another data store to create geospatial features.
Before you import survey data, create (page 1000) or connect to (page 1000) a
Survey Data Store.
See also:
■

Working with Survey Data (page 996)

To bring LandXML data into a Survey Data Store (page 371)
To bring ASCII point data into a Survey Data Store (page 373)
To bring LiDAR data into your map (page 374)
To add a point cloud to your map (page 376)
To add a point cloud to your map using the Point Cloud Manager (page
376)
■ To create a point cloud layer for point cloud objects already in your map
(page 376)
■ To adjust the display density point clouds in your map (page 377)
■
■
■
■
■

Bringing in LandXML Data
You can bring in survey point data in LandXML format. AutoCAD Map 3D
supports LandXML versions 1.0, 1.1, and 1.2.
When you import a LandXML file into AutoCAD Map 3D, it appears in the
survey tree as a Project. Projects are the primary organizational group within
a survey data store.
See also:
■

Overview of Working with Survey Data (page 997)

■

Working with Survey Data Stores (page 999)

■

Working with Projects (page 1001)

■

Exporting Survey Points to a LandXML File (page 1471)

To bring LandXML data into a Survey Data Store
1 Create (page 1000) or connect to (page 1000) a Survey Data Store.
2 On the Survey tab of the Task Pane, click Data ➤ Import LandXML. The
Import LandXML dialog box appears.

Bringing in LandXML Data | 371

3 Browse to and select the LandXML file you want to import.
4 Click Open.
■

If AutoCAD Map 3D cannot recognize the coordinate system of your
LandXML data,the LandXML Coordinate System dialog box (page 1717)
appears. Assign a coordinate system by entering the appropriate
coordinate system code or selecting one from a list, then click OK.

5 The LandXML file is brought into your Survey Data Store.

Quick Reference
Import LandXML Data
Import LandXML data to a survey data store.
Task Pane

On the Survey tab, right-click a survey data store ➤
Import LandXML -or- On the Survey tab, click Data
➤ Import LandXML

Bringing in ASCII Point Data
You can bring in survey point data in a variety of ASCII formats. ASCII survey
point data can be brought in to any node in the survey tree.
Select the format of the source data using the Format drop-down list in the
Import ASCII Points dialog box (page 1716). Formats describe the layout of the
data in your source files using the following convention:
■

P is point ID

■

E is Easting, or longitudinal values

■

N is Northing or latitudinal values

■

Z is elevation values

■

D is description

Make sure that you select the correct format plus delimiter type (comma or
space) for your data source.

372 | Chapter 3 Bringing In Data

The Autodesk Uploadable File format is as follows: PNEZD (Point Identification,
Y, X, Z, Description). It is a comma-separated format, and uses the # character
for comment text.
See also:
■

Overview of Working with Survey Data (page 997)

■

Working with Survey Data Stores (page 999)

To bring ASCII point data into a Survey Data Store
1 Create (page 1000) or connect to (page 1000) a Survey Data Store.
2 Right-click any node in the Survey Tree on the Survey tab of the Task
Pane.
3 Select Import ASCII Points. The Import ASCII Points dialog box (page 1716)
appears.
4 In the File Location section, click
appears.

. The Import ASCII File dialog box

5 Browse to and select the ASCII file you want to import, then click Open.
6 In the Formatting section, select the data format and Z-Unit (elevation
unit) for the file. Valid elevation units are meters, US feet, international
feet, and chains.
7 The Preview section will show a sample of the data you are about to
import. Check the preview to verify that you have selected the correct
file and formatting.
8 In the Coordinate System Assignment section, enter the coordinate system

of the file you are importing. Click
from a list.

to select the coordinate system

9 Click OK. The ASCII point data is brought into your Survey Data Store.

Quick Reference
Import ASCII Point Data

Bringing in ASCII Point Data | 373

Import ASCII point data to a survey data store.
Task Pane

On the Survey tab, right-click a survey data store ➤
Import ASCII Points.

Dialog Box

Import ASCII Points dialog box

Bringing in LiDAR Data
You can bring LiDAR (page 2066) point cloud (page 2071) data into your map using
the Point Cloud Manager (page 1897). Point clouds are large data sets composed
of 3D point data.Geographic LiDAR data is most commonly available in LAS
(page 2066) (LiDAR Aerial Survey) or ASCII (.xyz) format. AutoCAD Map 3D
2011 accepts LiDAR data in either LAS version 1.2 or space-delimited ASCII
text (.xyz) format.
See also:
■

Overview of Point Clouds (page 1012)

■

Overview of LiDAR Data (page 1012)

■

Using LiDAR Data to Create a Point Cloud Data Store (page 1019)

■

Managing LiDAR Data (page 1015)

■

Exporting Point Cloud Data (page 1451)

To bring LiDAR data into your map
1 Click Create tab ➤ Point Cloud panel ➤ Index File.
2 In the Point Cloud Manager (page 1897), click Add File. The Open dialog
box appears.
3 Select the file or files to bring in.
4 Click Open.
The files appear in the Point Cloud Manager.

Quick Reference
MAPPOINTCLOUDMANAGER

374 | Chapter 3 Bringing In Data

Creates and manages indexed point cloud data stores.
Command Line

MAPPOINTCLOUDMANAGER

Dialog Box

Point Cloud Manager

Bringing in Point Cloud Data
You can bring point cloud data into your map from an indexed point cloud
data store or from a point cloud drawing object. Point clouds appear as layers
in the Display Manager and as AutoCAD drawing objects in your map. For
more information on working with AutoCAD drawing objects, see Working
with Drawing Objects (page 727).
You can add point clouds from indexed point cloud data stores created in
AutoCAD Map 3D or in AutoCAD. Index files created in AutoCAD Map 3D
have the .ISD file extension. Index files created in AutoCAD have the .PCG
file extension.
If you are using a point cloud drawing object in your map that was created
using AutoCAD Civil 3D, you will not be able to view the point cloud styling
applied by AutoCAD Civil 3D unless you download and install the AutoCAD
Civil 2010 object enabler. You can get the AutoCAD Civil 2010 object enabler
from the Autodesk website:
http://usa.autodesk.com/adsk/servlet/ps/dl/item?siteID=123112&id=13084151&linkID=9240858.
You can add, merge, and filter indexed point cloud data store files using the
Point Cloud Manager (page 1897).
After you add point clouds to your map, you can adjust the density of the
points displayed in your map using the Points Display slider. The density
setting of the Points Display slider applies to all point clouds in your map.
You do not need to set the display density for each point cloud individually.
See also:
■

Overview of Point Clouds (page 1012)

■

Overview of LiDAR Data (page 1012)

■

Overview of Point Cloud Files and Objects (page 1013)

■

Bringing in LiDAR Data (page 374)

■

Using LiDAR Data to Create a Point Cloud Data Store (page 1019)

■

Creating Surfaces From Point Cloud Data (page 1021)

Bringing in Point Cloud Data | 375

■

Filtering Point Cloud Data (page 1024)

■

Exporting Point Cloud Data (page 1451)

To add a point cloud to your map
1 In the Display Manager, click Data ➤ Add Point Cloud Data ➤ From
Index File.
2 In the Select Point Cloud Index dialog box, select the index file for the
point cloud data store to add to your map
3 Click Open.
AutoCAD Map 3D adds a point cloud layer to the Display Manager, and
add the point cloud drawing object to your map.
To add a point cloud to your map using the Point Cloud Manager
NOTE You cannot add point cloud index files created in AutoCAD (.PCG files)
using the Point Cloud Manager.
1 In the Point Cloud ribbon tab, click Index File to display the Point Cloud
Manager (page 1897), or enter mappointcloudmanager at the command
prompt.
2 Click Add File. The Open dialog box appears.
3 Select the .ISD files you want to bring in.
4 Click Open.
The files are added to the Point Cloud Manager. You can now create
merge files and filter your point cloud data the same way you work with
LiDAR data. (page 1015)
To create a point cloud layer for point cloud objects already in your map
1 Click Data ➤ Add Drawing Data ➤ Point Cloud.
2 In the Select Point Cloud dialog box, select the point cloud object or
objects.
3 To add point cloud objects to a Display Manager group, select Group
Selection.
4 Click OK.

376 | Chapter 3 Bringing In Data

AutoCAD Map 3D adds a point cloud layer to the Display Manager.
To adjust the display density point clouds in your map
1 Click Create ribbon tab ➤ Point Cloud Panel ➤ Point Cloud drop-down
list.
2 Adjust the Point Cloud Density slider to the right to increase the display
density of your point cloud objects. Adjust the slider to the left to decrease
the display density.
3 Alternately, at the command prompt enter pointclouddensity, then enter
a value from 1 through 100.

Quick Reference
MAPPOINTCLOUDMANAGER
Creates and manages indexed point cloud data stores.
Command Line

MAPPOINTCLOUDMANAGER

Dialog Box

Point Cloud Manager

Converting Data From Other Formats to Drawing
Objects
You can import maps from other formats into AutoCAD Map 3D. The imported
data is brought into the current drawing and the geometry is converted to
drawing objects. The attribute data and display options associated with the
objects can also be imported.
In addition, you can specify an area of the map to import, assign incoming
objects to existing object classes, and automatically perform a coordinate
conversion on the objects as they are imported.
When you directly access data through FDO (using Data Connect), you make
all edits and changes directly to the source. When you import data, you bring
in a copy of the data and you cut the connection to the data source. Your
changes are made only to the copy in your map.

Converting Data From Other Formats to Drawing Objects | 377

NOTE Data you import becomes AutoCAD drawing objects in your map. To
connect to the data in its original format, see Overview of Bringing In GIS Features
(page 305). To convert the drawing objects to a geospatial format, see Overview
of Converting and Exporting (page 1405).
See also:
■

Supported Import Formats (page 387)

■

Bringing in GIS Features (page 303)

■

Converting and Exporting (page 1403)

■

Digitizing Maps (page 1617)

NOTE Data you import becomes AutoCAD drawing objects in your map. To
connect to the data in its original format, see Overview of Bringing In GIS Features
(page 305). To convert the drawing objects to a geospatial format, see Overview
of Converting and Exporting (page 1405).
■
■
■
■
■
■
■
■
■
■
■
■

To import data from other formats (page 381)
To style drawing data on import (page 385)
To specify an area to import (page 418)
To specify an AutoCAD layer during import (page 419)
To assign an object class to an input layer (page 421)
To perform a coordinate conversion (page 424)
To specify the data to import (page 426)
To specify how to import points (page 428)
To import polygons (page 430)
To create centroids for polygons and closed polylines (page 433)
To import objects with links to an external database (page 434)
To import a file with attribute data and display the data as text (page 435)

Overview of Converting Geospatial Data to Drawing Objects
During import, AutoCAD Map 3D copies data from the input file into the
active AutoCAD Map 3D drawing and converts the data to drawing objects.

Connecting to Data Directly vs. Importing
You can work with your data using Data Connect or by importing it.

378 | Chapter 3 Bringing In Data

When you use Data Connect (from Display Manager), you view and edit data
in its source. Edits are saved back to the source. The data stays in its original
location.
When you import data, you make a copy of the data and bring that copy into
your map. When you edit the data, you are editing the copy. The original data
is unchanged.
For some formats, such as MicroStation Design (DGN), Arc/INFO, and SDF 2
(Autodesk MapGuide 6.5 and earlier), you can only import and export the
data. For most other formats, you can either connect directly to the data or
use import and export.
For more information, see Overview of Bringing In GIS Features (page 305).

Before You Import a File
Before you import a file, determine the following:
■

Determine whether to limit the import to the current display area or to
an area that you define.

■

Decide where to put objects: on an existing layer in the map, on a new
layer, or on a layer specified in the file you are importing.

■

Determine which incoming data values to use to populate the object class
data fields, and decide how to handle data values that do not fall within
the acceptable object class range (keep them as-is or assign them default
object class values).

■

Assign a coordinate system to the current AutoCAD Map 3D drawing. You
need to know which coordinate system is used with the input files.

■

Determine whether to import the data as object data or as external data,
and whether to use an existing table or create a new one.

■

Import point objects as points, text, or blocks. When you import as blocks,
be sure you have copied the block you want into the AutoCAD Map 3D
drawing.

Supported Formats
For information on importing specific formats, see the following:
■

Importing Autodesk SDF (Spatial Data Files) (page 387) (version 3, MapGuide
Enterprise)

■

Importing Autodesk SDF 2 (page 389)

Overview of Converting Geospatial Data to Drawing Objects | 379

■

Importing DXF Files (page 391)

■

Importing ESRI Arc/INFO Coverages (page 394)

■

Importing From ESRI ArcSDE (page 391)

■

Importing ESRI Shape Files (page 397)

■

Importing Geographic Markup Language (GML) Files (page 412)

■

Importing MapInfo MIF/MID Files (page 400)

■

Importing MapInfo TAB Files (page 402)

■

MicroStation Design (DGN) Versions 7 and 8 (page 405)

■

Oracle (page 409)

■

Importing SDTS (Spatial Data Transfer Standard) Files (page 413)

■

Importing VPF (Vector Product Format) Files (page 416)

Tell me more
■

To bring in drawing objects from
AutoCAD layers in the current drawing
(page 356)

■

To bring in drawing objects based on
object classes in the current drawing
(page 357)

■

To bring in drawing objects based on
location (page 359)

■

To bring in drawing objects based on
object properties (page 362)

■

To bring in drawing objects based on
object data or external (SQL) data
(page 364)

■

To bring in drawing objects based on
topology (page 367)

■

Lesson 4: Import SDF Files as DWG
Layers

Procedure

Tutorial

380 | Chapter 3 Bringing In Data

■

Send GIS Data to AutoCAD

■

Converting and Exporting (page 1403)

■

Bringing in GIS Features (page 303)

Workflow

Related topics

NOTE Data you import becomes AutoCAD drawing objects in your map. To
connect to the data in its original format, see Overview of Bringing In GIS Features
(page 305). To convert the drawing objects to a geospatial format, see Overview
of Converting and Exporting (page 1405).
To import data from other formats
1 Do one of the following:
■

Import data from an Oracle or ArcSDE data source. Click Insert
tab ➤ Import panel ➤ Map Import.
You cannot use the rest of this procedure. Instead, see Importing From
Oracle (page 409) or Importing From ESRI ArcSDE (page 391).

■

Import an SDF file. Click Insert tab ➤ Import panel ➤ Map Import .

■

If you are importing an Autodesk SDF 2 file, click Insert tab ➤ Import
panel ➤ SDF2.
Do not follow the rest of this procedure. Instead, see Importing
Autodesk SDF 2 (page 389).

■

Import a DXF file. Click
➤ Open ➤ Drawing. Change Files
of Type to DXF.
Select the file you want and click Open. Do not follow the rest of this
procedure.

■

Import any other file type. Click Insert tab ➤ Import panel ➤ Map
Import .
Continue with the following steps.

Overview of Converting Geospatial Data to Drawing Objects | 381

2 In the Import Location dialog box, under Files Of Type, select the format
of the map to import.
3 Select the file or folder to import. Click OK.
4 For formats with additional options, in the Import dialog box, click Driver
Options.
For more information about the formats with additional options and
their associated driver options, see one of the following:
■

Importing ESRI Shape Files (page 397)

■

Importing ESRI Arc/INFO Coverages (page 394)

■

Importing Geographic Markup Language (GML) Files (page 412)

■

Importing MapInfo MIF/MID Files (page 400)

■

Importing MapInfo MIF/MID Files (page 400)

■

MicroStation Design (DGN) Versions 7 and 8 (page 405)

■

Importing SDTS (Spatial Data Transfer Standard) Files (page 413)

■

Importing VPF (Vector Product Format) Files (page 416)

NOTE Change any driver options before you modify other settings in the
Import options dialog box. Changing driver options can invalidate other
changes you have made in this dialog box.
5 In the Import dialog box (page 1711), under Spatial Filter, specify whether
to limit the area where data will be imported:
■

None — Place no area limits on the incoming file.

■

Current Display — Limit the import to the current drawing area.

■

Define Window — Limit the import to an area you define. To use this
option, click Select. Respond to the prompts to define the area.

6 Specify the import settings for each input layer (sometimes called a theme,
level, or file).
■

Drawing Layer (page 419)— Select a target layer for each layer in the
incoming file.

■

Object Class (page 421)— Assign incoming objects to an existing object
class and map incoming attribute data to the data fields in the object
class. The Object Class fields are available only if you have object

382 | Chapter 3 Bringing In Data

classes defined in your map. For more information about setting up
object classes, see Setting Up Object Classification (page ?).
■

Input Coordinate System (page 424)— Specify the coordinate system
of the incoming file. If the AutoCAD Map 3D drawing has a coordinate
system assigned to it, incoming objects are converted to the coordinate
system of the drawing.

■

Data (page 426)— For each layer, specify how to import data.

■

Points (page 428)— For each layer, specify how to treat incoming point
objects.

NOTE If you import points that you assigned to an object class with a
creation method of Blocks, use the Points column to convert the points to
blocks so the objects can be classified. Object classification does not
automatically convert points to blocks.
7 By default, polygons are imported as polygon objects. To import them
as closed polylines, select Import Polygons As Closed Polylines.
8 If you assigned incoming objects to object classes and want to use the
object class defaults for any incoming data that is out of the defined
object class range, select Use Class Defaults For Out Of Range Values.
If you do not select this option, incoming data will be imported as is,
which may include some out of range values. If you later view the data
on the Object Class tab of the Properties palette, AutoCAD Map 3D
automatically modifies the data, using defaults as needed, so that the
data is in range and properly classified.
9 To save your settings as a profile, click Save. Saved profiles can be loaded
when you import other files, and they can be used to automate
command-line scripts.
10 Click OK to begin the import process.
If you cancel the Import operation, all objects imported prior to canceling
will remain in the AutoCAD Map 3D drawing. You can delete these objects
and any associated data.

Notes and Warnings
■

To copy the contents of a field, right-click in the field to copy and click
Copy. Right-click in the target field and click a Paste option. To copy the

Overview of Converting Geospatial Data to Drawing Objects | 383

contents of a field to all other layers, right-click in the field to copy and
click Paste To All Layers.
■

When pasting into Object Class fields, the object class name and the data
mappings are pasted separately. The paste data mappings options are
available only if the same fields exist in the incoming data for all mapped
fields.

■

You cannot copy a "By Data" or "ACAD_TEXT" setting.

Quick Reference
MAPIMPORT
Imports an external file format into AutoCAD Map 3D
Menu

Click File ➤ Create DWG From ➤ Map 3D Import.

Icon
Import Map File
Command Line

MAPIMPORT

Dialog Box

Import dialog box

MAPIMPORTFDO
Import FDO data.
Menu

Click File ➤ Create DWG From ➤ FDO Connection.

Command Line

MAPIMPORTFDO

Styling Drawing Data Converted From a Geospatial Data Store
When you convert data from a geospatial format to DWG format, you can set
up appropriate DWG layers and styling information for the incoming data
automatically. This allows you to send out appropriately styled drawing files
to AutoCAD users.
You use AutoCAD layers to set up the styles. You can also create blocks,
linetypes, and other elements you need for styling. You save these items in a
drawing template, and then create a new map using that template to hold the
imported data.

384 | Chapter 3 Bringing In Data

NOTE Data you import becomes AutoCAD drawing objects in your map. To
connect to the data in its original format, see Overview of Bringing In GIS Features
(page 305). To convert the drawing objects to a geospatial format, see Overview
of Converting and Exporting (page 1405).
To style drawing data on import
1 Create a drawing file in AutoCAD Map 3D that defines all the coordinate
system, layers, blocks, linetypes, and other elements you need for styling.
■

In Map Explorer, right-click Current Drawing ➤ Coordinate System
and specify the coordinate system.

■

Create layers. At the Command prompt, enter layer.
For information about creating block and other elements, see the
AutoCAD Help.

2 Change the properties of the layer to reflect the styling you want.
For more information about styling layers, see Overview of Styling
Drawing Layers (page 652).
3 Save the resulting drawing as a template (DWT) file.
➤ Save As ➤ AutoCAD Drawing Template.

■

Click

■

In the Files Of Type list, choose AutoCAD Drawing Template (*.dwt).

■

Name and save the file.

■

Set the template options (English or Metric and New Layer
Notification) and click OK. For more information about these options,
see the AutoCAD Help.

4 When you are ready to import the data, create a new map using the
template you created.
➤ New ➤ Drawing.

■

Click

■

Select the template you created and click OK.

5 Import the data into the new file.
■

Click Insert tab ➤ Import panel ➤ Map Import .

Styling Drawing Data Converted From a Geospatial Data Store | 385

■

Specify the file to import and click OK.

6 In the Import dialog box (page 1711), under Import Properties For Each
Layer Imported, specify the import settings for each input layer
(sometimes called a theme, level, or file).
■

Drawing Layer (page 419)— Select a target layer for each layer in the
incoming file.

■

Object Class (page 421)— Assign incoming objects to an existing object
class and map incoming attribute data to the data fields in the object
class. The Object Class fields are available only if you have object
classes defined in your map. For more information about setting up
object classes, see Setting Up Object Classification (page ?).

■

Input Coordinate System (page 424)— Specify the coordinate system
of the incoming file. If the AutoCAD Map 3D drawing has a coordinate
system assigned to it, incoming objects are converted to the coordinate
system of the drawing.

■

Data (page 426)— For each layer, specify how to import data.

■

Points (page 428)— For each layer, specify how to treat incoming point
objects.

NOTE If you import points that you assigned to an object class with a
creation method of Blocks, use the Points column to convert the points to
blocks so the objects can be classified. Object classification does not
automatically convert points to blocks.
7 Click OK.

8 Click Map Setup tab ➤ Map panel ➤ Zoom Drawing Extents.
The imported objects use the styling information specified in your
template.

Quick Reference
MAPIMPORT
Imports an external file format into AutoCAD Map 3D

386 | Chapter 3 Bringing In Data

Menu

Click File ➤ Create DWG From ➤ Map 3D Import.

Icon
Import Map File
Command Line

MAPIMPORT

Dialog Box

Import dialog box

Supported Import Formats
Importing Autodesk SDF (Spatial Data Files)
SDF is a native Autodesk file-based geospatial format that is optimized for
storing large, classified data sets. You can connect to SDF files (page 338) to
edit the original data in its source, or import it to convert the data into
AutoCAD drawing objects. Once you import data, the connection to the
original source is lost. If you update the source, your changes will not appear
in the imported copy.
SDF is similar to SHP format in that it contains both spatial data and attribute
data. However, unlike SHP, it stores both types of data in a single file rather
than a set of files.
When drawing data is stored as SDF, you can use Autodesk MapGuide
Enterprise 2007 to style and publish the data to the Internet. You can also
publish map data directly to MapGuide (page 1376), without exporting to SDF.

Versions
The current version, which works with AutoCAD Map 3D and Autodesk
MapGuide Enterprise, is SDF version 3. AutoCAD Map 3D refers to this version
as “SDF.”
SDF version 2 is still supported by MapGuide 6.5 (and earlier releases), and
AutoCAD Map 3D can import and export SDF 2 using a separate import/export
interface.

Advantages
SDF has the following advantages over DWG:
■

It stores and manages an order of magnitude more data than DWG

Supported Import Formats | 387

■

It is very fast, allowing Autodesk applications, such as AutoCAD Map 3D
and MapGuide, to read and display tens of thousands of features per second.

■

It provides the power of a database without the overhead and cost of a full
relational database management system (RDBMS) such as SQL Server or
Oracle.

■

An SDF file can store a single feature class, or it can store multiple feature
classes.

■

It is easy to manage, providing access to the database schema.

Importing
When importing SDF, you can import each feature class in the SDF to a separate
layer. You can specify how you want to bring in attribute data and points.
You can also set an option to import polygons as closed polylines.

Driver Options
SDF has no import driver options.
See also:
■

Customizing the Import and Export .ini Files (page 264)

NOTE Data you import becomes AutoCAD drawing objects in your map. To
connect to the data in its original format, see Overview of Bringing In GIS Features
(page 305). To convert the drawing objects to a geospatial format, see Overview
of Converting and Exporting (page 1405).
To import an SDF file
■

Import from SDF (page 381) – Imports from SDF (version 3).

■

Import from SDF 2 (page 389)– Imports from SDF (version 2).

To access and work with SDF
■

Connect to SDF (page 338)– Allows you to view and edit the SDF data live
in its native format (SDF version 3).

388 | Chapter 3 Bringing In Data

Quick Reference
MAPIMPORT
Imports an external file format into AutoCAD Map 3D
Menu

Click File ➤ Create DWG From ➤ Map 3D Import.

Icon
Import Map File
Command Line

MAPIMPORT

Dialog Box

Import dialog box

Importing Autodesk SDF 2
While importing SDF 2 files (Autodesk MapGuide 6.5 and earlier), you can
perform coordinate conversions, create object data tables from the key, name,
and URL fields, and create hyperlinks on imported objects. Import a selected
portion of the SDF by specifying four corner points of an area.
NOTE SDF 2 files can only be imported (and exported). They cannot be accessed
using Data Connect. However, SDF 3 files, using the new MapGuide technology,
use Data Connect. For information, see To bring in features from SDF (page 338).
See also:
■

Importing Autodesk SDF (Spatial Data Files) (page 387)

■

Exporting DWG Data to SDF2 Format (page 1417)

■

Bringing In Features from SDF (page 337)

NOTE Data you import becomes AutoCAD drawing objects in your map. To
convert the drawing objects to a geospatial format, see Overview of Converting
and Exporting (page 1405).
To import SDF 2 files
1 In the Tool-based Ribbon Workspace, click Insert tab ➤ Import
panel ➤ SDF2.

Supported Import Formats | 389

2 In the Autodesk MapGuide Import dialog box, select a file. Click Open.
3 In the Autodesk MapGuide Import dialog box (page 1582), under Import
Layer, select the target AutoCAD layer for the SDF information.
To create a new AutoCAD layer, click Create New Layer. In the New Layer
dialog box (page 1579), specify a name for the new layer.
4 Under Coordinate Conversion, select Convert From. Enter a coordinate
system code.
To select the code from a list, click Select Coordinate System.
5 Under Data Elements, select Assign To Object Data Table. Specify the
object data table and fields.
To create a new table or field, click Create New Table or Create New Field.
In the Define New Object Data Table dialog box (page 1803) or Define New
Object Data Field dialog box (page 1578), specify the information for the
new table or field.
6 Optionally, under Data Elements, select Create Hyperlinks From URL.
7 Under Import By Location, select Define An Area To Import From The
SDF File and enter the coordinates for the area to import.
The coordinates must be in the coordinate system of the SDF file.
8 To save your settings as a profile, click Save.
9 Click OK.
The objects in the SDF file are imported into the drawing.

Quick Reference
MAPSDFIN
Imports an SDF 2 format file from Autodesk MapGuide 6.5 or earlier
Menu

Click File ➤ Create DWG From ➤ Autodesk SDF 2
(MapGuide 6.x).

Command Line

MAPSDFIN

Dialog Box

Autodesk MapGuide Import dialog box

390 | Chapter 3 Bringing In Data

Importing DXF Files
You can use DXF files created by other applications to bring information into
AutoCAD Map 3D. When you import objects from DXF files, they do not have
links to other objects or to data. For example, a polygon that encloses a parcel
ID is not linked to the parcel ID except visually. Data imported from a DXF
file does not have any links to object data or external databases.
You cannot attach a source drawing to a DXF file or attach DXF files to another
drawing.
See also:
■

Saving Drawing Objects to a DXF File (page 1458)

To import a DXF file

1 Click

➤ Open ➤ Drawing.

2 In the Select File dialog box, under Files Of Type, select DXF (*.dxf).
3 Select the file. Click Open.

Quick Reference
OPEN
Opens an existing drawing file
Menu

File menu ➤ Open

Icon
Open Drawing
Command Line

OPEN

Importing From ESRI ArcSDE
You can import data from a connected ESRI ArcSDE database into your map
DWG. Using this option, your data will be imported as drawing objects. The
data will be a snapshot of your ArcSDE data. Once you import data, the
connection to the original source is lost. If you update the source, your changes
will not appear in the imported copy.

Supported Import Formats | 391

You can also connect to a live ArcSDE database (page 319) to edit the original
data in its source (edits will go into the database).
See also:
■

Bringing In Features from ArcSDE (page 316)

To import data from an ESRI ArcSDE data source
NOTE You can also connect to a live ArcSDE database (page 319)to edit the original
data in its source (edits will go into the database).
1 Before moving ArcSDE data into your map, assign a coordinate system
to the map. This lets you position your data accurately in a real-world
geographic location and align imported survey or GPS point data.
2 In Display Manager (page 2060), click Data ➤ Connect To Data.
For more information, see Bringing In Features from ArcSDE (page 316)
NOTE Follow the steps up until clicking Connect; then stop. Do not add the
features to your map.
3 At the Command prompt, enter mapimportfdo.
4 In the Map Import From FDO dialog box, select the ArcSDE data source
connection from which to import data.
5 Click OK.
6 In the Import dialog box (page 1711), review the Current Drawing
Coordinate System to make sure it is correct.
7 Under Spatial Filter, specify whether to limit the area where data will be
imported:
■

None — Place no area limits on the incoming file.

■

Current Display — Limit the import to the current drawing area.

■

Define Window — Limit the import to an area you define. To use this
option, click Select. Respond to the prompts to define the area.

8 Specify the import settings for each input layer:
■

Drawing Layer (page 419)— Select a target layer for each layer in the
incoming file.

392 | Chapter 3 Bringing In Data

■

Object Class (page 421)— Assign incoming objects to an existing object
class and map incoming attribute data to the data fields in the object
class. The Object Class fields are available only if you have object
classes defined in your map. For more information about setting up
object classes, see Setting Up Object Classification (page ?).

■

Input Coordinate System (page 424)— Specify the coordinate system
of the incoming file. If the AutoCAD Map 3D drawing has a coordinate
system assigned to it, incoming objects are converted to the coordinate
system of the drawing.

■

Data (page 426)— For each layer, specify how to import data.

■

Points (page 428)— For each layer, specify how to treat incoming point
objects.

NOTE If you are importing points and have assigned them to an object class
with a creation method of Blocks, you must use the Points column to convert
the points to blocks so that the objects can be classified. Object classification
does not convert points to blocks for you.
9 By default, polygons are imported as polygon objects. To import them
as closed polylines, select Import Polygons As Closed Polylines.
10 If you assigned incoming objects to object classes and want to use the
object class defaults for any incoming data that's out of the defined object
class range, select Use Class Defaults For Out Of Range Values.
If you do not select this option, incoming data will be imported as is,
which may include some out of range values. If you later view the data
on the Object Class tab of the Properties palette, AutoCAD Map 3D
automatically modifies the data, using defaults as needed, so that the
data is in range and properly classified.
11 To save your settings as a profile, click Save. These saved profiles can be
loaded when you import other files, and they can be used to automate
command-line scripts.
12 Click OK to begin the import process.
If you cancel the import operation, all objects imported prior to canceling
will remain in the AutoCAD Map 3D drawing. You can delete these objects
and any associated data.

Supported Import Formats | 393

Quick Reference
MAPIMPORTFDO
Import FDO data.
Menu

Click File ➤ Create DWG From ➤ FDO Connection.

Command Line

MAPIMPORTFDO

Importing ESRI Arc/INFO Coverages
ESRI Arc/INFO coverages can only be imported (and exported). They cannot
be accessed using Data Connect. AutoCAD Map 3D supports Arc/INFO version
7.2, 7.3, and 8.x, and E00.

Importing
Arc/INFO stores coverages on your hard disk as a directory of files.
In the coverage directory, each file contains specific data pertaining to the
coverage. For example, ARC files contain coordinates for arcs and LAB files
contain the coordinates for label points.
NOTE ARC files also contain TIC and Bounds settings. For import, these are driver
options, and are not imported or displayed by default. Tics are points with known
real-world coordinates. Coverages use tics to ensure that stacked coverages and
adjoining tiled coverages align accurately.
The following table shows how coverage features are translated to drawing
objects on import:
Coverage Feature

Drawing Object

Point

Point on _point layer, PAT attributes in object data
or in an external database.

Arc

Sketch on _arc layer, AAT attributes in object data
or in an external database.

Polygon

Closed polyline on _poly layer, PAT in object data
attached to polyline. In addition, all segments are
duplicated as sketches on the _arc layer.

394 | Chapter 3 Bringing In Data

Coverage Feature

Drawing Object

Point, Arc, and Polygon with FAT
(feature allocation table) in dBASE

Geometry converted as above, attribute in object
data.

Annotation

Text on _text layer. Text arrows on _textarrow layer.

Tics

Points on _tic layer, attributes in object data.

Importing Restrictions
The following features are not supported when importing an ARC/INFO
coverage into a drawing:
■

feature attribute tables

■

text attributes

■

route systems

■

address files

■

turntables

■

LOG files

■

fonts

■

symbols

■

linetypes

■

shades

If a coverage has a field that describes Z values, commonly SPOT or
ELEVATION, the field is treated only as an attribute. It is not translated into
a Z value. You may be able to use a property alteration query to change the
elevation of the resulting drawing objects. (This will depend on the object
type. Elevation is not supported for all object types.)
When importing polygon coverages, polygon areas may be imported as closed
polylines. If you plan to recreate the topology in AutoCAD Map 3D, use the
MAPCREATECENTROIDS command to create centroids and move any attribute
data from the polyline or polygon to the centroids. Use the _arc layer to create
the topology using the topology commands.
In addition, AutoCAD Map 3D supports the coverage exchange format E00.

Supported Import Formats | 395

Driver Options
You can set the following options when importing ARC/INFO coverages or
E00 files:
Option

Description

Text Curves

Select Follow, Fit, or Ignore.

Optional Feature Types

Select Extract Bounds, or Extract Tics.

See also:
■

Customizing the Import and Export .ini Files (page 264)

■

Exporting To ESRI Arc/INFO Coverages (page 1419)

NOTE Data you import becomes AutoCAD drawing objects in your map. To
convert the drawing objects to a geospatial format, see Overview of Converting
and Exporting (page 1405).
■

To import from Arc/INFO (page 396)

■

To recreate an Arc/INFO topology in AutoCAD Map 3D (page 396)

To import from Arc/INFO
■

Use the Import instructions. (page 381)

To recreate an Arc/INFO topology in AutoCAD Map 3D
1 Use the MAPCREATECENTROIDS command to create centroids. (page
885)
2 Move any attribute data from the polyline or polygon to the centroids
(page 885)
3 Use the _arc layer to create the topology using the topology commands.

Quick Reference
MAPIMPORT
Imports an external file format into AutoCAD Map 3D

396 | Chapter 3 Bringing In Data

Menu

Click File ➤ Create DWG From ➤ Map 3D Import.

Icon
Import Map File
Command Line

MAPIMPORT

Dialog Box

Import dialog box

Importing ESRI Shape Files
AutoCAD Map 3D supports up to ArcView version 3.2 and 8.x.

About SHP Files
ESRI SHP files store both geometry and attributes (data) for features. A single
shape can have as many as five physical files with the same filename, but
different file extensions:
■

.shp— Geometric data. Data for multiple points, polylines, and polygons
can be stored in one SHP file, but each SHP file can store only one type of
geometry. For example, a line SHP file can contain data for rivers, roads,
and pipes.

■

.shx — A geometric index to the map features, which can be used by some
applications to find features in disparate sections of a large map.

■

.dbf— Attribute data associated with the map features.

■

.prj—Projection and coordinate system data. This file is created only if your
map has an assigned coordinate system.

■

.idx—Identifies the index field for the related SHP file, which is the unique
identifier for each entity in the SHP file.

Importing
You can connect to SHP files (page 336)to edit the original data in its source,
or import it to convert the data into AutoCAD drawing objects. Once you
import data, the connection to the original source is lost. If you update the
source, your changes will not appear in the imported copy.
By default, AutoCAD Map 3D considers SHP files a multi-select, file-based
format, that is, you select one or more individual .shp files during a single
import process. You can change the default in the mapimport.ini file so that
AutoCAD Map 3D considers SHP files a folder-based format (all files in the

Supported Import Formats | 397

folder are included in the import) or a single-select format (only one file can
be selected for import).
When you connect to or import SHP data, AutoCAD Map 3D checks the
geometry to see if there are multiple closed outer loops. If so, it treats the
geometry as multi-polygon (a polygon with multiple exterior rings). It does
not treat unclosed outer loops as multi-polygon.
When you create a multi-polygon in AutoCAD Map 3D and then save or
export it to SHP format, it will appear in its native SHP file as a multi-polygon.
When importing SHP files, it is important that you have the complete set of
.shp, .shx, and .dbf in the same folder. The import operation will work if you
have only the .shp file, but only the geometries will be imported. To import
data with its geometry, you need the full set of files.
The link to the data stored in the .dbf file can be maintained during the import
operation, or the data can be imported into object data in the AutoCAD Map
3D drawing.
You can import TEXTSTRING information from SHP classes you bring back
into AutoCAD Map 3D by importing points as text.

Import Restrictions
SHP files do not include color information. Imported objects have the same
color as the AutoCAD Map 3D layer.
Point symbols, line styles, and fill styles are not maintained when importing
from SHP files. Before the translation, put these items into one or more fields
in the associated database so you can reassign the display properties of the
graphical objects using these values in the drawing file.

Driver Options
SHP does not have import driver options.
See also:
■

Customizing the Import and Export .ini Files (page 264)

■

Specifying How to Import Points (page 427)

■

Exporting to ESRI SHP (page 1424)

398 | Chapter 3 Bringing In Data

NOTE Data you import becomes AutoCAD drawing objects in your map. To
connect to the data in its original format, see Overview of Bringing In GIS Features
(page 305). To convert the drawing objects to a geospatial format, see Overview
of Converting and Exporting (page 1405).
■

To import SHP data (page 399)

■

To change the single file/folder default setting for SHP files (page 399)

■

To access and work with SHP files (page 399)

To import SHP data
■

Use the Import instructions. (page 381)

To change the single file/folder default setting for SHP files
■

Modify the settings in the mapimport.ini file.
For more information, see To export to SHP as folder-based rather than
file-based (page 269)

To access and work with SHP files
■

Connect to SHP (page 335) – Allows you to view and edit the SHP live in
its native format

■

Bulk Copy (page 615) – Move data to and from SHP to other geospatial data
stores.

To import TEXTSTRING information from SHP classes you bring back into
AutoCAD Map 3D
■

Select the import option to import points as text. See Specifying How to
Import Points (page 427).

Quick Reference
MAPIMPORT
Imports an external file format into AutoCAD Map 3D
Menu

Click File ➤ Create DWG From ➤ Map 3D Import.

Supported Import Formats | 399

Icon
Import Map File
Command Line

MAPIMPORT

Dialog Box

Import dialog box

Importing MapInfo MIF/MID Files
MIF/MID is a file standard used by MapInfo, a desktop mapping system.
AutoCAD Map 3D supports MapInfo up to version 7 MIF/MID files.

About MapInfo MIF/MID Files
MapInfo MIF/MID format stores both geometry and attributes (data) for
features, and is a set of two physical files that work together:
■

.mif— Vector geometric data. A single .mif file can contain many different
types of geometry.

■

.mid— Attributes for the geometric data.

Importing
MapInfo MIF/MID files can only be imported (and exported). They cannot be
accessed using Data Connect. By default, AutoCAD Map 3D considers MapInfo
MIF/MID a multi-select, file-based format, that is, you select one or more
individual .mif files during a single import process. To change the default so
that AutoCAD Map 3D considers MIF/MID a folder-based format (all files in
the folder are included in the import) or a single-select format (only one file
can be selected for import), modify the settings in the mapimport.ini file.
When you import MapInfo MIF/MID files, it is important that you have both
the .mif and .mid files in the same folder.
Symbol types are similar to AutoCAD Map 3D point objects. You cannot
import MIF/MID symbol types directly. However, if you store the symbol type
information in a column in a MID file, you can map each symbol type to a
block in the current AutoCAD Map 3D drawing. To do this, prepare the MIF
file by putting the name of the symbol type into a field in the database. Prepare
the AutoCAD Map 3D drawing by creating similar symbols as blocks in the
AutoCAD Map 3D drawing. Then, during import, perform a point-block
mapping and select the check box to get the block name from data and select
the symbol type field you created.

400 | Chapter 3 Bringing In Data

In MapInfo, polygons are represented as closed areas. When you import
polygons into AutoCAD Map 3D, they appear as polygons unless you select
Import Polygons As Closed Polylines in the Import dialog box.
By default, object colors are imported to their closest ACI (AutoCAD Color
Index) color. To import object colors using RGB (True Color), edit the
mapimport.ini file.
To change the default text justification setting for MIF/MID, edit the
mapforeignfileproperties.ini file.

Driver Options
MapInfo MIF/MID has no import driver options.
See also:
■

Customizing the Import and Export .ini Files (page 264)

■

Exporting To MapInfo MIF/MID (page 1431)

NOTE Data you import becomes AutoCAD drawing objects in your map. To
convert the drawing objects to a geospatial format, see Overview of Converting
and Exporting (page 1405).
■

To import from MapInfo MIF/MID (page 401)

■

To change import settings for MapInfo MIF/MID (page 401)

■

To import object colors using RGB (True Color) (page 401)

■

To change the default text justification setting for MIF/MID (page 402)

To import from MapInfo MIF/MID
■

Use the Import instructions. (page 381)

To change import settings for MapInfo MIF/MID
■

Edit the mapimport.ini file.
For more information, see To edit the .ini file (page 271).

To import object colors using RGB (True Color)
■

Edit the mapimport.ini file.
For more information, see To edit the .ini file (page 272).

Supported Import Formats | 401

To change the default text justification setting for MIF/MID
■

Edit the mapforeignfileproperties.ini file.
Use the [MIF_Justification] section to set justification for MIF. Allowed MIF
Justifications are left, center, and right. For more information, see To edit
the .ini file (page 274).

Quick Reference
MAPIMPORT
Imports an external file format into AutoCAD Map 3D
Menu

Click File ➤ Create DWG From ➤ Map 3D Import.

Icon
Import Map File
Command Line

MAPIMPORT

Dialog Box

Import dialog box

Importing MapInfo TAB Files
MapInfo TAB, also referred to as the MapInfo native format, is a
two-dimensional format that stores both feature geometry and attributes (data)
in a set of physical files that have the following file extensions:

About MapInfo TAB Files
■

.tab— The main file for a MapInfo table. It is associated with the appropriate
.dat, .id, .map, and .ind files.

■

.dat— Tabular data for a table in MapInfo's native format.

■

.id— An index to a MapInfo graphical objects .map() file.

■

.map— Contains geographic information describing map objects.

■

.ind— An index to a MapInfo tabular (.dat) file.

With AutoCAD Map 3D, you can import and export MapInfo TAB up to version
7.

402 | Chapter 3 Bringing In Data

Importing
MapInfo TAB files can only be imported (and exported). They cannot be
accessed using Data Connect. By default, AutoCAD Map 3D considers MapInfo
TAB a multi-select, file-based format, that is, you select one or more individual
.tab files during a single import process. To change the default so that AutoCAD
Map 3D considers MapInfo TAB a folder-based format (all files in the folder
are included in the import) or a single-select format (only one file can be
selected for import), modify the settings in the mapimport.ini file.
When you import MapInfo TAB files, it is important that you have the
complete set of physical files (.tab, .dat, .id, .map, and .ind) in the same folder.
Symbol types are similar to AutoCAD Map 3D point objects. You cannot
import TAB symbol types directly. However, if you store the symbol type
information in a column in a DAT file, you can map each symbol type to a
block in the current AutoCAD Map 3D drawing. To do this, prepare the TAB
file by putting the name of the symbol type into a field in the database. Prepare
the AutoCAD Map 3D drawing by creating similar symbols as blocks in the
AutoCAD Map 3D drawing. Then, during import, perform a point-block
mapping and select the check box to get the block name from data and select
the symbol type field you created.
In MapInfo, polygons are represented as closed areas. When you import
polygons, the polygons appear as polygons in AutoCAD Map 3D unless you
select Import Polygons As Closed Polylines in the Import dialog box.
By default, object colors are imported to their closest ACI (AutoCAD Color
Index) color. To import object colors using RGB (True Color), you must edit
the mapimport.ini file.
To change the default text justification setting for TAB, edit the
mapforeignfileproperties.ini file.

Driver Options
MapInfo TAB has no import driver options.
See also:
■

Customizing the Import and Export .ini Files (page 264)

■

Exporting To MapInfo TAB (page 1433)

Supported Import Formats | 403

NOTE Data you import becomes AutoCAD drawing objects in your map. To
convert the drawing objects to a geospatial format, see Overview of Converting
and Exporting (page 1405).
■

To import from MapInfo TAB (page 404)

■

To import object colors using RGB (True Color) (page 404)

■

To change the default text justification setting for MapInfo TAB (page 404)

To import from MapInfo TAB
■

Use the Import instructions. (page 381)

To import object colors using RGB (True Color)
■

Edit the mapimport.ini file.
For more information, see To edit the .ini file (page 272).

To change the default text justification setting for MapInfo TAB
■

Edit the mapforeignfileproperties.ini file.
Use the [MAPINFO_Justification] section to set justification for TAB.
Allowed TAB Justifications are left, center, and right. For more information,
see Customizing the Import and Export .ini Files (page 264).

Quick Reference
MAPIMPORT
Imports an external file format into AutoCAD Map 3D
Menu

Click File ➤ Create DWG From ➤ Map 3D Import.

Icon
Import Map File
Command Line

MAPIMPORT

Dialog Box

Import dialog box

404 | Chapter 3 Bringing In Data

MicroStation Design (DGN) Versions 7 and 8
You can import and export Microstation DGN version 7 and 8. Bentley Systems,
Inc., and MicroStation programs use the DGN format. Like DWG, a single
DGN file can contain points, lines, areas, text, and other object types.

Importing
Microstation DGN files can only be imported (and exported). They cannot be
accessed using Data Connect. Data-element information is stored in an external
database file and linked to graphic objects. AutoCAD Map 3D imports database
link information so you can maintain the linkage during import (page 433).
By default, object colors are imported to their closest ACI (AutoCAD Color
Index) color. To import object colors using RGB (True Color), edit the
mapimport.ini file.
For DGN8, the Input Layer column lists the model name. To see the layers
for a specific model, you may need to scroll the list.

Driver Options for DGN 7
You can set the following options when importing DGN 7 files:
Option

Description

Group Elements By

Choose Geometry to group incoming objects by entity type.
Choose Level to group them by their DGN level or level name.
Only levels that contain elements will be imported.

Linkage Extraction

Allows you to extract MSLinks and FRAMME attribute linkage
values from the DGN 7 file. If you select MSLinks, AutoCAD
Map 3D imports up to three links per object for DGN 7. For
each link, two fields are added to the object data table:
mslinks_n, which specifies the key value, and entity_num_n,
which specifies the table. If you select FRAMME, the following
fields are added to the object data table: comp_count,
comp_num, dgnfile, feat_num, state_num, and ufid.

Coordinate Units

Each DGN 7 file defines a UOR (unit of resolution); in addition,
it can define Sub units and Master units. Select Master or Sub
to specify which of these units in the DGN 7 file matches the
default unit in the AutoCAD Map 3D map. For example, if
the default unit in your AutoCAD Map 3D map is meters, and
meters are the Sub unit in the imported file, select Sub. If you

Supported Import Formats | 405

Option

Description
select Sub or Master, the UORs in the DGN 7 file are converted to Sub or Master units according to the conversion factor
in the DGN file header.
When you import the file, one Master or Sub unit (whichever
you choose) will become one drawing unit in your AutoCAD
Map 3D map. The Unit Ratio value indicates the ratio between
the Master and Sub units. For example, if the ratio is 1:12 (as
it would be for Feet/Inches), imported object coordinates will
be scaled 12 times bigger if you select Sub.
NOTE When you import or export a DGN file with a master
unit of Imperial feet, AutoCAD Map 3D converts the master
unit from feet to meters. In addition, it does not recognize
any subunit selection during the import or export process.

Element Expansion

Select the options to use during import. For example, select
Explode Complex Strings to return each component of a
complex chain as its own feature (no feature will be returned
for the complex chain as a whole). Otherwise, all elements
of the complex chain merge into a single linear feature, any
arcs in the complex chain become linestrings, and any linkages on the component elements themselves are lost. Select
Propagate Member Linkages to return the linkages attached
to the first component of the complex chain to supplement
any existing linkages. Otherwise, any linkages on the component elements themselves are lost and only linkages attached
to the complex chain itself are returned.

Cell Expansion

By default, cells are converted into blocks, maintaining the
cell grouping. You can choose to convert the cells to points
instead. You can also explode the contents of the cells into
their component parts, but the explosion is one level deep
only.

Reference Files

Select Create DWG to read all external reference files (xrefs)
attached to the source data set. If the reference file has nested
references, they are also imported, but circular references are
not. If you select this option, you specify a location for the
folder for these files. If the folder already exists, you can
choose to replace it (overwrite its contents) or cancel and
specify a different location. The default folder location is the
same as the selected DGN file location.

406 | Chapter 3 Bringing In Data

Option

Description
If you select Ignore, reference files are not imported and you
cannot change the location of the folder.

Driver Options for DGN 8
You can set the following options when importing DGN 8 files:
Option

Description

Group Elements By

Choose Geometry to group incoming objects by entity type.
Choose Level or Level Names to group them by their DGN
level or level name. Only levels that contain elements will be
imported.

Cell Expansion

By default, cells are converted into blocks, maintaining the
cell grouping. You can choose to convert the cells to points
instead. You can also explode the contents of the cells into
their component parts, but the explosion is one level deep
only.

Coordinate Units

Each DGN 8 file can define Sub units and Master units. Specify
which of these units in the DGN 8 file matches the default
unit in the AutoCAD Map 3D map. For example, if the default
unit in your AutoCAD Map 3D map is meters, and meters are
the Sub unit in the imported file, select Sub.
When you import the file, one Master or Sub unit (whichever
you choose) will become one drawing unit in your AutoCAD
Map 3D map. The Unit Ratio value indicates the ratio between
the Master and Sub units. For example, if the ratio is 1:12 (as
it would be for Feet/Inches), imported object coordinates will
be scaled 12 times bigger if you select Sub.
NOTE When you import or export a DGN file with a master
unit of Imperial feet, AutoCAD Map 3D converts the master
unit from feet to meters. In addition, it does not recognize
any sub-unit selection during the import or export process.

Element Expansion

Select the options to use during import. For example, select
Explode Complex Strings to return each component of a
complex chain as its own feature (no feature will be returned
for the complex chain as a whole). Otherwise, all elements
of the complex chain merge into a single linear feature, any

Supported Import Formats | 407

Option

Description
arcs in the complex chain become linestrings, and any linkages on the component elements themselves are lost.

Linkage Extraction

Allows you to extract MSLinks and FRAMME attribute linkage
values from the DGN 8 file. For each link, two fields are added
to the object data table: mslinks_n, which specifies the key
value, and entity_num_n, which specifies the table. If you
select FRAMME, the following fields are added to the object
data table: comp_count, comp_num, dgnfile, feat_num,
state_num, and ufid.

Read Reference Files

Select Create DWG to read all external reference files (xrefs)
attached to the source data set. If the reference file has nested
references, they are also imported, but circular references are
not. If you select this option, you specify a location for the
folder for these files. If the folder already exists, you can
choose to replace it (overwrite its contents) or cancel and
specify a different location. The default folder location is the
same as the selected DGN file location.
If you select Ignore, reference files are not imported and you
cannot change the location of the folder.

Other Import Options
You can set several options in the MapForeignFileProperties.ini file. See
Customizing and Automating Import and Export (page 260).
See also:
■

Customizing the Import and Export .ini Files (page 264)

■

Importing Objects with Links to an External Database (page 433)

■

Exporting To MicroStation Design (DGN) Versions 7 and 8 (page 1435)

NOTE Data you import becomes AutoCAD drawing objects in your map. To
convert the drawing objects to a geospatial format, see Overview of Converting
and Exporting (page 1405).
■

To import object colors using RGB (True Color) (page 409)

■

To maintain a link to external data when you import DGN files (page 409)

408 | Chapter 3 Bringing In Data

■

To import DGN files (page 409)

To import object colors using RGB (True Color)
■

Edit the mapimport.ini file.
For more information, see To edit the .ini file (page 272).

To maintain a link to external data when you import DGN files
■

Use a link template to maintain the linkage during import (page 433).

To import DGN files
■

Use the Import instructions. (page 381)
For driver options, see Design File Input Settings (page 1734).

Quick Reference
MAPIMPORT
Imports an external file format into AutoCAD Map 3D
Menu

Click File ➤ Create DWG From ➤ Map 3D Import.

Icon
Import Map File
Command Line

MAPIMPORT

Dialog Box

Import dialog box

Importing From Oracle
You can import data from a connected Oracle database into your map. Using
this option, your data will be imported as drawing objects. The data will be a
snapshot of your Oracle data. You can also make a live connection with Oracle
(one where edits will go into the database).
See also:
■

Bringing In Features from Oracle (page 312)

■

Exporting DWG Data to an FDO Data Store (page 1461)

Supported Import Formats | 409

NOTE Data you import becomes AutoCAD drawing objects in your map. To
connect to the data in its original format, see Overview of Bringing In GIS Features
(page 305). To convert the drawing objects to a geospatial format, see Overview
of Converting and Exporting (page 1405).
To import data from an Oracle data source
1 Before moving Oracle data into your map, assign a coordinate system to
the map. This lets you position your data accurately in a real-world
geographic location and align imported survey or GPS point data.
2 In Display Manager (page 2060), click Data ➤ Connect To Data.
For more information, see Bringing In Features from Oracle (page 312)
NOTE Follow the steps through clicking Connect, then stop. Do not add the
features to your map.
3 At the Command prompt, enter mapimportfdo.
4 In the Map Import From FDO dialog box, select the Oracle data source
connection from which to import data.
5 Click OK.
6 In the Import dialog box (page 1711), review the Current Drawing
Coordinate System to make sure it is correct.
7 Under Spatial Filter, specify whether to limit the area where data will be
imported:
■

None — Place no area limits on the incoming file.

■

Current Display — Limit the import to the current drawing area.

■

Define Window — Limit the import to an area you define. To use this
option, click Select. Respond to the prompts to define the area.

8 Specify the import settings for each input layer:
■

Drawing Layer (page 419)— Select a target layer for each layer in the
incoming file.

■

Object Class (page 421)— Assign incoming objects to an existing object
class and map incoming attribute data to the data fields in the object
class. The Object Class fields are available only if you have object
classes defined in your Map drawing. For more information about

410 | Chapter 3 Bringing In Data

setting up object classes, see Setting Up Object Classification (page
?).
■

Input Coordinate System (page 424)— Specify the coordinate system
of the incoming file. If the AutoCAD Map 3D drawing has a coordinate
system assigned to it, incoming objects are converted to the coordinate
system of the drawing.

■

Data (page 426)— For each layer, specify how to import data.

■

Points (page 428)— For each layer, specify how to treat incoming point
objects.

NOTE If you are importing points and have assigned them to an object class
with a creation method of Blocks, you must use the Points column to convert
the points to blocks so that the objects can be classified. Object classification
does not convert points to blocks for you.
9 By default, polygons are imported as polygon objects. To import them
as closed polylines, select Import Polygons As Closed Polylines.
10 If you assigned incoming objects to object classes and want to use the
object class defaults for any incoming data that is out of the defined
object class range, select Use Class Defaults For Out Of Range Values.
If you do not select this option, incoming data will be imported as is,
which may include some out of range values. If you later view the data
on the Object Class tab of the Properties palette, AutoCAD Map 3D
automatically modifies the data, using defaults as needed, so that the
data is in range and properly classified.
11 To save your settings as a profile, click Save. These saved profiles can be
loaded when you import other files, and they can be used to automate
command-line scripts.
12 Click OK to begin the import process.
If you cancel the import operation, all objects imported prior to canceling
will remain in the AutoCAD Map 3D drawing. You can delete these objects
and any associated data.

Quick Reference
MAPIMPORTFDO

Supported Import Formats | 411

Import FDO data.
Menu

Click File ➤ Create DWG From ➤ FDO Connection.

Command Line

MAPIMPORTFDO

Importing Geographic Markup Language (GML) Files
GML (Geography Markup Language) is an OpenGIS® Implementation
specification that defines an XML encoding for the transport and storage of
geographic information. The specification can be found on the OpenGIS
Consortium web site.
You can import GML into and export it out of AutoCAD Map 3D.

Importing
With AutoCAD Map 3D, you can import GML version 2 or version 3. There
is a separate drop-down option that also allows you to import Ordnance Survey
of Great Britain MasterMap GML version 2 files.
Because the GML format is flexible and allows you to specify your own
schemas, semantics, and options, there are many variations of the format.
AutoCAD Map 3D reads many of these, but some may not be compatible with
the AutoCAD Map 3D GML driver.
In addition, before importing GML data in Asian languages, you must verify
that the language encoding settings specified in the AutoCAD Map 3D
mapimport.ini file match the settings in your incoming file. The settings must
match for the import to be successful. For more information, see Customizing
the Import and Export .ini Files (page 264).

Driver Options
GML has no import driver options.
See also:
■

Customizing the Import and Export .ini Files (page 264)

■

Exporting To Geographic Markup Language (GML) (page 1429)

412 | Chapter 3 Bringing In Data

NOTE Data you import becomes AutoCAD drawing objects in your map. To
convert the drawing objects to a geospatial format, see Overview of Converting
and Exporting (page 1405).
■

To verify language encoding settings for import from GML (page 413)

■

To import GML files (page 413)

To verify language encoding settings for import from GML
■

Make sure the language encoding settings in the mapimport.ini file match
the settings in your incoming file.
For more information, see Customizing the Import and Export .ini Files
(page 264).

To import GML files
■

Use the Import instructions. (page 381)

Quick Reference
MAPIMPORT
Imports an external file format into AutoCAD Map 3D
Menu

Click File ➤ Create DWG From ➤ Map 3D Import.

Icon
Import Map File
Command Line

MAPIMPORT

Dialog Box

Import dialog box

Importing SDTS (Spatial Data Transfer Standard) Files
AutoCAD Map 3D supports SDTS (Spatial Data Transfer Standard). SDTS is an
import-only format. You cannot export to this format.

Supported Import Formats | 413

Importing
When you select an SDTS catalogue file, AutoCAD Map 3D imports objects
and attributes from the dataset specified in the catalogue file. Typically, a
dataset is a group of .ddf files with the same filename prefix.
AutoCAD Map 3D imports only one record per object. If an object has multiple
records attached, only one of the records will be imported.

Driver Options
SDTS has no import driver options.
NOTE Data you import becomes AutoCAD drawing objects in your map. To
convert the drawing objects to a geospatial format, see Overview of Converting
and Exporting (page 1405).
To import SDTS files
■

Use the Import instructions. (page 381)

Quick Reference
MAPIMPORT
Imports an external file format into AutoCAD Map 3D
Menu

Click File ➤ Create DWG From ➤ Map 3D Import.

Icon
Import Map File
Command Line

MAPIMPORT

Dialog Box

Import dialog box

Importing SQLite Files
SQLite is a file-based geospatial format. You can connect to SQLite files (page
331) to edit the original data in its source, or import it to convert the data into
AutoCAD drawing objects. Once you import data, the connection to the
original source is lost. If you update the source, your changes do not appear
in the imported copy.

414 | Chapter 3 Bringing In Data

SQLite is like SHP format in that it contains both spatial data and attribute
data. However, unlike SHP, it stores both types of data in a single file rather
than a set of files.

Advantages
SQLite has the following advantages over DWG:
■

It stores and manages an order of magnitude more data than DWG

■

It provides the power of a database without the overhead and cost of a full
relational database management system (RDBMS) such as SQL Server or
Oracle.

■

A SQLite file can store a single feature class, or it can store multiple feature
classes.

■

It is easy to manage, providing access to the database schema.

Importing
When importing SQLite, you can import each feature class in the file to a
separate layer. You can specify how you want to bring in attribute data and
points. You can also set an option to import polygons as closed polylines.

Driver Options
SQLite has no import driver options.
See also:
■

Customizing the Import and Export .ini Files (page 264)

NOTE Data you import becomes AutoCAD drawing objects in your map. To
connect to the data in its original format, see Overview of Bringing In GIS Features
(page 305). To convert the drawing objects to a geospatial format, see Overview
of Converting and Exporting (page 1405).
To import a SQLite file
■

Import a SQLite file (page 381)– Converts the current contents of the file
to drawing objects and inserts them in your map.

Supported Import Formats | 415

To access and work with SQLite
■

Connect to SQLite (page 331)– Allows you to view and edit the SQLite data
live in its native format.

Quick Reference
MAPIMPORT
Imports an external file format into AutoCAD Map 3D
Menu

Click File ➤ Create DWG From ➤ Map 3D Import.

Icon
Import Map File
Command Line

MAPIMPORT

Dialog Box

Import dialog box

Importing VPF (Vector Product Format) Files
You can import Vector Product Format (VPF) files into AutoCAD Map 3D. You
cannot export to this format.
VPF is a standard format, structure, and organization for large geographic
databases that are based on a georelational data model. It is commonly used
by military departments and defense agencies.
The VPF specification is available on the National Imaging and Mapping Agency
(NIMA) web site

Importing
By default, AutoCAD Map 3D considers Vector Product Format (VPF) a
multi-select, file-based format, that is, you select one or more individual files
during a single import process. You can edit the mapimport.ini file to specify
that all files in the folder are included in the import or that only one file can
be selected for import.
NOTE VPF data sets can be very large. You can use a spatial filter to limit the size
of the DWG you create from VPF data. See Specifying an Area to Import (page
417).

416 | Chapter 3 Bringing In Data

Driver Options
VPF has no import driver options.
See also:
■

Customizing the Import and Export .ini Files (page 264)

NOTE Data you import becomes AutoCAD drawing objects in your map. To
convert the drawing objects to a geospatial format, see Overview of Converting
and Exporting (page 1405).
To change the default so that AutoCAD Map 3D considers VPF a folder-based
format
■

Modify the settings in the mapimport.ini file.
For more information, see To import Shapefiles, MIF/MID, TAB, or VPF as
folder-based, multi-select, or file-based (page 271).

To import from VPF
■

Use the Import instructions. (page 381)

Quick Reference
MAPIMPORT
Imports an external file format into AutoCAD Map 3D
Menu

Click File ➤ Create DWG From ➤ Map 3D Import.

Icon
Import Map File
Command Line

MAPIMPORT

Dialog Box

Import dialog box

Specifying an Area to Import
When importing data from another file format, you can specify (or limit) the
area into which incoming objects will be imported.

Specifying an Area to Import | 417

You can import objects into the current drawing area, into an area you define
in the map, or import the entire file.
NOTE Data you import becomes AutoCAD drawing objects in your map. To
connect to the data in its original format, see Overview of Bringing In GIS Features
(page 305). To filter the data to specify the area to add to your map, see Filtering
Features When You Add Them to a Map (page 309).
See also:
■

Converting Data From Other Formats to Drawing Objects (page 377)

To specify an area to import

1 Click Insert tab ➤ Import panel ➤ Map Import .
2 In the Import dialog box (page 1711), under Spatial Filter, specify whether
to limit the area into which data will be imported:
■

None — Place no area limits on the incoming file.

■

Current Display — Limit the import to the current drawing area.

■

Define Window — Limit the import to a rectangular area you define.
To use this option, click Select. Drag your cursor from right to left to
define the area. Objects within the rectangular window are imported.

■

AutoCAD Map 3D does not display a preview of the incoming data.

■

If the coordinate system assigned to the Map drawing differs from the
coordinate system specified in the Coordinate System column, AutoCAD
Map 3D will perform a reverse transformation to determine the correct
coordinate space (area) for the incoming data.

Quick Reference
MAPIMPORT
Imports an external file format into AutoCAD Map 3D
Menu

418 | Chapter 3 Bringing In Data

Click File ➤ Create DWG From ➤ Map 3D Import.

Icon
Import Map File
Command Line

MAPIMPORT

Dialog Box

Import dialog box

Specifying an AutoCAD Layer During Import
When you import data (as opposed to using Data Connect (page 303)), the
imported material is converted to AutoCAD drawing objects. By default,
AutoCAD Map 3D imports data to an AutoCAD layer with the same name as
the layer (sometimes called a schema, level, or file) in the input file. If an
AutoCAD layer with this name already exists, objects are copied to that layer.
Otherwise, a new AutoCAD layer is created and objects are copied to the new
layer.
If you assign the input layer to an object class with a layer property, the default
will instead be the default AutoCAD layer defined by the object class, and the
Drawing Layer field displays .
You can specify one of the following layer options:
■

Put objects on an existing AutoCAD layer.

■

Put objects on a new AutoCAD layer.

■

Put objects on an AutoCAD layer based on data attached to the objects.

■

Put objects on the AutoCAD layer specified by the assigned object class
(available only if you assigned the input layer to an object class with a
layer property).

See also:
■

Converting Data From Other Formats to Drawing Objects (page 377)

■

Bringing In Drawing Objects from AutoCAD Layers (page 355)

To specify an AutoCAD layer during import

1 Click Insert tab ➤ Import panel ➤ Map Import .

Specifying an AutoCAD Layer During Import | 419

2 In the Import dialog box (page 1711), review the target drawing layer for
each input layer (sometimes called a schema, level, or file) in the incoming
file.
3 To change the AutoCAD layer, click in the Drawing Layer field for the
input layer to change. In the Layer Mapping dialog box (Import) (page
1719), do one of the following:
■

To import objects to an existing AutoCAD layer, click Create on
Existing Layer. Click the down arrow and select the layer.

■

To import objects to a new AutoCAD layer, click Create On New Layer.
Click in the cell and enter a layer name.

■

To import objects to an AutoCAD layer whose name is specified in
data stored on the imported object, click Use Data Field For Layer
Name. Select the data field to use. Click OK to close the Layer Mapping
dialog box.
During import, AutoCAD Map 3D reads the specified data value for
each object. If the data value specifies a layer that already exists, the
object is imported to that layer. If the data value specifies a layer that
does not exist, the layer is created. If an object does not have a data
value attached, the object is imported to Layer 0.

■

To import objects to a layer with the same name as the input layer,
right-click the Drawing Layer column heading in the table. Click Use
Input Layer Names.

■

To import objects to the layer specified by the assigned object class,
verify that ; is displayed in the Drawing Layer field. If it is
not, type ; into the field.

NOTE If the layer specified in the Drawing Layer column is different from the one
specified in Object Class, AutoCAD Map 3D uses the Drawing Layer setting unless
it violates the range specified by the Object Class.

Quick Reference
MAPIMPORT
Imports an external file format into AutoCAD Map 3D
Menu

420 | Chapter 3 Bringing In Data

Click File ➤ Create DWG From ➤ Map 3D Import.

Icon
Import Map File
Command Line

MAPIMPORT

Dialog Box

Import dialog box

Assigning an Object Class During Import
When you import data (as opposed to using Data Connect (page 303)), the
imported material is converted to AutoCAD drawing objects. As you import
objects, you can assign them to an existing object class in the AutoCAD Map
3D drawing and map the incoming attribute data to the object class definition.
For example, objects being imported from a SHP input layer can be classified
and included in the "LAND USE" object class, and data values from the SHP
file can be mapped to the "LAND USE" object class definition.
Because some of the incoming data values may conflict with data ranges
defined in the object class, AutoCAD Map 3D gives you the option of using
the object class default values instead of the incoming data values for values
that are not within the acceptable range. This ensures that incoming data is
accurately classified but may require changing incoming data values.
To assign an object class, you must first define object classes in your AutoCAD
Map 3D drawing. For more information, see Setting Up Object Classification
(page 116).
See also:
■

Converting Data From Other Formats to Drawing Objects (page 377)

■

Setting Up Object Classification (page 116)

To assign an object class to an input layer

1 Click Insert tab ➤ Import panel ➤ Map Import .
2 In the Import dialog box (page 1711), review the settings in the Object Class
column.

Assigning an Object Class During Import | 421

NOTE To make selections in the Object Class column, first define object
classes in the AutoCAD Map 3D drawing. If there are no object classes defined,
the fields in the Object Class column are grayed-out. For more information,
see Setting Up Object Classification (page 116).
3 For each layer in the incoming file, click in the Object Class field.
4 Select an object class.
5 Click
to map incoming attribute data to the AutoCAD Map 3D object
class definition.
6 In the Object Class Attribute Mapping dialog box (page 1710), verify that
the object class you just selected is highlighted in the Select An Object
Class list.
7 On the right, review the Input Fields list, which displays the incoming
attribute data fields that are available to be mapped to Target Fields in
the object class definition.
8 For each Input Field to map, click the down-arrow under Target Fields,
and select a target field in the object class definition. The syntax used for
the target field is:
CATEGORY:TABLE:FIELD
■

CATEGORY — Type of data, for example "OD" for object data, or "LT"
for link template (linked external database).

■

TABLE — Object data table name or database table name.

■

FIELD — Data field name.

After you map a target field, it no longer appears in the Target Fields list.
This ensures that each target field is mapped to only one incoming data
field.
9 Map as many of the Target Fields as needed. If there are no more target
fields in the Target Fields list, you've mapped them all. If you do not map
a target field, the default object class value is used.
10 Click OK to close the Object Class Attribute Mapping dialog box.
11 To use object class default values for incoming data values that are not
within the specified object class range, select Use Class Defaults For Out
Of Range Values. Properties such as Layer and Color are also enforced.

422 | Chapter 3 Bringing In Data

This ensures that incoming data will be accurately classified but may
require AutoCAD Map 3D to change some of the incoming data values.
■

If you are importing points and have assigned them to an object class with
a creation method of Blocks, use the Points column to convert the points
to blocks so that the objects can be classified. Object classification does
not convert points to blocks for you. For more information, see To specify
how to import points (page 428).

■

To copy the object class names and attribute mapping settings from one
layer to another, right-click in the Object Class field to copy. Click Copy.
Then right-click in the field in the target layer and choose whether to paste
the object class name or attribute mapping. To copy to all other layers,
right-click and choose whether to paste the name or the attribute mapping
to all layers. If attribute mapping conflicts are detected, the paste attribute
mappings options is not available.

Quick Reference
MAPIMPORT
Imports an external file format into AutoCAD Map 3D
Menu

Click File ➤ Create DWG From ➤ Map 3D Import.

Icon
Import Map File
Command Line

MAPIMPORT

Dialog Box

Import dialog box

Performing a Coordinate Conversion During Import
As you import objects, you can convert them from the coordinate system of
the input file to the coordinate system of the AutoCAD Map 3D drawing.
To perform this conversion, you must first assign a coordinate system to the
current drawing (page 147). Then, for each layer that you import, you must
specify the appropriate coordinate system.

Performing a Coordinate Conversion During Import | 423

NOTE Data you import becomes AutoCAD drawing objects in your map. To
connect to the data in its original format, see Overview of Bringing In GIS Features
(page 305). To change the coordinate system when you connect to the data, see
Changing Coordinate Systems (page 311).
See also:
■

Converting Data From Other Formats to Drawing Objects (page 377)

■

Overview of Coordinate Systems (page 143)

To perform a coordinate conversion

1 Click Insert tab ➤ Import panel ➤ Map Import .
2 In the Import dialog box (page 1711), note the coordinate system assigned
to the current drawing.
NOTE If the current drawing does not have a coordinate system assigned,
click Assign Global Coordinate System and select the coordinate system for
the current drawing.
3 For each layer in the incoming file, click in the Input Coordinate System
field.
4 Enter a new global coordinate system code, or click
list of global coordinate systems.

to select from a

5 In the Select Global Coordinate System dialog box, select the category
and coordinate system for the incoming layer.
6 Click OK to close the Select Global Coordinate System dialog box.
You can copy the settings from one layer to another. Right-click in the field
to copy. Click Copy. Then right-click in the field in the target layer. Click
Paste. To copy the setting to all other layers, click Paste To All Layers.

Quick Reference
MAPIMPORT
Imports an external file format into AutoCAD Map 3D

424 | Chapter 3 Bringing In Data

Menu

Click File ➤ Create DWG From ➤ Map 3D Import.

Icon
Import Map File
Command Line

MAPIMPORT

Dialog Box

Import dialog box

Importing Attribute Data
When you import data (as opposed to using Data Connect (page 303)), the
imported material is converted to AutoCAD drawing objects. As you import
objects, you can import the attribute data attached to the objects.
You can import the data to one of the following:
■

Existing object data table — By default, incoming fields are imported into
object data fields with the same name. If no object data field exists with
the same name, the incoming field is not imported. If you don't want to
do this, use Object Data Mapping to map incoming fields manually to
object data fields with other names or to create new fields.
Incoming data is converted to the data type of the existing object data
field. If this conversion fails (for example, if you import characters to an
integer field), AutoCAD Map 3D uses 0 for integers, 0.0 for real numbers,
and "" for text.

■

New object data table — By default, the fields in the new object data table
match the fields you've chosen to import. If you do not want to do this,
use Object Data Mapping to select the fields to import or to change the
names of the object data fields.
When the data is imported, it will be converted to the following object
data types:
■

Integer32, Integer16, and Boolean data types are converted to the
Integer data type. For Boolean data, False is converted to 0 and True is
converted to 1.

■

Float, Double, and Decimal data types are converted to the Real data
type.

■

Char and Date data types are converted to the Character data type.

Data is imported only if it is attached to an incoming object. If no objects
are found for an input layer, then the object data table will not be created.

Importing Attribute Data | 425

■

External database — Imported data is added to the external database table
as new records.

■

External database, link only — If you do not need to add the data to the
external database, you can import just the links to the data. When you
import links only, the link from the object to the external data are
maintained, but the external database is not modified. This is much faster
than importing the entire record. This is a good option when importing
SHP data.

See also:
■

Converting Data From Other Formats to Drawing Objects (page 377)

■

To import objects with links to an external database (page 434)

■

Setting Up Object Data (page 198)

To specify the data to import

1 Click Insert tab ➤ Import panel ➤ Map Import .
2 In the Import dialog box (page 1711), review the settings in the Data
column.
3 To change the setting for a layer, click in the Data field for the layer to
change. Click

.

4 In the Attribute Data dialog box (page 1699), select an option:
■

If you do not want to import data, click Do Not Import Attribute Data
and close the dialog box.

■

To import data as object data, click Create Object Data and enter a
name for the object data table or select an existing object data table.
Select Add Unique Key Field to create a unique key for each incoming
record automatically.
Click Select Fields. In the Object Data/External Database Mapping
dialog box (page 1732), map incoming fields to object data fields.

■

To import data to an external database, click Add To Database Table
and select a link template.
To import only the link data, select Create Link Only.

426 | Chapter 3 Bringing In Data

Click Select Fields to map incoming fields to fields in the external
database table.
5 Click OK to close the Attribute Data dialog box.
■

To import data to object data tables with the same name as the input layer
names, right-click the Data column header in the table. Click Use Input
Layer Name For Table Name.

■

To import data to an external database, attach the data source and define
the link template before you start the import process.

■

If conflicts are found between the settings made in the Data column and
an assigned object class definition, AutoCAD Map 3D displays the Conflict
Resolution dialog box (page 1701), where you can resolve the conflicts before
proceeding with the import.

Quick Reference
MAPIMPORT
Imports an external file format into AutoCAD Map 3D
Menu

Click File ➤ Create DWG From ➤ Map 3D Import.

Icon
Import Map File
Command Line

MAPIMPORT

Dialog Box

Import dialog box

Specifying How to Import Points
When you import data (as opposed to using Data Connect (page 303)), the
imported material is converted to AutoCAD drawing objects. As you import
point data, you can choose how the points are treated.
NOTE If you are importing survey points, see Bringing in Survey Data (page 370).
■

Import points as points, using ACAD_POINT.

■

Import points as text, using text specified in data attached to the objects.

Specifying How to Import Points | 427

■

Import points as blocks, using a specified block definition.

■

Import points as blocks, using a block name specified in data attached to
the objects.

If you import points as blocks, you can choose to import the attribute data
with the objects. If an attribute name on the block that is being created
matches a field name on the incoming point, the data for that attribute will
be imported with the point.
NOTE If the attribute data includes the values used to link the object to an external
database, you can recreate these links (page 530) in the AutoCAD Map 3D drawing
using the ADEGENLINK command.
See also:
■

Converting Data From Other Formats to Drawing Objects (page 377)

■

Accessing Data from ODBC (page 342)

To specify how to import points
NOTE If you are importing survey points, see Bringing in Survey Data (page 370).

1 Click Insert tab ➤ Import panel ➤ Map Import .
2 In the Import dialog box (page 1711), review the settings in the Points
column.
3 To change the setting for a layer, click in the Points field for that layer.
Do one of the following:
■

To import points as points, click the down arrow and select
ACAD_POINT.

■

To import points as mtext, click
in the Import dialog box (page
1711), click Create As Text From Data, and select the data field to use.
If an object does not have a value in the selected data field, the point
is imported using ACAD_POINT.
Text uses the text style for the current drawing. To change the text
style for the current drawing, click Text Style and select a style.

■

To import points to a specific block, click the down arrow and select
the block name.

428 | Chapter 3 Bringing In Data

■

To import points to a block whose name is specified in data stored
on the imported objects, click
in the Point Mapping dialog box,
click Get Block Name From Data, and select the data field to use.
During import, AutoCAD Map 3D reads the specified data value for
each object. If the data value stored on the object specifies a valid
block name, the object is imported to that block. If the data value
stored on the object specifies a block name that does not exist or if
the object does not have a data value attached, the point is imported
using ACAD_POINT.

4 To fill attributes with values from fields in the input file, select Get
Attribute Values From Fields. This works with either the Create As Blocks
or the Get Block Name From Data option.
NOTE This option works only if incoming field names match the block
attribute tags. If they do not match, you can map specific incoming fields to
specific block attributes using the Object class column.
5 Click OK to close the Point Mapping dialog box.

Quick Reference
MAPIMPORT
Imports an external file format into AutoCAD Map 3D
Menu

Click File ➤ Create DWG From ➤ Map 3D Import.

Icon
Import Map File
Command Line

MAPIMPORT

Dialog Box

Import dialog box

Importing Polygons
When you import data (as opposed to using Data Connect (page 303)), the
imported material is converted to AutoCAD drawing objects. By default,
polygons are imported as polygon objects. However, to use the polygons in a
topology, you must import them as polylines and create centroids for them.

Importing Polygons | 429

If a polygon has attribute data attached, the data is initially attached to the
polyline. You must move the attribute data from the polyline to the centroid.
See also:
■

Converting Data From Other Formats to Drawing Objects (page 377)

■

Creating Centroids for Polygons (page 431)

To import polygons

1 Click Insert tab ➤ Import panel ➤ Map Import .
attribute data as object data (page 426).

Then import the

2 If you plan to use the polygons in a polygon topology, in the Import
dialog box (page 1711), select the option to Import Polygons As Closed
Polylines.
NOTE To set the default state of this option, use the MAPUSEMPOLYGON
command.
3 Run To create centroids for polygons and closed polylines (page 887) to
create centroids in the polygons and move the data from each closed
polyline or polygon to its centroid.

Quick Reference
MAPCREATECENTROIDS
Creates a centroid in a polygon and moves data to the centroid
Menu

Create menu ➤ Centroids

Icon
Create Centroids
Command Line

MAPCREATECENTROIDS

Dialog Box

Create Centroids dialog box

MAPIMPORT
Imports an external file format into AutoCAD Map 3D

430 | Chapter 3 Bringing In Data

Menu

Click File ➤ Create DWG From ➤ Map 3D Import.

Icon
Import Map File
Command Line

MAPIMPORT

Dialog Box

Import dialog box

Creating Centroids for Polygons
If you have polygon objects or closed polylines with data attached to them,
you can create centroids and move the data to the centroid. This is useful:
■

After you import or digitize objects.

■

Before using editing commands such as Drawing Cleanup, Boundary Break,
or Boundary Trim.

■

When working with topology.

NOTE This functionality applies only to drawing objects. It does not apply to
features from a feature source.

Creating Centroids for Polygons | 431

Object data attached to closed polylines (top) and object data moved to
centroids (bottom).
AutoCAD Map 3D checks that the lines do not intersect each other, and that
the area is greater than 0. It then creates a centroid inside each selected polygon
or closed polyline and moves any object data or SQL link data to the centroid.
For an object shaped like a figure eight, AutoCAD Map 3D creates one centroid.
Centroids are created with a Z value of 0.
See also:
■

Overview of Converting Geospatial Data to Drawing Objects (page 378)

■

Importing Polygons (page 429)

432 | Chapter 3 Bringing In Data

NOTE This procedure applies only to drawing objects. It does not apply to features
from a feature source.
To create centroids for polygons and closed polylines

1 Click Create tab ➤ Drawing Object panel ➤ Create Centroids.
2 In the Create Centroids dialog box (page 1801), specify whether to create
centroids for all closed objects or only for selected closed objects. If only
for selected closed objects, select the polygons and closed polylines.
TIP Click the Quick Select tool to view and filter the object type as you select
objects.
3 Specify the layer on which the centroids should be created.
4 Specify the block to use for centroids, or use ACAD_POINT.
5 Click OK.

Quick Reference
MAPCREATECENTROIDS
Creates a centroid in a polygon and moves data to the centroid
Menu

Create menu ➤ Centroids

Icon
Create Centroids
Command Line

MAPCREATECENTROIDS

Dialog Box

Create Centroids dialog box

Importing Objects with Links to an External Database
When you import data (as opposed to using Data Connect (page 303)), the
imported material is converted to AutoCAD drawing objects. If objects in a
file you are importing have links to attribute data in a separate database, you
can maintain those links.

Importing Objects with Links to an External Database | 433

See also:
■

Converting Data From Other Formats to Drawing Objects (page 377)

■

Importing Attribute Data (page 425)

■

Overview of Linking Database Records to Objects (page 522)

To import objects with links to an external database
1 Make sure you have created a link template (page 526) for the external
database, and that the database is attached (page 209) and connected.

2 Click Insert tab ➤ Import panel ➤ Map Import .
3 In the Import dialog box (page 1711), click in a field in the Data column.
Click

.

4 In the Attribute Data dialog box (page 1699), select Add To Database Table.
5 Select the link template to use.
6 Select Create Link Only.
7 Click OK to close the Attribute Data dialog box.
When you import objects, the attribute data on the objects will be converted
to link data for the selected link template.

Quick Reference
MAPIMPORT
Imports an external file format into AutoCAD Map 3D
Menu

Click File ➤ Create DWG From ➤ Map 3D Import.

Icon
Import Map File
Command Line

MAPIMPORT

Dialog Box

Import dialog box

MAPOD2ASE

434 | Chapter 3 Bringing In Data

Converts object data tables to linked external database tables
Menu

Click Setup ➤ Convert Object Data to Database Links.

Command Line

MAPOD2ASE

Dialog Box

Convert Object Data to Database Links dialog box

Displaying Attribute Data as Text
When you import data (as opposed to using Data Connect (page 303)), the
imported material is converted to AutoCAD drawing objects. If you have
attribute data attached to the objects you import, you can display that data
as text next to the object. This works whether you import the data as object
data, external data linked to the object, or block attributes.
TIP If you are importing points, you can import the points directly as attribute
data. See Specifying How to Import Points (page 427).
See also:
■

Converting Data From Other Formats to Drawing Objects (page 377)

■

Adding Annotation (page 1103)

To import a file with attribute data and display the data as text

1 Click Insert tab ➤ Import panel ➤ Map Import .
Then import the
attribute data as object data (page 426). Save and close the file.
2 Open a drawing and attach the drawing file (page 154) containing the
imported objects.
3 Define a query that includes the objects you want. If you have only one
file attached, define a Location condition (page 1241) to find all objects in
the source drawing.
4 As part of the query, define a property alteration that displays the object
data as text (page 1278). When specifying the text, click Expression and
choose the object data table that contains the imported attribute data.
5 Optionally, save the changes (page 754) back to the attached (source) file.

Displaying Attribute Data as Text | 435

Quick Reference
ADEDRAWINGS
Manages the drawing set
Menu

In the Classic workspace, click Setup menu ➤
Define/Modify Drawing Set

Icon
Define/Modify Drawing Set
Command Line

ADEDRAWINGS

Task Pane

In Map Explorer, right-click
Drawings ➤ Define/Modify Drawing Set

Dialog Box

Define/Modify Drawing Set dialog box

ADEQUERY
Controls defining, modifying, saving, loading, and executing a query
Menu

In the Classic workspace, click Setup menu ➤ More
DWG Options ➤ Define Query

Icon
Define Query
Command Line

ADEQUERY

Task Pane

In Map Explorer, right-click Current Query ➤ Define
-or- Right-click a query ➤ Edit

Dialog Box

Define Query dialog box

ADESAVEOBJS
Saves objects in the save set back to source drawings
Menu

In the Classic workspace, click File menu ➤ Save
Source Drawing Save Set

Icon
Save to Source Drawings
Command Line

ADESAVEOBJS

Dialog Box

Save Objects to Source Drawings dialog box

436 | Chapter 3 Bringing In Data

MAPIMPORT
Imports an external file format into AutoCAD Map 3D
Menu

Click File ➤ Create DWG From ➤ Map 3D Import.

Icon
Import Map File
Command Line

MAPIMPORT

Dialog Box

Import dialog box

Adding Rasters and Surfaces
■
■
■
■
■
■
■
■

To add a raster image to the map (page 440)
To add a raster-based surface to your map (page 442)
To add 2D rasters to your map (page 444)
To add a WMS-based image to your map (page 447)
To make a raster image transparent (page 450)
To specify an image insertion point (page 451)
To insert the image manually (page 452)
To enter the coordinates for the image insertion point (page 452)

Overview of Adding Rasters and Surfaces
When creating a map, you can add raster images and surfaces to the display.

Adding Rasters and Surfaces | 437

Adding one or more images in the background of your map adds context and gives
the map visual appeal.

Use the following raster image and surface types in your map.
Raster Type

Formats

Raster-based surfaces
(page 441)

DEM (Digital Elevation Model), ESRI Grid, or Digital Terrain Elevation Data (DTED)

2D raster (page 443)

JPEG and JPEG2K (Joint Photographic Experts Group), PNG
(Portable Network Graphic), MrSID (Multi-Resolution Seamless
Image Database), TIFF (Tagged Image File Format), ECW (Enhanced Compressed Wavelet)

WMS raster (page
445)

Maps on a server

Other raster formats
(page 453)

BMP, CALS-I, ECW, FLIC, GeoSPOT, IG4, IGS, IKONOS, JFIF,
LANDSAT FAST, L7A, NITF, PCX, PICT, Quickbird TIFF, RLC 1
and 2 , TARGA

NOTE Layers in the map are rendered based on the draw order of the layers in
Display Manager. To display drawing objects in front of the raster image, put the
raster image layer at the bottom of the list.

438 | Chapter 3 Bringing In Data

Tell me more
■

Show me how to bring multiple images
onto a single layer.

■

Show me how to insert an image using
a guide.

■

Show me how to bring in data from a
web server using WMS.

■

To add raster images using Data Connect (page 442)

■

To add raster images that use formats
unsupported by Data Connect (page
459)

■

Exercise 5: Add a raster image

■

Style Surfaces

■

Bring in data from multiple image files
to a single layer

■

Transform an image so that it is correctly
aligned

■

Access data published on a public web
server

■

Organizing Layers in Your Map (page
300)

■

Specifying Image Insertion Point (page
451)

■

Using Other Raster Image Formats
(page 453)

■

Adding an Image from a WMS (Web
Map Service) (page 445)

Video

Procedure

Tutorial

Workflow

GIS Skills

Related topics

Overview of Adding Rasters and Surfaces | 439

To add a raster image to the map
1 In Display Manager (page 2060), click Data ➤ Connect To Data.
2 In the Data Connect window, select Add Raster Image or Surface
Connection in the Data Connections By Provider list.
If you are adding a WMS image, see Adding an Image from a WMS (Web
Map Service) (page 445). If you are adding an image whose format does
not appear in the Data Connect window, see Using Other Raster Image
Formats (page 453).
3 Under Connection Name, type a name for this connection.
You can give the connection any name you like. This name appears in
Map Explorer as the name of the feature source.
4 Click the folder icon to browse to the folder containing multiple images,
or click the image icon to specify a single image.
5 Click Connect.
6 In the Add Data To Map area, select the images to include.
If this source contains only a single image, that image is selected
automatically. If it contains multiple images, you can right-click any of
them and select Select All or Select None.
7 For each image you select, make sure the Coordinate System and Vertical
Units entries are correct.
■

Hold your cursor over an image name to see its native coordinate
system. The Coordinate System entry should match this.

■

Scroll the table if necessary to see all the columns.

■

To change the coordinate system, click Edit Coordinate Systems and
choose the appropriate coordinate system.

■

To change the vertical units, click the current entry to display a down
arrow that lets you choose a different one.

8 To combine all the images on one map layer, select Combine Into One
Layer. This is useful for combining a series of images to create a single
layer; for example, you can combine GeoTIFs of each county to create a
state map.
9 Click Add To Map.
10 If prompted, specify the location, scale, and rotation (page 451) for each
image.

440 | Chapter 3 Bringing In Data

Some image files contain placement information and are placed
automatically in your map. For images that do not contain placement
information, you are prompted for the location, scale, and insertion
point.
11 In Display Manager, make sure that the image layer is in the correct
display order.
You can move the raster layer below objects and features.
■

In Display Manager, click Groups ➤ Draw Order. (If this button is
already labeled Draw Order, you can omit this step.)

■

Drag the raster layer down in the list. Layers at the bottom of the list
appear behind the ones above them.

NOTE You must use a different process (page 453) to insert an image whose format
is not available in Data Connect, or to specify correlation information for an image
whose file does not specify it.

Quick Reference
Connect Feature Source
Connects a feature source
Menu

Click File ➤ Connect To Data.

Icon
Connect
Command Line

MAPCONNECT

Task Pane

In Display Manager click Data ➤ Connect to Data.

Adding Raster-Based Surfaces to Your Map
You can add 3D raster-based surfaces to your map. For example, add DEM
(Digital Elevation Model), ESRI Grid, or Digital Terrain Elevation Data (DTED)
surfaces.
After you add raster-based surfaces to your map, you can create contour maps
to help you analyze 3D terrain. You can use raster-based theming to analyze

Adding Raster-Based Surfaces to Your Map | 441

elevation, slope, and aspect, and drape map data over surfaces. You can view
the data in 3D with walkthrough and flythrough options.
See also:
■

Analyzing Raster-Based Surfaces (page 1186)

■

Adding an Image from a WMS (Web Map Service) (page 445)

To add a raster-based surface to your map
1 In Display Manager (page 2060), click Data ➤ Connect To Data.
2 In the Data Connect window, select Add Raster Image or Surface
Connection in the Data Connections By Provider list.
3 Under Connection Name, type a name for this connection.
You can give the connection any name you like. This name appears in
Map Explorer as the name of the feature source.
4 Specify the folder that contains your surface. Click the folder icon to
browse to the folder.
5 Click Connect.
6 Hold your cursor over the name of the surface file to see a pop-up window
that displays its coordinate system, for example, UTM27-10.
When you add data to your map, you must specify its original coordinate
system. AutoCAD Map 3D automatically converts the data from that
coordinate system to the one specified for your map.
7 Click Edit Coordinate Systems and, in the Edit Spatial Contexts (page 1605)
dialog box, click the entry and click Edit.

Select the entry and click Edit to specify the coordinate system for the surface

442 | Chapter 3 Bringing In Data

8 Select the coordinate system you saw in the pop-up window. Click OK
twice to return to the Data Connect window.
9 In the Add Data To Map area, select the surfaces to include.
If this source contains only a single surface, that surface is selected
automatically. If it contains multiple surfaces, you can right-click any of
them and select Select All or Select None.
10 To combine all the images on one map layer, select Combine Into One
Layer. This is useful for combining a series of images to create a single
layer.
11 Click Add To Map.
The surface is added to your map.

Quick Reference
Connect Feature Source
Connects a feature source
Menu

Click File ➤ Connect To Data.

Icon
Connect
Command Line

MAPCONNECT

Task Pane

In Display Manager click Data ➤ Connect to Data.

Adding 2D Rasters
You can add a two-dimensional image to your map. For example, add an aerial
photograph, an artist’s sketch, or your company logo.
Use the steps on the Procedure tab to add images in these formats:
■

JPEG and JPEG2K (Joint Photographic Experts Group)

■

PNG (Portable Network Graphic)

■

MrSID (Multi-Resolution Seamless Image Database)

■

TIFF (Tagged Image File Format)

Adding 2D Rasters | 443

■

ECW (Enhanced Compressed Wavelet)

You can also add surface-based rasters (page 441)such as DEM and ESRI Grid
files.
NOTE You must use a different process (page 453) to insert an image whose format
is not available in Data Connect, or to specify correlation information for an image
whose file does not specify it.
See also:
■

Adding Raster-Based Surfaces to Your Map (page 441)

■

Using Other Raster Image Formats (page 453)

■

Adding an Image from a WMS (Web Map Service) (page 445)

To add 2D rasters to your map
1 In Display Manager (page 2060), click Data ➤ Connect To Data.
2 In the Data Connect window, select Add Raster Image or Surface
Connection in the Data Connections By Provider list.
3 Under Connection Name, type a name for this connection.
You can give the connection any name you like. This name appears in
Map Explorer as the name of the feature source.
4 Click the folder icon to browse to the folder containing multiple images,
or click the image icon to specify a single image.
5 Click Connect.
6 In the Add Data To Map area, select the images to include.
If this source contains only a single image, that image is selected
automatically. If it contains multiple images, you can right-click any of
them and select Select All or Select None.
7 For each image you select, make sure the Coordinate System and Vertical
Units entries are correct.
■

Hold your cursor over an image name to see its native coordinate
system. The Coordinate System entry should match this.

■

Scroll the table if necessary to see all the columns.

444 | Chapter 3 Bringing In Data

■

To change the coordinate system, click Edit Coordinate Systems and
choose the appropriate coordinate system.

■

To change the vertical units, click the current entry to display a down
arrow that lets you choose a different one.

8 To combine all the images on one map layer, select Combine Into One
Layer. This is useful for combining a series of images to create a single
layer.
9 Click Add To Map.
10 If prompted, specify the location, scale, and rotation (page 451) for each
image.
Some image files contain placement information and are placed
automatically in your map. For images that do not contain placement
information, you are prompted for the location, scale, and insertion
point.
The image is added to your map.

Quick Reference
Connect Feature Source
Connects a feature source
Menu

Click File ➤ Connect To Data.

Icon
Connect
Command Line

MAPCONNECT

Task Pane

In Display Manager click Data ➤ Connect to Data.

Adding an Image from a WMS (Web Map Service)
You can incorporate web-based raster image data (such as satellite photographs)
that have been published to a public web server using the WMS (Web Map
Service) open standard developed by the Open GIS Consortium (OGC).
AutoCAD Map 3D supports WMS versions 1.1.0, 1.1.1, and 1.3.

Adding an Image from a WMS (Web Map Service) | 445

Data from WMS web services can be used to provide background layers for
your map. With WMS data, you take the data as it is; you cannot reproject it.
The number of Web Map Services (WMS) that implement OpenGIS interfaces
on the Internet is increasing all the time, as more organizations adopt the
open standards.
Once you have located some WMS data, determine the URL of the page that
serves the published layers. Often, this is not a standard web page that you
can open in a browser, but a page that has been programmed using a scripting
language such as CGI, PHP, or ASP. A typical web server address looks like
this:
http://wms.jpl.nasa.gov/wms.cgi
Paste the address into the Data Connect window in AutoCAD Map 3D.
NOTE Websites that host web services appear and disappear or are under
construction. Not all sites that you find will work perfectly (or at all).
You can also bring in web-based feature data (page 346).
Example WMS Image Sources
WMS Image Source

Description

http://maps.customweather.com/image

Weather data

http://wms.jpl.nasa.gov/wms.cgi?

Global SRTM and DTED data

http://globe.digitalearth.gov/vizbin/wmt.cgi

All types of data for the globe - soils, temperature, land cover, boundaries, etc.

http://terraservice.net/ogccapabilities.ashx

USGS orthographic and topographic maps

http://demo.cubewerx.com/demo/cubeserv/cubeserv.cgi?

Source of different types of data layers,
such as boundaries, terrains, physiography,
utilities, SRTM, etc.

http://edcw2ks51.cr.usgs.gov/servlet/com.esri.wms.Esrimap?WMTVER=1.1.0&ServiceName=133urban&

Various orthographic images for USA cities,
for example, San Francisco, Reno, and
Chattanooga.

http://www2.dmsolutions.ca/cgibin/mswms_gmap

Various Canadian features - provincial
boundaries, lakes, railroads, and more.

446 | Chapter 3 Bringing In Data

WMS Image Source

Description

http://demo.deegree.org:8080/deegree/wms?

Geospatial data from NGA (U.S.), Intevation (Germany) and OGC (U.S.)

http://www.ga.gov.au/bin/getmap.pl?dataset=national&

Geoscience Australia national geoscience
datasets

Tell me more
■

Show me how to bring in data from a
web server using WMS

■

To add a WMS-based image to your
map (page 447)

■

Access data published on a public web
server

■

Creating and Viewing Metadata (page
1486)

■

Bringing In Features from WFS (page
346)

■

Styling Features (page 639)

Video

Procedure

GIS Skill

Related topics

To add a WMS-based image to your map
1 In Display Manager (page 2060), click Data ➤ Connect To Data.
2 In the Data Connect window, select Add WMS Connection in the Data
Connections By Provider list.
3 Under Connection Name, type a name for this connection.
You can give the connection any name you like. This name appears in
Map Explorer as the name of the feature source.
4 Specify the URL for the WMS server. Click the down arrow to choose
from a list of recently-used URLs.
5 Specify the WMS version of the data you want.

Adding an Image from a WMS (Web Map Service) | 447

The Open GIS Consortium updates the WMS format periodically, so there
are multiple versions. AutoCAD Map 3D requests the highest version
(currently 1.3.0) by default. If you do not change this setting, the server
will provide the highest version it supports. Some servers support multiple
WMS versions, each corresponding to a different set of capabilities and
resulting layers. If you must use a specific version of the image, select it
from the list. The server may or may not support the version you request.
6 Click Connect.
7 If necessary, enter your user name and password.
8 In the Add Data To Map area, select the images to include.
If this source contains only a single image, that image is selected
automatically. If it contains multiple images, you can right-click any of
them and select Select All or Select None.
9 For each image you select, do the following:
■

Click the Image Format entry to the right of the image name to choose
the format for the image you add to your map.
The available format types include PNG, TIF, JPG, and BMP.

■

Click the Server CS Code entry for the image and choose from the
available coordinate systems for the server (the EPSG codes).
A WMS layer can support multiple coordinate systems. AutoCAD Map
3D may not recognize all the EPSG codes the WMS server provides.
If this occurs, you can choose the EPSG code that best serves your
purposes.
WMS layers inherit supported EPSG values from their parent objects,
so a child layer (one indented below a parent layer in the list) may
have both its own EPSG setting and the setting of its parent.

■

Click the Layer CS Code entry to choose the coordinate system for
the layer.
Unless you know the coordinate system of the source image, do not
change the default. AutoCAD Map 3D will automatically convert the
image to the coordinate system for your map when it adds the image.

■

Click the Style entry to choose one of the available styles.

■

Click the Background entry to specify a transparent background for
the layer or choose a background color from the list.

10 To combine all the images on one map layer, select Combine Into One
Layer. This is useful for combining a series of images to create a single

448 | Chapter 3 Bringing In Data

layer; for example, you can combine images of each county to create a
state map.
If you combine the images, you must specify a single Image Format, Server
CS Code, and Background for the resulting layer.
When you select Combine Into One Layer, an Order entry appears next
to each selected layer. Click the entry to change the order of the selected
images within the combined layer.
11 Click Add To Map.
The image is added to your map.

Quick Reference
Connect Feature Source
Connects a feature source
Menu

Click File ➤ Connect To Data.

Icon
Connect
Command Line

MAPCONNECT

Task Pane

In Display Manager click Data ➤ Connect to Data.

Making an Image Transparent
When you add a raster image to a map using Data Connect, it appears in a
Display Manager layer. You can edit the properties of this layer to add an
“opacity” property, and then set that opacity property to a value below 1 to
change the transparency of the layer.
To do this, you must save the layer to a file and edit the file in a text editor,
such as Notepad.
NOTE The transparency will not appear in printed versions of the map.
See also:
■

Adding Raster-Based Surfaces to Your Map (page 441)

Making an Image Transparent | 449

■

Adding 2D Rasters (page 443)

■

Adding an Image from a WMS (Web Map Service) (page 445)

To make a raster image transparent
1 Add the raster (page 437) to AutoCAD Map 3D.
You can use any type of raster, including a WMS image. The image does
not need to be transparent or have an opacity setting already.
2 Right-click the layer containing the image and choose Save Layer.
Save the layer to a .layer file.
3 Open the resulting .layer file in a text editor, such as Notepad, and find
the  entry.
4 Just under the  entry, add the opacity setting, using the
following syntax:
0.6
An opacity setting of 1 makes the layer completely opaque. A setting of
.1 makes it virtually transparent.
5 Save the .layer file.
6 In AutoCAD Map 3D, switch the Task Pane to Display Manager (page 2060)
and remove the original raster layer.
7 Add any other entities to your map that will appear on layers beneath
the translucent image, and theme or style those layers.
8 Click Data ➤ Load Layer and select the .layer file you edited.
The translucent raster image overlays the opaque layers, and they appear
beneath it.

Quick Reference
Connect Feature Source
Connects a feature source
Menu

450 | Chapter 3 Bringing In Data

Click File ➤ Connect To Data.

Icon
Connect
Command Line

MAPCONNECT

Task Pane

In Display Manager click Data ➤ Connect to Data.

Specifying Image Insertion Point
If an image does not contain location information, you can specify its insertion
point and rotation so the image is inserted correctly in relation to other data.
You can also adjust the scale so it matches the scale of the other data.
AutoCAD Map 3D saves the insertion-point setting with the drawing. The
changes are not saved back to the image file or to the correlation source file.
To modify the settings stored in the image file, use an image-editing application
such as Autodesk Raster Design. If you modify the original settings in the
image, reinsert the image to see the changes in your map.
See also:
■

Adding Rasters and Surfaces (page 437)

■

To specify an image insertion point (page 451)

■

To insert the image manually (page 452)

■

To enter the coordinates for the image insertion point (page 452)

To specify an image insertion point
1 In the Display Manager (page 2060), click Data ➤ Connect To Data.
2 In the Data Connect window, select Add Raster Image or Surface
Connection in the Data Connections By Provider list.
3 Under Connection Name, type a name for this connection.
You can give the connection any name you like. This name appears in
Map Explorer as the name of the feature source.
4 Under Source File Or Folder, click the folder icon and browse to the folder
than contains your image. Click Connect.
5 Select the image to insert and click Add To Map.

Specifying Image Insertion Point | 451

6 In the Image Insertion dialog box specify where to insert the image. You
can enter X,Y coordinates for the image, or manually specify the insertion
point in the drawing. Each option is described below.
To insert the image manually
1 In the Image Insertion dialog box, on the Insertion tab, click Pick.
2 Pick the base point for the frame.
You can also type coordinates at the command prompt.
3 Type a rotation angle or pick a point to define the rotation angle.
Rotation is in degrees or in the units set by the AUNITS variable. The
image is rotated around the insertion point.
4 Pick the second corner point to define the size of the frame.
The Image Insertion dialog box displays the new coordinates, rotation,
and scale.
5 Click OK to insert the image into the specified frame.
To enter the coordinates for the image insertion point
1 Specify the insertion point for the lower-left corner of the image frame.
The insertion point values on the Source tab use the unit specified at the
bottom of the Source tab. The insertion point values on the Insertion tab
are translated to the current AutoCAD Map 3D drawing unit.
2 Specify the rotation.
Use current drawing angle units. This value uses the lower-left corner as
the base point.
3 Specify the scale.
If the image you insert contains correlation information, the image is
inserted at the scale specified by that information. Otherwise, the image
is inserted at a scale factor of 1 image unit of measurement to 1 AutoCAD
Map 3D unit of measurement.
A scale factor greater than 1 enlarges the image, while a scale factor less
than 1 makes the image smaller. For example, to make the image twice
as large, type 2 in the Scale box.
You can change the scale to align the image with the vector geometry in
the drawing. For example, if your raster image has a scale of 1 inch equals

452 | Chapter 3 Bringing In Data

50 feet or 1:600, and your AutoCAD Map 3D drawing has a scale of 1
unit equals 1 inch, enter 600 as the scale.
4 Specify the units for insertion point and density.
For bitmaps, the density unit used in the image may be in dots per inch.
For satellite photos, the density may be in miles. This unit is also used
for the insertion point.
For example, if your image was scanned at 300 dpi, then select Inches as
the unit.

Quick Reference
Connect Feature Source
Connects a feature source
Menu

Click File ➤ Connect To Data.

Icon
Connect
Command Line

MAPCONNECT

Task Pane

In Display Manager click Data ➤ Connect to Data.

MAPIINSERT
Inserts a raster image
Menu

Create menu ➤ Insert An Image

Command Line

MAPIINSERT

Dialog Box

Insert Image dialog box

Using Other Raster Image Formats
Use this feature to connect to raster image formats that are not supported by
Data Connect, or to specify correlation information for images that do not
contain this information within their files. Images attached using the following
methods support a limited set of styles.

Using Other Raster Image Formats | 453

NOTE To use this technique to insert some raster image formats, such as ECW
and SID, you must first download the free Raster Object Enabler from autodesk.com.
NOTE If the image you are inserting is supported, connect to it and add it to your
map using Data Connect (page 437). This gives you more control over styling and
other options.
■
■
■
■

To insert raster images (page 455)
To manage raster images (page 473)
To manage the appearance of raster images (page 482)
To modify raster images (page 490)

Inserting Raster Images
Use the Raster Extension features to insert and correlate raster images with
formats that are not supported by Data Connect, or to specify correlation
information for images that do not contain this information within their files.
To use this technique to insert some raster image formats, such as ECW and
SID, you must first download the free Raster Object Enabler from autodesk.com.
■
■
■
■
■
■
■

Overview of Inserting Raster Images Outside Data Connect (page 455)
Inserting a Raster Image (page 459)
Correlating a Raster Image During Insertion (page 462)
Manually Adjusting the Image Frame During Insertion (page 465)
Setting Image Density (page 467)
Adding an Image in a Drawing to a Display Manager Layer (page 470)
Inserting an Image from the Command Line (page 470)

NOTE If you are inserting large images or multiple images at once, you can set
Raster Extension memory options.
NOTE If the image you are inserting is supported, connect to it and add it to your
map using Data Connect (page 437). This gives you more control over styling and
other options.
See also:
■

Configuring Memory Use (page 258)

■

Overview of Adding Rasters and Surfaces (page 437)

454 | Chapter 3 Bringing In Data

To insert raster images
■
■
■
■
■
■
■
■

To insert a raster image (overview) (page 459)
To insert a raster image (page 460)
To correlate an image during insertion (page 464)
To adjust the image frame manually during insertion (page 465)
To change the density unit when inserting an image (page 469)
To set the default density value and density unit (page 469)
To add an image to a new Display Manager layer (page 470)
To insert an image from the Command prompt (page 471)

Overview of Inserting Raster Images Outside Data Connect
You can connect to many raster image files using Data Connect. Use the Raster
Extension features to insert and correlate raster images with formats that are
not supported by Data Connect, or to specify correlation information for
images that do not contain this information within their files.
Some image-editing applications, such as Autodesk® Raster Design, store
information about image location in an associated correlation source file.
When you insert a raster image using the Insert An Image command (Click
Home tab ➤ Data panel ➤ Insert An Image.
), AutoCAD Map 3D reads
coordinate correlation information and places the image in the precise
coordinate location in the drawing.

Using Other Raster Image Formats | 455

Inserting a raster image into a city map. Move your
cursor over the image to see the results.

After you insert the image, you can change the image display order (page 475)
to have the features and drawing objects display on top of the image.
When you insert an image, AutoCAD Map 3D links the image to the drawing
file through a path name or a data-management document ID. When you
update a linked image, the updates appear in the drawing. Because the image
itself is not included in the drawing, the image does not increase drawing size.
Once you have inserted an image, you can reinsert it multiple times treating
it as if it were a block. Each insertion has its own clip boundary and its own
settings for brightness, contrast, fade, and transparency. A single image can
be cut into multiple pieces that can be rearranged in your drawing.
NOTE If you are inserting large images or multiple images at once, you can set
Raster Extension memory options. See Configuring Memory Use (page 258).

456 | Chapter 3 Bringing In Data

Supported Image Formats
AutoCAD Map 3D supports the most common image file formats used in
computer graphics, document management, mapping, and geographic
information systems (GIS). Images can be bitonal, 8-bit gray (grayscale), 8-bit
color (indexed color), or 24-bit color (true color).
Several image file formats support images with transparent pixels. When image
transparency is on, AutoCAD Map 3D recognizes those transparent pixels and
allows graphics on the AutoCAD Map 3D screen to show through those pixels.
(In bitonal images, background pixels can be treated as transparent.)
Transparent images can be grayscale or color.
In addition, you can select the transparent color for grayscale or color images,
and you can set the opacity for raster images.
AutoCAD Map 3D supports the following raster file formats. Some formats,
such as SID and ECW, are supported as OLE objects and not as image files.
AutoCAD Map 3D determines the file format from the file contents, not from
the file extension.
Type

Description and version

File extension

BMP

Windows and OS/2 bitmap format

.bmp, .rle, .dib

CALS-I

Computer Aided Acquisition and Logistics Support

.rst, .gp4, .mil, .cal, .cg4

DOQ

Digital orthophoto quadrangle raster
image format (used for aerial photos
that are processed to remove distortion)

.doq

ECW

Enhanced Compressed Wavelet (a
highly compressed multiresolution image format from ER Mapper

.ecw

FLIC

Autodesk digital animation format

.flc, .fli

GeoSPOT

SPOT Image Corporation format with
georeferencing information

.bil

GeoTIFF

TIFF with georeferencing information

.tif

GIF

Graphics Interchange Format (a raster
image format from CompuServe)

Using Other Raster Image Formats | 457

Type

Description and version

File extension

IG4

Image Systems Group 4

.ig4

IGS

Image Systems Gray Scale

.igs

IKONOS

8- or 16-bit satellite imagery

JFIF

JPEG File Interchange Format

.jpg

JPEG and JPEG
2000

Joint Photographics Expert Group

.jpg

LANDSAT FAST
L7A

Multispectral image format used by the
Landsat 7 satellite

NITF

National Imaging Transmission Format
(a multiframe image format commonly
used by US federal agencies and NATO)

PCX

PC Paintbrush Exchange

.pcx

PICT

Macintosh PICT1, PICT2

.pct

PNG

Portable Network Graphics

.png

Quickbird TIFF

Multispectral image format from DigitalGlobe’s Quickbird Satellite

RLC 1 and 2

Run Length Encoding format (version
1 has no header; version 2 has IST
headers)

.rlc

SID (MrSID)

Multi-Resolution Seamless Image Database (a highly compressed LizardTech
format)

.sid

TARGA

TrueVision image file format

.tga

TIFF

Tagged Image File Format

.tif

NOTE You can also use Data Connect (page 437)to add JPEG, PNG, MrSID, and
TIFF images.

458 | Chapter 3 Bringing In Data

See also:
■

Overview of Adding Rasters and Surfaces (page 437)

To insert a raster image (overview)
1 To insert an ECW or SID file, you must first download the free Raster
Object Enabler from autodesk.com.
2 Locate the image (page 460) to insert.
3 Specify correlation settings (page 464) for the image.
4 Specify image density (page 469).
5 Add the image to a Display Manager layer (page 470).

Quick Reference
MAPIINSERT
Inserts a raster image
Menu

Create menu ➤ Insert An Image

Command Line

MAPIINSERT

Dialog Box

Insert Image dialog box

Inserting a Raster Image
When you insert an image into a drawing using the Insert An Image command,
you can preview the image, modify the image frame (also referred to as a
boundary, a frame is a vector object that encloses the image) and image density,
and correlate the image (page 462) with existing vector information or with a
previously correlated image. You can use correlation settings from an external
file, or you can enter the settings manually. You can also modify the correlation
settings after you insert the image (page 501).
After you insert several images, use REGEN to display the correct draw order
of the images. See Changing Image Draw Order (page 475).
NOTE If the image you are inserting is supported, connect to it and add it to your
map using Data Connect (page 437). This gives you more control over styling and
other options.

Using Other Raster Image Formats | 459

Tell me more
■

Show me how to insert an image using
a guide.

■

Show me how to transform an image.

■

To add raster images that use formats
unsupported by Data Connect (page
459)

■

Transform an image so that it is correctly
aligned

■

Overview of Adding Rasters and Surfaces (page 437)

■

Specifying Image Insertion Point (page
451)

■

Using Other Raster Image Formats
(page 453)

Video

Procedure

GIS Skill

Related topics

To insert a raster image
1 To insert an ECW or SID file, you must first download the free Raster
Object Enabler from autodesk.com.

2 Click Home tab ➤ Data panel ➤ Insert An Image.
3 In the Insert Image dialog box (page 1878), select the drive and folder that
contains the image(s).
4 In the Files Of Type box, select the file format of the image(s) to insert.
NOTE To insert more than one image type at a time, select All Images.
5 In the list of images, select the images to insert.
TIP For information about an image, click Information to display the file
size, creation date, and other information, as well as a preview of the image.

460 | Chapter 3 Bringing In Data

6 To view or modify the image correlation data, select Modify Correlation.
7 Click Open.
If Modify Correlation is not selected or if you are inserting more than
one image, the Image Correlation dialog box does not appear and the
images are inserted using their default correlation information. AutoCAD
Map 3D searches in this order for correlation information:
■

World file

■

Resource file (.res extension)

■

Tab file (.tab file)

■

Image file

■

Settings from the Raster Extension Options dialog box

If you selected Modify Correlation, the Image Correlation dialog box
displays. The image frame, which indicates where the image will be
inserted, is displayed in your drawing.
TIP If you cannot see the image frame, use the ZOOM or PAN commands
to bring it into view while leaving the Image Correlation dialog box open.
8 Do one of the following:
■

To insert the image using the current settings, click OK.

■

To use a different correlation source (page 464), select the correlation
source from the Correlation Source list.

■

To change the insertion point, rotation, or scale, type the appropriate
values. For more information, see To correlate an image during
insertion (page 464).

■

To resize or orient the image to existing vectors or images, click the
image frame while the Image Correlation dialog box is open.

■

To define the insertion point, rotation, and scale onscreen, select the
Insertion tab. Click Pick. For more information, see To adjust the
image frame manually during insertion (page 465).

■

To specify the density units for the image, select the Source tab. Select
Units (page 469).

9 Click OK.

Using Other Raster Image Formats | 461

The image is inserted on the current AutoCAD layer and its correlation data
is saved in the drawing file. The next time you open the drawing, the image
is displayed automatically using these settings.

Quick Reference
MAPIINSERT
Inserts a raster image
Menu

Create menu ➤ Insert An Image

Command Line

MAPIINSERT

Dialog Box

Insert Image dialog box

Correlating a Raster Image During Insertion
When you insert an image using the Insert An Image command, you can
correlate the image with your existing vectors or a previously correlated image.
You can change the insertion point and rotation of the image so that it is
inserted correctly in relation to other data. You can also adjust the scale so
that it matches the scale of the other data.
NOTE If the image you are inserting is supported, connect to it and add it to your
map using Data Connect (page 440). This gives you more control over styling and
other options.
You can set the following options when inserting an image:
■

Correlation source

■

Insertion point (georeferencing correlation information)

■

Rotation

■

Scale

■

Density

■

Units for insertion point and density

■

Color

462 | Chapter 3 Bringing In Data

If you modify the correlation settings, AutoCAD Map 3D saves the changes
with the drawing. The changes are not saved back to the image file or to the
correlation source file.
NOTE To modify the settings stored in the image file, use an image-editing
application such as . If you modify the original settings in the image, you must
reinsert the image to see the changes.

Correlation Settings
■

Correlation Source — Displays available correlation sources. (See the
Correlation Sources section, following.) If a source is not listed, it may not
be in the same directory as the image file or, if it is a resource (.res) file, it
may not be on the specified resource file path.
NOTE To specify the path for resource (.res) files, at the Command prompt,
enter mapioptions. Select the Paths tab.

■

Insertion Point — The insertion point is the lower left corner of the image
before any rotation is applied.
The insertion point values on the Source tab of the Image Insertion dialog
box use the unit specified at the bottom of the Source tab. The insertion
point values on the Insertion tab are translated to the current AutoCAD
Map 3D drawing unit.
You can edit the settings or select an insertion point in the drawing by
clicking Pick on the Insertion tab and then picking a location in the
drawing.

■

Rotation — Rotation is in degrees or in the units set by the AUNITS variable.
The image is rotated around the insertion point.

■

Scale — If the image you insert contains correlation information, the image
is inserted at the scale specified by that information. Otherwise, the image
is inserted at a scale factor of 1 image unit of measurement to 1 AutoCAD
Map 3D unit of measurement. You can change the scale to align the image
with the vector geometry in the drawing. For example, if your raster image
has a scale of 1 inch equals 50 feet or 1:600, and your AutoCAD Map 3D
drawing has a scale of 1 unit equals 1 inch, enter 600 as the scale on the
Insertion tab.

■

Density — For bitmaps, the density unit used in the image may be in dots
per inch. For satellite photos, the density may be in miles. This unit is also
used for the insertion point.

Using Other Raster Image Formats | 463

To see how your correlation settings translate to AutoCAD Map 3D units,
select the Insertion tab. To preview the settings in the drawing, click Apply.
NOTE To modify correlation settings after you insert an image use the Properties
palette.

Correlation Sources
When you insert an image, AutoCAD Map 3D searches for correlation files
for the image and displays them in the Correlation Source list of the Image
Correlation dialog box. You may see the following sources listed.
■

World File (Various file extensions)

■

Resource File (.res) — You can specify an alternate location for resource
files. See Setting the Resource Files Directory (page 251).

■

Tab File (.tab)

■

Image File — For certain types of images, correlation data can be saved as
part of the image file. These file types include RLC, IG4, IGS, GeoTags in
GeoTIFF, or HDR File in GeoSPOT.

■

Default — The values that you set on the Image Defaults tab of the Raster
Extension Options dialog box.

See also:
■

Modifying the Correlation Settings for an Image (page 501)

To correlate an image during insertion
1 Insert an image (page 460)
2 In the Image Correlation dialog box (page 1873), do one or more of the
following:
■

Select a correlation source.

■

Type new coordinates for the image frame. The insertion point
represents the lower-left corner of the frame.

■

Scale the image.
For example, to make the image twice as large, type 2 in the Scale box.

■

Rotate the image. The units of the rotation value depend on the setting
of the AUNITS system variable.

464 | Chapter 3 Bringing In Data

NOTE You can click the frame while the Insert An Image dialog box is
open and use the grips to move, scale, or rotate the frame.
3 Click Apply to see your changes.
4 Click OK to insert the image.
AutoCAD Map 3D inserts the image on the current layer and saves its
correlation data in the drawing file. The next time you open the drawing, the
image displays using these settings.
TIP If your image is not visible, zoom to the drawing extents. Click Map Setup
tab ➤ Map panel ➤ Zoom Drawing Extents.

Quick Reference
MAPIINSERT
Inserts a raster image
Menu

Create menu ➤ Insert An Image

Command Line

MAPIINSERT

Dialog Box

Insert Image dialog box

Manually Adjusting the Image Frame During Insertion
If you do not know the exact coordinates for the image, you can specify the
insertion point, rotation angle, and scale of the image by adjusting the frame
at the time of insertion. As you draw the frame onscreen, the program
maintains the aspect ratio of the image that you are inserting.
See also:
■

Modifying the Correlation Settings for an Image (page 501)

To adjust the image frame manually during insertion
1 Insert an image (page 460).

Using Other Raster Image Formats | 465

2 In the Image Correlation dialog box (page 1873), on the Insertion tab, click
Pick.
An outline of the frame appears onscreen. This outline reflects the aspect
ratio of the image that you are inserting.
3 Pick the base point for the frame.
You can also type coordinates at the Command prompt, or, if there is
already correlation data for the image, press Enter to accept the existing
coordinates.
4 Type a rotation angle or pick a point to define the rotation angle.
5 Pick the second corner point to define the size of the frame.
TIP You can use UNDO to undo a point.
The Image Correlation dialog box is redisplayed with the new coordinates,
rotation, and scale.
6 Click OK to insert the image into the specified frame.
AutoCAD Map 3D inserts the image on the current layer and saves its
correlation data in the drawing file. The next time you open the drawing,
the image displays using these settings.
TIP You can select the frame and use the grips or standard AutoCAD Map 3D
commands to size, move, or rotate the image while the Image Correlation dialog
box is open.

Quick Reference
MAPIINSERT
Inserts a raster image
Menu

Create menu ➤ Insert An Image

Command Line

MAPIINSERT

Dialog Box

Insert Image dialog box

466 | Chapter 3 Bringing In Data

Setting Image Density
For some images, the density value and units are already stored in the image
file or correlation source. When you use the Insert An Image command to add
an image that does not have correlation information, AutoCAD Map 3D uses
the settings from the Image Defaults tab in the Raster Extension Options dialog
box.
NOTE If the image you are inserting is supported, connect to it and add it to your
map using Data Connect (page 440). This gives you more control over styling and
other options.
You can change the density unit when you insert an image but not the density
value. You must set the default density value from the Raster Extension Options
dialog box.
■

Density — Shows the dots (or pixels) per unit for the image. If this
information was not stored with the image or the correlation source, then
AutoCAD Map 3D uses the default density from the Raster Extension
Options dialog box.

■

Units — Select the units for the density from the Units list. For example,
if your image was scanned at 300 dots per inch, then select Inch as the
density unit.

Some image formats, such as GeoTIFF, GeoSPOT, and any image with a World
file for correlation source, have density units that are in real-world coordinates.
For example, a satellite photo can be based on dots-per-mile. In this case,
select Mile as the density unit.
The density unit that you specify can vary depending on what type of image
you are inserting. The following two examples explain the difference between
inserting an image that was scanned using dots per inch, and an aerial
photo/satellite photo that was saved in real-world units.

Setting Density Units for an Image That Is Not Georeferenced
The following example shows the relationship between paper scale, density
units, and insertion scale for an image that is not georeferenced (an image
that was not saved with real-world unit data). Any image that is drawn using
a scale (such as a floor plan) and captured with a scanner will likely fall into
this category.
The image in the following example was drawn at a paper scale of 1" = 48",
scanned at 300 dots per inch, then inserted into a drawing using 300 as the

Using Other Raster Image Formats | 467

density value and Inches as the density unit. Then it was scaled based on its
paper scale of 1" = 48".
The density units that you select when you insert an image that is not
georeferenced should match the units at which the image was scanned. In
this case, the units are inches because the image was scanned in dots per inch.
NOTE Remember that the scale must be based on the same units. For example,
if the scale in the original floor plan is 1" = 4', you must convert both sides to the
same unit. In this case, convert the 4 feet to inches, which is why you use 1" = 48"
as the scale factor.

Setting Density Units for an Image That Is Georeferenced
The following example shows the relationship between density units and a
georeferenced image. Because there is no paper scale to consider, you can
insert the image using the units that the image represents, such as feet or
miles, and you do not have to scale the image when you insert it.

Georeferenced images include GeoSPOT and GeoTIFF file types, and images
that use World files as their correlation source.

468 | Chapter 3 Bringing In Data

See also:
■

Overview of Adding Rasters and Surfaces (page 437)

■

Using Other Raster Image Formats (page 453)

To change the density unit when inserting an image

1 Click Home tab ➤ Data panel ➤ Insert An Image.
2 In the Insert Image dialog box (page 1878), select the image(s) to insert.
3 Select Modify Correlation.
4 Click Open.
5 Select the Source tab. Select the units.
To set the default density value and density unit
1 In the Tool-based Ribbon Workspace, click Insert tab ➤ Image
panel ➤ angle-arrow.
2 In the Import dialog box (page 1711), select the Image Defaults tab.
3 In the Density box, type a default density for images. This should be the
scanned resolution (page 2072). For example, if the majority of your images
were scanned at 300 dots per inch, type 300.
4 In the Units box, select the default unit for the insertion point and density
of images. For example, if the majority of your images were scanned at
300 dots per inch, then select Inch.
5 Click OK.

Quick Reference
MAPIINSERT
Inserts a raster image
Menu

Create menu ➤ Insert An Image

Command Line

MAPIINSERT

Dialog Box

Insert Image dialog box

Using Other Raster Image Formats | 469

Adding an Image in a Drawing to a Display Manager Layer
You can move an image you inserted directly into the current drawing with
the Insert An Image command to a new Display Manager (page 2060) layer. This
allows you to position it relative to other Display Manager layers.
See also:
■

Overview of Adding Rasters and Surfaces (page 437)

■

Using Other Raster Image Formats (page 453)

To add an image to a new Display Manager layer
1 Insert the image using the Insert An Image command. Click Home
tab ➤ Data panel ➤ Insert An Image.
2 In Display Manager, click Data ➤ Add Drawing Data ➤ Raster Image.
3 In the Select Image dialog box, select the image.
4 To group the image layers, select Group Selection.
If you combine the image layers in a group, you can turn the display of
the group on or off.
5 Click OK.

Quick Reference
MAPIINSERT
Inserts a raster image
Menu

Create menu ➤ Insert An Image

Command Line

MAPIINSERT

Dialog Box

Insert Image dialog box

Inserting an Image from the Command Line
You can insert an image at the Command prompt by setting the FILEDIA
variable to <0>. This feature is useful if you already have correlation data stored

470 | Chapter 3 Bringing In Data

with your images or to use an AutoLISP routine to insert images into your
drawing.
NOTE If the image you are inserting is supported, connect to it and add it to your
map using Data Connect (page 440). This gives you more control over styling and
other options.
AutoCAD Map 3D uses correlation data if available, searching for a correlation
source in the following order:
■

world file

■

resource file

■

tab file

■

image file

AutoCAD Map 3D uses the correlation information from the first source that
it locates. If it cannot find a correlation file, then the image is inserted using
the default insertion point information that you defined in the Raster
Extension Options dialog box. You can specify a default location for resource
files, and you can specify that AutoCAD Map 3D search for correlation
information in the resource directory before checking the image directory. If
the correlation source does not include information on scale or density,
AutoCAD Map 3D uses the scale and density specified on the Image Defaults
tab of the Raster Extension Options dialog box.
See also:
■

Setting the Resource Files Directory (page 251)

■

Setting Correlation Defaults (page 257)

To insert an image from the Command prompt
1 Set the FILEDIA system variable to 0.
Consult the AutoCAD Command Reference if you need more information.
2 At the Command prompt, enter mapiinsert.
3 Do one of the following:
■

Type the name of the image to insert including its file extension.
If you do not specify a path to the image, then AutoCAD Map 3D
searches for the image using the Project Files Search Path set in the
Files tab of the AutoCAD Options dialog box.

Using Other Raster Image Formats | 471

■

Type the path to the image, the image name, and the file extension,
for example: c:\Projects\Images\contour.rlc
AutoCAD Map 3D searches for the image on the path that you specify.
If it cannot locate the image on this path, then it searches for the
image using the Project Files Search Path.

NOTE When FILEDIA is set to <0>, you can display the Insert Image dialog box
by typing a tilde (~) in response to a command prompt.
When AutoCAD Map 3D locates the image, it inserts it into your drawing. If
there is correlation data stored with the image, then AutoCAD Map 3D inserts
the image using this data.
TIP If you cannot see the image after you insert it, zoom to the extents of the
drawing or use the Image Management dialog box to zoom to the image (page
481).

Quick Reference
MAPIINSERT
Inserts a raster image
Menu

Create menu ➤ Insert An Image

Command Line

MAPIINSERT

Dialog Box

Insert Image dialog box

MAPIOPTIONS
Specifies default image correlation settings, display options, detach options,
paths, and memory settings
Menu

Setup menu ➤ Raster Options

Command Line

MAPIOPTIONS

Dialog Box

Raster Extension Options dialog box

472 | Chapter 3 Bringing In Data

Managing Raster Images
You can view and modify information about images you inserted using the
Insert An Image command.
To manage raster images
■
■
■
■
■
■
■
■

To display the Image Management dialog box (page 474)
To display the Image Information dialog box (page 475)
To display the Properties palette (page 475)
To change the draw order of images (page 477)
To change the draw order of images and objects (page 477)
To change an image name (page 479)
To create a search path (page 480)
To zoom to an image (page 481)

Overview of Managing Raster Images
When you insert an image into a drawing using the Insert An Image command,
only information about the image is stored in the drawing, along with a
pointer to the actual image.
You can view and modify this stored information.
To do this...

Use this method...

View information about images in maps.

Display the Image Management or Image
Information dialog box, or the Properties
palette.
See Viewing Image Information (page 474).

Change the draw order of raster images
and vector objects you inserted using the
Insert An Image command.

Click Insert tab ➤ Image panel ➤ Image

Change the name of an image you inserted
using the Insert An Image command.

Click Insert tab ➤ Image panel ➤ Image

Management.
See Changing Image Draw Order (page
475).

Management.
See Changing an Image Name (page 478).

Using Other Raster Image Formats | 473

To do this...
Specify the location of an image you inserted using the Insert An Image command,
if it has been moved or deleted.

Zoom to images you inserted using the
Insert An Image command.

Use this method...

Click
➤ Options. On the Files tab,
select Project Files Search Path. Click Add.
See Creating a Search Path for Raster Images (page 479).
Click Insert tab ➤ Image panel ➤ Image
Management.
See Zooming to an Image (page 481).

Viewing Image Information
You can view information about images in maps in the following ways:
■

The Image Management dialog box displays information about the number
of instances of an image in the map, the draw order of images, and other
image information.

■

The Image Information dialog box displays information about the file, the
image, properties, and correlation information.

■

The Properties palette provides access to image properties.

NOTE These options work for all images, no matter how they were added to your
map.
See also:
■

Overview of Adding Rasters and Surfaces (page 437)

■

Using Other Raster Image Formats (page 453)

To display the Image Management dialog box
■

Click Insert tab ➤ Image panel ➤ Image Management.

You can click Layout to modify the columns in the Image Management dialog
box. You can hide or display topic columns, or change the order of topic
columns.

474 | Chapter 3 Bringing In Data

To display the Image Information dialog box
1 Click the frame of the image to select it.
NOTE If you are zoomed in and cannot see the image frame, press Shift +
left-click (page 493) to select the image.
2 Right-click the image ➤ Image ➤ Information.
To display the Properties palette
1 In the drawing, select the image to modify.
2 Right-click the image. Click Properties.

Quick Reference
MAPIINFO
Displays file, image, object property, and correlation information about
selected images
Menu

View menu ➤ Imaging Tools ➤ Information

Command Line

MAPIINFO

Dialog Box

Image Information dialog box

MAPIMANAGE
Allows you to view a list of images in the current drawing, change drawing
order, erase or zoom to selected images
Menu

Click Setup ➤ Image Management.

Command Line

MAPIMANAGE

Dialog Box

Image Management dialog box

Changing Image Draw Order
When you insert raster images, the images draw in the order in which you
insert them. You can change the draw order of:
■

Raster images.

Using Other Raster Image Formats | 475

■

Raster images and vector objects.

You can change the draw order of images and vector objects. By sending an image to
the back, the vector objects display on top of the image. Move your cursor over the
image to see the results.

NOTE If you change the draw order and then undo the change, images may not
appear in the correct draw order. Use the REGEN command to display the correct
draw order of the images.
The following conditions affect the image draw order:
■

Image insertion order
AutoCAD Map 3D uses image insertion order first. For example, if you
insert images A, B, C in that order, and then reorder them so that they are
arranged as B, C, A, use REGEN when you open that drawing again to
restore the order to B, C, A.

476 | Chapter 3 Bringing In Data

AutoCAD Map 3D always uses this optimization feature and applies it to
the draw order of all objects, not just to images.
■

Image selection
You can set an option to draw hatch marks over a selected image. Click
➤ Options. Select the Display tab. Under Display Performance, set
Highlight Raster Image Frame Only to off.
If Highlight Raster Image Frame Only is off, when you select an image, it
rises to the top of the display order, obscuring any vectors that cross it.
Use the REGEN command to restore the proper display order.

NOTE For images you added with Data Connect (page 2059), use Display Manager
(page 2060) to change the draw order. See Organizing Layers in Your Map (page
300).
See also:
■

Overview of Adding Rasters and Surfaces (page 437)

■

Using Other Raster Image Formats (page 453)

NOTE For images you added with Data Connect (page 2059), use Display Manager
(page 2060) to change the draw order. See Organizing Layers in Your Map (page
300).
To change the draw order of images
1 Click Insert tab ➤ Image panel ➤ Image Management.
2 In the Image Management dialog box (page 1875), select an image name
and drag it up or down in the Image column.
The current draw order is indicated in the Image column. The top image
in the list is drawn on top of all the other images and is the last drawn.
The last image in the list is drawn beneath any images that may overlap
it.
To change the draw order of images and objects
1 Select the image.

Using Other Raster Image Formats | 477

2 Do one of the following:
■

Click Home tab ➤ Modify panel ➤ Bring To Front drop-down ➤ Bring
To Front

■

Click Home tab ➤ Modify panel ➤ Bring To Front drop-down ➤ Send
To Back

If necessary, use REGEN.
NOTE Changes made using Draw Order are reflected in the Image Management
dialog box.

Quick Reference
REGEN
Regenerates the drawing and refreshes the current viewport
Menu

View menu ➤ Regen

Command Line

REGEN

MAPIMANAGE
Allows you to view a list of images in the current drawing, change drawing
order, erase or zoom to selected images
Menu

Click Setup ➤ Image Management.

Command Line

MAPIMANAGE

Dialog Box

Image Management dialog box

Changing an Image Name
Image names are not necessarily the same as image file names. When you
attach an image to a drawing using the Insert An Image command, AutoCAD
Map 3D uses the file name without the file extension as the image name. You
can change the image name without affecting the name of the file.
NOTE This command does not affect images you added using Data Connect
(page 440).

478 | Chapter 3 Bringing In Data

See also:
■

Overview of Adding Rasters and Surfaces (page 437)

■

Using Other Raster Image Formats (page 453)

To change an image name
1 Click Insert tab ➤ Image panel ➤ Image Management.
2 In the Image Manager dialog box, select the image name.
3 Click the image name again to edit it.
4 Enter the new name.
5 Click OK.
TIP You can also change the image name by pressing F2 while in the Image
Manager dialog box and editing the name.

Quick Reference
IMAGE
Manages images
Menu

Setup menu ➤ Image Management

Icon
Manage Images
Command Line

IMAGE

Task Pane

Select an image. Right-click in drawing
area ➤ Image ➤ Image Manager

Creating a Search Path for Raster Images
When you insert an image with the Insert An Image command, AutoCAD
Map 3D stores the location of the image in the drawing file. When you open
a drawing, AutoCAD Map 3D searches this stored location for the file. If the
image has been moved or deleted, AutoCAD Map 3D searches the Project Files
Search Path.

Using Other Raster Image Formats | 479

NOTE This command does not affect images you added using Data Connect
(page 440).
See also:
■

Overview of Adding Rasters and Surfaces (page 437)

■

Using Other Raster Image Formats (page 453)

To create a search path

1 Click

➤ Options.

2 On the Files tab, select Project Files Search Path. Click Add.
A folder named Projectx (where x indicates the next available number)
appears under Project Files Search Path.
3 Enter a name for the project.
The project name cannot contain leading spaces or terminating spaces.
4 Click Apply.
5 With the project name selected, click Set Current.
6 Click Add.
A path entry is created under the project name.
7 Enter the search path or click Browse to select a directory.
8 Click OK.
For more information about using project files and alternate search paths,
refer to PROJECTNAME in the online AutoCAD Command Reference.

Quick Reference
OPTIONS
Customizes the AutoCAD settings
Menu

Setup menu ➤ AutoCAD Options

Command Line

OPTIONS

480 | Chapter 3 Bringing In Data

Task Pane

Right-click in the drawing area ➤ Options

Zooming to an Image
You can zoom to images you inserted with the Insert An Image command.
NOTE This command does not affect images you added using Data Connect
(page 440).
See also:
■

Overview of Adding Rasters and Surfaces (page 437)

■

Using Other Raster Image Formats (page 453)

To zoom to an image
1 Click Insert tab ➤ Image panel ➤ Image Management.
2 In the Image Management dialog box (page 1875), select an image.
3 Right-click the image. Click Zoom To.

Quick Reference
MAPIMANAGE
Allows you to view a list of images in the current drawing, change drawing
order, erase or zoom to selected images
Menu

Click Setup ➤ Image Management.

Command Line

MAPIMANAGE

Dialog Box

Image Management dialog box

Using Other Raster Image Formats | 481

Hiding, Unloading, Detaching, and Erasing Images
You can increase redrawing speed by hiding or unloading images you inserted
using the Insert An Image command that you do not need in the current
drawing session.
■
■
■
■
■

Overview of Hiding, Unloading, Detaching, and Erasing Images (page 482)
Hiding an Image (page 485)
Unloading an Image (page 486)
Erasing an Image (page 487)
Detaching an Image (page 488)

See also:
■

Overview of Adding Rasters and Surfaces (page 437)

■

Using Other Raster Image Formats (page 453)

To manage the appearance of raster images
■
■
■
■

To hide an image (page 485)
To unload an image (page 486)
To erase an image (page 487)
To detach an image (page 489)

Overview of Hiding, Unloading, Detaching, and Erasing Images
When you insert an image using the Insert An Image command, AutoCAD
Map 3D stores information about the image in the drawing, loads the image
into memory, displays it onscreen, and locks the image file on the disk.
NOTE This command does not affect images you added using Data Connect
(page 440).
You can increase redrawing speed by hiding or unloading images you do not
need in the current drawing session. Hidden images are not displayed or
plotted; only their drawing boundaries are displayed. You can choose to hide
an image regardless of the current viewport coordinate system. If you no longer
need the image in the drawing, you can erase a single instance of the image
or you can detach the image to erase all instances of the image and the image
information.
Aside from locking the image file, none of these actions modify the original
image file itself.

482 | Chapter 3 Bringing In Data

See also:
■

Overview of Adding Rasters and Surfaces (page 437)

■

Using Other Raster Image Formats (page 453)

To do this...

Use this method...

Hide an image you added using the Insert
An Image command.

Select and right-click the image frame ➤

Remove an image you added using the
Insert An Image command from memory
(unload it).

At the command prompt, enter externalreferences. Right-click the image and click
Unload.
See Unloading an Image (page 486).

Erase an image you added using the Insert
An Image command from the map.

Select the image. Click Home

Remove all instances of an image you added using the Insert An Image command
from the map (detach it).

Click Insert tab ➤ Image panel ➤ Image

Image ➤ Show Image.
See Hiding an Image (page 485).

tab ➤ Modify panel ➤ Erase.
See Erasing an Image (page 487).

Management.
Click the image and
click Detach.
See Detaching an Image (page 488).

Quick Reference
PROPERTIES
Displays the Properties palette, which allows you to edit the properties of
objects
Menu

Analyze ➤ Properties

Icon
Properties
Command Line

PROPERTIES

Task Pane

Select object. Right-click in drawing area ➤ Properties

MAPISHOWIMAGE

Using Other Raster Image Formats | 483

Hides or displays a raster image
Menu

Right-click a selected image frame ➤ Image ➤ Show
Image

Command Line

MAPISHOWIMAGE

ERASE
Removes objects from a drawing
Menu

Modify menu ➤ Erase

Icon
Erase
Command Line

ERASE

Task Pane

Select objects to erase. Right-click in drawing
area ➤ Erase

MAPIOPTIONS
Specifies default image correlation settings, display options, detach options,
paths, and memory settings
Menu

Setup menu ➤ Raster Options

Command Line

MAPIOPTIONS

Dialog Box

Raster Extension Options dialog box

IMAGE
Manages images
Menu

Setup menu ➤ Image Management

Icon
Manage Images
Command Line

IMAGE

Task Pane

Select an image. Right-click in drawing
area ➤ Image ➤ Image Manager

484 | Chapter 3 Bringing In Data

Hiding an Image
When you hide an image, the image does not display onscreen, nor does it
plot. Only the image boundary displays onscreen. However, the image is still
loaded in memory, and the image file is still locked on the disk. It cannot be
deleted or modified. Hiding images is a convenient way to speed regeneration
time. You can redisplay the image when you are ready to plot.
This command is not available if you have selected more than one image. To
show or hide multiple images, use the Properties palette.
NOTE This command does not affect images you added using Data Connect
(page 440).
NOTE You can also control the display of images by using the LAYER command.
When you insert an image, it is inserted on the current layer, but you can move
it to another layer. You can then use the LAYER command to control the layer
visibility.
The images are also affected by other layer attributes such as whether a layer
is locked or frozen. If you are working with several images and you do not
want to modify certain images, then move those images to a separate layer
and lock the layer.
See also:
■

Overview of Adding Rasters and Surfaces (page 437)

■

Using Other Raster Image Formats (page 453)

To hide an image
1 Select the image frame.
2 Right-click the image ➤ Image ➤ Show Image.
To show a hidden image, follow the same steps.
NOTE You can also modify this setting on the Properties palette.

Quick Reference
PROPERTIES

Using Other Raster Image Formats | 485

Displays the Properties palette, which allows you to edit the properties of
objects
Menu

Analyze ➤ Properties

Icon
Properties
Command Line

PROPERTIES

Task Pane

Select object. Right-click in drawing area ➤ Properties

MAPISHOWIMAGE
Hides or displays a raster image
Menu

Right-click a selected image frame ➤ Image ➤ Show
Image

Command Line

MAPISHOWIMAGE

Unloading an Image
To conserve memory and enhance performance, unload images that you do
not need to view and/or plot.
NOTE This command does not affect images you added using Data Connect
(page 440).
When you unload an image, you remove the image from memory. It does not
display onscreen, nor does it plot, and it is no longer locked on the disk. Only
the image boundary displays onscreen. Information about the image, such as
its path and scale, remains in the drawing. Before you can plot the image, you
must reload it into memory.
See also:
■

Changing Image Display Quality and Speed (page 498)

■

Overview of Adding Rasters and Surfaces (page 437)

■

Using Other Raster Image Formats (page 453)

To unload an image
1 At the command prompt, enter externalreferences.

486 | Chapter 3 Bringing In Data

2 In the External References palette, right-click the image.
3 Click Unload.
This status is saved with the drawing when you close the drawing.

Quick Reference
IMAGE
Manages images
Menu

Setup menu ➤ Image Management

Icon
Manage Images
Command Line

IMAGE

Task Pane

Select an image. Right-click in drawing
area ➤ Image ➤ Image Manager

Erasing an Image
When you erase an image, that instance of the image is erased from the
document. Erasing an image does not delete the image information. You can
set an option so that when the last instance of an image is erased from the
drawing, AutoCAD Map 3D detaches the image, deleting the image
information.
NOTE This command does not affect images you added using Data Connect
(page 440).
See also:
■

Choosing an Image Detach Method (page 255)

■

Overview of Adding Rasters and Surfaces (page 437)

■

Using Other Raster Image Formats (page 453)

To erase an image
1 Select the image.

Using Other Raster Image Formats | 487

2 Click Home tab ➤ Modify panel ➤ Erase.
If you erase all instances of an image within a drawing, you may be
prompted to detach the image (page 489) from the drawing.

Quick Reference
ERASE
Removes objects from a drawing
Menu

Modify menu ➤ Erase

Icon
Erase
Command Line

ERASE

Task Pane

Select objects to erase. Right-click in drawing
area ➤ Erase

MAPIOPTIONS
Specifies default image correlation settings, display options, detach options,
paths, and memory settings
Menu

Setup menu ➤ Raster Options

Command Line

MAPIOPTIONS

Dialog Box

Raster Extension Options dialog box

Detaching an Image
When you detach an image, all instances of the image are removed from the
drawing, the image information is deleted, and the image file is unlocked.
Detach images that you no longer need in the drawing.
NOTE This command does not affect images you added using Data Connect
(page 440).
See also:
■

Choosing an Image Detach Method (page 255)

488 | Chapter 3 Bringing In Data

■

Overview of Adding Rasters and Surfaces (page 437)

■

Using Other Raster Image Formats (page 453)

To detach an image

1 Click Insert tab ➤ Image panel ➤ Image Management.
2 In the Image Manager dialog box, select the image name.
3 Click Detach.
The image is no longer linked to the drawing file, and all instances of the
image are removed from the drawing.

Quick Reference
IMAGE
Manages images
Menu

Setup menu ➤ Image Management

Icon
Manage Images
Command Line

IMAGE

Task Pane

Select an image. Right-click in drawing
area ➤ Image ➤ Image Manager

Modifying Raster Images
You can modify an image with grip modes, adjust an image for contrast, clip
the image with a rectangle or polygon, or use an image as a cutting edge for
a trim.
■
■
■
■
■
■

Overview of Modifying Raster Images (page 490)
Selecting an Image (page 493)
Displaying Image Frames (page 494)
Changing Image Alignment (page 495)
Adjusting Image Brightness, Contrast, and Fade (page 496)
Changing Image Display Quality and Speed (page 498)

Using Other Raster Image Formats | 489

■
■
■
■

Making an Image Transparent (page 499)
Modifying the Correlation Settings for an Image (page 501)
Modifying Other Image Properties (page 503)
Clipping an Image (page 504)

To modify raster images
■
■
■
■
■
■
■
■
■
■
■
■

To select an image by pressing Shift + left-click (page 493)
To turn on the Shift + left-click option (page 494)
To display image frames (page 495)
To change image alignment (page 496)
To adjust brightness, contrast, and fade (page 497)
To change image display quality (page 498)
To hide a drawing or show clipped images (page 498)
To make an image transparent (page 500)
To change the color that is transparent (page 500)
To modify the correlation settings for an image (page 502)
To modify image properties (page 503)
To clip an image (page 506)

Overview of Modifying Raster Images
You can copy, move, or clip raster images. You can modify an image with grip
modes, adjust an image for contrast, clip the image with a rectangle or polygon,
or use an image as a cutting edge for a trim.
NOTE This command does not affect images you added using Data Connect
(page 440).

Image Frames
AutoCAD Map 3D inserts images into frames. A frame is a rectangular vector
object that encloses the image. When you select the frame, you create a
selection set that you can manipulate using any editing command. You can
copy, move, stretch, rotate, and scale images.
To do this...

Use this method...

Select an image you added with the Insert
An Image command.

Press Shift while you click the image.
See Selecting an Image (page 493).

490 | Chapter 3 Bringing In Data

To do this...

Use this method...

Display frames for images you added with
the Insert An Image command.

Click Insert tab ➤ Image panel ➤ Toggle
Frames.
See Displaying Image Frames (page 494).

Change the alignment and scale of an image you added with the Insert An Image
command.

At the Command prompt, enter align.
See Changing Image Alignment (page 495).

Adjust the brightness, contrast, and fade
of an image you added with the Insert An
Image command.

At the Command prompt, enter imageadjust.
See Adjusting Image Brightness, Contrast,
and Fade (page 496).

Adjust the image display quality of an image you added with the Insert An Image
command.

At the Command prompt, enter imagequality.
See Changing Image Display Quality and
Speed (page 498).

For an image you added with the Insert An
Image command, make all pixels of a specific color in a grayscale or color image
transparent.

Right-click the image. Click Properties. In
the Properties palette, select Transparency.
See Making an Image Transparent (page
499).

Specify a precise location for an image you
added with the Insert An Image command

Right-click the image. Click Properties. In
the Properties palette, change the position
or rotation of the image.
See Modifying the Correlation Settings for
an Image (page 501).

For an image you added with the Insert An
Image command, modify frame properties.

Right-click the image. Click Properties. In
the Properties palette, change the color,
layer, or linetype.
See Modifying Other Image Properties
(page 503).

Display only a portion of an image you
added with the Insert An Image command.

At the Command prompt, enter imageclip.
See Clipping an Image (page 504).

Using Other Raster Image Formats | 491

Quick Reference
MAPIOPTIONS
Specifies default image correlation settings, display options, detach options,
paths, and memory settings
Menu

Setup menu ➤ Raster Options

Command Line

MAPIOPTIONS

Dialog Box

Raster Extension Options dialog box

MAPIFRAME
Makes frames enclosing raster images visible or invisible
Menu

View menu ➤ Imaging Tools ➤ Toggle Frames

Command Line

MAPIFRAME

Dialog Box

MAPIFRAME (Image Frame command)

ALIGN
Aligns objects with other objects in 2D and 3D
Command Line

ALIGN

PROPERTIES
Displays the Properties palette, which allows you to edit the properties of
objects
Menu

Analyze ➤ Properties

Icon
Properties
Command Line

PROPERTIES

Task Pane

Select object. Right-click in drawing area ➤ Properties

IMAGECLIP
Creates new clipping boundaries for an image object
Icon
Clip Image

492 | Chapter 3 Bringing In Data

Command Line

IMAGECLIP

Task Pane

Select an image. Right-click in drawing
area ➤ Image ➤ Clip

Selecting an Image
If an image frame is visible, you can select the image by clicking the frame or
by drawing a crossing window around a frame edge. When you select an image
by selecting its frame, grips are displayed.
NOTE This command does not affect images you added using Data Connect
(page 440).
You can also select an image by placing your cursor over the image and pressing
Shift + left-click. This feature is useful when you are zoomed in to the image
and you cannot see the image frame or if the image frames are turned off.
After you select an image frame, you can:
■

Right-click to display the Raster Extension shortcut menu.

■

Select a grip. Right-click to display the AutoCAD Map 3D shortcut menu.

■

Manipulate the image using AutoCAD Map 3D commands.

NOTE You can set an option to draw hatch marks over a selected image. Click
➤ Options. Select the Display tab. Under Display Performance, set Highlight
Raster Image Frame Only to off. If Highlight Raster Image Frame Only is off, when
you select an image, it rises to the top of the display order, obscuring any vectors
that cross it. Use the REGEN command to restore the proper display order.
See also:
■

Overview of Adding Rasters and Surfaces (page 437)

■

Using Other Raster Image Formats (page 453)

To select an image by pressing Shift + left-click
1 Position your pointer so that it is over the image or images to select.
2 Press Shift and click the left mouse button.

Using Other Raster Image Formats | 493

If you clicked more than one image, the Image Select dialog box (page
1877) appears. This dialog box displays the names of all the images that are
inserted into your drawing. The image or images that are already selected
are highlighted (not just the images that you selected by pressing Shift
+ left-click).
3 Click the images in the list to select. Click OK. To select all the images
in your drawing, click Select All. To clear the selection set, click Select
None.
NOTE If Shift + left-click is not working, you may need to load the Raster Extension
by using an image command such as Insert An Image, or you may need to turn
on the option.
To turn on the Shift + left-click option
1 In the Tool-based Ribbon Workspace, click Insert tab ➤ Image
panel ➤ angle-arrow.
2 In the Raster Extension Options dialog box, select the General tab.
3 Select Shift + Left Click Image Select.
4 Click OK to exit the dialog box.

Quick Reference
MAPIOPTIONS
Specifies default image correlation settings, display options, detach options,
paths, and memory settings
Menu

Setup menu ➤ Raster Options

Command Line

MAPIOPTIONS

Dialog Box

Raster Extension Options dialog box

Displaying Image Frames
An image frame is a vector object that encloses each image you insert.

494 | Chapter 3 Bringing In Data

NOTE This command does not affect images you added using Data Connect
(page 440).
Hiding an image frame ensures that the image cannot be moved or modified
accidentally by a single- or double-click and prevents the frame from being
plotted or displayed. When image frames are hidden, clipped images are still
displayed to their specified frame limits; only the frame is affected. Showing
and hiding image frames affects all images attached to your drawing.
When you attach an image to a drawing, the image frame inherits the current
color, layer, linetype, and linetype scale.
See also:
■

Changing How Image Frames Are Displayed (page 252)

■

Modifying Other Image Properties (page 503)

To display image frames
■

Click Insert tab ➤ Image panel ➤ Toggle Frames.

NOTE If frames are invisible or an image is on a locked or frozen layer or a layer
that is turned off, then you cannot select the image by clicking the frame. However,
if frames are hidden but the image is on an editable layer, then you can select the
image using Shift + left-click (page 493).

Quick Reference
MAPIFRAME
Makes frames enclosing raster images visible or invisible
Menu

View menu ➤ Imaging Tools ➤ Toggle Frames

Command Line

MAPIFRAME

Dialog Box

MAPIFRAME (Image Frame command)

Changing Image Alignment
You can change the alignment and scale of an image. You can reference two
points in vector space and two points on a raster image to move, scale, and

Using Other Raster Image Formats | 495

rotate the image to the vector coordinates. This process performs a simple
transformation but does not rubber sheet the image.
See also:
■

Moving, Rotating, and Scaling an Object (page 931)

To change image alignment
1 At the Command prompt, enter align.
2 Select the image and press Enter.
3 Specify a first source point on the image and a first destination point in
the drawing.
4 Specify a second source point on the image and a second destination
point in the drawing.
5 Press Enter.
6 To scale the image, type y (Yes) and press Enter.
The image aligns with the drawing according to the reference points you
specified.

Quick Reference
ALIGN
Aligns objects with other objects in 2D and 3D
Command Line

ALIGN

Adjusting Image Brightness, Contrast, and Fade
When you adjust image brightness, contrast, and fade in AutoCAD Map 3D,
the changes you make affect the display of the image as well as the plotted
output, but do not affect the original raster image file. Adjust brightness to
darken or lighten an image. Adjust contrast to make poor-quality images easier
to read. Adjust fade to make vectors easier to see over images or to create a
watermark effect in your plotted output.

496 | Chapter 3 Bringing In Data

NOTE This command does not affect images you added using Data Connect
(page 440).
NOTE Bitonal images cannot be adjusted for brightness, contrast, or fade. Bitonal
images fade to the current screen background when displayed, and fade to white
(the color of most paper) when plotted.
See also:
■

Overview of Adding Rasters and Surfaces (page 437)

■

Using Other Raster Image Formats (page 453)

To adjust brightness, contrast, and fade
1 At the Command prompt, enter imageadjust.
2 Select the image to modify. Press Enter.
3 In the Image Adjust dialog box, specify settings:
■

To adjust brightness or contrast, use the Brightness or Contrast slider
bar.

■

To adjust image fade, use the Fade slider bar.

4 Click OK.

Quick Reference
PROPERTIES
Displays the Properties palette, which allows you to edit the properties of
objects
Menu

Analyze ➤ Properties

Icon
Properties
Command Line

PROPERTIES

Task Pane

Select object. Right-click in drawing area ➤ Properties

Using Other Raster Image Formats | 497

Changing Image Display Quality and Speed
Changing Image Display Quality
You can change image display quality. Draft-quality images may be grainier,
but they display more quickly than high-quality images. Changing the image
display quality setting affects all images attached to your drawing with the
Insert An Image command.
NOTE This command does not affect images you added using Data Connect
(page 440).

Hiding Images
You can hide an image. Hidden images are not displayed or plotted; only the
drawing frame is displayed. You can choose to hide an image regardless of the
current viewport coordinate system.

Clipping Images
You can clip the image so that only the parts of the image you want visible
are displayed. To display more than one piece of the image, create additional
insertions of the image, each with a different clip boundary.
NOTE This command does not affect images you added using Data Connect
(page 440).
See also:
■

Hiding, Unloading, Detaching, and Erasing Images (page 482)

■

Changing Image Display Quality (page 253)

To change image display quality
1 At the Command prompt, enter imagequality.
2 Type d (draft) or h (high). Press Enter.
To hide a drawing or show clipped images
1 Click the frame of the image or images to change.

498 | Chapter 3 Bringing In Data

NOTE If you are zoomed in and cannot see the image frames, press Shift +
left-click to select the image or images.
2 Right-click the image. Click Properties.
3 In the Properties palette, select one of the display options.
■

Select Show Image and set it to No if you do not want to display the
image.

■

Select Show Clipped and set it to Yes to display any clip boundaries
you have made on an image using the imageclip command.

Quick Reference
PROPERTIES
Displays the Properties palette, which allows you to edit the properties of
objects
Menu

Analyze ➤ Properties

Icon
Properties
Command Line

PROPERTIES

Task Pane

Select object. Right-click in drawing area ➤ Properties

Making an Image Transparent
You can make all pixels of a specific color in a grayscale or color image
transparent. (The transparency color of a bitonal image is always the
background color of the image.) This is useful for overlaying two images or
placing an image in front of objects.
NOTE This command does not affect images you added using Data Connect
(page 440).
This option is not available if the image is currently unloaded or if the Raster
Extension is not loaded. To load the Raster Extension, use an image command,
such as Insert An Image.

Using Other Raster Image Formats | 499

NOTE The transparency color is stored in the drawing as an AutoCAD Map 3D
custom object. If you send the drawing to other users, they can see the
transparency color only by opening the drawing in AutoCAD Map 3D or Autodesk
Raster Design. If they open the drawing in AutoCAD, they see a message that
AutoCAD cannot reference the custom object and will not display the transparent
color.
You can also change the opacity of an entire raster image, so that the image
is translucent and items below it are visible.
See also:
■

Overview of Adding Rasters and Surfaces (page 437)

■

Using Other Raster Image Formats (page 453)

To make an image transparent
1 Select the image.
2 Right-click the image. Click Properties.
3 In the Properties palette, select Transparency.
4 Click the down arrow at the right of the box and select Yes.
Specify which color will be transparent.
To change the color that is transparent
1 Zoom in close to the image so that you can accurately select the color.
2 Click the image frame.
NOTE If you are zoomed so you cannot see the image frame, press Shift +
left-click to select the image.
3 Right-click the image. Click Properties.
4 In the Properties palette, select Transparency Color.
If Transparency Color does not appear in the Properties palette, the image
may not be loaded or the Raster Extension may not be loaded. To load
the image, select the image. Right-click the image ➤ Image ➤ Show
Image. To load the Raster Extension, choose an image command such as
Insert An Image.

500 | Chapter 3 Bringing In Data

NOTE You can choose the transparency color for grayscale and color images.
In bitonal images, the transparency color is always the background color of
the image.
5 Click

to display the Transparency Color dialog box (page 1883).

6 Click Select and pick the desired color on the image. Click OK.
7 To turn on transparency, select Transparency in the Properties palette
and set it to Yes.

Quick Reference
PROPERTIES
Displays the Properties palette, which allows you to edit the properties of
objects
Menu

Analyze ➤ Properties

Icon
Properties
Command Line

PROPERTIES

Task Pane

Select object. Right-click in drawing area ➤ Properties

Modifying the Correlation Settings for an Image
You can specify a precise location for an image.
NOTE This command does not affect images you added using Data Connect
(page 440).
NOTE When you change the insertion point values, AutoCAD Map 3D repositions
the image in the drawing and saves the settings in the drawing. However, these
correlation changes are saved only in the drawing and are not saved back to the
original image file. To change the original correlation information in the image
file, use an image-editing application such as Autodesk Raster Design.
See also:
■

Overview of Adding Rasters and Surfaces (page 437)

Using Other Raster Image Formats | 501

■

Using Other Raster Image Formats (page 453)

To modify the correlation settings for an image
1 Select the image.
2 Right-click the image. Click Properties.
3 In the Properties palette, do one of the following:
■

To move the image, type new coordinates in the Position X, Y, and
Z boxes. This insertion point represents the lower-left corner of the
image frame before any rotation is applied.

■

To rotate the image, type a new value in the Rotation box. The units
of the rotation value depend on the units that the drawing is using.
AutoCAD Map 3D rotates the image around the insertion point.

■

To scale the image, type a new value in the Scale box. For example,
to make the image twice as large, type 2 in the Scale box.

4 Close the Properties palette.
TIP You can also click the Pick icon to adjust the frame (page 465) location and
size.

Quick Reference
PROPERTIES
Displays the Properties palette, which allows you to edit the properties of
objects
Menu

Analyze ➤ Properties

Icon
Properties
Command Line

PROPERTIES

Task Pane

Select object. Right-click in drawing area ➤ Properties

502 | Chapter 3 Bringing In Data

Modifying Other Image Properties
Use the Properties palette to modify image properties such as the following:
■

Frame color, layer, linetype, and linetype scale

■

Image brightness, contrast, and fade

■

Location

■

Rotation, width, height, and scale

■

Image transparency and transparency color

The settings apply only to the selected images.
NOTE This command does not affect images you added using Data Connect
(page 440).
Rotation is in degrees (or the units set by the AUNITS system variable); scale,
width, and height are based on the unit of measurement used in the drawing.
When you insert an image, it is inserted on the current AutoCAD layer. Since
AutoCAD Map 3D controls the visibility and behavior of the layers, you can
move an image to another AutoCAD layer to take advantage of the layer
properties. For example, to display images, but not edit them, move the images
to an AutoCAD layer and lock the layer.
See also:
■

Overview of Adding Rasters and Surfaces (page 437)

■

Using Other Raster Image Formats (page 453)

To modify image properties
1 Click the frame or frames of the image or images to change.
NOTE If you are zoomed in and cannot see the image frames, press Shift +
left-click to select the image or images.
2 Right-click the image. Click Properties.
3 In the Properties palette, select the property to modify. For example:
■

Color — Select a color or click Select Color to display the Select Color
dialog box.

Using Other Raster Image Formats | 503

Select the desired color or select ByLayer to set the frame color of the
image to the color of the layer it is on. The frame color is also the
foreground color for bitonal images.
Click OK to apply the new color to the selected image or images.
■

Layer — Select the target AutoCAD layer for the image or images.

■

Linetype — Select a linetype for the image frame or frames. Select any
linetype that is loaded in your drawing or select ByLayer to use the
linetype defined for that layer.

Quick Reference
PROPERTIES
Displays the Properties palette, which allows you to edit the properties of
objects
Menu

Analyze ➤ Properties

Icon
Properties
Command Line

PROPERTIES

Task Pane

Select object. Right-click in drawing area ➤ Properties

Clipping an Image
By clipping an image, you can display and plot only a portion of the image.
The clipping boundary can be a rectangle or a two-dimensional polygon with
vertices constrained to lie within the boundaries of the image. Multiple
instances of the same image can have different clipping boundaries.

504 | Chapter 3 Bringing In Data

Image Clip lets you show only the part of an image you require. Move your cursor over
the image to see the clipped portion of the image.

You can display a clipped image using the clipping boundary, or you can hide
the clipping boundary and display the original image boundaries.

Using Other Raster Image Formats | 505

NOTE To clip an image, the image boundary must be visible. See Displaying
Image Frames (page 494).
A clip boundary is a display-only feature that you can use for viewing and
plotting purposes. It does not permanently change image data. When you
delete a clipping boundary, the original image boundary is restored. To clip
the image permanently, use an image-editing application such as Autodesk
Raster Design.
NOTE This command does not affect images you added using Data Connect
(page 440).
See also:
■

Displaying Image Frames (page 494)

■

Overview of Adding Rasters and Surfaces (page 437)

■

Using Other Raster Image Formats (page 453)

To clip an image
1 At the Command prompt, enter imageclip.
2 Select the image (page 493) to clip. You can clip one image at a time.
3 Press Enter or type n to create a new clip boundary.
4 Type r to create a rectangular boundary, or type p to create a polygonal
boundary.
5 Pick the points to define the clip boundary. You must pick at least three
points to define a polygonal boundary.
To restore the image, use these steps: At the Command prompt, enter
imageclip. Type off.
You can modify the clip boundary by defining a new boundary for the image
or by using object grips.
You can also choose to show or hide clip boundaries by changing the image
display properties (page 498) in the Properties palette.

506 | Chapter 3 Bringing In Data

Quick Reference
IMAGECLIP
Creates new clipping boundaries for an image object
Icon
Clip Image
Command Line

IMAGECLIP

Task Pane

Select an image. Right-click in drawing
area ➤ Image ➤ Clip

Joining Data to GIS Features
You can add properties from a different data source to GIS features in your
map using joins. For example, you can join employment rates stored in a
Microsoft Access database file to city features stored in an SDF file, or to
counties stored in an Oracle database. Once you join the two data sources,
you can use the joined information to style the feature, the same way you use
its native information. For example, you can theme the city features based on
the employment rates you joined.
NOTE These options are available for geospatial data only, and not for drawing
objects. To join attribute data to drawing objects, see Overview of Linking Database
Records to Objects (page 522).

Overview of Joins
Use joins to add extra data to GIS features in your map. For example, join
income data to a parcel layer to add that information to those features. You
can join data from the Internet, other organizations you work with, or GIS
data repositories.
NOTE Joins are available for geospatial data only, and not for drawing objects.
To join attribute data to drawing objects, see Overview of Linking Database Records
to Objects (page 522).
After you create the join, you can use the additional properties the same way
you use the native properties of the feature class: to label, theme, style, and
analyze the features of the layer.

Joining Data to GIS Features | 507

For example, after you join a table of voter turnout data to a map of regions
in your area, you can create a theme that varies in appearance, depending on
the number of participating voters in each region.
With joins, you can keep your data in separate tables, focused on specific
topics, instead of in one large database or file. This can ease administration
and reduce complexity.
Typically, a join connects a separate table of data (a secondary table) to a
feature class layer (the primary table). The most common type of join is a
one-to-one join, which connects one record in a table of data to one feature
in a feature class.
Typically, you join data tables from an application such as Microsoft Access
to FDO layers from SDF, SHP, Oracle, and ArcSDE data. However, you can also
join feature sources such as SHP to other feature sources.

Tell me more
■

Show me how to join attribute data to
features.

■

Show me how to manage joins.

■

Create a join. (page 512)

■

Lesson 2: Analyze Data With External
Information Using Joins

■

Join Attribute Data to a Geospatial
Feature

■

Join attribute data to features

■

Overview of the Data Table (page 1125)

Video

Procedure

Tutorial

Workflow

GIS Skill

Related topics
■

Create a join. (page 512)

■

Modify joins. (page 515)

508 | Chapter 3 Bringing In Data

■

Edit joined data. (page 517)

■

Export data from the Data Table. (page 520)

Creating a Join
A join adds the properties from a data table (secondary table) to an existing
Feature Class layer (primary table). The original data remains unchanged in
its source—the join exists only within your map.
The secondary table can be an actual table, such as a named range in an Excel
spreadsheet, or the tabular data contained in a feature source, such as an Oracle
database or an SDF file.
NOTE Joins are available for geospatial data only, and not for drawing objects.
To join attribute data to drawing objects, see Overview of Linking Database Records
to Objects (page 522).

One-to-One Joins
The most common type of join is a one-to-one join, in which one feature is
matched to one secondary record, and any additional secondary records are
ignored. For example, if you are joining a table of income data to a layer
representing parcels, you may have more than one income value for a particular
property (if there are multiple residences on that parcel, for instance, or
multiple earners in a residence). In a one-to-one join, the first income value
found for a parcel is matched to that parcel, and any other income information
is ignored.

One-to-Many Joins
You can also create a one-to-many join. In this case, when there are multiple
secondary records for a single feature, additional features are generated to
represent the extra values. Using the same example as above, a parcel that
matches multiple income values will result in multiple Data Table entries for
that parcel, each with a separate income value (even though there is still only
one actual feature). If you style the parcel layer based on income values, only
one is visible in your display map. You can still edit the feature in your map
(for example, to resize it). The real feature in your data will be updated.
NOTE Adding features to your map can have performance implications; some
operations take longer when there is more feature data.

Creating a Join | 509

Join Keys
To be joined, the primary and secondary tables must contain matching fields
with common values. These matching fields are the join keys.
For example, when joining a data table containing employment rates to a
layer representing counties, the join key might be County_Name, if that field
is common to both tables.
A join key does not need to have the same name in both data sources, but it
must have the same data type (numeric, string, Boolean, and so on). For
example, you can match the Parcel_ID field in one table to the Lot_Number
field in the second table, so long as Parcel_ID and Lot_Number use the same
data type.
NOTE Joins that use String fields are case-sensitive. The values in the fields must
match exactly. Jones will not match JONES.

Advanced Joining
You can join multiple secondary tables to a feature layer There are several
ways to do this.
You can join a new table to the joined secondary table to create a “chain” of
joins. For example, you can begin by joining income information to a layer
of parcel features, using the Parcel_ID as the common join key. Then you can
add a join to a table of employment data, using Job_Title as a common join
key between the income table and the employment table. Even though the
parcel feature does not contain a property for Job_Title, you can style the
parcels by job type after you complete both joins.
You can join multiple tables to a single feature using the same join key. For
example, you can join a table of traffic information to a roads layer, using the
Road_Name field as the join key. You can then join a second table of
maintenance schedules to the roads layer, using the same join key.
You can also join multiple tables to a single feature using different join keys.
For example, you can join population information to a layer representing
counties, using the County_Name field as the join key. Then you can join
flood-zone data to the same layer using Elevation as the join key.
In all cases, you can use all of the joined data when styling or theming the
feature layer.

510 | Chapter 3 Bringing In Data

Using Joins for Calculated Fields
You can create a calculated field that uses native data and joined data. For
example, if you join assessor data to parcel data, you can create a field that
represents the cost per acre for each parcel. You create a calculated field using
an expression.

Non-matching Data
When you create a join, you can specify how to deal with features in the
primary table that do not find a match in the secondary table. For example,
if you are joining assessor data to a parcel layer, you can decide what to do
with parcels that have no assessment data. The choices are as follows:
■

Keep All Records On The Left – Keeps all features, even if there is no match
in the secondary table (a left outer join).

■

Keep Only Left-Side Records With A Match – Hides features if there is no
matching record in the secondary table (an inner join).

Tell me more
■

Show me how to join attribute data to
features.

■

Create a join. (page 512)

■

Lesson 2: Analyze Data With External
Information Using Joins

■

Join Attribute Data to a Geospatial
Feature

■

Join attribute data to features

■

Modifying or Removing Joins (page
514)

■

Editing Joined Data (page 515)

Video

Procedure

Tutorial

Workflow

GIS Skill

Related topics

Creating a Join | 511

■

Using Joins with Calculated Properties
(page 518)

■

Accessing Data from ODBC (page 342)

■

Overview of the Data Table (page 1125)

NOTE Joins are available for geospatial data only, and not for drawing objects.
To join attribute data to drawing objects, see Overview of Linking Database Records
to Objects (page 522).
To create a join
1 Prepare to create a join by doing the following:
■

Ensure the primary and secondary sources share one or more common
fields, for example Parcel_ID or County_Name. These fields do not
have to have the same name in both sources, but they must use the
same data type.

■

Simplify your secondary table data as much as possible. For example,
remove unnecessary records or tables.

■

Connect to both the primary and secondary sources using one of the
FDO Providers in Data Connect. When you connect to a secondary
source that has no geometry data, you need not add anything to the
map—you can just establish the connection and close the Data
Connect window.
NOTE If your secondary source is a Microsoft Access or Microsoft Excel
table, connect to it using an ODBC connection. For information about
setting up ODBC sources, see Accessing Data from ODBC (page 342).

2 In Display Manager, right-click a feature layer ➤ Create A Join.
NOTE Once you create a join, this command changes to Joins ➤ Manage
Joins and displays the Manage Layer Data dialog box (page 1607). In that dialog
box, you can add, edit, or delete joins.
The layer you right-click is the primary source.
3 In the Table (Or Feature Class) To Join To list in the Create a Join / Edit
a Join dialog box (page 1603), select the table or feature class whose data
you will to join to the layer.

512 | Chapter 3 Bringing In Data

Your selection is the secondary source. If this source contains multiple
tables, choose the one to use for the join.
4 In the This Column From The Left Table list, select the join key (the
common field or property) for the primary source, for example, Parcel_ID
or County_Name.
5 In the Matches This Column From The Right Table list, select the
matching field or property in the secondary source.
Only fields with matching data types are displayed in the right-hand list.
The fields need not have the same name in both data sources, but they
must have the same data type (numeric, string, Boolean, and so on). For
example, you can match the Parcel_ID field in one table to the
Lot_Number field in the second table, so long as Parcel_ID and
Lot_Number use the same data type.
6 Under Type Of Joins, select the type of join to create:
■

Keep All Records On The Left (a left outer join)

■

Keep Only Left-Side Records With A Match (an inner join)

7 Under Relationship With Secondary Records (Cardinality), choose one
of the following:
■

One-To-One matches one secondary source record to each primary
source item. Any extra secondary source records are ignored.

■

One-To-Many creates a new feature for each extra record in the
secondary source.

8 Click OK.
In the Data Table (page 1125) for the primary source (the feature layer to which
you joined the data), the newly joined properties are appended to the right
of the native feature data. The joined properties are gray, to indicate that they
are read-only. In the column title, the name of the table you joined precedes
the property name.
NOTE To edit joined data, you must edit the secondary source itself, and not the
layer to which it is joined. See Editing Joined Data (page 515).

Quick Reference
MAPDEFINEJOIN

Creating a Join | 513

Defines a join for feature data.
Command Line

MAPDEFINEJOIN

Task Pane

In the Task Pane, right-click a layer ➤ Create Join.

Modifying or Removing Joins
After you create a join, you can change the settings you specified when you
created it. You can remove one (of multiple) joins from a feature layer, or
remove all joins from the feature layer at once, restoring the properties for
that layer to its native data only.
NOTE Joins are available for geospatial data only, and not for drawing objects.
To join attribute data to drawing objects, see Overview of Linking Database Records
to Objects (page 522).

Tell me more
■

Show me how to manage joins.

■

To modify a join (page 515)

■

Lesson 2: Analyze Data With External
Information Using Joins

■

Join Attribute Data to a Geospatial
Feature

■

Join attribute data to features

■

Overview of Joins (page 507)

■

Creating a Join (page 509)

■

Editing Joined Data (page 515)

■

Using Joins with Calculated Properties
(page 518)

Video

Procedure

Tutorial

Workflow

GIS Skill

Related topics

514 | Chapter 3 Bringing In Data

NOTE Joins are available for geospatial data only, and not for drawing objects.
To join attribute data to drawing objects, see Overview of Linking Database Records
to Objects (page 522).
To modify a join
1 In Display Manager, right-click the feature layer with the join to modify,
and select Manage Joins.
2 In the Manage Layer Data dialog box (page 1607), select the join to modify,
and click Edit.
3 In the Edit A Join dialog box, change any settings.
The settings are the same ones you used when you created the join (page
512). For example, you can change this join from One-To-Many to
One-To-One to get rid of extra features created by the original join.
4 To delete one (or multiple) joins for this feature layer, click the join to
delete (use Ctrl or Shift to select multiple joins). Click Delete.
5 When you are finished, click OK.
Changes can affect the styles, themes, and labels you set up in your map, if
they were based on the joined data.

Quick Reference
MAPDEFINEJOIN
Defines a join for feature data.
Command Line

MAPDEFINEJOIN

Task Pane

In the Task Pane, right-click a layer ➤ Create Join.

Editing Joined Data
You can edit the records in joined geospatial data.
NOTE Joins are available for geospatial data only, and not for drawing objects.
To join attribute data to drawing objects, see Overview of Linking Database Records
to Objects (page 522).

Editing Joined Data | 515

To help you maintain the integrity of your original data, a few limitations
apply when editing joined data:
■

When you edit a feature layer that has a one-to-one join (page 2070) in the
Data Table, you can change the native feature data (from the primary table)
but you cannot change the joined properties (from the secondary table).
To edit the joined data, display Map Explorer, expand the data source
containing the table to edit, select that table, and click Table.
NOTE You cannot add or delete records from an ODBC data source using the
Data Table. Use the source application, for example Microsoft Access, to do
this.

■

For one-to-one joins, you can delete records from the primary source only.
You cannot edit one-to-one inner joins.

■

You can insert records in the primary source for a left outer join (page 2066).
You cannot do so for an inner join (page 2065), because the lack of a matching
secondary record would make the feature disappear.

■

You cannot edit inner joins or one-to-many joins. To make changes, you
must open the table itself from Map Explorer.

■

In general, you cannot edit primary keys.
Each feature class has a property whose value uniquely identifies each
feature within that class. This is called the primary key. Many feature classes
use a single property for this purpose, for example, FeatureId. However, a
feature class could have a list of properties such as street number, street
name, and street type to uniquely identify a house address.
An FDO provider (page 2063) may also support the concept of autogenerated
ID values. When you add objects to your map using such a provider, the
identity property will not have a value, but it is still the primary key.

■

When working offline (page 721), the above rules apply, and you cannot
insert records at all.

See also:
■

Viewing Data for a Selected Layer, Join, Unfiltered Feature Class, or
Non-Spatial Data Table (page 1134)

■

Editing Features using the Data Table (page 711)

516 | Chapter 3 Bringing In Data

NOTE Joins are available for geospatial data only, and not for drawing objects.
To join attribute data to drawing objects, see Overview of Linking Database Records
to Objects (page 522).
To edit joined data
For this type of
join or data...

Edit

Insert

Delete

One-to-One

You can edit the
primary table (the
native feature data)
when you display the
Data Table for the
feature layer. To edit
the secondary table
(joined data) open
the table in Map Explorer. You cannot

You cannot insert

You can delete only records only in the
primary table.

data for an inner

join (page 2065)
because it might
cause the new
primary record to
“disappear” when
there is no matching secondary record. For a left

edit the primary key

outer join (page
(page 2071), but you 2066), you can insert
can edit the join key.

records only in the
primary table.

One-to-Many

You cannot edit the
primary table (the
native feature data)
or the secondary
table (joined data) in
the Data Table from
Display Manager. Instead, open the tables
in Map Explorer.

Not available.

Not available.

Offline

You can edit (as
above) while you
work offline, but you
cannot insert records.

Not available.

You can delete only records only in the
primary table.

Feature data

You can edit
read/write feature
sources.

You can insert data
for read/write feature sources.

You can delete data
from read/write feature
sources.

Editing Joined Data | 517

For this type of
join or data...

Edit

Insert

Delete

ODBC data table

You can edit records
in Data Table.

Not available. Use
the source application, such as Microsoft Access, to
insert records.

Not available. Use the
source application, such
as Microsoft Access, to
delete records.

Quick Reference
MAPDEFINEJOIN
Defines a join for feature data.
Command Line

MAPDEFINEJOIN

Task Pane

In the Task Pane, right-click a layer ➤ Create Join.

Using Joins with Calculated Properties
Calculated properties combine information in existing properties using
expressions. The existing fields can be native to the current feature layer, or
they can be joined to that feature layer. For example, you can join an assessor
database to a parcel layer and create a calculated property to determine value
per acre based on the parcel value in the assessor data and the parcel area in
the parcel layer.
NOTE Joins are available for geospatial data only, and not for drawing objects.
To join attribute data to drawing objects, see Overview of Linking Database Records
to Objects (page 522).
See also:
■

Creating Calculated Properties (page 1132)

■

Creating a Calculation

■

Creating Expressions - Reference

518 | Chapter 3 Bringing In Data

NOTE Joins are available for geospatial data only, and not for drawing objects.
To join attribute data to drawing objects, see Overview of Linking Database Records
to Objects (page 522).
To create a calculated property based on joined data
1 Connect to both data sources and join them, based on a common
property. (page 509)
2 In the Display Manager, select the primary source (the feature layer to
which you joined the data) and click Table.
3 In the Data Table, click Options ➤ Create A Calculation.
NOTE If a calculation already exists, click Options ➤ Manage Calculations.
4 Create the expression for the calculation.
The available properties and values reflect both the source layer and the
joined data.
For help with any expression element, see Creating Expressions Reference.

Quick Reference
MAPDEFINEJOIN
Defines a join for feature data.
Command Line

MAPDEFINEJOIN

Task Pane

In the Task Pane, right-click a layer ➤ Create Join.

Sharing Joined Data with Others
Use these techniques to share joined data and join definitions with others:
■

Export layer(s) to an SDF file (page 1469) – When you export feature layers
to an SDF version 3 file, joined properties are included. The SDF file can
be reused or shared with other AutoCAD Map 3D, Civil 3D, and MapGuide
customers or other programs that support SDF. The resulting file does not
contain styling data.

Sharing Joined Data with Others | 519

■

Save a layer to a .LAYER file (page 1469) – When you save a layer to a .layer
file, it retains its styling information and pointers to the data source that
defines its geometry and attributes (including joined data). You can drag
and drop saved layers into any map to reuse them, or use them with
MapGuide Enterprise.

■

Copy or export data from the Data Table (page 1473) – When you copy
selected features in the Data Table and past them into other programs like
Microsoft Access or Excel, joined properties are included. You can also
export selected data to a comma-separated file for use in other programs.

NOTE Joins are available for geospatial data only, and not for drawing objects.
To join attribute data to drawing objects, see Overview of Linking Database Records
to Objects (page 522).
NOTE Joins are available for geospatial data only, and not for drawing objects.
To join attribute data to drawing objects, see Overview of Linking Database Records
to Objects (page 522).
To save layer and joined properties to an SDF file (page 1470)
To export layer connections and joins to a .LAYER file (page 1471)
To export data from the Data Table (page 1474)

Quick Reference
MAPEXPORT
Exports drawing objects and their attribute data to an external file format
Menu

Click File ➤ Convert DWG To ➤ Map 3D Export.

Icon
Export Map File
Command Line

MAPEXPORT

Dialog Box

Export dialog box

MAP2SDF
Exports an SDF 2 format file for use with Autodesk MapGuide, versions 6.5
and earlier.

520 | Chapter 3 Bringing In Data

Menu

Click File ➤ Convert DWG To ➤ Autodesk SDF2
(MapGuide6.x...).

Command Line

MAP2SDF

Dialog Box

Autodesk MapGuide Export dialog box

Adding Attributes to Drawing Objects
Link attribute data to objects in your drawing.
See also:
■

Setting Up Data Sources for Drawings (page 204)

To add attribute data to drawing objects
■
■
■
■
■
■
■
■
■
■
■
■

To store attribute data in the drawing (page 522)
To link records to objects (page 523)
To create a link template (page 526)
To open a linked database table (page 527)
To link a record to an object manually (page 529)
To link records to objects using object data automatically (page 531)
To link records to objects using text or block attribute data automatically
(page 532)
To convert object data to a linked database table (page 534)
To edit or delete a database link (page 537)
To delete links for a group of objects (page 537)
To edit the database path in a link template (page 539)
To delete a link template (page 539)

Storing Attribute Data in the Drawing (Object Data)
Object data is attribute data that is attached to individual objects and stored
in tables in the drawing. To use object data, first define the format for the
table, and then create each record as you attach it to an object.
NOTE Object data applies to drawing objects only. For information on viewing
and editing geospatial attributes, see Overview of the Data Table (page 1125).
See also:
■

Setting Up Object Data (page 198)

Adding Attributes to Drawing Objects | 521

■

Entering and Editing Object Data (page 1061)

■

Bringing In Drawing Objects Based on Attached Data (page 363)

NOTE Object data applies to drawing objects only. For information on viewing
and editing geospatial attributes, see Overview of the Data Table (page 1125).
To store attribute data in the drawing
■

To create an object data table (page 201)

■

To attach data to an object (page 1064)

■

To bring in drawing objects based on object data (page 364)

Overview of Linking Database Records to Objects
You can create a link between a record in an external database and an object
in your drawing. Once the link exists, use the information in the database to
help you analyze, select, and display objects in your drawing.
For example, you can link property ownership data to a map of a housing
development. Select records based on property value and highlight all objects
linked to those records. Alternately, select all the houses in a specified area
and highlight records that are linked to the selected houses.
Linking records takes two steps:
■

Create a link template for each database. The link template specifies which
column in the database table to use as a key column.

■

Link specific objects to specific records in the table.

When you link a record from a database to an object in your drawing, AutoCAD
Map 3D stores link data on the object.
NOTE Link templates apply to drawing objects only. For information on viewing
and editing geospatial attributes, see Overview of the Data Table (page 1125). For
information on joining data to a geospatial feature class, see Overview of Joins
(page 507).

522 | Chapter 3 Bringing In Data

Tell me more
■

To link records to objects (page 523)

■

Attach Attribute Data to Drawing Objects

■

Setting Up Data Sources for Drawings
(page 204)

■

Creating a Link Template (page 525)

Procedure

Workflow

Related topics

NOTE Link templates apply to drawing objects only. For information on viewing
and editing geospatial attributes, see Overview of the Data Table (page 1125). For
information on joining data to a geospatial feature class, see Overview of Joins
(page 507).
To link records to objects
1 Before you can link a database record to an object, you must attach the
data source to the drawing (page 209) and create a link template for the
table (page 526).
2 Create links using one of the following methods:
■

Manually link a specific record to a specific object (page 529).

■

Link objects automatically based on text or blocks in the drawing
(page 532).

■

Convert existing object data to a linked database table (page 534).

3 If necessary you can edit the link (page 537).

Quick Reference
ADEGENLINK
Automatically links objects to object data or external database records
Menu

In the Classic workspace, click Setup menu ➤ More
Link Template Options ➤ Generate Links

Overview of Linking Database Records to Objects | 523

Command Line

ADEGENLINK

Task Pane

In Map Explorer, right-click a link
template ➤ Generate Links

Dialog Box

Generate Data Links dialog box

(Data View) Link Records to Objects
Links the selected records to objects in your drawing
Menu

In the Data View: Links ➤ Link Records To Objects

Icon

Link Records to Objects

MAPDELETELINKS
Deletes database links from objects
Menu

Setup menu ➤ More Link Template Options ➤
Delete Links

Command Line

MAPDELETELINKS

Task Pane

In Map Explorer, right-click a link template ➤ Delete
Links

Dialog Box

Select Link Templates dialog box

MAPLINKMANAGER
Edits the link data attached to an object
Menu

Setup menu ➤ More Link Template Options ➤ Link
Manager

Command Line

MAPLINKMANAGER

MAPOD2ASE
Converts object data tables to linked external database tables
Menu

Click Setup ➤ Convert Object Data to Database Links.

Command Line

MAPOD2ASE

Dialog Box

Convert Object Data to Database Links dialog box

524 | Chapter 3 Bringing In Data

Creating a Link Template
A link template specifies how to link objects in a drawing to records in a
specific database table.
NOTE Link templates apply to drawing objects only. For information on viewing
and editing geospatial attributes, see Overview of the Data Table (page 1125). For
information on joining data to a geospatial feature class, see Overview of Joins
(page 507).
A link template specifies the name of the database table and the key columns
to use to uniquely identify each record.

The link template is stored in the current drawing.
See also:
■

Overview of Linking Database Records to Objects (page 522)

NOTE Link templates apply to drawing objects only. For information on viewing
and editing geospatial attributes, see Overview of the Data Table (page 1125). For
information on joining data to a geospatial feature class, see Overview of Joins
(page 507).

Creating a Link Template | 525

NOTE Before you create a link template, make sure the data source for the table
is currently attached (page 209) and connected (page 215).
To create a link template
1 In Map Explorer (page 2068), right-click the table and click Define Link
Template.
2 In the Define Link Template dialog box (MAPDEFINELT) (page 1683), type
a name for the link template.
3 Under Key Selection, select the column to use as the key by clicking the
check box in the Key column.
AutoCAD Map 3D uses the value in the key column to uniquely identify
a record, so select a column or a combination of columns that contains
a unique value for each record in the database.
4 Click OK.
NOTE If the link template does not immediately appear on the Map Explorer tab
of the Task Pane, right-click a blank space in Map Explorer. Click Refresh.

Quick Reference
(Data View) Define Link Template
Creates a new link template
Menu
Icon
Dialog Box

In the Data View: Links ➤ Define Link Template
Define Link Template
Define Link Template dialog box (MAPDEFINELT)

MAPDEFINELT
Defines a link template for a database table
Menu

Click Setup ➤ More Link Template Options ➤ Delete
Link Template.

Icon
Define Link Template

526 | Chapter 3 Bringing In Data

Command Line

MAPDEFINELT

Task Pane

In Map Explorer, right-click a data source table or
query ➤ Define Link Template

Dialog Box

Define Link Template dialog box (MAPDEFINELT)

Opening a Linked Database Table
Once you have a defined a link template for a table, you can open the table
as a linked table. When a table is opened as a linked table, AutoCAD Map 3D
tracks the relationship between the records in the table and the objects in
your drawing.
NOTE Link templates apply to drawing objects only. For information on viewing
and editing geospatial attributes, see Overview of the Data Table (page 1125). For
information on joining data to a geospatial feature class, see Overview of Joins
(page 507).
See also:
■

Viewing External Data Linked to Drawing Objects (page 1146)

■

Finding Records in a Database Linked to Drawing Objects (page 1221)

NOTE Link templates apply to drawing objects only. For information on viewing
and editing geospatial attributes, see Overview of the Data Table (page 1125). For
information on joining data to a geospatial feature class, see Overview of Joins
(page 507).
To open a linked database table
■

In Map Explorer (page 2068), double-click a link template. Depending on the
data source option setting, the linked table opens in either Edit mode or
View mode. If the table is write-protected, it opens in View mode. Queries
always open in View mode.

■

To open a table in View mode, right-click the link template. Click View
Linked Table.
In the Select Link Template Key dialog box (page 1797), select a link template
for the database table containing the data matching your object data table
and a validation option.

Opening a Linked Database Table | 527

Quick Reference
MAPVIEWLINK
Opens a database table associated with a specific link template to view in the
Data View
Menu

Click Map ➤ Database ➤ View Data ➤ View Linked
Table.

Command Line

MAPVIEWLINK

Task Pane

In Map Explorer, right-click a link template ➤ View
Linked Table

Dialog Box

Select Link Template dialog box

Manually Linking Database Records to Objects
You can create a link between an object in the drawing and a record in a
database table.

You cannot create links for non-graphical objects, such as layers and linetypes.

528 | Chapter 3 Bringing In Data

NOTE You can link records to drawing objects. You cannot link records to features
from a feature source. For information on viewing and editing geospatial attributes,
see Overview of the Data Table (page 1125). For information on joining data to a
geospatial feature class, see Overview of Joins (page 507).

Link Data
When you create a link, link data is stored on the object. The link data has
two parts: the name of the link template to use, and the actual value to search
for in the key column. The record with the matching key value is linked to
the object.
See also:
■

Overview of Linking Database Records to Objects (page 522)

■

Setting Up Data Sources for Drawings (page 204)

■

Creating a Link Template (page 525)

■

Automatically Linking Database Records to Objects (page 530)

NOTE You can link records to drawing objects. You cannot link records to features
from a feature source. For information on viewing and editing geospatial attributes,
see Overview of the Data Table (page 1125). For information on joining data to a
geospatial feature class, see Overview of Joins (page 507).
NOTE To link records to objects, you must first define a link template for the table
(page 525), and you must open the table as a linked table (page 527).
To link a record to an object manually
1 Open a linked database table in the Data View (page 1052).
2 In the Data View window, select a record.
3 In the Data View, click Links menu ➤ Link Records To Objects.
4 Select the objects in your drawing. Press Enter.
NOTE If you are linking data to a polygon and plan to use the data with
topology functions, be sure to link the data to the centroid of the polygon.
Topology functions do not use data linked to the polygon border.

Manually Linking Database Records to Objects | 529

Quick Reference
(Data View) Link Records to Objects
Links the selected records to objects in your drawing
Menu

In the Data View: Links ➤ Link Records To Objects

Icon
Link Records to Objects

Automatically Linking Database Records to Objects
If information in your drawing, such as object data, text, or block attribute
data, matches information in a database table, you can automatically create
links from each selected object to a matching record in the database table.

For example, if each parcel in a parcel map has attached object data that
contains the parcel ID, you can automatically link each parcel to the correct
record in a database of parcel information.
Or if you have district code stored as block attribute data and also have a table
that has a column for district codes, you can automatically link each code in
the map to the corresponding record in the table.
If no matching record is found in the database table, you can set an option
to create the record.
If you are using block or text, you can set an option to use the insertion point
point of the block or text as the label point for the object.

530 | Chapter 3 Bringing In Data

NOTE You can link records to drawing objects. You cannot link records to features
from a feature source. For information on viewing and editing geospatial attributes,
see Overview of the Data Table (page 1125). For information on joining data to a
geospatial feature class, see Overview of Joins (page 507).
See also:
■

Overview of Linking Database Records to Objects (page 522)

■

Creating a Link Template (page 525)

■

Setting Up Data Sources for Drawings (page 204)

■

Defining the Text Insertion Point (page 936)

■

Converting Object Data to Database Links (page 533)

■

Manually Linking Database Records to Objects (page 528)

Before you begin, be sure you have defined a link template (page 526) for the
database you will use, and the objects to link to are accessible. You cannot
create links to objects on layers that are locked, frozen, or turned off.
NOTE You can link records to drawing objects. You cannot link records to features
from a feature source. For information on viewing and editing geospatial attributes,
see Overview of the Data Table (page 1125). For information on joining data to a
geospatial feature class, see Overview of Joins (page 507).
To link records to objects using object data automatically
1 At the Command prompt, enter mapod2ase.
2 In the Convert Object Data to Database Links dialog box (page 1680), under
Source Object Data Table, select an object data table.
3 Select Remove Data From Objects Processed to delete the object data after
creating the link.
4 Under Target Link Template, select Link Object Data To Database.
5 Click Define to specify the link template.
6 In the Select Existing Link Template dialog box (page 1689), under Link
Template, select an available link template.
7 For each key field in the link template, select a field in the object data
table.

Automatically Linking Database Records to Objects | 531

8 Select a Database Validation option:
■

None — Creates links without checking to see if a matching record
exists in the table

■

Link Must Exist — Creates a link only if the value in the drawing
matches the key field value of an existing record. If no record has a
matching value, a link is not created for that object.

■

Create If New — Creates a new record in the table if no existing record
has a matching value.

9 Click OK.
10 In the Convert Object Data To Database Links dialog box, specify how
to select objects with attached object data.
You can select objects automatically or manually, and you can use a filter
to restrict selection to specified layers.
11 Click Proceed.
To link records to objects using text or block attribute data automatically
1 Click Map Setup tab ➤ Attribute Data panel ➤

➤ Generate Links.

2 In the Generate Data Links dialog box, select a linkage type.
3 Under Data Links, select Create Database Links.
4 Select a link template.
If you are creating links to enclosed text, select a link template that has
only one key field.
5 If you are creating links to blocks or enclosed blocks, select the name of
the block.
For each key field in the link template, select a tag from the block
attribute. You can assign a tag to only one key field.
6 Select a Database Validation option.
7 Optionally, select Use Insertion Point As Label Point.
8 Click OK.

532 | Chapter 3 Bringing In Data

9 Enter a to use all blocks or text objects, or enter s to select block or text
objects.

Quick Reference
MAPOD2ASE
Converts object data tables to linked external database tables
Menu

Click Setup ➤ Convert Object Data to Database Links.

Command Line

MAPOD2ASE

Dialog Box

Convert Object Data to Database Links dialog box

ADEGENLINK
Automatically links objects to object data or external database records
Menu

In the Classic workspace, click Setup menu ➤ More
Link Template Options ➤ Generate Links

Command Line

ADEGENLINK

Task Pane

In Map Explorer, right-click a link
template ➤ Generate Links

Dialog Box

Generate Data Links dialog box

Converting Object Data to Database Links
You can convert object data into linked records in an external database table.
You can do one of the following
■

Create a new table in an existing data source. For the new link template,
you can use an existing field as the key field, or you can have AutoCAD
Map 3D create a new field and assign a unique value to each record.

■

Add the data to an existing database table.

NOTE Object data is available for drawing objects only. For information on viewing
and editing geospatial attributes, see Overview of the Data Table (page 1125).

Converting Object Data to Database Links | 533

Field Names in the New Table
By default, the fields in the new database table have the same names as the
fields in the object data table. AutoCAD Map 3D resolves any conflicts in the
following ways:
■

Truncates fields that are too long and adds an incremental digit to the
resulting duplicate field names

■

Replaces unsupported characters in a field name with an underscore (_)

■

Converts unsupported field types to character

■

Converts point fields to a character string and separates coordinates with
commas

In addition, if you have object data that matches information in a database
table, you can automatically create links from each selected object to a
matching record in the database table.
See also:
■

Overview of Linking Database Records to Objects (page 522)

■

Creating a Link Template (page 525)

■

Setting Up Data Sources for Drawings (page 204)

■

Automatically Linking Database Records to Objects (page 530)

NOTE Object data is available for drawing objects only. For information on viewing
and editing geospatial attributes, see Overview of the Data Table (page 1125).
If you plan to create a new table in an existing data source, make sure the
appropriate data source is currently attached (page 209) and connected (page
215).
NOTE During the conversion, field names in the object data table become field
names in the database table. Make sure that the field names in your object data
table are not SQL reserved words such as DATE, SELECT, or CURRENT. If necessary,
rename the fields in your object data table before you convert it.
To convert object data to a linked database table
1 At the Command prompt, enter mapod2ase.

534 | Chapter 3 Bringing In Data

2 In the Convert Object Data to Database Links dialog box (page 1680), under
Source Object Data Table, select an object data table.
3 Select Remove Data From Objects Processed to delete the object data after
creating the link.
4 Under Target Link Template, select Convert Object Data To Database.
5 Click Define to specify the link template.
6 In the Define Link Template dialog box (MAPOD2ASE) (page 1682), select
an available data source. Click Connect.
7 Enter a table name.
8 In the Link Template Key Column Entry dialog box (page 1620), specify
the fields to use as key fields (columns). To enter more than one field
name, separate names with a comma.
To select from a list of field names in the object data table, or to rename
the fields, click Select to display the Select Link Template Key(s) dialog
box.
You can use an existing object data field as the key column or create a
new field. If you select Generate Key Field, specify a name for the field
in the Generate Key area. AutoCAD Map 3D sets the first record in the
database table to 1, and increments each subsequent record by 1. Click
OK to close the Select Link Template Key(s) dialog box.
9 In the Define Link Template dialog box, enter a name for the link template
and click OK.
The link template stores the address of the database table and the name
of the key field. Accept the default or enter a new unique name.
10 In the Convert Object Data To Database Links dialog box, specify how
to select objects with attached object data.
You can select objects automatically or manually, and you can use a filter
to restrict selection to specified layers.
11 Click Proceed.
AutoCAD Map 3D converts the object data into linked database tables.

Quick Reference
MAPOD2ASE

Converting Object Data to Database Links | 535

Converts object data tables to linked external database tables
Menu

Click Setup ➤ Convert Object Data to Database Links.

Command Line

MAPOD2ASE

Dialog Box

Convert Object Data to Database Links dialog box

Editing Database Links
To link an object to a different record in a database table, you can either delete
the old link and create a new link, or you can edit the link data stored on the
object.
The link data specifies the following:
■

the link template for the database table

■

the link value for the record

The object is linked to the record in the database table where the value in the
key column matches the link value on the object. If you edit the link value,
you link the object to a different record in the table.
For example, a database has a record for each piece of equipment. The link
template for the database table specifies the serial number column as the key
column. If you replace a piece of equipment, you must edit the link value on
the object in the drawing to reflect the new serial number. This links the object
to the record with the new serial number.
NOTE You can link records to drawing objects. You cannot link records to features
from a feature source. For information on viewing and editing geospatial attributes,
see Overview of the Data Table (page 1125). For information on joining data to a
geospatial feature class, see Overview of Joins (page 507).

Editing Linked Objects
If you move, copy, or delete a linked object, the link data is moved, copied,
or deleted with it. Deleting the object and its link data does not affect the data
in the database table.
You can also delete the link from the object.
See also:
■

Overview of Linking Database Records to Objects (page 522)

536 | Chapter 3 Bringing In Data

■

Creating a Link Template (page 525)

■

Setting Up Data Sources for Drawings (page 204)

NOTE You can link records to drawing objects. You cannot link records to features
from a feature source. For information on viewing and editing geospatial attributes,
see Overview of the Data Table (page 1125). For information on joining data to a
geospatial feature class, see Overview of Joins (page 507).
To edit or delete a database link
1 Click Map Setup tab ➤ Attribute Data panel ➤

➤ Link Manager.

2 Select the object with the link to edit.
3 In the Link Manager dialog box, review or edit the link data.
4 To modify link data, click the value to edit. Type a new value, or click…
to select from a list of values in the database.
5 To delete a link, click the link template and click Delete.
6 When you finish, click OK.
To delete links for a group of objects

1 Click Map Setup tab ➤ Attribute Data panel ➤

➤ Delete Links.

2 Select the object or objects with the links to delete.
3 In the Select Link Templates dialog box, select the link templates whose
links you will delete from the objects.
4 Click OK.

Quick Reference
MAPDELETELINKS
Deletes database links from objects

Editing Database Links | 537

Menu

Setup menu ➤ More Link Template Options ➤
Delete Links

Command Line

MAPDELETELINKS

Task Pane

In Map Explorer, right-click a link template ➤ Delete
Links

Dialog Box

Select Link Templates dialog box

MAPLINKMANAGER
Edits the link data attached to an object
Menu

Setup menu ➤ More Link Template Options ➤ Link
Manager

Command Line

MAPLINKMANAGER

Editing a Link Template
If you rename a database table or change the location of the database, you
must edit the link template associated with that database table.
When you edit a link template, all objects in the drawing that reference the
link template use the new information.
If you no longer use a link template in a drawing, you can delete the link
template from the current drawing. When you delete a link template, all links
that reference that link template are deleted from the drawing.
NOTE You can link records to drawing objects. You cannot link records to features
from a feature source. For information on viewing and editing geospatial attributes,
see Overview of the Data Table (page 1125). For information on joining data to a
geospatial feature class, see Overview of Joins (page 507).
See also:
■

Overview of Linking Database Records to Objects (page 522)

■

Creating a Link Template (page 525)

■

Setting Up Data Sources for Drawings (page 204)

538 | Chapter 3 Bringing In Data

NOTE You can link records to drawing objects. You cannot link records to features
from a feature source. For information on viewing and editing geospatial attributes,
see Overview of the Data Table (page 1125). For information on joining data to a
geospatial feature class, see Overview of Joins (page 507).
NOTE The following procedure edits the link template in the active drawing. It
does not update the asi.ini file (which stores data source mapping information),
source drawings, or other drawings that use this link template.
To edit the database path in a link template
1 Click Map Setup tab ➤ Attribute Data panel ➤

➤ Edit Link Template

Properties.
2 Select the link template. Click OK.
3 In the Link Template Properties dialog box (page 1686), select a new data
source, catalog, schema, or table.
4 Click OK.
5 Right-click the Map Explorer tab of the Task Pane. Click Refresh.
To delete a link template
1 Click Map Setup tab ➤ Attribute Data panel ➤

➤ Delete Link

Template.
2 In the Select Link Template dialog box, select the link template. Click
OK.

Quick Reference
MAPDELETELT
Deletes a link template
Menu

Setup menu ➤ More Link Template Options ➤
Delete Link Template

Editing a Link Template | 539

Command Line

MAPDELETELT

Task Pane

In Map Explorer, right-click a link template ➤ Delete
Link Template

Dialog Box

Select Link Template dialog box

MAPPROPSLT
Edits the database table name or location in a link template
Menu

Setup menu ➤ Edit Link Template Properties

Command Line

MAPPROPSLT

Using Open Source FDO Providers
To make it easier to extend the capabilities of FDO Data Access Technology
used within AutoCAD Map 3D, Autodesk has released FDO as an open source
project under the Open Source Geospatial Foundation™ (OSGeo™).
This has enabled developers from all over the world to tap into powerful web
mapping and geospatial data access technology and develop additional FDO
data providers that work with AutoCAD Map 3D.
Often, developers make the providers they develop available for free. They
can be integrated into AutoCAD Map 3D and then used to access additional
data formats not included in the box.
Examples of Third Party and Open
Source Providers Available

Description

OGR Provider (supports vector formats
such as ESRI Personal Database, GRASS,
and SDTS).

Open source, available on http://fdo.osgeo.org

GDAL Provider (supports raster formats
such as NITF, Imagine, PCIDSK, and HDF).

Open source, available on http://fdo.osgeo.org

SL-King Oracle Provider.

Available on http://usa.autodesk.com/adsk/servlet/item?siteID=123112&id=8824908

Safe Software FME Provider for FDO.

Available on http://usa.autodesk.com/adsk/servlet/item?siteID=123112&id=8824908

540 | Chapter 3 Bringing In Data

Check http://fdo.osgeo.org and
http://usa.autodesk.com/adsk/servlet/item?siteID=123112&id=8824908 periodically
for additional providers.
If you are a developer, you can also create your own data providers. The open
source version of FDO Data Access Technology and developer documentation
is available on http://fdo.osgeo.org .
NOTE FDO Providers from sources other than Autodesk are not supported or
warrantied by Autodesk.
■

To download a third party or open source FDO Provider (page 541)

■

To integrate a new FDO Provider into AutoCAD Map 3D (page 541)

■

To develop a new FDO Provider (page 542)

To download a third party or open source FDO Provider
■

Go to http://usa.autodesk.com/adsk/servlet/item?siteID=123112&id=8824908
or http://fdo.osgeo.org to see the providers available for download.

To integrate a new FDO Provider into AutoCAD Map 3D
1 Close AutoCAD Map 3D if it is running.
2 In Windows Explorer, navigate to \AutoCAD Map 3D 2011\FDO\bin.
3 Make a backup copy of providers.xml. Give the back up a new name such
as providers_backup.xml.
4 In WordPad, open \AutoCAD Map 3D 2011\FDO\bin\providers.xml.
NOTE Do not use Notepad.
5 Copy a section for an existing provider, for example the section OSGEO
WMS, and paste it to a new location in the XML file.
Be sure that you copy the entire section, from  to
.

6 Modify the following elements in the new section as needed:
■

Name – Name of your new provider.

■

Display Name – Name that will be displayed in the Data Connect
window in AutoCAD Map 3D

Using Open Source FDO Providers | 541

■

Description – Description that will be displayed in the Data Connect
window

■

IsManaged – False if the provider was developed using unmanaged
code like C++; True if uses managed code.

■

Version – The DLL version number. The version number must match
the version number of the DLLs.

■

FeatureDataObjectsVersion – FDO version number

■

LibraryPath - Path to the DLLs for the new provider

7 Save and close providers.xml.
8 Start AutoCAD Map 3D.
9 In Display Manager, click Data ➤ Connect to Data.
The provider you added should appear under Data Connections By
Provider.
10 In the Data Connect window, under Data Connections By Provider, select
the new provider. For example, select “Add OGR Connection”.
11 Enter the connection information.
NOTE For the OGR provider, you need to enter the complete path to the
geodatabase for Data Source.
12 The ReadOnly field indicates whether you can edit the data. TRUE means
the data is read-only. FALSE means it will be read / write.
13 Click Login.
14 Click Connect to bring the data into your map.
To develop a new FDO Provider
■

Go to http://fdo.osgeo.org to download the API and access the
documentation needed to develop a provider.

542 | Chapter 3 Bringing In Data

Bringing In AutoCAD Civil 3D Data
You can bring in the following types of data from AutoCAD Civil 3D projects:
■

Features (Alignments, points, parcels, and pipe networks)

■

Surfaces

To bring in Civil 3D data, you must first export it from Civil 3D to formats
that can be read by AutoCAD Map 3D.
The following table lists the AutoCAD Civil 3D features and attributes that
are exported to the SDF file.
AutoCAD Civil 3D Feature

Exported Attributes

Alignment

■

Alignment Name

■

Length

■

Design Speed

■

Starting Station

■

Ending Station

■

Point Number

■

Point Name

■

Elevation

■

Description

■

Raw Description

■

Latitude

■

Longitude

■

Parcel Name

■

Parcel Number

■

Area

■

Perimeter

■

Network Name

■

Length

Point

Parcel

Pipe

Bringing In AutoCAD Civil 3D Data | 543

Structure

■

Slope

■

Inside Diameter

■

Outside Diameter

■

Shape

■

Elevation at Start

■

Elevation at End

■

Structure Start

■

Structure End

■

Network Name

■

Rim Elevation

■

Structure Name

Tell me more
■

Show me how to bring in data from
AutoCAD Civil 3D.

■

To export features from AutoCAD Civil
3D to SDF (page 545)

■

To export surfaces from AutoCAD Civil
3D to DEM (page 545)

■

To access the DEM from a map (page
545)

■

Bring in parcel data from AutoCAD Civil
3D

■

Bringing In Features from SDF (page
337)

■

Adding Raster-Based Surfaces to Your
Map (page 441)

Video

Procedure

GIS Skill

Related topics

544 | Chapter 3 Bringing In Data

■

To export features from AutoCAD Civil 3D to SDF (page 545)

■

To access the SDF file from a map (page 545)

■

To export surfaces from AutoCAD Civil 3D to DEM (page 545)

■

To access the DEM from a map (page 545)

To export features from AutoCAD Civil 3D to SDF
1 Open the project in AutoCAD Civil 3D. In AutoCAD Civil 3D, export the
project to SDF.
2 In the Export To SDF dialog box, specify a name for the SDF file.
3 Specify the coordinate system.
NOTE If the drawing already has a coordinate system specified, it is used
automatically and the Select Coordinate System controls in the Export To
SDF dialog box are grayed.
4 Click OK to export the file.
To access the SDF file from a map
1 In Display Manager (page 2060), click Data ➤ Connect To Data.
2 In the Data Connect window, under Data Connections By Provider, select
Add SDF Connection.
3 Specify information to connect to the SDF file. For more information,
see To bring in features from SDF (page 338).
To export surfaces from AutoCAD Civil 3D to DEM
1 Open the project in AutoCAD Civil 3D.
2 In AutoCAD Civil 3D, export the surface as a DEM file.
To access the DEM from a map
1 In Display Manager (page 2060), click Data ➤ Connect To Data.
2 In the Data Connect window, under Data Connections By Provider, select
Add Raster Image Or Surface Connection.

Bringing In AutoCAD Civil 3D Data | 545

3 Specify information to connect to the DEM file. For more information,
see To add a raster-based surface to your map (page 442).

Quick Reference
Connect Feature Source
Connects a feature source
Menu

Click File ➤ Connect To Data.

Icon
Connect
Command Line

MAPCONNECT

Task Pane

In Display Manager click Data ➤ Connect to Data.

546 | Chapter 3 Bringing In Data

4

Managing Data

Overview of Managing Data
Different geospatial data formats have different capabilities. Use the following
table to determine the options available for your data stores.
NOTE WMS and raster data providers are not covered here. For information about
those providers, see Adding an Image from a WMS (Web Map Service) (page 445)
and Overview of Adding Rasters and Surfaces (page 437).
NOTE This functionality affects geospatial feature data only. For information about
managing drawing objects and drawing files, see Overview of Setting Up Your Map
File (page 140).
Oracle

PostgreSQL

SQL Server

SQL Serv- SQLite
er Spatial

MySQL

ODBC

SDF

SHP

Set up
users
(page 584)

Set up
users
(page 584)

Set up
users
(page 584)

Set up
users
(page 584)

Set up
users
(page 584)

Create
data stores
(page 586)

Create
data stores
(page 586)

Create
data stores
(page 586)

Create
data stores
(page 590)

Create
data stores
(page 586)

Create
data stores
(page 586)

Set up
data
stores
(page
576)

Create
data
stores
(page
586)

Create
data
stores
(page
586)

Add data
to your
map (page
312)

Add data
to your
map (page
340)

Add data
to your
map (page
323)

Add data
to your
map
(page 326)

Add data
to your
map
(page 330)

Add data
to your
map
(page 332)

Add data
to your
map

Add
data to
your
map

Add
data to
your
map

547

ESRI
ArcSDE

WFS

Add
data to
your
map

Add
data to
your
map

Oracle

PostgreSQL

SQL Server

SQL Serv- SQLite
er Spatial

MySQL

ODBC

SDF

SHP

ESRI
ArcSDE

WFS

(page
342)

(page
337)

(page
335)

(page
316)

(page
346)

Style
data
(page
639)

Style
data
(page
639)

Style
data
(page
639)

Style
data
(page
639)

Style data
(page 639)

Style data
(page 639)

Style data
(page 639)

Style data
(page 639)

Style data
(page 639)

Style data
(page 639)

Examine
or edit attribute
data (page
711)

Examine
or edit attribute
data (page
711)

Examine
or edit attribute
data (page
711)

Examine
or edit attribute
data (page
711)

Examine
or edit attribute
data (page
711)

Examine
or edit attribute
data (page
711)

Examine
or edit
attribute
data
(page
711)

Examine
or edit
attribute
data
(page
711)

Examine or
edit attribute
data
(page
711)

Examine
or edit
attribute
data
(page
711)

Join data
to a different feature. (page
509)

Join data
to a different feature. (page
509)

Join data
to a different feature. (page
509)

Join data
to a different feature.
(page 509)

Join data
to a different feature.
(page 509)

Join data
to a different feature.
(page 509)

Join data
to a different
feature.
(page
509)

Join data
to a different
feature.
(page
509)

Join
data to
a different feature.
(page
509)

Join
data to
a different feature.
(page
509)

Create a
schema
(page 596)

Create a
schema
(page 596)

Create a
schema
(page 596)

Create a
schema
(page 596)

Create a
schema
(page 596)

Create a
schema
(page 596)

Create a
schema
(page
596)

Create
a
schema
(page
596)

View a
schema
(page 608)

View a
schema
(page 608)

View a
schema
(page 608)

View a
schema
(page 608)

View a
schema
(page 608)

View a
schema
(page 608)

View a
schema
(page
608)

View a
schema
(page
608)

Edit a
schema
(page 610)

Edit a
schema
(page 610)

Edit a
schema
(page 610)

Edit a
schema
(page 610)

Edit a
schema
(page 610)

Edit a
schema
(page 610)

548 | Chapter 4 Managing Data

View a
schema
(page
608)

Edit a
schema
(page
610)

View a
schema
(page
608)

Join
data to
a WFS
feature.
(page
509)

Oracle

PostgreSQL

SQL Server

SQL Serv- SQLite
er Spatial

MySQL

Delete a
schema
(page 613)

Delete a
schema
(page 613)

Delete a
schema
(page 613)

Delete a
schema
(page 613)

Delete a
schema
(page 613)

Delete a
schema
(page 613)

Copy data
to/from a
different
data
format
(page 615)

Copy data
to/from a
different
data
format
(page 615)

Copy data
to/from a
different
data
format
(page 615)

Copy data
to/from a
different
data
format
(page 618)

Copy data
to/from a
different
data
format
(page 615)

Copy data
to/from a
different
data
format
(page 615)

ODBC

SDF

SHP

ESRI
ArcSDE

Copy
data
to/from
a different
data
format
(page
615)

Copy
data
to/from
a different data
format
(page
615)

Delete a
schema
(page
613)
Copy
data
to/from
a different data
format
(page
615)

Copy
data
to/from
a different data
format
(page
615)

Overview of Managing Data | 549

NOTE You
can
copy
data into an
ArcSDE
schema
if the
data
store
and
schema
are
already
defined
in the
target.

WFS

Oracle

PostgreSQL

SQL Server

SQL Serv- SQLite
er Spatial

MySQL

ODBC
NOTE You
can use
Bulk
Copy to
copy
ODBC
data to a
different
provider,
such as
Oracle,
MySQL,
SQL Server, SDF,
and SHP.
You can
copy
data to
an
ODBC
data
store,
but you
must
define
the target
schema
properly,
and have
write permissions.

550 | Chapter 4 Managing Data

SDF

SHP

ESRI
ArcSDE

WFS

About Geospatial Feature Classes, Data Stores, and
Schemas
Overview of Geospatial Data
Geospatial data is organized as follows:
■

Feature: The spatial representation of a real-world entity, such as a specific
road or an individual utility pole, that specifies the geometry and other
properties of the feature.

■

Feature class: A category of features with rules that define the allowable
data types, default values, and constraints for its member features. For
example, you might have feature classes for a set of roads, utility poles,
and so on.

■

Schema: A collection of related feature classes.

■

Data store: A collection of feature data in a single storage location.
SDF data stores allow only one schema per file, but database stores such
as Oracle or SQL Server can have multiple schemas. (SHP files can include
only one geometry type per file, but you can be store and copy multiple
SHP files in a folder. You can use a configuration file to support multiple
schemas when you establish your connection to a SHP file.)

NOTE This functionality affects geospatial feature data only. For information about
managing drawing objects and drawing files, see Overview of Setting Up Your
Map File (page 140)

The data hierarchy
Geospatial data is stored in a hierarchical fashion, like a set of tables: each
row within a table is an individual feature, and each column is a property
(page 2071) of that feature. The entire table (including its name, column names,
data types, default values, and constraints) represents a feature class. The set
of related tables is called a schema, and the entire collection of data resides
in a data store.
For example, you might use a data store such as Oracle, which can encompass
multiple schemas. The database might define the utilities for a town, with
schemas for different types of utilities, such as electrical and water. The
electrical schema would include feature classes for utility poles and boxes,
while the water schema would include feature classes for pipes and hydrants.

About Geospatial Feature Classes, Data Stores, and Schemas | 551

Properties
Each feature class has properties that define it. The Pole feature class would
have properties such as identification number, name, model, material, height,
installation date, and so on. The properties that define a feature class can have
data types, default values, and constraints. These can help ensure that a feature
meets certain criteria in order to be included in a particular feature class. For
example, the “Large Roads” feature class can include a field called “Lanes.”
The constraint for “Lanes” can specify that its value must be six or higher in
order for a road to be included in the “Large Roads” feature class.

Data stores
Features can be stored in a spatial database (such as Oracle, MySQL,
PostgreSQL/PostGIS, or SQLServer), or in the ESRI ArcSDE data store, which
can use either an Oracle- or SQL Server-based spatial database. Features can
be stored in a file (such as SQLite, SHP, or SDF). Related SHP files might be
stored in a folder.
Features can be accessed from a web-based service (such as WFS or WMS).
AutoCAD Map 3D also supports ODBC (Open Database Connectivity), a
standardized interface for accessing a database from a program.
A data store usually contains a spatial context, which describes the spatial
metadata or parameters within which geometry for a collection of features
resides. The spatial context can specify the coordinate system, extents, and
tolerance. A data store can include multiple spatial contexts, for example, one
context for ground-based data and another context for schematic data.
For more information about features, feature classes, and schemas (including
diagrams that illustrate these concepts), see “What Are Features?” and “What
is a Schema?” in Best Practices for Managing Geospatial Data, available from the
Help menu in AutoCAD Map 3D.

Working with features in your map
To add a feature to your map, you connect to its data store and select the
feature classes to include. After you connect to a data store in AutoCAD Map
3D, that data store is a feature source (page 2063) for the current map. Feature
sources are listed by provider (for example, all SDF feature sources are listed
together in Data Connect). Each feature class you add becomes a feature layer
(page 2063) in your map. You can apply filters and spatial queries to the layers
to show only some of the features within that layer. Filters are based on
attributes, and queries are based on spatial location.

552 | Chapter 4 Managing Data

See also:
■

Overview of Bringing In GIS Features (page 305)

■

Editing Features using the Data Table (page 711)

■

Styling Features (page 639)

■

Viewing a Schema (page 608)

■

Migrating Data (page 615)

To work with geospatial data
NOTE This functionality affects geospatial feature data only. For information about
managing drawing objects and drawing files, see Overview of Setting Up Your
Map File (page 140)
■

Set up users for database data stores (page 585)

■

Create data stores (page 588), if your data source supports that option.

■

Add data to your map (page 308)

■

Style the data (page 641)

■

Examine or edit attribute data for any feature (page 712)

■

View the schema (page 609) for any data source.

■

Create a schema (page 598), if your data source supports that option.

■

Edit a schema (page 612), if your data source supports that option.

■

Delete a schema (page 614), if your data source supports that option.

■

Copy data to/from a different data format (page 621), if your data source
supports that option.

Working with FDO Schemas
You can view a schema (page 2073), feature class (page 2063), or property (page 2071)
from any FDO provider (page 2063), but the ability to change them depends on
the provider and your access rights. You cannot edit or delete any schema,
feature class, or property if there are existing features that use it.

Working with FDO Schemas | 553

You can create schemas within AutoCAD Map 3D, or import existing FDO
schemas into your maps.
NOTE This functionality affects geospatial feature data only. For information about
managing drawing objects and drawing files, see Overview of Setting Up Your
Map File (page 140)
See also:
■

Overview of Geospatial Data (page 551)

■

Viewing a Schema (page 608)

■

Creating a Schema (page 596)

■

Editing a Schema (page 610)

■

Deleting Schemas (page 613)

To work with FDO schemas
NOTE This functionality affects geospatial feature data only. For information about
managing drawing objects and drawing files, see Overview of Setting Up Your
Map File (page 140)
■

View the schema (page 609) for any data source.

■

Create a schema (page 598), if your data source supports that option.

■

Import (page 608) existing FDO schemas into a map.

■

Edit a schema (page 612), if your data source supports that option.

■

Delete a schema (page 614), if your data source supports that option.

Working with Oracle Data
AutoCAD Map 3D, supports Oracle versions 10gr2, 11g, and XE. You can
create and edit an Oracle data store (page 2059) and schema (page 2073), and you
can access existing spatial schemas in Oracle that were created by other
applications. Oracle has comprehensive support for all the data types and
operations that AutoCAD Map 3D supports, including spatial index (page 2075),
long transaction (page 2067), and persistent locking (page 2070).

554 | Chapter 4 Managing Data

NOTE Functionality for OSE (the Oracle Spatial OO40, which is similar to OLE DB)
is not available in a 64-bit environment. The Oracle library that OSE is built on
(Oracle Object for OLE) is 32-bit only. There is no 64-bit version.
Before you add features to an Oracle data store, make sure your user privileges
for that Oracle data store are adequate and appropriate, and that the data in
that data store is accurate and current.
You can add a user for an Oracle data store using a utility (page 584) provided
with AutoCAD Map 3D.
NOTE This functionality affects geospatial feature data only. For information about
linking records in an external database to objects in a drawing, see Overview of
Linking Database Records to Objects (page 522). For information about moving
data between DWG and Oracle, see Migrating DWG Data to GIS (page 628).

What Oracle Schemas Support
An Oracle schema can support the following:
■

Inheritance

■

Multiple schemas

■

Object properties (with limitations)

■

Association properties (with limitations)

■

Schema overrides

■

Auto ID generation

■

Data store scope unique ID generation

■

Default values

■

Inclusive value range constraints

■

Exclusive value range constraints

■

Value constraints list

■

Null value constraints

■

Unique value constraints

■

Composite unique value constraints

■

Spatial contexts

Working with Oracle Data | 555

■

These geometry types: point, line string, polygon, multi-point, multi-line
string, multi-polygon, curve string, curve polygon, multi-curve string,
multi-curve polygon, linear ring, line string segment, circular arc segment,
and ring

■

Multi-geometry

Restrictions of Oracle Schemas
When you create an Oracle schema, the following restrictions apply:
■

A feature class (page 2063) must define or inherit at least one identity property
(page 2071).

■

You cannot add a non-nullable data property to a class that already has
data.

■

Identity properties cannot be nullable.

■

Read-only identity properties must be auto-generated.

■

The length for string properties must be between 1 byte and 4000 bytes,
inclusive.

■

For decimal properties, precision must be between 1 and 38, inclusive, and
scale must be between -84 and 127, inclusive.

■

A feature class can have multiple geometric properties. Although it is not
mandatory, having a main geometry as an attribute of the feature class
can help you to identify which geometry property to use as the default for
queries and rendering. Both HasMeasure and HasElevation are supported.

Version Enabling
The Autodesk FDO Provider for Oracle included with AutoCAD Map 3D 2011
creates tables in the FDO data store (page 2059) that are not automatically
version-enabled. Therefore, when you create a new Oracle data store using
the default options, the resulting table is not version-enabled, so persistent
locking (page 2070) and long transaction (page 2067) are not supported. (This differs
from previous releases.)
Oracle Workspace Manager (OWM) is used for versioning and persistent
locking support.
NOTE Versioning and persistent locking are not available with the Oracle XE
version.

556 | Chapter 4 Managing Data

See also:
■

Overview of Geospatial Data (page 551)

■

Setting Up Database Users (page 584)

■

Creating a Data Store (page 586)

■

Bringing In Features from Oracle (page 312)

■

Creating a Join (page 509)

■

Editing Features using the Data Table (page 711)

■

Creating a Schema (page 596)

■

Viewing a Schema (page 608)

■

Editing a Schema (page 610)

■

Migrating Data (page 615)

To enable versioning for an Oracle data store
1 You enable versioning with the Oracle SQL*Plus tool, which you use to
execute the scripts. Before executing the scripts, make sure that the
following conditions are true:
■

You connect directly to the Oracle user (or FDO data store) to be
processed.

■

The Oracle user executing the script has sufficient privileges (has been
granted the Workspace Manager role WM_ADMIN_ROLE).

■

The Oracle user executing the script is the only user processing or
accessing the current Oracle user (or FDO data store) during the
execution of the script. Otherwise, a script failure may result from a
session conflict.

2 To create a script log file, execute the spool ; command
before invoking the scripts and the spool off; command after the
invoked script finishes. The log file can help you resolve any issues
encountered by the scripts.
3 Read the documentation contained within the script files themselves to
determine what privileges are required for each script, how to run the
scripts, and what errors may occur.

Working with Oracle Data | 557

Problems can occur if you respond incorrectly to errors you encounter
while running a script.
4 Execute the EnableVersioning.sql script in the /FDO/bin/com folder in your
AutoCAD Map 3D folder.
This will enable the tables for OWM.
NOTE The DisableVersioning.sql script in the same folder provides the opposite
functionality.
5 If you create a data store in AutoCAD Map 3D 2011 that you want to use
with the 2007 version of AutoCAD Map 3D, you must set the value of
the lock and long transaction options in the table F_Options in the
generated data store to 2. You can do this with the supplied SQL script
EnableVersioning.sql, which also enables versioning for all tables and allows
the creation of conditional data. Do not make this change to F_Options
in the database if you do not plan to use it with the previous version of
AutoCAD Map 3D.
To work with Oracle data
NOTE This functionality affects geospatial feature data only. For information about
linking records in an external database to objects in a drawing, see Overview of
Linking Database Records to Objects (page 522). For information about moving
data between DWG and SDF format, see Migrating DWG Data to GIS (page 628).
■

Set up users (page 584)

■

Create data stores (page 586)

■

Add Oracle features to your map (page 312)

■

Style Oracle features (page 639)

■

Join Oracle data to a different feature (page 509)

■

Examine or edit attribute data (page 711)

■

Create an Oracle schema (page 596)

■

View an Oracle schema (page 608)

■

Edit an Oracle schema (page 610)

■

Copy data to/from a different data format (page 615)

558 | Chapter 4 Managing Data

Working with SQL Server Data
AutoCAD Map 3D supports SQL Server version 2005 and SQL Server Spatial
(page 561). Both provide comprehensive data support, along with spatial
indexing, optimistic concurrency, and read-committed transaction isolation.
It uses a revision number for optimistic concurrency.
AutoCAD Map 3D supports SQL Server authentication for SQL Server data
stores. The FDO (page 2062) User is mapped to the SQL Server login. Grant access
to the databases whose data you want to use.
NOTE This functionality affects geospatial feature data only. For information about
linking records in an external database to objects in a drawing, see Overview of
Linking Database Records to Objects (page 522).

What SQL Server Schemas Support
A SQL Server schema (page 2073) can support the following:
■

Inheritance

■

Multiple schemas

■

Object properties (with limitations)

■

Association properties (with limitations)

■

Schema overrides

■

Auto ID generation

■

Default values

■

Inclusive value range constraints

■

Exclusive value range constraints

■

Value constraints list

■

Null value constraints

■

Unique value constraints

■

Composite unique value constraints

■

Spatial contexts

Working with SQL Server Data | 559

■

■

The following geometry types:
■

Polygons: polygon, multi-polygon, curve polygon, multi-curve polygon,
circular arc segment

■

Points: point, multi-point

■

Rings: ring, linear ring

■

Line strings: line string, line string segment, multi-line string, curve
string, multi-curve string

Multi-geometry

Restrictions of SQL Server Schemas
When you create a SQL Server schema, the following restrictions apply:
■

A feature class (page 2063) must define or inherit at least one identity property
(page 2071).

■

Identity properties cannot be nullable.

■

Read-only identity properties must be auto-generated.

■

A feature class can have multiple geometric properties. Although it is not
mandatory, having a main geometry as an attribute of the feature class
can help you to identify which geometry property to use as the default for
queries and rendering. Both HasMeasure and HasElevation are supported.

■

The maximum length of a string is 8000 characters.

■

For decimal properties, the precision must be between 1 and 38, inclusive,
and the scale must be between 0 and 38, inclusive.

See also:
■

Overview of Geospatial Data (page 551)

■

Setting Up Database Users (page 584)

■

Creating a Data Store (page 586)

■

Bringing In Features from SQL Server (page 323)

■

Styling Features (page 639)

■

Creating a Join (page 509)

560 | Chapter 4 Managing Data

■

Editing Features using the Data Table (page 711)

■

Creating a Schema (page 596)

■

Viewing a Schema (page 608)

■

Editing a Schema (page 610)

■

Deleting Schemas (page 613)

■

Migrating Data (page 615)

To work with SQL Server data
NOTE This functionality affects geospatial feature data only. For information about
linking records in an external database to objects in a drawing, see Overview of
Linking Database Records to Objects (page 522).
■

Set up users (page 584)

■

Create data stores (page 586)

■

Add SQL Server features to your map (page 323)

■

Style SQL Server features (page 639)

■

Join SQL Server data to a different feature (page 509)

■

Examine or edit attribute data (page 711)

■

Create a SQL Server schema (page 596)

■

View a SQL Server schema (page 608)

■

Edit a SQL Server schema (page 610)

■

Delete a SQL Server schema (page 613)

■

Copy data to/from a different data format (page 615)

Working with SQL Server Spatial Data
AutoCAD Map 3D supports SQL Server Spatial through version 2008 SP1. Use
SQL Server Spatial for the following:
■

To connect to Microsoft® SQL Server™ Spatial data stores

Working with SQL Server Spatial Data | 561

■

To read, create, and edit schemas for SQL Server Spatial data stores.

AutoCAD Map 3D supports SQL Server authentication and Windows
authentication for SQL Server Spatial data stores. The FDO (page 2062) User is
mapped to the SQL Server login. Grant access to the databases whose data you
want to use.
SQL Server Spatial includes two spatial data types: geometry and geography.
Geography is used for geodetic data, such as latitude/longitude data. Geometry
is meant for all other spatial data. The two spatial data types support similar
operations.
Geometric properties have a Geometry or Geography column, depending on
the coordinate system of the associated spatial context for the property. If the
coordinate system is geodetic, it has a Geography column. Otherwise, it has
a Geometry column. A coordinate system is Geodetic if its “well known text”
(WKT) starts with GEOGCS.
NOTE This functionality affects geospatial feature data only. For information about
linking records in an external database to objects in a drawing, see Overview of
Linking Database Records to Objects (page 522).

What SQL Server Spatial Schemas Support
A SQL Server schema (page 2073) can support the following:
■

Inheritance

■

Multiple schemas

■

Object properties (with limitations)

■

Association properties (with limitations)

■

Schema overrides

■

Auto ID generation

■

Default values

■

Inclusive value range constraints

■

Exclusive value range constraints

■

Value constraints list

■

Null value constraints

562 | Chapter 4 Managing Data

■

Unique value constraints

■

Composite unique value constraints

■

Spatial contexts

■

The following geometry types:

■

■

Polygons: polygon, multi-polygon

■

Points: point, multi-point

■

Line strings: line string, multi-line string

Multi-geometry

Restrictions of SQL Server Spatial Schemas
When you create a SQL Server schema, the following restrictions apply:
■

A feature class (page 2063) must define or inherit at least one identity property
(page 2071).

■

M and Z dimensions are not supported.

■

Identity properties cannot be nullable.

■

Read-only identity properties must be auto-generated.

■

A feature class can have multiple geometric properties. It is not mandatory,
but using a main geometry as an attribute of the feature class can help
identify the geometry property to use as the default for queries and
rendering.

■

The maximum length of a string is 4000 characters.

■

For decimal properties, the precision must be from 1 through 38, inclusive,
and the scale must be from 0 through 38, inclusive.

■

Long transactions and persistent locking are not supported.

See also:
■

Overview of Geospatial Data (page 551)

■

Setting Up Database Users (page 584)

■

Creating FDO-Enabled SQL Server Spatial Data Stores (page 590)

Working with SQL Server Spatial Data | 563

■

Bringing In Features from SQL Server (page 323)

■

Styling Features (page 639)

■

Creating a Join (page 509)

■

Editing Features using the Data Table (page 711)

■

Creating a Schema (page 596)

■

Viewing a Schema (page 608)

■

Editing a Schema (page 610)

■

Migrating Data (page 615)

To work with SQL Server Spatial data
NOTE This functionality affects geospatial feature data only. For information about
linking records in an external database to objects in a drawing, see Overview of
Linking Database Records to Objects (page 522).
■

Set up users (page 584)

■

Create data stores (page 590)
A geographic type column is created for the geodetic coordinate system.
For other systems, a geometric type column is created.
You can include FDO metadata when you create a SQL Server data store.
Spatial indexes are created automatically for geometry properties (Microsoft
SQL Server Spatial geometry types), using default spatial index parameters.
You can override the defaults using the API.

■

Connect to SQL Server Spatial data stores. (page 326)
Use either Windows or SQL Server authentication.

■

Style SQL Server features (page 639)

■

Join SQL Server data to a different feature (page 509)

■

Examine or edit attribute data (page 711)

■

Create a SQL Server schema (page 596)

■

View a SQL Server schema (page 608)

■

Edit a SQL Server schema (page 610)

■

Copy data to/from a different data format (page 615)

564 | Chapter 4 Managing Data

Working with SQLite Data
The OSGeo FDO provider for SQLite is an open-source, file-based provider
developed by Autodesk. This read/write provider supports one update user at
a time with any number of read users.
You can do the following in AutoCAD Map 3D:
■

Create a SQLite data store

■

Connect to a SQLite data store

■

Import from SQLite

■

Export to SQLite

■

Save a Display Manager layer to SQLite

Each SQLite data store can contain one schema and a single spatial context.
The name of the schema must be "Default.”

What SQLite Schemas Support
A SQLite schema (page 2073) can support the following:
■

All FDO property types except raster, object, association, and LOB properties

■

Auto-generated properties for int32 and int64 properties

■

All FDO geometry and geometry component types, including arc segments

■

2D, 3D, and measure (M)

■

Single and composite primary keys

■

Null value constraints

■

Unique value constraints

■

Range and list constraints

■

Default values

■

Select, Select Aggregate, Insert, Update, and Delete commands

■

SQL commands

■

Transactions with commit and rollback

■

All FDO spatial operators except distance

Working with SQLite Data | 565

■

Standard FDO expressions and filters

■

Parameter binding for all commands (at the API level)

Restrictions of SQLite Schemas
When you create or modify a SQLite schema, the following restrictions apply:
■

SQLite native data supports only the following base property types: int64,
double, string and Geometry.

■

If there is data in the class, you cannot modify the primary key or
constraints.

■

Persistent locking and long transactions are not supported.

■

You cannot change the schema name for a SQLite data store. The schema
name must be “Default.”

■

You cannot add comments in the Schema or Feature Class Description
fields.

To work with SQLite data
NOTE This functionality affects geospatial feature data only. For information about
linking records in an external database to objects in a drawing, see Overview of
Linking Database Records to Objects (page 522).
■

Create data stores (page 586).

■

Connect to SQLite data. (page 330)

■

Style SQLite features (page 639).

■

Join SQLite data to a different feature (page 509).

■

Examine or edit attribute data (page 711).

■

View a SQLite schema (page 608)

■

Edit a SQLite schema (page 610)

■

Export drawing data to SQLite (page 1447).

■

Save a Display Manager layer as an SQLite file. (page 1469)

■

Copy data to/from a different data format (page 615)

566 | Chapter 4 Managing Data

Working with MySQL Data
AutoCAD Map 3D supports MySQL 5.0.27 In AutoCAD Map 3D, you can
create, edit, and delete a MySQL data store (page 2059) or schema (page 2073). You
can also use MySQL to access databases created by other applications. AutoCAD
Map 3D supports native MySQL geometry, indexing, two-dimensional
geometry (compatible with the OGC Simple Feature specification), and spatial
query operations, but not transactions. Auto-generated properties are
automatically incremented (auto-incremented). MySQL uses a revision number
for optimistic concurrency.
NOTE If you cannot connect to your MySQL data source, you may see an error
message: "Specified credentials are not valid or the provider is unable to establish
a connection." To resolve the issue, copy the libmySQL.dll file into the AutoCAD
Map 3D\FDO\bin folder and try again.
NOTE This functionality affects geospatial feature data only. For information about
linking records in an external database to objects in a drawing, see Overview of
Linking Database Records to Objects (page 522).

What MySQL Schemas Support
A MySQL schema can support the following:
■

Inheritance

■

Multiple schemas

■

Object properties (with limitations)

■

Association properties (with limitations)

■

Schema overrides

■

Auto ID generation

■

Default values

■

Null value constraints

■

Unique value constraints

■

Composite unique value constraints

■

Spatial contexts

Working with MySQL Data | 567

■

■

The following geometry types:
■

Polygons: polygon, multi-polygon, curve polygon, multi-curve polygon,
circular arc segment

■

Points: point, multi-point

■

Rings: ring, linear ring

■

Line strings: line string, line string segment, multi-line string, curve
string, multi-curve string

Multi-geometry

Restrictions of MySQL Schemas
When you create a MySQL schema, the following restrictions apply:
■

A feature class (page 2063) must define or inherit at least one identity property
(page 2071).

■

Inclusive value range constraints are not supported.

■

Identity properties cannot be nullable.

■

Read-only identity properties must be auto-generated.

■

A feature class can have multiple geometric properties. It is not mandatory,
but using a main geometry as an attribute of the feature class can help
identify the geometry property to use as the default for queries and
rendering. Both HasMeasure and HasElevation are supported.

■

The maximum length of a string is 65,535 bytes.

■

For decimal properties, the precision must be from 1 through 65, inclusive,
and the scale must be from 0 through 30, inclusive.

See also:
■

Overview of Geospatial Data (page 551)

■

Setting Up Database Users (page 584)

■

Creating a Data Store (page 586)

■

Bringing In Features from MySQL (page 332)

■

Styling Features (page 639)

568 | Chapter 4 Managing Data

■

Creating a Join (page 509)

■

Editing Features using the Data Table (page 711)

■

Creating a Schema (page 596)

■

Viewing a Schema (page 608)

■

Editing a Schema (page 610)

■

Deleting Schemas (page 613)

■

Migrating Data (page 615)

To work with MySQL data
NOTE This functionality affects geospatial feature data only. For information about
linking records in an external database to objects in a drawing, see Overview of
Linking Database Records to Objects (page 522).
■

Set up users (page 584)

■

Create data stores (page 586)

■

Add MySQL features to your map (page 332)

■

Style MySQL features (page 639)

■

Join MySQL data to a different feature (page 509)

■

Examine or edit attribute data (page 711)

■

Create a MySQL schema (page 596)

■

View a MySQL schema (page 608)

■

Edit a MySQL schema (page 610)

■

Delete a MySQL schema (page 613)

■

Copy data to/from a different data format (page 615)

Working with SDF Data
The Autodesk SDF file format is a standalone, file-based spatial database format.
It supports multiple features classes and properties in a single file. SDF provides
spatial indexing, interoperability, and high performance for large data sets.

Working with SDF Data | 569

NOTE This functionality affects geospatial feature data only. For information about
linking records in an external database to objects in a drawing, see Overview of
Linking Database Records to Objects (page 522). For information about moving
data between DWG and SDF format, see Migrating DWG Data to GIS (page 628).

Characteristics of the SDF File Format
The SDF file format has the following characteristics:
■

SDF files can be read on different platforms.

■

One schema (page 2073) in a single SDF file supports multiple feature classes
(page 2063).

■

SDF files have their own spatial indexing.

■

SDF files can store geometric and non-geometric data with minimal
overhead.

■

The SDF file format supports a single writer at any time, with multiple
readers.

What SDF Schemas Support
An SDF schema can support the following:
■

Auto ID generation

■

Default values

■

Exclusive and inclusive value range constraints

■

Value list constraints

■

Null value constraints

■

Spatial contexts

■

The following geometry types:
■

Polygons: polygon, multi-polygon, curve polygon, multi-curve polygon,
circular arc segment

■

Points: point, multi-point

■

Rings: ring, linear ring

■

Line strings: line string, line string segment, multi-line string, curve
string, multi-curve string

570 | Chapter 4 Managing Data

■

Multi-geometry

See also:
■

Overview of Geospatial Data (page 551)

■

Setting Up Database Users (page 584)

■

Creating a Data Store (page 586)

■

Bringing In Features from SDF (page 337)

■

Styling Features (page 639)

■

Creating a Join (page 509)

■

Editing Features using the Data Table (page 711)

■

Creating a Schema (page 596)

■

Viewing a Schema (page 608)

■

Editing a Schema (page 610)

■

Deleting Schemas (page 613)

■

Migrating Data (page 615)

To work with SDF data
NOTE This functionality affects geospatial feature data only. For information about
linking records in an external database to objects in a drawing, see Overview of
Linking Database Records to Objects (page 522). For information about moving
data between DWG and SDF format, see Migrating DWG Data to GIS (page 628).
■

Create data stores (page 586)

■

Add SDF features to your map (page 337)

■

Style SDF features (page 639)

■

Join SDF data to a different feature (page 509)

■

Examine or edit attribute data (page 711)

■

Create an SDF schema (page 596)

■

View an SDF schema (page 608)

Working with SDF Data | 571

■

Edit an SDF schema (page 610)

■

Delete an SDF schema (page 613)

■

Copy data to/from a different data format (page 615)

Working with SHP Data
The standalone ESRI SHP file format supports GIS data using the following
file types:
■

SHP (shape geometry)

■

SHX (shape index)

■

PRJ (projection information)

■

CPG (code page files)

■

IDX (spatial index)

■

DBF (shape attributes in dBASE format)

You must have either a SHP or DBF file present to connect to data or work
with schemas (page 2073). Otherwise, these files are optional. If they do not
exist initially, the system creates files with empty records.
NOTE This functionality affects geospatial feature data only. For information about
linking records in an external database to objects in a drawing, see Overview of
Linking Database Records to Objects (page 522).

Characteristics of the SHP File Format
The Schema Editor treats each SHP file, and its associated DBF file, as a feature
class (page 2063) with a single geometry property (page 2071) and, optionally, data
attribute properties. The SHP file format supports a single writer at any time,
but can have multiple readers.
SHP files can include only one geometry type per file, but you can store and
copy multiple SHP files in a folder. You can use a configuration file to support
multiple schemas when you establish your connection to a folder containing
SHP files.

572 | Chapter 4 Managing Data

What SHP Schemas Support
A SHP schema can support the following:
■

A single geometry type per file

■

Spatial contexts (determined by coordinate system information in the PRJ
file)

■

Auto ID generation

■

Null value constraints

■

The following geometry types:
■

Polygons: polygon, multi-polygon
NOTE When you connect to or import SHP polygon data, AutoCAD Map
3D checks the geometry to see if there are multiple closed outer loops. If
so, it treats the geometry as multi-polygon (a polygon with multiple exterior
rings). It does not treat unclosed outer loops as multi-polygon. You can
create a multi-polygon in AutoCAD Map 3D and then save or export it to
SHP format. It then appears in its native SHP file as a multi-polygon.

■

Points: point, multi-point

■

Rings: linear ring

■

Line strings: line string, line string segment, multi-line string

See also:
■

Overview of Geospatial Data (page 551)

■

Setting Up Database Users (page 584)

■

Creating a Data Store (page 586)

■

Bringing In Features from SHP (page 335)

■

Styling Features (page 639)

■

Creating a Join (page 509)

■

Editing Features using the Data Table (page 711)

■

Viewing a Schema (page 608)

■

Migrating Data (page 615)

Working with SHP Data | 573

To work with SHP data
NOTE This functionality affects geospatial feature data only. For information about
linking records in an external database to objects in a drawing, see Overview of
Linking Database Records to Objects (page 522).
■

Create data stores (page 586)

■

Add SHP features to your map (page 335)

■

Style SHP features (page 639)

■

Join SHP data to a different feature (page 509)

■

Examine or edit attribute data (page 711)

■

View a SHP schema (page 608)

■

Copy data to/from a different data format (page 615)

Working with PostgreSQL/PostGIS Data
AutoCAD Map 3D uses the OSGeo FDO Provider for PostgreSQL/PostGIS,
which accesses Postgres and PostGIS databases and is certified with PostGIS
1.4.0 with PostgreSQL 8.4. PostGIS adds support for geographic objects to the
PostgreSQL object-relational database so that the PostgreSQL server can be
used as a back end spatial database for GIS.

What PostgreSQL/PostGIS Schemas Support
A PostgreSQL/PostGIS schema (page 2073) can support the following:
■

Reading and writing data with database transaction support

■

Creation and modification of schemas

■

Feature classes and regular classes

■

All basic FDO data types except for BLOB and Byte types

■

All geometry types except curve types. Circular arcs are not supported

■

2D geometry

■

Multiple schemas

■

Auto-ID generation for int32 and int64 data types

574 | Chapter 4 Managing Data

■

Null value constraints

■

Unique value constraints

■

Range constraints

■

List constraints

■

Default values

■

All spatial filters

■

All FDO expression functions

Restrictions of PostgreSQL/PostGIS Schemas
When you create a PostgreSQL/PostGIS schema, the following restrictions
apply:
■

Object properties and association properties are not supported

■

Inheritance is not supported

■

The Byte data type is not supported. Byte properties are converted to Int16.

■

Z and M values are not supported.

To work with PostgreSQL/PostGIS data
NOTE This functionality affects geospatial feature data only. For information about
linking records in an external database to objects in a drawing, see Overview of
Linking Database Records to Objects (page 522).
■

Set up users (page 584)

■

Create data stores (page 586)

■

Add PostgreSQL/PostGIS features to your map (page 340)

■

Style PostgreSQL/PostGIS features (page 639)

■

Join PostgreSQL/PostGIS data to a different feature (page 509)

■

Examine or edit attribute data (page 711)

■

Create a PostgreSQL/PostGIS schema (page 596)

■

View a PostgreSQL/PostGIS schema (page 608)

Working with PostgreSQL/PostGIS Data | 575

■

Edit a PostgreSQL/PostGIS schema (page 610)

■

Delete a PostgreSQL/PostGIS schema (page 613)

■

Copy data to/from a different data format (page 615)

Working with ODBC Data
To set up a Data Source Name (DSN) for your ODBC data store, you add a DSN
in Windows. The configuration options you specify depend on the type of
ODBC data store you use. The login ID and password you enter when setting
up your DSN are used only for defining the DSN. These credentials are not
when you connect with the ODBC provider through FDO.
NOTE For MySQL, be sure to install the MySQL driver from MyODBC 3.51 at
http://dev.mysql.com/downloads/connector/odbc/3.51.html.
NOTE This functionality affects geospatial feature data only. For information about
linking records in an external database to objects in a drawing, see Overview of
Linking Database Records to Objects (page 522).

What ODBC Schemas Support
For ODBC, AutoCAD Map 3D supports point geometry, with X, Y, and
optionally, Z columns for defining points. Although the default column names
are X, Y, and Z, when you select the columns to represent these points, you
must override the defaults. This information is stored in the map file itself. If
you perform the same steps in another map, you must override the settings
again.
In some cases, ODBC schemas support default values.

Restrictions of ODBC Schemas
■

There is no spatial indexing.

■

Geometry points are stored as separate properties in the object definition.

■

The existing schema (page 2073) is used; you cannot edit or delete it. You
cannot add a new schema or add FDO (page 2062) metadata to the data store
(page 2059).

576 | Chapter 4 Managing Data

See also:
■

Overview of Geospatial Data (page 551)

■

Accessing Data from ODBC (page 342)

■

Creating a Join (page 509)

■

Editing Features using the Data Table (page 711)

NOTE This functionality affects geospatial feature data only. For information about
linking records in an external database to objects in a drawing, see Overview of
Linking Database Records to Objects (page 522).
■

To set up an ODBC data store for use with AutoCAD Map 3D (page 577)

■

To set up a database range for Excel (page 578)

■

To work with ODBC data (page 578)

To set up an ODBC data store for use with AutoCAD Map 3D
1 From your Windows desktop, click Start menu ➤ Settings ➤ Control
Panel and open the Administrative Tools control panel.
2 Double-click Data Sources (ODBC).
3 Click Add.
4 Select a driver.
■

For a SQL Server data store, use the SQL Server or SQL Native Client
driver. Specify either Windows NT or SQL Server, and select the default
database that matches yours.

■

For an Oracle provider, do not use the Microsoft ODBC for Oracle
driver because it is incompatible with AutoCAD Map 3D. Instead, use
the driver installed with the Oracle client.

5 Click Finish.
6 Specify the DSN information.
■

For a MySQL Server data store, specify the Data Source Name, Server,
User, Password, and Database.

■

For an Oracle provider, specify the following:
■

Data Source Name

Working with ODBC Data | 577

■

TNS Service Name (the service to which you are connecting)

■

User ID (the database to access).
The User ID predefines the tables available in AutoCAD Map 3D.
It is the equivalent of the OWNER field in an Oracle metaschema.
If you do not specify it here, the entire schema of the Oracle
instance (based on your user privileges) is used. It is case sensitive
and must match the value in the Oracle instance (all uppercase is
the usual case). This process can take several minutes, depending
on your Oracle instance.

7 Under Database, click Select and select the data store to use.
8 Click OK in the Select Database and ODBC Microsoft Access Setup dialog
boxes.
9 In the ODBC Data Source Administrator dialog box, select the new data
source and click Configure.
10 Specify the appropriate configuration options for your data store type:
■

For SQL Server, some column data types (for example, nchar) can cause
a failure when connecting to the SQL Server. They are converted to
unsupported formats by the ODBC driver.

■

For a MySQL Server data store, some column types can return the
wrong length and prevent the ODBC provider from reporting the
column. To resolve this issue, check Don't Optimize Column Width.

■

For a Microsoft Excel schemas, specify at least one named range. You
can then expose different named ranges in the worksheet as different
ODBC tables. Also, the ODBC tables map to FDO classes.

To set up a database range for Excel
1 Open the Excel worksheet.
2 Select all the data in the worksheet.
3 Define a named range for all the data in the table.
Do not use DATABASE or any other reserved word as a range name.
To work with ODBC data
■

Add data to your map (page 342)

578 | Chapter 4 Managing Data

■

Join ODBC data to a different feature (page 509)

■

Examine or edit attribute data (page 711)

Working with ESRI ArcSDE Data
You can connect through ArcSDE to an underlying Oracle or SQL Server
database. You can insert, select, update, and delete feature data in existing
ArcSDE schemas (page 2073). You cannot create or modify an ArcSDE schema
in AutoCAD Map 3D.
AutoCAD Map 3D supports ArcSDE 9.1, 9.2, 9.3, and 9.3.1.
The 9.3.1 version is available as either a 32-bit or 64-bit provider on Windows.
(For previous versions, and on Linux, it is available in 32-bit only.) The 64-bit
support is available only with the 64-bit ESRI ArcSDE 9.3.1 client libraries.
(The 64-bit client libraries were not available before version 9.3.1.)
Both 32-bit and 64-bit ArcSDE servers are supported for the 9.3.1 version. You
can access either server type with a 32-bit or 64-bit client. For example, if you
are using AutoCAD Map 3D in a 32-bit environment, you can access a 64-bit
ArcSDE server.
To work with ArcSDE, you must install ArcSDE 9.3.1 and a supported data
source (page 2059), such as Oracle 11g, in the network.
Install the following DLL files on the computer on which you run AutoCAD
Map 3D:
For version 9.1

For version 9.2 through 9.3.1

pe91.dll

pe.dll

sde91.dll

sde.dll

sg91.dll

sg.dll

For instructions on installing the DLL files and setting up your hosts and
services files for ArcSDE, see Bringing In Features from ArcSDE (page 316).
The PATH environment variable must reference the local folder containing
these DLLs. To accomplish this, you can install an ArcGIS 9.1 Desktop
application or the ArcSDE SDK. For more information about ArcGIS 9.1 Desktop
applications and the ArcSDE SDK, refer to the ESRI documentation.

Working with ESRI ArcSDE Data | 579

NOTE This functionality affects geospatial feature data only. For information about
linking records in an external database to objects in a drawing, see Overview of
Linking Database Records to Objects (page 522). For information about moving
data between DWG and ArcSDE format, see Migrating DWG Data to GIS (page
628).

What ESRI ArcSDE Schemas Support
AutoCAD Map 3D uses facilities provided by ArcSDE for long transaction (page
2067) versioning (page 2078) and persistent locking (page 2070). (ArcSDE supports one
or the other, but not both, on the same class). AutoCAD Map 3D uses the
standard ArcSDE API and ArcSDE-supported storage on both the Oracle and
SQL Server platforms. AutoCAD Map 3D does not use FDO (page 2062) metadata
for ArcSDE schema—it uses existing metadata only.

Restrictions of ArcSDE Schemas
If ArcSDE encounters curved segments, it converts them to a series of line
segments that approximate the original arc segment (an approximation of
the original geometry).
See also:
■

Overview of Geospatial Data (page 551)

■

Editing Features using the Data Table (page 711)

■

Bringing In Features from ArcSDE (page 316)

■

Styling Features (page 639)

■

Creating a Join (page 509)

■

Editing Features using the Data Table (page 711)

■

Viewing a Schema (page 608)

■

Migrating Data (page 615)

NOTE This functionality affects geospatial feature data only. For information about
linking records in an external database to objects in a drawing, see Overview of
Linking Database Records to Objects (page 522). For information about moving
data between DWG and ArcSDE format, see Migrating DWG Data to GIS (page
628).

580 | Chapter 4 Managing Data

To work with ESRI ArcSDE data
■

Add ArcSDE features to your map (page 316)

■

Style ArcSDE features (page 639)

■

Join ArcSDE data to a different feature (page 509)

■

Examine or edit attribute data (page 711)

■

View an ArcSDE schema (page 608)

Working with WFS Data
An OGC Web Feature Service (WFS) provides access to geographic features
that are stored in an opaque data store (page 2059) in a client/server environment.
A client uses WFS to retrieve geospatial data that is encoded in Geography
Markup Language (GML) from a single or multiple WFS. The communication
between client and server is encoded in XML. If the WFS response includes
feature geometries, it is encoded in Geography Markup Language (GML),
which is specified in the OpenGIS Geographic Markup Language
Implementation Specification. WFS is a read-only provider.
NOTE This functionality affects geospatial feature data only.There is no equivalent
for drawing data.

What WFS Schemas Support
A WFS schema (page 2073) can support the following:
■

Inheritance

■

Multiple schemas

■

Object properties

■

Association properties

■

These geometry types: point, line string, polygon, multi-point, multi-line
string, multi-polygon, multi-geometry, curve string, curve polygon,
multi-curve string, multi-curve polygon, linear ring, line string segment,
circular arc segment, and ring

■

Multi-geometry

Working with WFS Data | 581

See also:
■

Overview of Geospatial Data (page 551)

■

Bringing In Features from WFS (page 346)

■

Styling Features (page 639)

■

Creating a Join (page 509)

NOTE This functionality affects geospatial feature data only. There is no equivalent
for drawing objects.
To work with WFS data
■

Add WFS features to your map (page 346)

■

Style WFS features (page 639)

■

Join data to a WFS feature (page 509)

Working with Feature Sources
After you connect to a data store in AutoCAD Map 3D, that data store is a
feature source (page 2063) for the current map.
NOTE This functionality affects geospatial feature data only. For information about
linking records in an external database to objects in a drawing, see Overview of
Linking Database Records to Objects (page 522).

Overview of Working with Feature Sources
After you connect to a data store in AutoCAD Map 3D, that data store is a
feature source (page 2063) for the current map. Feature sources are listed by
provider (for example, all SDF feature sources are listed together in Data
Connect (page 2059)).
NOTE This functionality affects geospatial feature data only. For information about
linking records in an external database to objects in a drawing, see Overview of
Linking Database Records to Objects (page 522). For information about managing
drawing objects and drawing files, see Overview of Setting Up Your Map File (page
140).

582 | Chapter 4 Managing Data

Tell me more
■

Show me how to create a new SDF file
and import a schema.

■

To create a data store for a database
provider (page 588)

■

To create a data store for a file-based
data provider (page 589)

■

To create a schema (page 598)

■

To import an XML or XMI schema
(page 608)

■

Exercise 3: Edit the schema

■

Prepare an Existing Oracle Database
for Use with AutoCAD Map 3D

■

Create a GIS data store (SDF) to be
populated from various sources

■

About Geospatial Feature Classes, Data
Stores, and Schemas (page 551)

■

Overview of Geospatial Data (page 551)

■

Overview of Bringing In GIS Features
(page 305)

Video

Procedure

Tutorial

Workflow

GIS Skill

Related topics

NOTE This functionality affects geospatial feature data only. For information about
linking records in an external database to objects in a drawing, see Overview of
Linking Database Records to Objects (page 522). For information about managing
drawing objects and drawing files, see Overview of Setting Up Your Map File (page
140).
To set up a feature source (page 2063)
1 Set up database users for the feature source, if necessary. (page 585)

Overview of Working with Feature Sources | 583

2 Do one of the following:
■

Create a database datastore. (page 588)

■

Create an SDF or SHP data store. (page 589)

NOTE You can also delete a data store. (page 593)

Setting Up Database Users
You can use the FDO User Manager utility that comes with AutoCAD Map 3D
to set up database users for Oracle, SQL Server, PostgreSQL/PostGIS, and
MySQL.
NOTE This functionality affects geospatial feature data only. For information about
linking records in an external database to objects in a drawing, see Overview of
Linking Database Records to Objects (page 522). For information about managing
drawing objects and drawing files, see Overview of Setting Up Your Map File (page
140).
For an Oracle data store (page 2059), AutoCAD Map 3D separates the concept
of the Oracle user who owns the schema (page 2073) from the Oracle user who
accesses the schema.
When you create a new Oracle data store in AutoCAD Map 3D (page 586),
AutoCAD Map 3D automatically creates a new corresponding Oracle user who
is the owner of that data. For example, creating a data store called mycitydb
creates an Oracle user called mycitydb. However, you must also create separate
Oracle users for the purpose of accessing the data store. These Oracle users
match the end users who will access the data. For example, if an end-user
named JSmith will be connecting to the new data store, you create an Oracle
user with that name and grant him access to the new data store. This allows
different users who access the same data to have different privileges.
To access data that resides in a relational database, AutoCAD Map 3D requires
that database users have certain privileges. Use FDO User Manager to add a
new user with the appropriate roles. FDO User Manager is a command-line
utility that lets you manage database users and accounts consistently across
database management systems.
When you create users for an Oracle instance with the FDO User Manager
tool, those users have the privileges that support data access operations for
that data store. If you access the data store as an Oracle user who was not
created using FDO User Manager, the Database Administrator must ensure

584 | Chapter 4 Managing Data

that the user has sufficient privileges to work with the data. If you use Oracle
Workspace Manager, you must use separate users to create the data store and
to access the data store, because locking is tracked by individual user and will
not be effective if everyone connects as the same data store user.
In FDO User Manager, you choose an FDO provider (page 2063) and connection
and then perform provider-specific tasks, including:
■

Adding, dropping, or listing users

■

Assigning, revoking, or listing roles and privileges

■

Granting, revoking, or listing access to data stores

NOTE Database users are not the same as AutoCAD Map 3D users, which are
managed separately (page 82).
See also:
■

Overview of Geospatial Data (page 551)

■

Setting Up Users and Assigning Rights (page 82)

■

Creating a Data Store (page 586)

NOTE This functionality affects geospatial feature data only. For information about
linking records in an external database to objects in a drawing, see Overview of
Linking Database Records to Objects (page 522). For information about managing
drawing objects and drawing files, see Overview of Setting Up Your Map File (page
140).
To manage database users and accounts
1 Start FDO User Manager.
By default, FDO User Manager is located in \Program Files\AutoCAD Map
3D\FDO\bin\. To start it, either double-click FdoUserManager.exe in
Windows Explorer or enter FdoUserManager at a command prompt. (To
invoke FdoUserManager from any prompt, add its directory to your path.)
2 At the Choose a Provider menu, enter the digit that corresponds to your
FDO Provider and press Enter.
3 Enter each connection parameter when prompted and press Enter.
For example, enter the required service name and username/password.
For more information, contact your database administrator.

Setting Up Database Users | 585

4 After you are connected, follow the instructions on the screen.
If you are adding a user, enter the user name and password.
New users you create with this utility automatically have the roles and
privileges required by the AutoCAD Map 3D FDO functionality. However,
FDO User Manager allows you to grant some additional privileges. Use
commas to separate the role names, with no spaces. You can enter ? to
see a list of roles. To verify the roles after you add them, select List All
Roles And Privileges Of A User.
5 When you finish, enter 0 (a zero) to exit FDO User Manager.

Creating a Data Store
Features are stored in a data store (page 2059), which is a collection of feature
classes in a single data storage location. To add a feature to your map, you
connect to its data store and select each feature class (page 2063) to include.
The main reason to create a new data store is to migrate existing data (page
615) to the new FDO provider (page 2063), or to create new data in that provider
format.
NOTE This functionality affects geospatial feature data only. For information about
linking records in an external database to objects in a drawing, see Overview of
Linking Database Records to Objects (page 522). For information about moving
data between DWG and geospatial formats, see Migrating DWG Data to GIS (page
628).
You can create new data stores for database FDO Providers (Microsoft SQL
Server, SQL Server Spatial, MySQL, PostgreSQL/PostGIS, or Oracle) and
file-based FDO Providers (SDF, SHP, or SQLite) from within AutoCAD Map 3D
if you have the necessary privileges for the target database or directory. After
you create a data store, you can define or import a schema for it, which
specifies the feature classes available in that data store and their properties.
Before creating a database data store, make sure you have created a user for
the data store with the proper privileges (page 584).
To overwrite an existing data store, you must first delete the old one. For data
stores from database FDO Providers, use DBMS-specific tools to drop existing
tables.
After you create a data store and define a schema (page 596) for it, AutoCAD
Map 3D users can create, store, and access (page 303) geospatial data in that
data store.

586 | Chapter 4 Managing Data

If you have DWG data that you want to move to a feature source (page 2063),
see Migrating DWG Data to GIS (page 628).
When you create a data store, you specify the minimum and maximum X
and Y spatial extents for new data store in the Create Data Store Dialog Box
(page 1747). This is especially important if you later use Bulk Copy (page 615) to
move data to that data store. You must make sure that the data you are moving
are inside the extents of the destination data store. MySQL and Oracle support
expanding the extents automatically if incoming data are beyond the scope
of the extents.

Tell me more
■

Show me how to create a new SDF file
and import a schema.

■

To create a data store for a database
provider (page 588)

■

To create a data store for a file-based
data provider (page 589)

■

To create a schema (page 598)

■

To import an XML or XMI schema
(page 608)

■

Exercise 3: Edit the schema

■

Prepare an Existing Oracle Database
for Use with AutoCAD Map 3D

■

Create a GIS data store (SDF) to be
populated from various sources

■

About Geospatial Feature Classes, Data
Stores, and Schemas (page 551)

■

Overview of Geospatial Data (page 551)

■

Setting Up Database Users (page 584)

Video

Procedure

Tutorial

Workflow

GIS Skill

Related topics

Creating a Data Store | 587

■

Importing and Exporting a Schema
(page 606)

■

Migrating Data (page 615)

■

Migrating DWG Data to GIS (page 628)

Instructions for creating a data store are different for database data stores and
for file-based data stores.
NOTE This functionality affects geospatial feature data only. For information about
linking records in an external database to objects in a drawing, see Overview of
Linking Database Records to Objects (page 522). For information about moving
data between DWG and geospatial formats, see Migrating DWG Data to GIS (page
628).
■

To create a data store for a database provider (page 588)

■

To create a data store for a file-based data provider (page 589)

To create a data store for a database provider
1 On the Task Pane, click either the Map Explorer (page 2068) or Display
Manager (page 2060) tab.
2 Click Data ➤ Connect To Data.
3 In the Data Connections By Provider list in the Data Connect window,
select the appropriate choice (for example, Add Oracle Connection).
4 In the right-hand pane, enter a connection name (the name you will call
this data store in AutoCAD Map 3D) and the information required to
connect to the data store, for example, a service name.
NOTE Do not use the same name you used when you created a user for the
data store (page 584).
5 Log into the service for the store.
6 In the Data Store list, select Add New Data Store (or type a name that
does not appear in the list already) and press Enter.
You are asked if you want to create a new data store. Click Yes.
7 In the Create Data Store Dialog Box (page 1747) for this provider, enter the
settings for the new data store.

588 | Chapter 4 Managing Data

If you are creating an FDO-enabled data store for SQL Server Spatial, see
Creating FDO-Enabled SQL Server Spatial Data Stores (page 590).
8 Click OK.
If the data store is created successfully, you see a confirmation message
prompting you to edit its schema. Use the Schema Editor to create (page
596) or import (page 606) the schema for the data store.
You are connected to the new data store automatically.
To create a data store for a file-based data provider
1 In Map Explorer, do one of the following:
■

Click Schema ➤ Create SDF.

■

Click Schema ➤ Create SHP.

■

Click Schema ➤ Create SQLite.

2 In the Create File dialog box, specify the path and file name of the data
store to create.
3 Enter the coordinate system code for the new data store.
If you do not know the code, follow these steps to select a coordinate
system:
■

Click

.

■

In the Assign Global Coordinate System dialog box (page 1598), select
a category.

■

Select from a list of available coordinate systems.
Select a coordinate system that both the provider and AutoCAD Map
3D support.

■

Click Properties to view the properties of the selected coordinate
system.

■

Click OK.

4 Click OK.
You must define a schema for the new data store. A confirmation message
prompts you to use the Schema Editor (page 1739) to create (page 596) or
import (page 606) the schema for the data store.

Creating a Data Store | 589

The new data store is created when you click Apply in the Schema Editor.
You are connected to it automatically.

Creating FDO-Enabled SQL Server Spatial Data Stores
You can create a SQL Server data store in native SQL Server format (page 559)
and you can create an extended SQL Server Spatial data store (page 561) with
FDO metadata.
NOTE This functionality affects geospatial feature data only. For information about
linking records in an external database to objects in a drawing, see Overview of
Linking Database Records to Objects (page 522). For information about moving
data between DWG and geospatial formats, see Migrating DWG Data to GIS (page
628).

FDO-enabled Data Stores
You specify whether the new data store will be FDO-enabled or not by selecting
Use FDO Enabled Schema when you create a data store.
FDO-enabled data stores include additional FDO metadata, but otherwise use
native SQL Server schema capabilities.
■

Such metadata provides a mechanism for ensuring that class and property
names are maintained when you use Bulk Copy to move the data to a
different format and back again. For SQL Server, the cases where class and
property names are not maintained are rare, since SQL Server can handle
names with any Unicode characters. The names cannot be longer than
128 characters, which is not usually a problem.

■

FDO data stores maintain class inheritance, while non-FDO data stores do
not. ApplySchema for non_FDO data stores maintains the inherited
properties for sub-classes but not the relationships between classes and
sub-classes.

■

Object and object collection properties are supported only with FDO
metadata.

■

Revision number support for optimistic concurrency is included only with
FDO metadata.

■

If you select Use FDO Enabled Schema when you create a data store, some
columns or tables may be renamed in the SQL Server database to avoid

590 | Chapter 4 Managing Data

limitations in SQL Server. The data itself is not altered and can still be
queried by an external application. You can later delete the metadata table.
NOTE It is recommended that you use FDO-enabled schemas only if you need
their additional capabilities. Otherwise, choose the default, non-FDO-enabled
schema.

Selecting a Coordinate System for a Spatial Context
Once you create a data store, you create and apply a schema to it. The schema
defines the table and columns into which you will put data. For FDO geometry
properties, there are two possible SQL Server Spatial column types: geometry
and geography. The geography type is used for geodetic (lat/long) coordinate
systems and the geometry type is used for non-geodetic coordinate systems.
For both, a spatial index with default parameters is created automatically.
SQL Server Spatial includes a catalog of geodetic coordinate systems, but not
non-geodetic coordinate systems. Both geometry and geography column types
save SRID values, but only geography type columns reference an entry in the
catalog, and in this case the SRID numbers are EPSG numbers.
In AutoCAD Map 3D, when you define a spatial context, you select a
coordinate system from the Mentor catalog. To use this coordinate system
with SQL Server Spatial, AutoCAD Map 3D must translate the coordinate
system information from Mentor into an SRID. SRID is the only identifier that
SQL Server can use for both geodetic and non-geodetic coordinate systems.
AutoCAD Map 3D uses the EPSG code of the coordinate system as the SRID.
The spatial context creation can fail if either of the following is true:
■

The coordinate system does not have an EPSG code.

■

The coordinate system is in the SQL Server catalog but its SQL Server WKT
definition is not recognized by Mentor.

To resolve these situations, use a translation table in the file
ExtendedCoordSys.txt. By default, this file is stored in FDO\bin\com in the
AutoCAD Map 3D installation folder.
If the coordinate system does not have an EPSG code, add it to
ExtendedCoordSys.txt and specify an SRIDfor it. Choose an SRID number that
is not an EPSG code. The ExtendedCoordSys.txt file contains instructions for
doing this.
If the SQL Server WKT definition is not recognized by mentor, add the
coordinate system to ExtendedCoordSys.txt (if it is not already there) and set

Creating FDO-Enabled SQL Server Spatial Data Stores | 591

the WKT to the Mentor version. The WKT specified in the file takes precedence
over the WKT in the SQL Server catalog.
NOTE This functionality affects geospatial feature data only. For information about
linking records in an external database to objects in a drawing, see Overview of
Linking Database Records to Objects (page 522). For information about moving
data between DWG and geospatial formats, see Migrating DWG Data to GIS (page
628).
To create a data store for SQL Server Spatial
1 On the Task Pane, click either the Map Explorer (page 2068) or Display
Manager (page 2060) tab.
2 Click Data ➤ Connect To Data.
3 In the Data Connections By Provider list in the Data Connect window,
select Add SQL Server Spatial Connection).
4 In the right-hand pane, enter a connection name (the name you will call
this data store in AutoCAD Map 3D) and the information required to
connect to the data store, for example, a service name.
NOTE Do not use the same name you used when you created a user for the
data store (page 584).
5 Log into the service for the store, using either Windows authentication
or SQL Server authentication.
6 In the Data Store list, select Add New Data Store (or type a name that
does not appear in the list already) and press Enter.
You are asked if you want to create a new data store. Click Yes.
7 In the Create Data Store Dialog Box (page 1747) for this provider, enter the
settings for the new data store.
Specify whether the new data store will be FDO-enabled or not by selecting
or clearing Use FDO Enabled Schema. FDO-enabled data stores include
additional FDO metadata, but otherwise use native SQL Server schema
capabilities.
8 Click OK.
If the data store is created successfully, a confirmation message prompts
you to edit its schema. Use the Schema Editor to create (page 596) or import
(page 606) the schema for the data store.

592 | Chapter 4 Managing Data

The Concept tab for this topic describes issues concerning geometric and
geogra[hic properties, as well as issues with coordinate systems for SQL
Server Spatial data stores.
You are connected to the new data store automatically.

Deleting a Feature Source
When you delete a feature source (page 2063), you remove all of its data and
stylization information from layers in the current map that reference its data
store. The data store (page 2059) itself is unaffected.
To delete a feature source, you must first disconnect from it.
NOTE This functionality affects geospatial feature data only. For information about
deleting the templates that link records in an external database to objects in a
drawing, see Editing a Link Template (page 538).
See also:
■

Overview of Geospatial Data (page 551)

■

Creating a Data Store (page 586)

■

Overview of Bringing In Data (page 291)

To delete a feature source
1 In Map Explorer, click Data ➤ Connect to Data.
2 In the Data Connections By Provider list in the Data Connect window,
right-click the feature source (page 2063) to delete and click Disconnect.
Feature source entries display page icons. Each entry below a feature
source is a feature class within that feature source.
3 Right-click the feature source again and click Delete.

Working with Schemas
Use the Schema Editor to work with schemas

Deleting a Feature Source | 593

NOTE This functionality affects geospatial feature data only. For information about
linking records in an external database to objects in a drawing, see Overview of
Linking Database Records to Objects (page 522). For information about moving
data between DWG and geospatial data stores, see Migrating DWG Data to GIS
(page 628).

Overview of Working with Schemas
Geospatial data is stored in a hierarchical fashion, like a set of tables: each
row within a table is an individual feature, and each column is a property
(page 2071) of that feature. The entire table (including its name, column names,
data types, default values, and constraints) represents a feature class (page 2063).
The set of related tables is called a schema, and the entire collection of data
resides in a data store.
NOTE This functionality affects geospatial feature data only. For information about
linking records in an external database to objects in a drawing, see Overview of
Linking Database Records to Objects (page 522). For information about moving
data between DWG and geospatial data stores, see Migrating DWG Data to GIS
(page 628).

Tell me more
■

Show me how to create a new SDF file
and import a schema.

■

Show me how to delete properties from
a schema.

■

Show me how to append a feature class
to an SDF file.

■

Show me how to limit what can be
entered in a field.

■

To edit a schema (page 612)

■

Exercise 3: Edit the schema

■

Add a Property to an SDF Schema

Video

Procedure

Tutorial

Workflow

594 | Chapter 4 Managing Data

■

Add a New Feature Class to an FDO
Data Source

■

Create a GIS data store (SDF) to be
populated from various sources

■

Edit an existing schema (SDF)

■

Limit what can be entered in a field

■

About Geospatial Feature Classes, Data
Stores, and Schemas (page 551)

■

Overview of Geospatial Data (page 551)

■

Creating a Data Store (page 586)

GIS Skill

Related topics

NOTE This functionality affects geospatial feature data only. For information about
linking records in an external database to objects in a drawing, see Overview of
Linking Database Records to Objects (page 522). For information about moving
data between DWG and geospatial data stores, see Migrating DWG Data to GIS
(page 628).
To do this...

Use this method...

Create a schema

In the Schema Editor, select Schemas in
the Schema tree. Click New Schema on
the Schema Editor toolbar.
See Creating a Schema (page 596)

Import a schema

In the Schema Editor, select Schemas in
the Schema tree. Click Import Schema on
the Schema Editor toolbar.
See Importing and Exporting a Schema
(page 606)

Export a schema

In the Schema Editor, select Schemas in
the Schema tree. Click Export Schema on
the Schema Editor toolbar.
See Importing and Exporting a Schema
(page 606)

Overview of Working with Schemas | 595

To do this...

Use this method...

View a schema

In the Schema Editor, click any schema

(page 2073), feature class (page 2063), or
property (page 2071).
See Viewing a Schema (page 608)
Edit a schema

In the Schema Editor, click any schema,
feature class, or property. Change any settings.
See Editing a Schema (page 610)

Delete a schema

In the Schema Editor, right-click any
schema, feature class, or property. Click
Delete.
See Deleting Schemas (page 613)

See also:
■

Schema Editor (page 1739)

Creating a Schema
Use the Schema Editor to define a new schema (page 2073) in a new (page 586)
or existing feature source (page 2063) for a database FDO provider (page 2063)
(Microsoft SQL Server, MySQL, or Oracle) or for an SDF data store. You cannot
create a schema for an existing SHP feature source, but you can create a new
file-based data store (page 586) and create a schema for it during the creation
process. You must use ESRI tools to create an ArcSDE schema—you cannot
use AutoCAD Map 3D to create a schema for ArcSDE.
NOTE This functionality affects geospatial feature data only. For information about
linking records in an external database to objects in a drawing, see Overview of
Linking Database Records to Objects (page 522). For information about moving
data between DWG and geospatial data stores, see Migrating DWG Data to GIS
(page 628).
Some FDO Providers allow the client to override the default logical and physical
mapping specified in their schema. You can use the Schema Editor to override
classes, physical table names (to create a new table), Oracle tablespace names,
MySQL storage engines, table-type mapping (base or concrete), properties,

596 | Chapter 4 Managing Data

and column names when you define a new schema. You cannot map to an
existing table.
If you are mapping to an existing table or view in another data store (page
2059), make sure all column overrides correctly map to existing columns. If you
map to a table or view with a different owner, have the owner of that table
grant access to the FDO data store. You can create a local view that selects
from the other table, and map to the local view, but this may not be necessary.
The local view is created automatically if it is not present when you apply
your changes.
If you are mapping to a table and column in the current data store that does
not yet exist, make sure that the column name is valid for your database.
You must create schema elements hierarchically: create the schema first, then
its feature classes (page 2063), and then its properties.
For feature sources from some FDO Providers, you can create multiple schemas
within the same feature source and change (page 610) the schemas after you
define and save them the first time.
You can view (page 608) a schema from any FDO Provider, but you cannot edit
or delete it if there are existing features that use it.
See also:
■

Schema Editor (page 1739)

■

Overview of Geospatial Data (page 551)

■

Creating a Data Store (page 586)

■

Setting Up Constraints in the Schema Editor (page 599)

■

Importing and Exporting a Schema (page 606)

■

Viewing a Schema (page 608)

■

Editing a Schema (page 610)

■

Deleting Schemas (page 613)

NOTE This functionality affects geospatial feature data only. For information about
linking records in an external database to objects in a drawing, see Overview of
Linking Database Records to Objects (page 522). For information about moving
data between DWG and geospatial data stores, see Migrating DWG Data to GIS
(page 628).

Creating a Schema | 597

To create a schema
1 Connect (page 303) to the feature source in which you want to create the
schema (page 2073).
2 In Map Explorer, select the feature source (page 2063) in the connection
tree (at the top of the pane) and click Schema ➤ Edit Schema.
3 In the Schema Editor (page 1739), expand the Schema tree and do one of
the following:
■

To create a schema, select Schemas (the top-most node in the Schema
tree) and click New Schema on the Schema Editor toolbar.

■

To create a feature class (page 2063), select the parent schema in the
Schema tree and click New Feature Class on the Schema Editor toolbar.

■

To create a property (page 2071), select the parent feature class in the
Schema tree and click New Property on the Schema Editor toolbar.

4 Specify the settings for the new schema element (page 1739) in the
right-hand pane.
See Setting Up Constraints in the Schema Editor (page 599) for information
on limiting the valid values for a property.
5 Repeat the preceding two steps as required to create other schema
elements.
6 Click Apply to apply your changes and leave the Schema Editor open.
When you click Apply or OK, your changes are submitted to the data
store. You can add feature classes and properties, but you cannot edit
your previous work.
7 Click OK to apply any unsaved changes and close the Schema Editor.

598 | Chapter 4 Managing Data

Setting Up Constraints in the Schema Editor
When you create a schema, you can limit the values that are valid for particular
properties. The types of constraints supported by AutoCAD Map 3D are
described in the following table.
Type of Constraint

Description

Data Table Behavior

Range

Valid values must be
within the range specified. You can include or
exclude the minimum
and maximum values. For
example, you can specify
1-10 inclusive, and then
1 and 10 are both valid.

Any value outside the specified
range generates an error and you
must enter a different value.

List

You supply the list entries
that are valid for the
property.

Click the down-arrow to display the
list, and then choose one of the
items as a value for the property.

Not null

The value of the property
cannot be empty.

If you leave the property value
empty when you close the Data
Table, an error message prompts
you to enter a value.

Unique

The value of the property
must be unique within
the feature class. If you
define the property as an
auto-generated field, or
if it is defined in the data
store as a key field, it will
have this constraint.

If you enter a value that is used by
any other feature in this feature
class, an error message prompts you
to change it. You will not see the
error message until you check in the
feature.
If the table has two columns that
together must be unique (like
"Lastname" and "Firstname"), a
message appears on each column
involved in the paired uniqueness
constraint.

Setting Up Constraints in the Schema Editor | 599

NOTE This functionality affects geospatial feature data only. For information about
linking records in an external database to objects in a drawing, see Overview of
Linking Database Records to Objects (page 522). For information about moving
data between DWG and geospatial data stores, see Migrating DWG Data to GIS
(page 628).
When you edit the properties (page 711) in the Data Table, you can enter only
the values allowed by the constraint. For example, for a Roads feature, you
can specify that the values for the Number_Of_Lanes property be within the
range 1 through 8. If you enter 9 lanes, you will receive an error message.
You will see an error message as soon as you enter the invalid value. When
you check the feature in, your edits are validated again against the data store
and you may be notified of further errors, depending on the capabilities of
the data provider.
You cannot edit a schema to convert an existing field to use a different
constraint type if the table already contains data. The table must be empty.
Not every data provider supports all constraints. The following table shows
supported constraints by provider.
Provider

Range

List

Not Null

Unique

Oracle

Yes

Yes

Yes

Yes

PostgreSQL/PostGIS

Yes

Yes

Yes

Yes

SQL Server

Yes

Yes

Yes

Yes

SQL Server
Spatial

Yes

Yes

Yes

Yes

SQLite

Yes

Yes

Yes

Yes

MySQL

No

No

Yes

Yes

SDF

Yes

Yes

Yes

No

ArcSDE

No

No

Yes

Yes

SHP

No

No

Yes

No

600 | Chapter 4 Managing Data

The Schema Editor checks the provider capability and allows only the
constraints supported by that provider.
A property that uses constraints can have any data type, except for Boolean
(which can have not-null constraints only). You cannot constrain properties
with BLOB or CLOB data types.

Tell me more
■

Show me how to limit what can be
entered in a field.

■

To create a constrained property (page
601)

■

Exercise 4: Add a property

■

Limit what can be entered in a field

■

About Geospatial Feature Classes, Data
Stores, and Schemas (page 551)

■

Overview of Geospatial Data (page 551)

■

Creating a Data Store (page 586)

Video

Procedure

Tutorial

GIS Skill

Related topics

See also:
■

Schema Editor (page 1739)

NOTE This functionality affects geospatial feature data only. For information about
linking records in an external database to objects in a drawing, see Overview of
Linking Database Records to Objects (page 522). For information about moving
data between DWG and geospatial data stores, see Migrating DWG Data to GIS
(page 628).
To create a constrained property
1 In the Schema Editor (page 1739), expand the Schema tree and select the
property to constrain.

Setting Up Constraints in the Schema Editor | 601

2 Ensure that the data type for the property allows the constraint you want.
For example, Boolean properties can have not-null constraints only.
3 Do one of the following:
■

To specify a range for the property, set Constraint Type to Range and
specify the range values.
In the Constraint Type field, click the down-arrow and click Range.
Enter a minimum and maximum value for the range and, for each
one, specify whether the range is inclusive or exclusive of that value.
For example, if the range is 1-10, specify whether 1 and 10 are included
or not.

■

To specify a list of possible values, set Constraint Type to List and
specify the list values.
In the Constraint Type field, click the down-arrow and click List. Click
Value List and click

. Type the list, pressing Enter after each item.

If the data type for this property is String , specify the maximum
length of the string before entering values in the list.
If the data type for this property is Decimal , define the precision and
scale before entering values in the list. If you enter values in the list
that exceed the precision or scale, those values are rounded.
If the data type for this property is DateTime, the list editor displays
a calendar from which you can select specific dates. Once you choose
the first date, the list creates a new entry and you can choose the next
date.
When you click OK, AutoCAD Map 3D checks the values in the list.
If the values are not valid, for example, if they do not match the data
type or they exceed the length of the string definition, you will see
an error message.
■

To ensure that the property is not allowed to have an empty value,
set Nullable to False.
In the Nullable field, click the down-arrow and click True or False. If
you set Nullable to False, you can enter a Default Value to ensure that
new features have an entry for this property.

4 To specify a “uniqueness” constraint, select the appropriate feature class
in the tree on the left.
You can specify a single-property uniqueness constraint or a
composite-property uniqueness constraint. A single-property uniqueness
constraint ensures that the value for that property is unique within the
feature class. A composite-property uniqueness constraint (sometimes

602 | Chapter 4 Managing Data

called a “paired constraint”) specifies multiple properties whose combined
values are unique. For example, you can constrain the combined
Street_Number, Street_Name, and City fields to uniquely identify a
building address.
■

Click New (under Specify Constraints (And The Order)).

■

Select the boxes for the properties that must have unique values.
The properties designated as unique appear in the list at the bottom
of the dialog box.

■

If desired, use the up and down arrows for the list to change the order
of the properties.

5 Click Apply.

Exposing a Native Database View in a Schema
A database view is a virtual or logical table composed of the result set of a
query. Unlike ordinary tables in a relational database, a view is not part of the
physical schema. It is a dynamic, virtual table computed from data in the
database. Changing the data in a table alters the data shown in the view.
Views can provide advantages over tables:
■

You can use a view to make a subset of data available to certain users.

■

A view can join and simplify multiple tables into a single virtual table.

■

Views can aggregate data (using a sum, average, or other function) to
calculate and present data.

NOTE This functionality affects geospatial feature data only. For information about
linking records in an external database to objects in a drawing, see Overview of
Linking Database Records to Objects (page 522). For information about moving
data between DWG and geospatial data stores, see Migrating DWG Data to GIS
(page 628).

Exposing a Native Database View in a Schema | 603

Mapping Existing Views to Feature Classes
AutoCAD Map 3D automatically displays as classes existing database views
that are defined in their native databases. If the view includes geometry, it is
displayed as a feature class. The following restrictions apply:
■

You cannot create or modify the view definition within AutoCAD Map
3D.

■

In the Data Table, you can edit data in views only if you have permissions
to do so and only if the data store supports editing of view-based data.

■

The ability to insert, update, and delete data in the view depends on how
the view is defined in its native data store.

■

For existing Oracle schemas, geometry that is included in a view needs a
separate entry in the user_sdo_geom_metadata table. This allows AutoCAD
Map 3D to determine the correct spatial context to use when for that view
when displaying it as a feature class.

If you plan to use a database view with AutoCAD Map 3D, keep in mind the
following points :
■

Your native view must contain a primary key.

■

Your native view must use a spatial index.

In the Schema Editor, the columns defined for the view appear as properties,
but you cannot edit them. However, you can use the Schema Editor to create
feature classes and properties that mimic database views.
For example, although you have an Oracle table, Rivers, with 20 properties,
you may want certain people to see only six of those properties. You can use
the Schema Editor to create a new feature class based on the existing Rivers
table, and add the six properties you want to expose.
Schema Editor allows mapping directly into the physical database objects
(tables or views).

Accessing Views from Native Schema
In addition to mapping feature classes to existing views in a FDO-enabled
datastore, you can “reverse-engineer” views in native, existing,
non-FDO-enabled datastores into feature classes.
To do this, the following must be true:
■

The primary key or unique index columns must be exposed in the view.

604 | Chapter 4 Managing Data

If the view contains a join, columns that identify each row uniquely must
also be exposed.
If a class has no primary key, you can still expose it in AutoCAD Map 3D,
but it will be read only.
■

For Oracle data stores, if there is geometry in the view, there must be an
entry in user_sdo_geom_metadata for that geometry. This will provide the
spatial context and coordinate system information.

■

For Oracle non-simple views, you can specify which columns to use for a
primary key for the resulting feature class. Provide this information with
the view, as shown in this example:
alter view  add constraint  primary key
(columnnames) disable novalidate;

NOTE This procedure is needed only for FDO (page 2062)-enabled schemas. For
existing schema data stores, AutoCAD Map 3D automatically displays the view as
a feature class, with no further action on your part.
NOTE This functionality affects geospatial feature data only. For information about
linking records in an external database to objects in a drawing, see Overview of
Linking Database Records to Objects (page 522). For information about moving
data between DWG and geospatial data stores, see Migrating DWG Data to GIS
(page 628).
To create a feature class that maps to a database view
1 Create an FDO-enabled data store.
You can use the Schema Editor to do this. See Creating a Schema (page
596)
2 Create a database view using the native tools for your database.
For Oracle, use sqlplus. For SQL Server, use sqlcmd. For MySQL, use
mysql.

3 Reconnect to the data store in AutoCAD Map 3D.
4 In the Schema Editor (page 1739), select the target schema Name and click
New Feature Class.
For information about creating feature classes and properties, see Editing
a Schema (page 610).
5 If the Logical Feature Class tab is displayed, click the Physical
Configurations tab.

Exposing a Native Database View in a Schema | 605

6 For Table Name, type the name of the view you created in step 1. Click
OK.
7 Switch back to the Logical Feature Class tab and type the name, class
type, and other required information.
8 Click New Property to add a property.
9 Switch to the Physical Configuration tab.
10 Type the name of the view column (from the view you created in step 1)
to map to the new property. Click OK.
11 Switch back to the Logical Property tab and set the property attributes.
Attributes such as data type, length, scale, precision, nullability,
uniqueness, and other constraints must match the corresponding column
attributes. For example, you cannot create a property that has the string
data type and map it to a column that uses the number data type.
12 Repeat steps 8 through 11 to create the remaining properties.
13 Be sure to fill in the Primary Key column for the new view record before
you check it in (if it is not defined to be auto-generated).

Importing and Exporting a Schema
You can export a schema (page 2073) as an XML file to do any of the following:
■

Share a schema you created in the Schema Editor with other AutoCAD
Map 3D or GIS-software users.

■

Back up a schema you created in the Schema Editor as an XML file.

■

Save your work in progress if the original data source or directory becomes
unavailable.

You can import an XML schema that you exported, and use it to define a new
schema for another data store. This is useful for creating multiple data stores
based on the same schema.
NOTE This functionality affects geospatial feature data only. For information about
linking records in an external database to objects in a drawing, see Overview of
Linking Database Records to Objects (page 522). For information about moving
data between DWG and geospatial data stores, see Migrating DWG Data to GIS
(page 628).

606 | Chapter 4 Managing Data

The AutoCAD Map 3D XML schema format is a subset of the Geography
Markup Language (GML). For information about GML, go to
http://www.opengis.net/gml. GML was standardized by the Open Geospatial
Consortium (OGC). For information about OGC, go to
http://www.opengeospatial.org. You can also consult the FDO API Reference and
The Essential FDO.

Tell me more
■

Show me how to create a new SDF file
and import a schema.

■

To create a data store for a database
provider (page 588)

■

To create a data store for a file-based
data provider (page 589)

■

To create a schema (page 598)

■

To import an XML or XMI schema
(page 608)

■

Exercise 3: Edit the schema

■

Prepare an Existing Oracle Database
for Use with AutoCAD Map 3D

■

Create a GIS data store (SDF) to be
populated from various sources

■

About Geospatial Feature Classes, Data
Stores, and Schemas (page 551)

■

Overview of Geospatial Data (page 551)

■

Creating a Data Store (page 586)

■

Setting Up Database Users (page 584)

■

Creating a Schema (page 596)

■

Working with Schemas (page 593)

Video

Procedure

Tutorial

Workflow

GIS Skill

Related topics

Importing and Exporting a Schema | 607

See also:
■

Schema Editor (page 1739)

NOTE This functionality affects geospatial feature data only. For information about
linking records in an external database to objects in a drawing, see Overview of
Linking Database Records to Objects (page 522). For information about moving
data between DWG and geospatial data stores, see Migrating DWG Data to GIS
(page 628).
To import an XML or XMI schema
1 Connect to the feature source into which you want to import the schema.
2 In Map Explorer, select the feature source in the connection tree (at the
top of the pane) and click Schema ➤ Edit Schema.
3 In the Schema Editor (page 1739), select Schemas (the top-most node in
the Schema tree) and click Import Schema on the Schema Editor toolbar.
4 In the Open dialog box, choose the file format for the file you are
importing (XML or XMI). Navigate to the file you want and click Open.
The Schema tree displays the imported schema.
5 Click Apply to make the changes permanent.
To export an XML schema
1 Connect to the feature source whose schema you want to export.
2 In Map Explorer, select the feature source in the connection tree (at the
top of the pane) and click Schema ➤ Edit Schema.
3 In the Schema Editor, select Schemas (the top-most node in the Schema
tree) and click Export Schema on the Schema Editor toolbar.
4 In the Save dialog box, navigate to the desired directory and enter a name
for the file.
5 Click Save.

Viewing a Schema
You can inspect a schema (page 2073) for any feature source (page 2063), including
those of FDO providers (page 2063) that don't support updateable schemas. When

608 | Chapter 4 Managing Data

you open an updateable schema, you can edit (page 610) it. If you change an
updateable schema mistakenly, click Cancel to undo (page 614) the changes.
Providers that support updateable schemas include Microsoft SQL Server,
MySQL, SDF, and Oracle.
When you open a non-updateable schema, you cannot edit it.
NOTE This functionality affects geospatial feature data only. For information about
linking records in an external database to objects in a drawing, see Overview of
Linking Database Records to Objects (page 522). For information about moving
data between DWG and geospatial data stores, see Migrating DWG Data to GIS
(page 628).
See also:
■

Schema Editor (page 1739)

■

Overview of Geospatial Data (page 551)

■

Creating a Data Store (page 586)

■

Creating a Schema (page 596)

■

Importing and Exporting a Schema (page 606)

■

Editing a Schema (page 610)

■

Deleting Schemas (page 613)

NOTE This functionality affects geospatial feature data only. For information about
linking records in an external database to objects in a drawing, see Overview of
Linking Database Records to Objects (page 522). For information about moving
data between DWG and geospatial data stores, see Migrating DWG Data to GIS
(page 628).
To view a schema
1 Connect to the feature source whose schema you want to view.
2 In Map Explorer, select the feature source in the connection tree (at the
top of the pane) and click Schema ➤ Edit Schema.
3 In the Schema Editor (page 1739), expand the Schema tree and then click
any schema, feature class, or property to view its settings in the right-hand
pane.

Viewing a Schema | 609

4 When you finish inspecting the schema, click Cancel to close the Schema
Editor.

Editing a Schema
You can edit a schema (page 2073), feature class (page 2063), or property (page 2071)
if the FDO provider (page 2063) supports updateable schemas (for example,
Microsoft SQL Server, SQL Server Spatial, MySQL, Oracle, and SDF all support
updateable schemas). For more information about data types and supported
functionality, see Schema Editor (page 1739).
If you open a non-updateable schema in the Schema Editor you can view
(page 608) its settings, but you cannot change them.
You cannot edit or delete any schema, feature class, or property if there are
existing features that use it.
NOTE This functionality affects geospatial feature data only. For information about
linking records in an external database to objects in a drawing, see Overview of
Linking Database Records to Objects (page 522). For information about moving
data between DWG and geospatial data stores, see Migrating DWG Data to GIS
(page 628).

Z and M Dimensions
The FDO Provider for SQL Server Spatial does not support Z and M dimensions,
due to limitations of their support by SQL Server 2008. When you define new
geometry properties for feature classes in the AutoCAD Map 3D Schema Editor,
the options to include Z and M will not be available.

Naming Restrictions
You can use the Schema Editor to import a feature schema collection from an
XML file. When importing, you can modify these schemas to conform to the
restrictions of the current provider connection.
For example, if you are connected to an Oracle data store, feature class names
may be limited to 22 characters. If you import a feature schema collection
that includes feature class names that are longer, you will need to rename
those feature classes during import to meet the restrictions of the Oracle
connection.

610 | Chapter 4 Managing Data

If you import an FDO-enabled SQL Server Spatial schema collection into a
non-FDO schema connection, Schema Editor will display error messages that
tell you which names need to be adjusted.
NOTE If you try to set a physical override (for example, name a property column
to something other than the property name), you'll see an error message about
accessing protected memory.

Tell me more
■

Show me how to delete properties from
a schema.

■

Show me how to append a feature class
to an SDF file.

■

To edit a schema (page 612)

■

Exercise 3: Edit the schema

■

Add a Property to an SDF Schema

■

Add a New Feature Class to an FDO
Data Source

■

Edit an existing schema (SDF)

■

About Geospatial Feature Classes, Data
Stores, and Schemas (page 551)

■

Overview of Geospatial Data (page 551)

■

Creating a Data Store (page 586)

■

Creating a Schema (page 596)

■

Setting Up Constraints in the Schema
Editor (page 599)

■

Importing and Exporting a Schema
(page 606)

■

Viewing a Schema (page 608)

Video

Procedure

Tutorial

Workflow

GIS Skill

Related topics

Editing a Schema | 611

See also:
■

Schema Editor (page 1739)

NOTE This functionality affects geospatial feature data only. For information about
linking records in an external database to objects in a drawing, see Overview of
Linking Database Records to Objects (page 522). For information about moving
data between DWG and geospatial data stores, see Migrating DWG Data to GIS
(page 628).
To edit a schema
NOTE If you edit the schema for a survey data store, make sure that you do not
inadvertently remove existing fields or classes. Doing so may affect the performance
of the survey data store.
1 Connect to the feature source whose schema you want to edit.
2 In Map Explorer, select the feature source in the connection tree (at the
top of the pane) and click Schema ➤ Edit Schema.
3 In the Schema Editor (page 1739), expand the Schema tree and click the
schema, feature class, or property to edit.
The current settings appear in the right-hand pane.
4 Edit the settings for the schema element. (page 1739)
The settings you can change depend on what the provider supports and
which settings are editable. For example, the long transaction (page 2067)
section does not appear or is unavailable if the provider does not support
versioning.
5 To add a new feature class, select the schema entry on the right and click
New Feature Class at the top of the window. Specify the information for
the new feature class on the left side of the window.
6 To add a new property, select the feature class entry for that property on
the right and click New Property at the top of the window. Specify the
information for the property on the left side of the window.
See Setting Up Constraints in the Schema Editor (page 599) for information
on limiting the valid values for a property.
7 For a feature class and property, click the Physical Configurations tab
and edit the physical settings if necessary.

612 | Chapter 4 Managing Data

Each provider maps a correspondence between a schema element and a
physical object in a feature source. The physical structure of feature sources
varies by provider, as do the types of schema mappings and default
settings. Oracle, for example, maps each feature class onto a table in the
Oracle database where the feature source resides, giving the class and
table the same name. You can override these defaults by changing the
settings on the Physical Configurations tab. The settings on this tab vary
by provider. The tab is unavailable for providers whose defaults cannot
be changed.
8 Click Apply.
9 Repeat the preceding four steps as required to edit other schema elements.
10 Click OK to make all the changes permanent.

Deleting Schemas
When you delete a schema (page 2073), feature class (page 2063), or property (page
2071) in the Schema Editor, its icon disappears from the Schema tree, along with
the icons of its child elements (if any). However, the changes are not transferred
to the underlying feature source (page 2063) until you apply them. If you delete
a feature class, for example, the class and its properties are removed from the
Schema tree, but its table remains in the feature source until you click Apply.
You can undo (page 614) changes until you click Apply.
NOTE You cannot delete a schema, feature class, or property if feature data exist
for that item.
NOTE This functionality affects geospatial feature data only. For information about
linking records in an external database to objects in a drawing, see Overview of
Linking Database Records to Objects (page 522). For information about moving
data between DWG and geospatial data stores, see Migrating DWG Data to GIS
(page 628).
See also:
■

Schema Editor (page 1739)

■

Overview of Geospatial Data (page 551)

■

Creating a Data Store (page 586)

■

Creating a Schema (page 596)

Deleting Schemas | 613

■

Importing and Exporting a Schema (page 606)

■

Viewing a Schema (page 608)

■

Editing a Schema (page 610)

NOTE This functionality affects geospatial feature data only. For information about
linking records in an external database to objects in a drawing, see Overview of
Linking Database Records to Objects (page 522). For information about moving
data between DWG and geospatial data stores, see Migrating DWG Data to GIS
(page 628).
To delete schema elements
1 Connect to the feature source containing the schema elements to delete.
2 In Map Explorer, right-click the desired connection in the connection
tree and select Edit Schema.
3 In the Schema Editor (page 1739), expand the Schema tree to see its feature
classes and properties.
4 Right-click the schema, feature class, or property to delete, and click
Delete for that schema element.
5 When prompted, click Yes to confirm the deletion.
The Schema tree updates to show the deletion.
6 Repeat the preceding two steps as required to delete other schema
elements.
7 Click OK to make all the deletions permanent.

Undoing Schema Changes
When you make changes in the Schema Editor, the Schema tree and right-hand
pane reflect your changes. However, the changes are not applied to the
underlying feature source until you click Apply. If you click Cancel before you
click Apply, all changes you made since the last Apply are canceled.

614 | Chapter 4 Managing Data

NOTE This functionality affects geospatial feature data only. For information about
linking records in an external database to objects in a drawing, see Overview of
Linking Database Records to Objects (page 522). For information about moving
data between DWG and geospatial data stores, see Migrating DWG Data to GIS
(page 628).
See also:
■

Schema Editor (page 1739)

■

Overview of Geospatial Data (page 551)

■

Creating a Data Store (page 586)

■

Creating a Schema (page 596)

■

Importing and Exporting a Schema (page 606)

■

Viewing a Schema (page 608)

■

Editing a Schema (page 610)

■

Deleting Schemas (page 613)

NOTE This functionality affects geospatial feature data only. For information about
linking records in an external database to objects in a drawing, see Overview of
Linking Database Records to Objects (page 522). For information about moving
data between DWG and geospatial data stores, see Migrating DWG Data to GIS
(page 628).
To discard all Schema Editor changes since the last Apply
■

In the Schema Editor, click Cancel.

Migrating Data
Use Bulk Copy to copy data from one feature source (page 2063) to another,
either in the same format or in a different one.
NOTE For information about moving data between DWG and geospatial data
stores, see Migrating DWG Data to GIS (page 628).

Migrating Data | 615

Overview of Migrating Data
You can use Bulk Copy to copy data from one feature source (page 2063) to
another, either in the same format or in a different one.
You can move DWG objects and their attributes to a variety of geospatial
formats and, in some cases, move the data back into AutoCAD drawings.

Tell me more
■

Show me how to copy data from one
data store to another.

■

To copy data from one feature source
to another (page 621)

■

To fix a Bulk Copy geometry problem
in the original data store (page 626)

■

To fix a Bulk Copy geometry problem
in the resulting data store (page 626)

■

Lesson 3: Move SDF Data to a Different
Geospatial Format

■

Copy SHP File Data to Microsoft SQL
Server, MySQL, or Oracle

■

Create ArcSDE Features from Unclassified Drawings

■

Bulk copy data from a SHP file to an SDF
file

■

About Geospatial Feature Classes, Data
Stores, and Schemas (page 551)

■

Overview of Geospatial Data (page 551)

■

Creating a Data Store (page 586)

■

Migrating DWG Data to GIS (page 628)

Video

Procedure

Tutorial

Workflow

GIS Skill

Related topics

616 | Chapter 4 Managing Data

To move data...

Use this method...

From DWG format to SDF

In the Tool-based Ribbon Workspace, click
Output tab ➤ Map Data Transfer panel

➤ Map 3D Export.
See Migrating DWG Data to GIS (page 628).
From DWG format to SDF 2 (an earlier
version of SDF)

Click Output tab ➤ Map Data Transfer

From a Display Manager layer to SDF

In the Display Manager, right-click a layer

panel ➤ As SDF 2.
See Exporting DWG Data to SDF2 Format
(page 1417).

➤ Export Layer Data To SDF.
See Saving or Exporting a Display Manager
Layer (page 1469).
From one geospatial format to another

In Map Explorer, click Tools ➤ Bulk Copy.
See Migrating GIS Data (Bulk Copy) (page
617).

Migrating GIS Data (Bulk Copy)
You can use Bulk Copy to copy data from one feature source (page 2063) to
another, either in the same format or in a different one.
NOTE For information about moving data between DWG and geospatial data
stores, see Migrating DWG Data to GIS (page 628).
Using Bulk Copy, you can copy the complete feature source (page 2063) or a
subset based on a specified schema (page 2073), feature class (page 2063), or property
(page 2071). You can also filter a Display Manager layer using an expression,
and then use Bulk Copy to create a data store that contains only the filtered
data.

What You Can Do With Bulk Copy
Use Bulk Copy to do the following:
■

Make your own copy of data owned by another department.

Migrating GIS Data (Bulk Copy) | 617

■

Upgrade from file-based (SDF or SHP) data storage to multi-user database
storage (Microsoft SQL Server, MySQL, or Oracle), which provides advanced
features, such as versioning (page 2078) and long transaction (page 2067).

■

Move joined data and calculated fields into a new data store.

■

Transform coordinate systems easily. For example, you can do any of the
following:

■

■

Assign a coordinate system to a data store that does not have one.

■

Create a new data store whose coordinate system is different from the
source. The target class uses the override coordinate system as the
projection for the spatial context.

Convert a foreign schema to a native format.

Bulk Copying To SDF Format
If you create a new SDF file (page 589) in AutoCAD Map 3D, you can use it as
a target for Bulk Copy. However, you must delete the default schema (page
614) before copying data to the new SDF file.

Bulk Copying to SHP Format
A single SHP file can hold only one class. To copy multiple classes, to an empty
folder through the FDO SHP provider. When you copy to that connection,
Bulk Copy creates a new SHP file for each class you copy. Do not create a new
SHP file in Schema Editor and use the new SHP as your Bulk Copy target.
A SHP schema cannot be modified once it is applied.To avoid this limitation
when you copy SDF data to SHP, export the SDF schema. Then, when you
create the target SHP schema, delete its default schema and import the SDF
schema. This way, you can fix any errors in the schema. During the Bulk Copy,
select the feature class and property names in the To column and match them
exactly to the From column.
Depending on the size of the file, you can also import the SDF data and export
it as SHP.

Bulk Copying To or From SQL Server Spatial
When you copy data from an FDO-enabled SQL Server Spatial data store to a
non-FDO data store, class and property names may not be accepted by the
destination data store because naming rules vary between providers. You can

618 | Chapter 4 Managing Data

use schema mappings to rename schema elements that you copy, to be sure
they meet the naming rules of the destination data store.
You can also pass in a set of schema capabilities to the target data store, so
the cloned schemas conform to the capabilities of that data store.
When you copy geodetic polygons with clockwise rings to SQL Server Spatial,
check Unmatched Data Or Geometric Type Errors as an error type to ignore.
For geography, SQL Server Spatial considers the inside of a polygon to be to
the left of the outer boundary. If a polygon with a clockwise boundary is
inserted, the polygon actually covers the rest of the world, excluding what
appears to be inside the polygon from an onscreen perspective. If you ignore
unmatched geometry type errors when using Bulk Copy, the geometry and
orientation are adjusted when the target is SQL Server Spatial. If you do not
check this option and you copy a polygon with the wrong orientation to SQL
Server Spatial, that object will fail to copy.
Also, SQL Server Spatial does not currently support such polygons that are
bigger than one hemisphere.

Other Ways to Migrate Data
If you are moving data from DWG format to any other format, you cannot
use Bulk Copy. Instead, see Migrating DWG Data to GIS (page 628).
If you are moving geospatial data into SDF format, it may be easier to save or
export its Display Manager layer to SDF, without going through Bulk Copy.
See Saving or Exporting a Display Manager Layer (page 1469).

Things to Remember
When using Bulk Copy, keep in mind the following points :
■

The copied schema is created if it does not exist in the destination feature
source.

■

The names of schemas, feature classes (page 2063), and properties in the
source feature source do not need to match the names in the destination
feature source.

■

You can save or load an XML mapping file to set up the mapping between
the source and destination feature sources.

■

You can copy geometry with no transformation of the coordinates.

■

You must make sure that the data you are moving are inside the extents
of the destination data store. (When you create a data store (page 586), you

Migrating GIS Data (Bulk Copy) | 619

specify the minimum and maximum X and Y spatial extents for the new
data store.) MySQL and Oracle support expanding the extents automatically
if incoming data are beyond the scope of the extents.
■

If you do not have adequate rights to the target data store, you must either
create a new, empty data store as the target or ask your administrator to
grant you the rights required to insert data in the target tables.

Tell me more
■

Show me how to copy data from one
data store to another.

■

To copy data from one feature source
to another (page 621)

■

To fix a Bulk Copy geometry problem
in the original data store (page 626)

■

To fix a Bulk Copy geometry problem
in the resulting data store (page 626)

■

Lesson 3: Move SDF Data to a Different
Geospatial Format

■

Copy SHP File Data to Microsoft SQL
Server, MySQL, or Oracle

■

Create ArcSDE Features from Unclassified Drawings

■

Bulk copy data from a SHP file to an SDF
file

■

About Geospatial Feature Classes, Data
Stores, and Schemas (page 551)

■

Overview of Geospatial Data (page 551)

■

Understanding How Bulk Copy Converts Data Types (page 623)

Video

Procedure

Tutorial

Workflows

GIS Skill

Related topics

620 | Chapter 4 Managing Data

■

Fixing Geometry Issues After a Bulk
Copy (page 625)

■

Reviewing the Bulk Copy Log Information (page 626)

■

Migrating DWG Data to GIS (page 628)

■

Saving or Exporting a Display Manager
Layer (page 1469)

NOTE For information about moving data between DWG and geospatial data
stores, see Migrating DWG Data to GIS (page 628).
To copy data from one feature source to another
1 Connect (page 308) to the source and destination feature source (page 2063)
using Data Connect.
NOTE To copy data to SHP, connect to an empty folder through the FDO
SHP provider and use that connection as your Bulk Copy target. Do not create
a new SHP file in Schema Editor and use the new SHP as the target.
NOTE If you are copying data to a new SDF file that you created in AutoCAD
Map 3D, delete the default schema before you use Bulk Copy. See Deleting
Schemas (page 613).
2 If necessary, use Data Connect to specify a new coordinate system for
the data stores you plan to use as the source and target in Bulk Copy.
For example, you can assign a coordinate system to a data store that does
not specify one, or change the coordinate system for a data store that has
one.
3 Add any desired joins, calculated fields, or filters to the Display Manager
layers you plan to copy.
Bulk Copy will copy the resulting data to the target data store.
4 In Map Explorer, click Tools ➤ Bulk Copy.
5 In the Bulk Copy (page 1744) dialog box, under From, select a feature source
in the Connection Name list. This is the source, from which the data will
be copied.
Select from all Display Manager layers and connected feature sources.
Filtered layers display a filter icon in the list.

Migrating GIS Data (Bulk Copy) | 621

If you select a survey data store, you can select only a survey point group
as the source. To copy multiple point groups, copy them one by one.
You can also drag the originating feature source onto the target source
in the Data Connect dialog box to initiate a Bulk Copy. The item you
drag becomes the From entry and the item you drop it on becomes the
To entry.
6 If the selected feature source supports versioning, select a version in its
Version list.
7 Under To, select the destination feature source in the top list.
8 If the destination feature source supports versioning, select a version in
its Version list.
The schema trees in Bulk Copy update automatically as you make your
choices.
9 Under Select Items To Copy, check the boxes for the individual schemas,
features classes, and properties to copy to the destination feature source.
Selecting any schema element automatically selects all its child elements
(for example, selecting a feature class also selects all its properties). A
square (instead of a check) in a check box means that some of the children
of the element are not selected.
Calculated fields are appended after the native properties. If there are
joined fields, they are grouped under a node representing the join. If
there are multiple joins, they appear as they do in the Manage Layer Data
dialog box (page 1607).
In the right-hand tree, AutoCAD Map 3D displays a default name for the
item. Select the default name and enter a different one if you want.
The Info area displays the Class (or Connection), Source Coordinate
System, Filter Info, and Target Coordinate System. If there are multiple
coordinate systems for the classes under the selected connection, the
coordinate system field displays “VARIES.”
10 Select the error types to ignore during processing. For any error types
whose boxes are not selected, Bulk Copy stops processing and reports
errors when they occur.
If the coordinate system is unknown, it is best to select Coordinate System
under Ignore the Following Errors During the Copy Process. For more
information about these options, see Bulk Copy (page 1744).
When you copy geodetic polygons with clockwise rings to SQL Server
Spatial, check Unmatched Data Or Geometric Type Errors under Ignore

622 | Chapter 4 Managing Data

the Following Errors During the Copy Process to adjust the geometry and
orientation properly.
11 To save the current settings in an XML mapping file, click Save under
Schema Mapping. Click Load to open a saved mapping file.
NOTE Before loading a mapping file, connect to the source and destination
feature sources.
12 To begin the Bulk Copy operation, click Copy Now.
The data for the specified schema elements is copied from the source
feature source to the destination feature source.
Bulk Copy displays the progress of the operation. If you click Cancel
during the operation, the copying process stops but the data does not
return to its original state. There is no way to roll back the data from
within AutoCAD Map 3D once the process is initiated.
When the operation is complete, Bulk Copy reports the results. Click
View Log in the Bulk Copy Results dialog box to see details (page 626).

Understanding How Bulk Copy Converts Data Types
During copying, Bulk Copy retains the same data type when possible but
performs a conversion if needed. For example, if you are copying data from
a source that uses a Boolean data type and that data type is not available in
the target, Bulk Copy converts the data to byte values, if available. If byte is
not available, Int16 is used, and so on. The following table illustrates how
conversion is performed (for each source data type, Bulk Copy tries to create
target data type 1, but if that is not possible it tries data type 2, and so on):
NOTE This functionality affects geospatial feature data only. For information about
moving data between DWG and geospatial data stores, see Migrating DWG Data
to GIS (page 628).
Source data
type

Target data
type 1

Target data
type 2

Target data
type 3

Target data
type 4

Boolean

Byte

Int16

Int32

Int64

Byte

Int16

Int32

Int64

Int16

Int32

Int64

Understanding How Bulk Copy Converts Data Types | 623

Source data
type

Target data
type 1

Target data
type 2

Int32

Int64

Int64

Int32

Decimal

Double

Single

Single

Double

Decimal

Double

Decimal

Single

Target data
type 3

Target data
type 4

The following FDO providers (page 2063) support the following data types:
Oracle ArcSDE

MySQL ODBC SDF

SHP

WFS

SQL Server and
SQL Server Spatial

Boolean

Y

Y

Y

Y

Y

Y

Y

Byte

Y

Y

Y

Y

Y

Y

Date/Time

Y

Y

Y

Y

Y

Y

Y

Int16

Y

Y

Y

Y

Y

Y

Y

Int32

Y

Y

Y

Y

Y

Y

Y

Int64

Y

Y

Y

Y

Y

Y

Decimal

Y

Y

Y

Y

Y

Y

Single

Y

Y

Y

Y

Y

Y

Y

Double

Y

Y

Y

Y

Y

Y

Y

String

Y

Y

Y

Y

Y

Y

Y

Y

Y

Y

Y

Bulk Copy copies geometry properties as is, except that it will convert an arc
to line segments if the destination does not support arcs.

624 | Chapter 4 Managing Data

Bulk Copy uses the following rules when copying an auto-generated identifier
from the source feature source (page 2063):
■

If the identifier exists in the destination schema (page 2073) and is not
auto-generated, the identifier is copied from the source feature source.

■

If the identifier exists in the destination schema and is auto-generated, the
identifier is generated by the destination provider.

■

If the identifier does not exist in the destination schema and the destination
schema does not support auto-generated identifiers, the schema is created
with a non-auto-generated identifier and the identifier is copied from the
source feature source.

■

If the identifier does not exist in the destination schema and the destination
schema supports auto-generated identifiers, the schema is created with an
auto-generated identifier and the identifier is generated by the destination
provider.

See also:
■

Migrating GIS Data (Bulk Copy) (page 617)

■

Reviewing the Bulk Copy Log Information (page 626)

■

Migrating DWG Data to GIS (page 628)

To copy data from one feature source to another (page 621)
NOTE This functionality affects geospatial feature data only. For information about
moving data between DWG and geospatial data stores, see Migrating DWG Data
to GIS (page 628).

Fixing Geometry Issues After a Bulk Copy
For foreign schemas, the Bulk Copy operation uses the first geometry it finds
to create the geometry in the target data store. If there are multiple spatial
indexes for the geometry properties in the original data store, the geometry
property in the resulting data store’s schema will be different from the order
in the original data store. As a result, the geometry in the new data store may
not match the geometry in the source.
You can fix this problem in the original data store or in the resulting data
store. If you fix the problem in the resulting data store, you modify the XML
file schema and import the modified version into the data store.

Fixing Geometry Issues After a Bulk Copy | 625

NOTE This functionality affects geospatial feature data only. For information about
moving data between DWG and geospatial data stores, see Migrating DWG Data
to GIS (page 628).
NOTE This functionality affects geospatial feature data only. For information about
moving data between DWG and geospatial data stores, see Migrating DWG Data
to GIS (page 628).
To fix a Bulk Copy geometry problem in the original data store
■

Remove the unwanted spatial indexes from the geometric properties in
the original data store.
If only one geometric property is indexed, it is chosen as the main geometry
for the feature class.

To fix a Bulk Copy geometry problem in the resulting data store
1 Connect to the new data store before you perform the Bulk Copy
operation.
2 Using the Schema Editor (page 610), save the source data store to an XML
file (page 608).
3 Edit the XML file and add the following to the  entry
for the feature class in question, where {geom_prop_name} is the name of
the geometric property to use:
fdo:geometryName="{geom_prop_name}"

4 Import the modified XML file (page 608) into the target data store and
apply the changes.
5 Bulk Copy the data from the source to the target data store, making sure
to map the geometry properties properly before executing the Bulk Copy.

Reviewing the Bulk Copy Log Information
When you perform a Bulk Copy operation, AutoCAD Map 3D creates a log
file that displays information about the source and target of the Bulk Copy
operation. It lists any schemas (page 2073) you created, information about feature
classes (page 2063), the number of objects that were copied, and how much time
the operation took. Here is an example:

626 | Chapter 4 Managing Data

“Source ConnectionProperty: 'File', Value: 'C:\San
Francisco\County\SDF\bayarea_county.sdf'
Property: 'ReadOnly', Value: 'false'Target ConnectionProperty: 'File',
Value: 'C:\old_version.sdf'
Property: 'ReadOnly', Value: 'false'Creating schema 'My_Schema'
Property My_Schema:bayarea_county.COUNTY: String length is 0, setting
to 255
Property My_Schema:bayarea_county.FIPSSTCO: String length is 0,
setting to 255
Inserting class 'My_Schema:bayarea_county'
9 objects inserted
Elapsed Time: 0.000110 seconds
Total: 9 objects inserted”

NOTE This functionality affects geospatial feature data only. For information about
moving data between DWG and geospatial data stores, see Migrating DWG Data
to GIS (page 628).
See also:
■

Migrating GIS Data (Bulk Copy) (page 617)

■

Understanding How Bulk Copy Converts Data Types (page 623)

■

Migrating DWG Data to GIS (page 628)

NOTE This functionality affects geospatial feature data only. For information about
moving data between DWG and geospatial data stores, see Migrating DWG Data
to GIS (page 628).
To view the Bulk Copy log
1 Run the Bulk Copy operation. (page 615)
2 Click View Log in the Bulk Copy Results dialog box to see the log file.
NOTE The Bulk Copy operation stores its log files under %temp%, using the naming
convention bulkcopyxxxxx.log, where the x characters are replaced by numbers.

Reviewing the Bulk Copy Log Information | 627

Migrating DWG Data to GIS
You can move DWG objects and their attributes to a variety of geospatial
formats and, in some cases, move the data back into AutoCAD drawings.
NOTE When you export AutoCAD drawing data from AutoCAD Map 3D to a
geospatial data store, attributes remain with the geometry data but any visual
stylization you applied is lost, due to the different ways that the two environments
deal with stylization.
You can do the following:
■

Export DWG data to the file-based SDF format (page 387)

■

Export DWG data to Oracle (page 1461)

■

Export the current map to DWG format (page 1459)

■

Perform a round-trip data migration (page 1465) from DWG to SDF or Oracle
and back again.

Tell me more
■

Show me how to export DWG objects to
SDF

■

Show me how to export styled DWG objects

■

Show me how to convert the current
map to DWG format.

■

To export drawing objects to other file
formats (page 1408)

■

To move drawing data to a spatial data
store and back using the import
method (page 1467)

■

To move drawing data to a spatial data
store and back using the Data Connect
method (page 1467)

■

Lesson 1: Convert Drawing Layers to
Feature Classes

Video

Procedure

Tutorial

628 | Chapter 4 Managing Data

■

Create ArcSDE Features from Unclassified Drawings

■

Convert styled DWG objects to features

■

About Geospatial Feature Classes, Data
Stores, and Schemas (page 551)

■

Exporting DWG Data to an FDO Data
Store (page 1461)

■

Moving DWG Data to a Spatial Data
Store and Back Again (page 1465)

Workflow

GIS Skill

Related topics

To move DWG data to a geospatial format
1 Decide whether you will move the data to an existing data store, or create
a new data store for it.
2 Decide whether you will use an existing schema or a new schema for the
data.
3 Query the data from the DWG into your map. (page 354)
4 Export the data to SDF (page 1417), or to an FDO data store (Oracle or ESRI
ArcSDE) (page 1462).
5 After the drawing data has been moved to a GIS format, add new data to
it (page 687) by right-clicking one of its feature class layers and creating
a new feature.

Migrating DWG Data to GIS | 629

630

5

Visualization and Styling

Overview of Visualization and Styling

Style both drawing objects and GIS features to enhance the content of a map and
make it easy to read.

The methods for styling features and drawing objects are different.
For Drawing Objects

For Features

Description

Show or hide the Display Manager (page 635)

Show or hide the Display Manager
(page 635)

Use the Display Manager to
style features and drawing objects in your maps, and to adjust
the draw order.

631

For Drawing Objects

For Features

Description

Create a drawing layer (page ?).

Create a feature layer (page 308).

A layer is a set of objects. When
you add objects to your map,
you add them to a Display
Manager layer. Each layer can
have its own style.

Query the current drawing (page
1291) or attached drawings (page
1235) to bring in objects that
match certain criteria.

Use the Add To Map With Query
option to filter the data from the
feature source (page 308).

Add a subset of objects from a
drawing or feature source to a
Display Manager layer.

Create a drawing style (page 660).

Create a feature style. (page 641)

Change color, linetype, linetype
scale, line weight, or plotstyle.
You can choose the symbol
used to represent point objects.
For drawing objects, add hatch,
text, or annotation. For features,
add labels.

Create a drawing theme (page
1181).

Create a feature theme (page 1168).

A theme varies the style based
on data associated with the object.

Use scale thresholds. (page 668)

Use scale ranges. (page 643)

Use scale thresholds or ranges
to change the style as you zoom
in or out, for example, to turn
off text as you zoom out.

Style points (page 660).

Style a point layer. (page 646)

Specify a symbol style for a
point drawing layer. Use the
Point Style area of the Style Editor to create a style for a point
feature layer.

Style lines. (page 660)

Style a line layer. (page 649)

Specify an entity style for a line
drawing layer. Use the Line Style
area of the Style Editor to create
a style for a line feature layer.

Style polygons. (page 660)

Style areas or polygons. (page 650)

Specify an entity or hatch style
for a polygon drawing layer. Use

632 | Chapter 5 Visualization and Styling

For Drawing Objects

For Features

Description
the Area Style area of the Style
Editor to create a style for a
polygon feature layer.

Change the display order of layers (page 302).

Change the display order of layers
(page 302).

Layers are drawn from the bottom up. Objects in the layer at
the top of the Display Manager
are drawn last and appear on
top of other objects. If an object
is a member of more than one
layer, it is drawn based on the
highest layer to which it belongs. The Draw Order view
takes precedence over the order
in the Layers By Group view.

Hide layers or styles (page ?).

Hide layers or styles (page ?).

If a layer is turned off, objects
from that layer are hidden.
When a style is turned off,
drawing objects are displayed
without styles.

Add a legend. (page 1118)

Add a legend. (page 1118)

The legend lists the styles used
in the map.

See also:
■

Overview of Creating and Editing Data (page 681)

■

Overview of the Display Manager (page 634)

■

Styling Features (page 639)

■

Styling Drawing Layers (page 652)

■

Styling Raster Images (page 671)

Controlling the Display of Your Map
Use the Display Manager (page 2060) to determine which layers appear in your
map and the order of those layers. Use the scale control to set your current
stylization scale.

Controlling the Display of Your Map | 633

Overview of the Display Manager
The Display Manager (page 2060) displays styles for feature layers and drawing
object layers. The styles you create for the map do not affect the actual objects
in your map or in their original sources.
Drawing object layers are listed in italic text. Different operations are available
for feature and drawing layers. Right-click a layer to see the available
commands.
If a feature layer contains multiple geometry types, the Display Manager lists
each one under the feature class that contains them. You cannot hide
individual geometries from the Display Manager itself, but you can use the
Style Editor to turn them on or off in the layer list (page 641). Only layers that
are turned on in Display Manager will appear in a legend.
You can also use the Display Manager to change the display order and assign
different styles to different views based on scale.
Although Display Manager updates data automatically, you can update it
manually if things get out of synch. You can update the entire map or an
individual layer to reread attribute data, re-evaluate expressions for styles and
themes, and requery layers. You sometimes must refresh the items in the
Display Manager. This operation does not affect the drawing.

Use the Display Manager to apply styles to features
and drawing objects.

634 | Chapter 5 Visualization and Styling

Tell me more
■

Show me how to manage layers with
draw order and folders.

■

Show me how to include AutoCAD layers
in the Display Manager.

■

To change the order of layers (page
637)

■

To change the draw order (page 302)

■

Exercise 2: Change the order of items
in the legend

■

The Task Pane

■

Hide and show features as you zoom in
and out

■

Include AutoCAD layers in the Display
Manager

■

Organizing Layers in Your Map (page
300)

■

Setting Task Pane Options (page 220)

Video

Procedure

Tutorial

GIS Skill

Related topics

■

To display the Display Manager (page 635)

■

To update the map or a single layer (page 636)

■

To refresh the Display Manager (page 636)

To display the Display Manager
1 In the Tool-based Ribbon Workspace, click View tab ➤ Palettes panel
➤ Map Task Pane.
2 In the Task Pane, click Display Manager.

Overview of the Display Manager | 635

To update the map or a single layer
1 Right-click the Display Manager or an individual layer.
2 Click Update.
To refresh the Display Manager
■

On the command line, enter mapwsrefresh.

Controlling Display Order
Layers in the map are displayed in the order in which they appear in the
Display Manager (page 2060) draw order view: layers higher in the list are drawn
in front of layers lower down.

You can change the display order by moving layers up or down in the list.
For example, to display drawing objects in front of a raster image, put the
raster layer at the bottom of the list.

Tell me more
■
Video

636 | Chapter 5 Visualization and Styling

Show me how to manage layers with
draw order and folders.

■

To change the order of layers (page
637)

■

To change the draw order (page 302)

■

Exercise 2: Change the order of items
in the legend

■

Hide and show features as you zoom in
and out

■

Organizing Layers in Your Map (page
300)

Procedure

Tutorial

GIS Skill

Related topics

■

To change the order of layers (page 637)

■

To hide or show layers (page 638)

■

To hide or show styles (page 638)

To change the order of layers
1 In Display Manager (page 2060), make sure Draw Order is selected.

2 Click the layer to move.
3 Drag the layer up or down in the list.
Drawing objects from layers higher in the list are drawn on top of drawing
objects from layers lower in the list.

Controlling Display Order | 637

To hide or show layers
■

In Display Manager (page 2060), select or clear the check box next to the layer
name.

To hide or show styles
■

In Display Manager (page 2060), select or clear the check box next to the style
name.

Setting Map Scale
The scale control indicates and sets your current stylization scale. The list
includes all the scale ranges (for feature data) and thresholds (for drawing
data) defined in the current map. If you link scale to zoom, styles update
appropriately as you adjust the zoom, and zoom updates when you select a
scale. If you use the custom scale box, the correct style is applied based on
where the custom value lands within the scale ranges and thresholds.
See also:
■

Defining Scale Ranges (page 643)

To set the map scale

1 To link style to scale, close the lock icon
2 On the Status Bar, select a scale from the list
Custom and enter a value in the Scale box.

on the Status Bar.
or click

Creating Multiple Display Maps
Each map file can contain multiple display maps. Each one has its own set of
layers, which are styled independently. For example, you can connect to a
data store that contains parcels and then create one display map that themes
the parcels by area and another that themes them by population.
If you use the same data store for multiple display maps, you connect to that
data store only once, but you add it to each display map separately. You can
copy a layer from one map to another and then change its styling.

638 | Chapter 5 Visualization and Styling

NOTE If your map file contains data on its base layer, that data appears on all
display maps you create in that file. You can clear the check box for the base layer
to hide its data.
All display maps in a map file use the same coordinate system.
See also:
■

Overview of the Display Manager (page 634)

To create multiple display maps
1 Connect (page 291) to the data stores to include in the various maps.
You can attach drawings and connect to geospatial feature sources.
2 Create a new display map in the Display Manager by clicking Data ➤
New Map.
3 Type a name for the new map in the Current Map box at the top of the
Display Manager.
4 To copy a layer from another display map, follow these steps:
■

Switch to the display map containing the layer you want by choosing
its name in the Current Map box.

■

Right-click the layer and click Copy.

■

Switch to the target display map.

■

Right-click a blank area in the Display Manager and choose Paste.

5 Style (page 631) each layer in the new display map.

Styling Features
■
■
■
■
■
■

To create a map with styled feature layers (page 641)
To define scale ranges (page 644)
To apply styles to points (page 646)
To apply styles to lines (page 649)
To apply styles to areas (page 650)
To load a LAYER file (page 652)

Styling Features | 639

Overview of Styling Features
Styles control how features appear on a map. Default styles are applied to
features. When you add point and polygon features to the map, they appear
with default symbol, line, and fill styles. Polylines are given a default line
style. Each layer is given a distinctive color. For example, polygons are filled
with a color that is different from other polygon layers that are already in the
map. Change the default styles as needed.
For example, you can specify the scale ranges at which a feature is visible, set
line color, and add labels. To specify styles for a layer, you define a style for
a scale range. 0 - Infinity is the default scale range. Add narrower scale ranges
as you define styles to define how the data appears at various scales. For
example, you could create one scale range that displays roads with thick lines
when you zoom in, and create a second scale range that displays roads with
thin lines when you zoom out.
You can also create a theme that displays data in varying styles to indicate
different values.
NOTE This functionality is for geospatial features only. If you are styling a drawing
layer, see Styling Drawing Layers (page 652).

Tell me more
■

Show me how to make a layer visible
only at a certain scale range.

■

Show me how to create a scale range for
roads.

■

Show me how to replace points with
symbols.

■

Show me how to label features.

■

Show me how to label features with
automatic resizing.

■

Show me how to make the features on
a layer semi-transparent.

■

To apply styles to points (page 646)

■

To apply styles to areas (page 650)

■

To apply styles to lines (page 649)

Video

Procedure

640 | Chapter 5 Visualization and Styling

■

To label features (page 1093)

■

Lesson 2: Style Map Features

■

Style and Label a Linear Feature

■

Hide and show features as you zoom in
and out.

■

Replace points in the map with symbols.

■

Set transparency for parcels or other
features.

■

Label features and optimize placement.

■

Defining Scale Ranges (page 643)

■

Setting Map Scale (page 638)

■

Styling Point Features (page 645)

■

Styling Line Features (page 648)

■

Styling Area Features (page 650)

■

Adding Labels to Features (page 1091)

■

Creating Themes (page 1162)

Tutorial

Workflow

GIS Skills

Related topics

NOTE This procedure is for geospatial features only. If you are styling a drawing
layer, see Styling Drawing Layers (page 652).
To create a map with styled feature layers
1 In the Display Manager (page 2060), click Data ➤ New Map.
2 In the Current Map box, enter a name for the new display map.
3 Assign a coordinate system (page 147) to the map.
4 Connect (page 308) to the features you want and add them to the current
display map. Attach drawings and query in (page ?) the drawing objects
you want.
5 Define the scale ranges. (page 643)

Overview of Styling Features | 641

6 Click a layer in Display Manager and click Style to display the Style Editor.
If the feature layer you are styling contains multiple geometry types, each
one has its own Style Editor section.
7 Specify a point (page 645), line (page 648), or polygon (page 650) style or
define a theme.
8 Optionally:
■

Change the display order (page 637) of layers. Layers at the top of the
list appear on top of other layers.

■

Display or hide a geometry in Display Manager. Select or clear the
box labeled Show In Layer List for that geometry.
Only the displayed geometries appear in Display Manager and in any
legend you insert.

■

Create a legend (page 1118).

To do this...

Use this method...

Description

Show or hide the Display Manager

In the Tool-based Ribbon Work-

Use the Display Manager to
style features and drawing objects in your maps, and to adjust
the draw order.

space, click View tab ➤ Palettes

panel ➤ Map Task Pane.
In the Task Pane, click Display
Manager.
Create a feature layer.

Add a feature to the map using
Data Connect. (page 308)

When you connect to a feature
from your map, you add the
objects in that feature to a Display Manager layer. Each layer
can have its own style.

Include only objects that match
certain criteria.

Use the Add To Map With Query
option to filter the data from the
feature source (page 308).

Add a subset of objects from a
feature source to a Display
Manager layer.

Create a style.

Use the Style Editor (page 641).

Options vary, depending on
whether you are styling points,
lines, or polygons.

642 | Chapter 5 Visualization and Styling

To do this...

Use this method...

Description

Create a theme.

Use the Style Editor (page 1168).

A theme varies the style based
on data associated with the object.

Change the style as you zoom in
or out.

Use scale ranges. (page 643)

You can define multiple styles
and assign each one to a different scale range.

Label individual features.

Include labels as part of a style and
assign a property for the labels.
(page 1093)

For each feature, the property
you assign for the style appears
at the scale ranges you specify.

Change the display order of layers.

Use Display Manager to change
the Draw Order (page 302).

Layers are drawn from the bottom up. Objects in the layer at
the top of the Display Manager
are drawn last and appear on
top of other objects.

Hide layers or styles.

Check the boxes in the Display
Manager for the layers or styles to
show (page ?).

If a layer is hidden, objects from
that layer are hidden. When a
style is hidden, drawing objects
are displayed without styles.

Add a legend.

Use the Display Manager to include and style the legend. (page
1118)

The legend lists the styles used
in the map.

Defining Scale Ranges
The first step in creating styles for geospatial features is to define your scale
ranges.
NOTE This functionality is for geospatial features only. If you are defining ranges
for a drawing layer, see Creating and Modifying a Display Manager Scale Threshold
(page 667).
A scale range specifies the zoom level at which a particular style is applied to
the display of your features. When the zoom level of the map is within the
specified scale range, AutoCAD Map 3D redraws the features using the style
associated with the scale range.

Defining Scale Ranges | 643

The style is applied when the zoom level is greater than or equal to the From
value and less than the To value. When setting up adjacent scale ranges, use
the same To value as the next range's From value. For example, if one range
is 0 - 20,000 set the next range to 20,000 - 40,000.
NOTE When setting up multiple scale ranges for a map, make sure that they do
not overlap. For example, the ranges 500,000 - 5,000,000 and 2,000,000 10,000,000 overlap. In such cases, when the zoom level is within the overlapping
scale range, AutoCAD Map 3D displays the features using the style of the first scale
range listed.

Tell me more
■

Show me how to make a layer visible
only at a certain scale range.

■

Show me how to create a second scale
range.

■

To define scale ranges (page 644)

■

Lesson 3: Change the Display by Zoom
Level

■

Style and Label a Linear Feature

■

Setting Map Scale (page 638)

■

Overview of Visualization and Styling
(page 631)

Video

Procedure

Tutorial

Workflow

Related topics

NOTE This procedure is for geospatial features only. If you are styling a drawing
layer, see Creating and Modifying a Display Manager Scale Threshold (page 668).
To define scale ranges
1 In Display Manager (page 2060), right-click a feature layer.
2 Click Edit Style to display the Style Editor.

644 | Chapter 5 Visualization and Styling

3 In the Style Editor, in the Scale Ranges area, under From, enter the lower
end of the scale range. Under To, enter the upper end of the scale range.
For example, to make a style visible when the map is zoomed anywhere
between 1:250,000 and 1:5,000,000, enter 250000 for From and enter
5000000 for To.
4 To add a new scale range, click Add A Scale Range.
5 Specify From and To values.
6 When working with scale ranges:
■

To copy a scale range, select the range and click Duplicate.

■

To delete a scale range, select the range and click Delete.

■

To change the position of a scale in the list, select the range and click
Move Up or Move Down.

Quick Reference
Update Display Manager
Refreshes the current display
Task Pane

Right-click the Display Manager. Click Update

Styling Point Features
Use symbols to represent and display point features.
NOTE This functionality is for geospatial features only. If you are styling a drawing
layer, see Creating a Style (page 658).
If precise placement of labels is important, you can display labels instead of
symbols at feature point locations. You can also specify whether other labels
on other layers obscure symbols on the current layer.

Tell me more
■
Video

Show me how to replace points with
symbols.

Styling Point Features | 645

Procedure

■

Show me how to label features.

■

Show me how to label features with
automatic resizing.

■

To apply styles to points (page 646)

■

To label features (page 1093)

■

To place fixed labels at points (page
1099)

■

To allow labels to obscure points on
the selected layer (page 1097)

■

Exercise 4: Try out the sample data

■

Replace points in the map with symbols.

■

Label features and optimize placement.

■

Defining Scale Ranges (page 643)

■

Adding Labels to Features (page 1091)

■

Displaying Fixed Labels at Point Locations (page 1098)

■

Allowing Labels to Obscure Points
(page 1096)

Tutorial

GIS Skills

Related topics

NOTE This procedure is for geospatial features only. If you are styling a drawing
layer, see Creating a Style (page 658).
To apply styles to points
1 In Display Manager (page 2060), right-click a feature layer that contains
points.
2 Click Edit Style.
3 In the Style Editor, under Scale Ranges, select the scale range to style.
4 In the Point Style area for the selected scale range, click the box under
Style.

646 | Chapter 5 Visualization and Styling

5 In the Style Point dialog box (page 1637), select the Style A Point Symbol
check box.
6 For Symbol, click

.

7 In the Select A Symbol dialog box, specify a symbol library and a symbol.
Click OK.
NOTE When creating a block for use as a symbol the Edge color applies to
any entities that are defined as ByBlock. The Fill color applies to any entities
that are defined as ByLayer.
8 For Size Context, specify the type of units:
■

Select Device Space to specify symbol widths and heights in screen
units. Available units are Points, Inches, Millimeters, or Centimeters.

■

Select Map Space to specify symbol widths and heights in Mapping
Coordinate System (MCS) units. Available units are Inches, Feet, Yards,
Miles, Millimeters, Centimeters, Meters, and Kilometers.

9 For Units, select the type of units to use.
10 For Width, enter the symbol width or specify the width using a number
expression.
For more information, see the Creating Numeric Expressions.
11 For Height, enter the symbol height or specify the height using a number
expression.
For more information, see the Creating Numeric Expressions.
12 To maintain width-to-height proportions when you change the width
or height of the symbol, select the Maintain Aspect Ratio check box.
13 To change the fill and edge colors of the symbol, use the Fill Color and
Edge Color lists.
If you do not change the colors, the default colors from the symbol are
used.
14 For Rotation, do one of the following:
■

Select a value from the drop-down list.

■

Click Any Angle. Specify the angle using the slider or enter an angle
in the box. Click OK.

Styling Point Features | 647

■

Click Expression. Specify the rotation using a number expression.
For more information, see the Creating Numeric Expressions.

15 Click OK.

Styling Line Features
Specify the thickness, color, and pattern of polyline features. Style a single
line or build a composite line with several components and then style each
component. For example, to illustrate a highway, create a thick black line and
add a thinner, dashed, yellow line.
NOTE This functionality is for geospatial features only. If you are styling a drawing
layer, see Creating a Style (page 658).

Tell me more
■

Show me how to create a scale range for
roads.

■

Show me how to label features.

■

Show me how to label features with
automatic resizing.

■

To apply styles to lines (page 649)

■

To label features (page 1093)

■

To use expressions in labels

■

Exercise 1: Use a composite style for
roads

■

Hide and show features as you zoom in
and out.

■

Label features and optimize placement.

■

Defining Scale Ranges (page 643)

■

Adding Labels to Features (page 1091)

Video

Procedure

Tutorial

GIS Skill

Related topics

648 | Chapter 5 Visualization and Styling

■

Allowing Labels to Obscure Points
(page 1096)

NOTE This procedure is for geospatial features only. If you are styling a drawing
layer, see Creating a Style (page 658).
To apply styles to lines
1 In Display Manager (page 2060), right-click a feature layer that contains
lines.
2 Click Edit Style.
3 In the Style Editor, under Scale Ranges, select the scale range to style.
For more information about scale ranges, see Defining Scale Ranges (page
643).
4 In the Line Style area for the selected scale range, click the box under
Style.
5 In the Style Line dialog box (page 1636), select the Apply Styles To The Line
check box.
6 To style a single line, do the following:
■

For Units (Device Space), select the type of units to measure line
thickness.
Lines are specified in Device Space units.

■

Use the lists to specify polyline thickness, color, and pattern.
NOTE Select 0 thickness to draw the line as thinly as possible.

7 To build a composite line, do the following:
■

Click Create Composite Lines to expand the Style Line dialog box.

■

Style the first line in the composite.

■

Click New to add a new component to the line.

■

Style the new component as desired.

■

Control the position of the selected component in the overall
composite line by clicking the up and down arrows.

8 Click OK.

Styling Line Features | 649

Styling Area Features
Specify the fill style and color, background color, edge style and color, and
line thickness used to draw area (polygon) features.
NOTE This functionality is for geospatial features only. If you are styling a drawing
layer, see Creating a Style (page 658).
See also:
■

Defining Scale Ranges (page 643)

■

Adding Labels to Features (page 1091)

■

Allowing Labels to Obscure Points (page 1096)

NOTE This procedure is for geospatial features only. If you are styling a drawing
layer, see Creating a Style (page 658).
To apply styles to areas
1 In Display Manager (page 2060), right-click a feature layer that contains
polygons.
2 Click Edit Style.
3 In the Style Editor, under Scale Ranges, select the scale range to style.
For more information about scale ranges, see Defining Scale Ranges (page
643).
4 In the Area Style area for the selected scale range, click the box under
Style.
5 To fill polygons, in the Style Polygon dialog box (page 1639), select the
Apply Fill To The Area check box.
6 For Fill Pattern, select Solid or a pattern.
■

If you specified Solid fill, specify Foreground Transparency and
Foreground Color.

■

If you specified a pattern fill, specify colors for Foreground Color and
Background Color. If you do not want a background color for the
pattern, click Transparent for Background Color.

650 | Chapter 5 Visualization and Styling

NOTE In polygons with transparent backgrounds, the colors you see on
the map may differ from the colors displayed in the preview frame because
the preview frame always uses a white background, which may differ from
the color beneath the transparent objects in your map.
7 add borders to polygons, select the Apply A Border To The Area check
box and then do the following:
■

For Line Pattern, specify the pattern for the area border.

■

For Units (Device Space), select the type of units to use to measure
border thickness.

■

For Line Thickness, specify a thickness for the area border.
NOTE Select 0 thickness to draw the border as thin as possible.

■

For Line Color, specify a color for the area border.

8 Click OK.

Labeling Features
You can label features on feature layers. For more information, see Adding
Labels (page 1091).

Saving and Loading Styled Feature Layers
After you have styled feature layers, you can save the connection and styling
information to LAYER files that you can share with other users. A LAYER file
contains connection and style information only, no feature data.
NOTE This functionality is for geospatial features only. To save drawing layer
styles, see Saving a Display Style in the Library (page 664).
When you load a LAYER file, AutoCAD Map 3D adds the source file to the
Map Explorer, creates the connection, adds the feature layer to the Display
Manager (page 2060), and styles the layer correctly. Drag and drop the LAYER
file from Windows Explorer to the Display Manager.

Labeling Features | 651

See also:
■

Saving or Exporting a Display Manager Layer (page 1469)

NOTE This procedure is for geospatial features only. To save drawing layer styles,
see Saving a Display Style in the Library (page 664).
To load a LAYER file
■

Drag and drop the LAYER file from Windows Explorer to the Display
Manager (page 2060).

Styling Drawing Layers
When you define a style for a drawing layer, you specify how AutoCAD Map
3D displays drawing objects on that layer.
■
■
■
■
■
■
■
■
■
■
■
■

To create a map with styled drawing layers (page 654)
To style a drawing layer (page 657)
To create a display style (page 660)
To add a display style to a layer (page 662)
To modify a display style (page 663)
To hide the drawing objects in a layer (page 664)
To save a style to the Display Library (page 665)
To create a new category in the Display Library (page 665)
To reference a style from the Display Library (page 666)
To turn off style referencing (page 667)
To create or modify a scale threshold (page 668)
To view a layer's styles at all scale thresholds (page 670)

Overview of Styling Drawing Layers
When you define a style for a layer, you specify how to display drawing objects
on that layer.
NOTE This functionality is for drawing objects only. If you are styling a geospatial
feature layer, see Overview of Styling Features (page 640).
Style the drawing objects in your map by creating layers and then applying
one or more styles to the selected layer.

652 | Chapter 5 Visualization and Styling

TIP For better performance, create a new display map rather than modifying the
default map. There are circumstances when the default map is automatically
displayed, and if this map has a lot of objects, it could take a while to display.
■

A single map can have many drawing layers.

■

You can specify a different style for each drawing layer in your map, and
combine multiple styles for a single layer.

■

You can create a theme for a drawing layer. A theme varies the style based
on data associated with the object, for example, a darker color to represent
a higher traffic volume.

You can apply one or more styles to layers in
your map.

If a drawing object is a member of more than one drawing layer, it inherits
the style of each layer of which it is a member. For example, if a line is in both
the Transportation layer and the Roads object class layer, it inherits the styles
of both layers. If the layers specify conflicting style or visibility settings, the
drawing object uses the style and visibility settings of whichever layer is higher
in the Display Manager list.
Style objects by changing one or more of the following:
■

Color

■

Linetype

■

Linetype scale

■

Lineweight

■

Plot style

Overview of Styling Drawing Layers | 653

■

Symbol or image used to represent objects

■

Adding hatch

■

Adding text

■

Adding annotation

See also:
■

Bringing In Drawing Data From DWG Files (page 350)

■

Creating Multiple Display Maps (page 638)

■

Setting Map Scale (page 638)

■

Theming Drawing Data (page 1176)

NOTE This procedure is for drawing objects only. If you are styling a geospatial
feature layer, see Overview of Styling Features (page 640).
To create a map with styled drawing layers
1 In the Display Manager (page 2060), click Data ➤ New Map.
2 In the Current Map box, enter a name for the new map.
3 Select the objects to style. (page 350)
Each set of drawing objects is a drawing layer.
4 For each layer, specify a style (page 658) or a theme (page 1178).
5 Optionally:
■

Change the display order (page 636) of drawing layers. Layers at the
top of the list appear on top of other layers.

■

Specify different styles at different view scales.

■

Create a legend (page 1118).

To Do This

Click

Description

Display the Display Manager

In the Tool-based Ribbon
Workspace, click View tab

Use the Display Manager to style features and
drawing objects in your maps, and to update
the display for different drawing scale
thresholds.

➤ Palettes panel ➤

654 | Chapter 5 Visualization and Styling

To Do This

Click

Description

Map Task Pane.
In
the Task Pane, click Display Manager.
Create a drawing layer

In the Display Manager,

A drawing layer is a set of objects. Each layer
can have its own style. See Bringing In Drawing
Data From DWG Files (page 350).

click Data ➤ Add Drawing Data. Click the type
of layer to create.
Query objects in the current drawing

In the Display Manager,

A query lets you define conditions to select
specific objects. See Bringing In Drawing Data
From DWG Files (page 350).

click Data ➤ Add Drawing Data ➤ Query Current Drawing.

Query objects in attached
drawings

In the Display Manager,
click Data ➤ Add Drawing Data ➤ Query Source
Drawings.

A query lets you define conditions to select
specific objects. See Bringing In Drawing Data
From DWG Files (page 350).

Create a style

Right-click a layer. Click
Add Style, and then
choose the type of style
to create.

Change color, linetype, linetype scale, line
weight, or plotstyle; change the symbol used
to represent the objects; or add hatch, text, or
annotation for objects using this style. See
Creating a Style (page 660).

Create a theme style

In the Display Manager,
Style ➤ Theme.

A theme varies the style based on data associated with the object. See Overview of Theme
Styles (page 1181).

To import a theme: In the
Display Manager, click

You can import a theme or map you created
in a previous version of AutoCAD Map 3D.

right-click a layer ➤ Add

Import a theme or map
from a previous version of
AutoCAD Map 3D

Data ➤ Add Drawing
Data ➤ Import Old
Theme.
To import a map: In the
Display Manager, click
Data ➤ Add Drawing
Data ➤ Import Old Map.

Overview of Styling Drawing Layers | 655

To Do This

Click

Description

Turn a style on or off

Select or clear the check
box next to the style
name in the Display
Manager.

When a style is turned off, drawing objects are
displayed without styles.

Create a new scale
threshold

In the Display Manager,

Use scale thresholds to change drawing layer
styles as you zoom in or out, for example, turn
text off as you zoom out. Close the lock icon
on the Status Bar to link scale and style.

click Tools ➤ Show
Thresholds. Click the thin
down arrow next to the
Threshold list, and then
click Duplicate. Enter the
new threshold and click
OK.

NOTE This functionality applies to drawing
layers only. Feature layers use scale ranges. For
more information, see Defining Scale Ranges
(page 643).

Change the display order
of layers

In the Display Manager,
click Draw Order so it is
active and drag the layer
up or down.

Layers are drawn from the bottom up. Objects
in the layer at the top of the Display Manager
are drawn last and appear on top of other objects. If an object is a member of more than
one layer, it is drawn based on the highest
layer to which it belongs. The Draw Order view
is useful for defining a display order that differs
from the layer organization in the Display
Manager or the legend.

Hide objects in a layer

Clear the check box next
to the layer name

If a layer is turned off, objects from that layer
are hidden.

Add a legend

In the Display Manager,

The legend lists the styles used in the map. See
Adding a Legend (page 1116).

click Tools ➤ Create Legend.
Update the drawing

Right-click the Display
Manager. Click Update.

Reloads the entire drawing, including rereading
attribute data, reevaluating expressions for
styles and themes, and requerying layers. To
update a single layer, right-click the layer. Click
Update.

Refresh the Display Manager

On the command line,
enter mapwsrefresh.

You sometimes must refresh the items in the
Display Manager. This operation does not affect
the drawing.

656 | Chapter 5 Visualization and Styling

Quick Reference
Update Display Manager
Refreshes the current display
Task Pane

Right-click the Display Manager. Click Update

Styling a Drawing Layer
When you define a style for a layer, you specify how objects on that layer
appear in the current display map.
NOTE This functionality is for drawing objects only. If you are styling a geospatial
feature layer, see Overview of Styling Features (page 640).
See also:
■

Creating Multiple Display Maps (page 638)

■

Creating Themes for Drawing Layers (page 1178)

■

Creating a Style (page 658)

■

Combining Styles (page 661)

■

Saving a Display Style in the Library (page 664)

NOTE This procedure is for drawing objects only. If you are styling a geospatial
feature layer, see Overview of Styling Features (page 640).
To style a drawing layer
1 Select the layer.
2 Do one of the following:
■

Create a new style. (page 660)

■

Copy an existing style. (page 665)

■

Reference a library style. (page 666)

■

Create a theme (page 1181).

3 If you want, add another style to the layer (page 662).

Styling a Drawing Layer | 657

Symbol styles can be combined only with other symbol styles. Themes
cannot be combined with any other styles.
4 You can save your style (page 665) in the Display Library.
5 If your map does not look exactly as desired, modify the style (page 663).

Quick Reference
New Display Manager Style
Creates a new Display Manager style
Task Pane

In Display Manager, right-click a layer ➤ Add Style ➤
(select a style type)

Creating a Style
You can define a style for a drawing layer in a map. All the drawing objects
on this layer display using the style.
NOTE This functionality is for drawing objects only. If you are styling a geospatial
feature layer, see Overview of Styling Features (page 640).

658 | Chapter 5 Visualization and Styling

You can create more than one style for a drawing layer. The styles overlay
each other.
Style Types
Entity

Specifies color, linetype, linetype scale, line
weight, and plotstyle for drawing objects
using this style.

Annotation

Adds annotation, such as text, blocks, images, and information based on object
properties, to drawing objects using this
style.

Hatch

Adds hatch to drawing objects using this
style.

Symbol

Uses symbols such as blocks or annotation
to represent drawing objects using this
style. Can be combined with other symbol
styles only.

Text

Adds text to drawing objects using this
style.

Raster Image

Specifies brightness, contrast, and fade for
images using this style.

Theme

Displays the Thematic Mapping dialog
box, where you can create a theme style.

Creating a Style | 659

All the properties of the style are
displayed on the Display tab of the
Properties palette, where you can
view or modify them.

See also:
■

Saving a Display Style in the Library (page 664)

■

Referencing a Library Style (page 666)

■

Creating Themes for Drawing Layers (page 1178)

NOTE This procedure is for drawing objects only. If you are styling a geospatial
feature layer, see Overview of Styling Features (page 640).
To create a display style
1 In Display Manager (page 2060), right-click the layer to style. Click Add
Style, and then choose the type of style to create.
■

Entity Style

■

Hatch Style

■

Text Style

■

Raster Image Style

■

Annotation Style

■

Symbol Style

660 | Chapter 5 Visualization and Styling

2 Select the style.
3 If the Properties palette is not already visible, right-click the layer and
select Properties.
4 On the Display tab of the Properties palette, specify style settings.
NOTE When entering an expression, you may need to select an item from
the list first. Click

to display the Edit Expression dialog box (page 1574).

NOTE Some drawing objects might not be styled. The Display Manager does not
style drawing objects that have been queried into the current drawing using a
standard Query. To style drawing objects from attached drawings, see Overview
of Bringing in Drawing Data From DWG Files (page 351).

Quick Reference
New Display Manager Style
Creates a new Display Manager style
Task Pane

In Display Manager, right-click a layer ➤ Add Style ➤
(select a style type)

Combining Styles
You can combine styles for a single drawing layer.

Style roads by combining a thick continuous black line with a thin dotted yellow line.

Styles are rendered from bottom to top. That is, the bottom style in the list is
rendered first.
NOTE Symbol styles can only be combined with other symbol styles. Themes
cannot be combined with any other styles.
NOTE This functionality is for drawing objects only. If you are styling a geospatial
feature layer, see Overview of Styling Features (page 640).

Combining Styles | 661

See also:
■

Creating a Style (page 658)

NOTE If the layer has a symbol style applied, you can only combine it with other
symbol styles. You cannot combine a theme with any other styles.
NOTE This procedure is for drawing objects only. If you are styling a geospatial
feature layer, see Overview of Styling Features (page 640).
To add a display style to a layer
1 Select the layer.
2 Do one of the following:
■

Create a new style. (page 660)

■

Copy (page 665) an existing style.

■

Reference a library style. (page 666)

Quick Reference
New Display Manager Style
Creates a new Display Manager style
Task Pane

In Display Manager, right-click a layer ➤ Add Style ➤
(select a style type)

Modifying a Style
The properties of the style are displayed on the Display tab of the Properties
palette. Modify the settings as desired.

662 | Chapter 5 Visualization and Styling

Modify style settings on the Properties palette.

NOTE This functionality is for drawing objects only. If you are styling a geospatial
feature layer, see Overview of Styling Features (page 640).

Style Referencing
If a style references another style, any changes to the style in one location are
automatically reflected in any other locations where the style is used. If you
turn off referencing for a style, any additional changes you make to that style
do not affect the other locations.
See also:
■

Creating a Style (page 658)

■

Referencing a Library Style (page 666)

■

Creating and Modifying a Display Manager Scale Threshold (page 667)

NOTE This procedure is for drawing objects only. If you are styling a geospatial
feature layer, see Overview of Styling Features (page 640).
To modify a display style
1 In Display Manager (page 2060), click the style.
2 If the Properties palette is not already visible, click the Style button.
3 On the Display tab of the Properties palette, modify style settings.

Modifying a Style | 663

To hide the drawing objects in a layer
■

Clear the check box next to the layer name in Display Manager.

Quick Reference
PROPERTIES
Displays the Properties palette, which allows you to edit the properties of
objects
Menu

Analyze ➤ Properties

Icon
Properties
Command Line

PROPERTIES

Task Pane

Select object. Right-click in drawing area ➤ Properties

Saving a Display Style in the Library
If you plan to use a style more than once, you can save it in the Display Library.
NOTE This functionality is for drawing objects only. To save and reuse styles for
geospatial features, see Saving and Loading Styled Feature Layers (page 651).
Once a style is saved in the library, you can drag it to a drawing layer.
NOTE If you drag a style from the Display Library to a drawing layer, the style is
referenced. If you copy and paste the style, a new style is created.
When you drag a style from the library, you can reference the library style.
When a style references a library style, any changes to the style in one location
are automatically reflected in the other location.
TIP To have a layer look the same at all scale thresholds, store the style in the
Display Library. Then, at every scale threshold, reference the Display Library style.
This way, you can automatically modify the style at every scale threshold by
updating the style in the Display Library.
See also:
■

Creating a Style (page 658)

664 | Chapter 5 Visualization and Styling

■

Referencing a Library Style (page 666)

NOTE This procedure is for drawing objects only. To save and reuse styles for
geospatial features, see Saving and Loading Styled Feature Layers (page 651).
To save a style to the Display Library
1 In the Display Manager (page 2060), right-click the style to save ➤ Copy.
2 If the Display Library is not already displayed, in the Display Manager,
click Tools ➤ Show Library.
3 On the Display Styles tab of the Display Library, right-click, and choose
Paste.
Note that the style is not referenced. Only dragging from the Display Library
to the drawing layer creates a referenced style.
TIP You can also create styles from within the Display Library. Right-click in the
Display Library. Click Add Style, and define the style. For more information on
creating styles, see Creating a Style (page 660).
To create a new category in the Display Library
1 If the Display Library is not already displayed, in Display Manager (page
2060), click Tools ➤ Show Library.
2 On the Display Library palette, right-click the Display Styles tab. Click
Add Category.
NOTE You must right-click the tab and not in the palette.
3 To change the name of the tab, right-click the tab name. Click Rename.
Enter a name for the tab.

Quick Reference
Display Library Palette
Turns the Display Library palette on and off
Command Line

MAPDISPLAYLIBRARY

Saving a Display Style in the Library | 665

Task Pane

In Display Manager, click Tools ➤ Show Library or
Hide Library

Copy Display Manager Style
Copies a Display Manager style
Task Pane

In Display Manager, right-click the style ➤ Copy

Referencing a Library Style
When you use a style from the library, the style in the layer references the style
in the Display Library.
Example: The Display Library has a style called "Pipes" that colors drawing
objects blue. Reference this style from any pipe layer.
NOTE This functionality is for drawing objects only. To save and reuse styles for
geospatial features, see Saving and Loading Styled Feature Layers (page 651).
If a style references a library style, any changes to the style in one location are
automatically reflected in any other locations where the style is used. That is,
if you modify the style in the Display Manager, the style in the Display
Libraryis automatically updated, as are any other styles that reference the style
in the Display Library.
If you turn off referencing for a style, any additional changes you make to
that style do not affect the other locations.
NOTE Once you turn off referencing for a style, you cannot turn it back on.
See also:
■

Creating a Style (page 658)

■

Saving a Display Style in the Library (page 664)

NOTE This procedure is for drawing objects only. To save and reuse styles for
geospatial features, see Saving and Loading Styled Feature Layers (page 651).
To reference a style from the Display Library
1 If the Display Library is not already displayed, in Display Manager (page
2060), click Tools ➤ Show Library.

666 | Chapter 5 Visualization and Styling

2 Select the style in the Display Library.
3 Drag it onto the drawing layer to style in the Display Manager.
To turn off style referencing
1 In Display Manager (page 2060), click the style for which to turn off
referencing.
2 If the Properties palette is not already displayed, right-click the style.
Click Properties.
3 On the Display tab of the Properties palette, under Style, click the box
next to Reference and select No.
NOTE Once you turn off referencing for a style, you cannot turn it back on.

Creating and Modifying a Display Manager Scale Threshold
You can define different styles at different scale thresholds.
Example: Turn on the display of road names only when the drawing scale
factor is below 1:5000
NOTE This functionality is for drawing objects only. To use scale ranges with
geospatial features, see Defining Scale Ranges (page 643).

Referenced Styles
To display a layer the same way at multiple scale thresholds, save the styles
to the Library. For each new scale threshold, reference the style in the Library.
Any changes you make to the style at one scale threshold are reflected at the
other scale thresholds.
Turn off referencing for the styles that change from one scale threshold to the
next.
Example: Reference the Library Style for the Road layer at all scale thresholds
except when you are zoomed out. For that scale threshold, turn off referencing
so you can change the display of roads when you zoom out.
See also:
■

Setting Map Scale (page 638)

Creating and Modifying a Display Manager Scale Threshold | 667

■

Viewing Styles at All Scale Thresholds (page 669)

■

Bringing In Drawing Data From DWG Files (page 350)

NOTE This procedure is for drawing objects only. To use scale ranges with
geospatial features, see Defining Scale Ranges (page 643).
To create or modify a scale threshold
1 Zoom the drawing to the scale factor for which you want to create or
modify the threshold.
2 To display the Threshold list, in the Display Manager, click Tools ➤ Show
Thresholds.
3 Click the thin down arrow next to the Threshold list and click Duplicate.
4 In the New Threshold dialog box, enter the new threshold value. Click
OK.
5 Modify any of the styles for this new scale threshold.
If the styles reference a Library Style, turn off referencing for the selected
style before you modify it. To turn off style referencing, select the style.
On the Display tab of the Properties palette, next to Reference, select No.
If you do not turn off Reference, any changes you make to the style in
this scale threshold are automatically reflected in any styles that reference
this style.
NOTE hen creating and modifying styles, you can specify how you want to display
styles as you change scale thresholds.

■

Close the lock icon
on the Status Bar to update the drawing window
using the appropriate styles for each drawing scale threshold. Styles change
as you adjust the scale threshold.

■

Open the lock icon
on the Status Bar to update the drawing window
using the styles for the current scale threshold. Styles do not change as
you zoom.

668 | Chapter 5 Visualization and Styling

Quick Reference
New Display Manager Scale Threshold
Creates a new Display Manager scale threshold
Task Pane

In Display Manager, click Tools ➤ Show Thresholds.
Click the thin down arrow next to the Threshold list
and choose Duplicate.

Compare Display Manager Scale Thresholds
For the selected layer, lists the Display Manager styles for each scale threshold
Task Pane

In Display Manager, right-click the layer and choose
Compare Thresholds

PROPERTIES
Displays the Properties palette, which allows you to edit the properties of
objects
Menu

Analyze ➤ Properties

Icon
Properties
Command Line

PROPERTIES

Task Pane

Select object. Right-click in drawing area ➤ Properties

Viewing Styles at All Scale Thresholds
You can view a layer's styles for each scale threshold in the map.

Viewing Styles at All Scale Thresholds | 669

For the layer Roads, the drawing layer styles display
more information as you zoom in.

NOTE This functionality is for drawing objects only. To use scale ranges with
geospatial features, see Defining Scale Ranges (page 643).
See also:
■

Creating and Modifying a Display Manager Scale Threshold (page 667)

NOTE This procedure is for drawing objects only. To use scale ranges with
geospatial features, see Defining Scale Ranges (page 643).
To view a layer's styles at all scale thresholds
1 In the Display Manager (page 2060), right-click the layer ➤ Show Thresholds.
For the selected layer, the Compare Thresholds palette lists the styles for
each scale threshold defined in the map.
2 To view the styles for a different layer, select the layer in Display Manager.
The Compare Thresholds palette displays the styles for the new layer.

670 | Chapter 5 Visualization and Styling

TIP You can add a style to a layer by dragging and dropping it from the Display
Library or another scale threshold.

Quick Reference
Compare Display Manager Scale Thresholds
For the selected layer, lists the Display Manager styles for each scale threshold
Task Pane

In Display Manager, right-click the layer and choose
Compare Thresholds

Styling Raster Images
You can style and view rasters brought into your map with Data Connect.

Overview of Styling Raster Images
For raster images you add to your map with Data Connect, you can do the
following:
■

Adjust brightness and contrast.

■

Display the image in grayscale or color.

■

Make a single color in the raster transparent.

■

Zoom to the raster image extents.

■

Requery the raster at a different zoom level.

See also:
■

Adding Rasters and Surfaces (page 437)

■

Using Other Raster Image Formats (page 453)

■

Analyzing Raster-Based Surfaces (page 1186)

■

Modifying Raster Images (page 489)

Styling Raster Images | 671

To do this...

Use this method...

Adjust brightness and contrast for images
you added with Data Connect.

Select the raster and, in the Style Editor
under Raster Style, do one of the following:
■

To adjust brightness, enter a value
between -50 and 50 in the Brightness
box.

■

To adjust contrast, enter a value
between -50 and 50 in the Contrast
box.

See Changing Brightness, Color, or Transparency for Raster Images (page 672)
Display an image you added with Data
Connect in grayscale or color.

Select the raster and, in the Style Editor
under Raster Style, click the Style dropdown box. Select Color or Greyscale.
See Changing Brightness, Color, or Transparency for Raster Images (page 672)

Make a single color transparent in a raster
you added with Data Connect.

Select the raster and, in the Style Editor
under Raster Style, click Transparent.
See Changing Brightness, Color, or Transparency for Raster Images (page 672)

Zoom to the extents of a raster you added
with Data Connect.

Right-click the image layer. Click Zoom To
Extents.
See Viewing Raster Images (page 674)

Requery a raster you added with Data
Connect at a different zoom level.

Right-click the image layer. Click Resample
Raster.
See Viewing Raster Images (page 674)

Changing Brightness, Color, or Transparency for Raster Images
You can use the Style Editor to modify the appearance of raster images brought
in to your map using Data Connect. You can adjust the brightness and contrast,
set transparency for a single color, and display the image in color or grayscale.
NOTE If you added an image using the Insert An image command, you cannot
use this functionality. See Modifying Raster Images (page 489) instead.

672 | Chapter 5 Visualization and Styling

See also:
■

Adding Rasters and Surfaces (page 437)

■

Using Other Raster Image Formats (page 453)

■

Analyzing Raster-Based Surfaces (page 1186)

■

Modifying Raster Images (page 489)

NOTE If you added an image using the Insert An image command, you cannot
use this procedure. See Modifying Raster Images (page 489) instead.
■

To adjust brightness and contrast in a raster image (page 673)

■

To set transparency for a single color. (page 673)

■

To display your image in color or grayscale (page 674)

To adjust brightness and contrast in a raster image
1 In the Display Manager (page 2060), right-click the layer ➤ Edit Style.
2 In the Style Editor, under Raster Style, do one of the following:
■

To adjust brightness, enter a value between -50 and 50 in the
Brightness box.

■

To adjust contrast, enter a value between -50 and 50 in the Contrast
box.

3 Click Apply.
To set transparency for a single color.
1 In the Display Manager (page 2060), right-click the layer ➤ Edit Style.
2 In the Style Editor, under Raster Style, click Transparent.
3 In the Transparency Color dialog box, click Select.
4 Select a color on your map, then click OK.
5 Click Apply.
AutoCAD Map 3D displays all parts of the raster image that match the
selected color with 100% transparency.

Changing Brightness, Color, or Transparency for Raster Images | 673

To display your image in color or grayscale
1 In the Display Manager (page 2060), right-click the layer ➤ Edit Style.
2 In the Style Editor, under Raster Style, click the Style drop-down box.
3 Select Color or Grayscale.
4 If you select grayscale, adjust the range for grayscale mapping with the
Cell Minimum and Cell Maximum values.
5 Click Apply.

Viewing Raster Images
When you zoom in on a raster image AutoCAD Map 3D automatically requeries
the image from the source to improve the display. You can also use the
Resample Raster tool to improve the display of raster feature data if necessary
(if you are using server-based raster images, for example). This tool requeries
just the displayed portion of the image. When you zoom out, use the Zoom
To Extents tool for the feature layer to display the full extents for the zoom
position.
NOTE If you added an image using the Insert An image command, you cannot
use this functionality. See Modifying Raster Images (page 489) instead.
See also:
■

Overview of the Display Manager (page 634)

■

Overview of Adding Rasters and Surfaces (page 437)

NOTE If you added an image using the Insert An image command, you cannot
use this procedure. See Modifying Raster Images (page 489) instead.
To requery a raster image
1 Display the raster image at the desired zoom level.
2 In the Display Manager (page 2060), right-click the image layer. Click
Resample Raster.
To zoom to image extents
1 Zoom out as desired.

674 | Chapter 5 Visualization and Styling

2 Right-click the image layer. Click Zoom To Extents.

Quick Reference
ZOOM
Increases or decreases the apparent size of objects in the current viewport
Menu

View menu ➤ Realtime

Icon
Zoom
Command Line

ZOOM

Styling Point Clouds
You can style point cloud (page 2071)s based on Classification, Elevation,
Intensity, and RGB color values. AutoCAD Map 3D has default settings for
each style category except RGB. You can modify or change the style settings
in the Point Cloud Style dialog box (page 1902).

Styling Point Clouds | 675

The Point Cloud Style dialog box

LAS (page 2066) is an industry standard file format defined by the American
Society of Photogrammetry and Remote Sensing that includes a system of
point classification. A processed LAS file may have points classified as bare
earth, high or low vegetation, building, and so on. LAS files may also contain
LiDAR intensity values (laser pulse return intensity) and Red/Green/Blue color
values (if there is ancillary color data from a camera accompanying the LiDAR
scan). Your LAS files may include classification, intensity, and color values,
or it may contain only elevation data.

A point cloud styled by classification

676 | Chapter 5 Visualization and Styling

NOTE If you are working with a point cloud index created using AutoCAD
commands (.PCG file), you can only style by elevation and RGB values.
See also:
■

Overview of Point Clouds

■

Overview of LiDAR DataLiDAR: data: overviewLiDAR: file types; LiDAR:
LAS file format; LiDAR: ASCII format

■

Overview of Point Cloud Files and Objects (page 1013)

■

Bringing in LiDAR Data (page 374)

■

Using LiDAR Data to Create a Point Cloud Data Store (page 1019)

■

Creating Surfaces From Point Cloud Data (page 1021)

■

Managing LiDAR Data (page 1015)

■

Filtering Point Cloud Data (page 1024)

■

Exporting Point Cloud Data (page 1451)

To style point data by classification
1 In the Display Manager, right-click the point cloud layer to style, then
select Style By ➤ Classification.
AutoCAD Map 3D applies the default Classification styling to your point
cloud.
2 To change the default Classification style, right-click the point cloud
layer, then select Set Style.
3 In the Point Cloud Style dialog box (page 1902), on the Classification tab,
select a new color for each class to change using the drop-down list.
4 If you do not see the color that you want in the drop-down list, click
More Colors, then select an Index Color, True Color, or Color Book in
the Select Color dialog box.
5 When you have made all the style changes, click OK.
To style point data by elevation
1 In the Display Manager, right-click the point cloud layer to style, then
select Style By ➤ Elevation.

Styling Point Clouds | 677

AutoCAD Map 3D applies the default Elevation styling to your point
cloud.
2 To change the default Elevation style, right-click the point cloud layer,
then select Set Style.
3 In the Point Cloud Style dialog box (page 1902), on the Elevation tab, select
the number of rules to include in the style range.
By default, AutoCAD Map 3D uses five rules. The style range rules are
distributed evenly across the range of elevation values in your point cloud.
4 To change the colors used for the style range, select new colors using the
drop-down lists.
5 If you do not see the color that you want in the drop-down list, click
More Colors, then select an Index Color, True Color, or Color Book in
the Select Color dialog box.
6 When you have made all the style changes, click OK.
To style point data by intensity
1 In the Display Manager, right-click the point cloud layer you want to
style, then select Style By ➤ Intensity.
AutoCAD Map 3D applies the default Intensity styling to your point
cloud.
2 To change the default Intensity style, right-click the point cloud layer,
then select Set Style.
3 In the Point Cloud Style dialog box (page 1902), on the Intensity tab, select
the number of rules to include in the style range.
By default, AutoCAD Map 3D uses five rules. The style range rules are
distributed evenly across the range of intensity values in your point cloud.
4 If you want to change the colors used for the style range, select new colors
using the drop-down lists.
5 If you do not see the color that you want in the drop-down list, click
More Colors, then select an Index Color, True Color, or Color Book in
the Select Color dialog box.
6 When you have made all the style changes, click OK.

678 | Chapter 5 Visualization and Styling

To style point data by RGB values
■

In the Display Manager, right-click the point cloud layer you want to style,
then select Style By ➤ RGB.

Styling Point Clouds | 679

680

Creating and Editing Data

6

Overview of Creating and Editing Data
AutoCAD Map 3D works on two types of objects: features and drawing objects.
■

Features are GIS objects stored in external files and databases. Display and
edit them in your map and then save the changes back to the original source.
Use the options described in Working with Features (page 683).

■

Drawing objects are AutoCAD objects stored within a map or retrieved from
attached drawings using queries. Save changes to drawing objects in the
current map or back to the attached source drawing depending on the source
of each object. Use the options described in Working with Drawing Objects
(page 727) and Working with Attribute Data and Object Data (page 1047).

Use both AutoCAD Map 3D and AutoCAD to edit features and drawing objects.
Many AutoCAD commands work on both types of objects. Some AutoCAD
commands can only be performed on a feature after you extract its geometry
and edit it as a drawing object. You can then save your changes back to the
original data store with no loss of precision.
Most AutoCAD Map 3D operations are specific to one type of object or the
other. Use the right-click menus to see the commands that are available for the
selected feature or drawing object.
For features...

For drawing objects...

Add features to your map using Data
Connect.
See Overview of Bringing In GIS Features
(page 305).

Add drawing objects to your map by attaching drawings and querying in objects.
See Overview of Bringing in Drawing Data
From DWG Files (page 351).

681

For features...

For drawing objects...

Use a query to filter one or more layers.
See Filtering Feature Layers (page 1216).

Query in drawing objects that match specified criteria and store them on a separate
drawing layer (page 368). Other objects
become part of the Map Base layer.

Edit features by checking them out and
using AutoCAD and AutoCAD Map 3D
commands.
See Checking Out Features (page 695), Using Feature Editing Commands (page 704),
and Using AutoCAD Commands on Features (page 713).

Edit objects directly with AutoCAD and
AutoCAD Map 3D commands.
See Overview of Using the Map Editing
Tools (page 927).

Create new features using Display Manager.
See Creating New Features (page 686).

Create objects with AutoCAD and AutoCAD Map 3D commands.
See Working with Drawing Objects (page
727).

Create features from drawing objects.
See Creating a New Feature from a Drawing Object (page 691).

Create drawing objects from features.
See Extracting Feature Geometry (page
715) and Exporting Maps to DWG Format
(page 1459).

Maintain data security. Use versioning (for
data stores that support it) and check out
data to lock it while you use it. See Managing Versions (page 723)

Lock or unlock objects or drawings. See
Sharing Attached Drawings (page 729)

Save features back to their sources by
checking them in.
See Checking In Features (page 693).

Save drawing objects back to their sources
by adding them to a save set.
See Editing and Saving Objects in Attached
Drawings (page 737).

Organize data in feature classes. Use
Schema Editor to create and edit these
classes. See Overview of Working with
Schemas (page 594)

Use Object Classification to group objects
by their properties or data. See Using Object Classification (page 981).

682 | Chapter 6 Creating and Editing Data

For features...

For drawing objects...

Work with attribute data in the Data Table.
See Editing Features using the Data Table
(page 711).

Work with object data in an object data
table.
See Entering and Editing Object Data
(page 1061).

Work with joined external data in the Data
Table.
See Editing Joined Data (page 515).

Work with linked external data in Data
View.
See Overview of Viewing External Data
Sources for Drawing Objects (page 1048).

Use special commands available only for
features.
See Using Feature Editing Commands
(page 704).

Use special commands available only for
drawing objects.
See Cleaning Up Drawing Data (page 765),
Creating, Editing, and Managing Topologies (page 820), Using Map Editing Tools
(page 926), Digitizing Points Using Coordinates (page 953), Working with Polygon
Objects (page 954), and Annotating Drawing Objects (page 1100).

Save features back to their original data
store (page 693), copy them to a different
spatial data format (page 617), or export to
DWG (page 1405).

Save drawing objects back to their original
drawings (page 737) or export to a variety
of drawing and geospatial data formats
(page 1465).

Working with Features
■
■
■
■
■
■
■
■
■

Overview of Working with Features (page 684)
Creating New Features (page 686)
Checking In Features (page 693)
Checking Out Features (page 695)
Canceling Checkout (page 697)
Updating Edits Automatically (page 698)
Editing Features (page 701)
Working Offline (page 721)
Managing Versions (page 723)

To work with features
■

To edit features (page 686)

Working with Features | 683

■
■
■
■
■
■
■
■
■
■
■
■
■
■
■
■

To create new features (page 686)
To check in features (page 694)
To check out features automatically (page 696)
To check out features (page 696)
To cancel check out (page 698)
To update edits automatically (page 700)
To edit features (page 701)
To work offline (page 722)
To return online (page 722)
To clear the cache (page 723)
To rebuild the cache (page 723)
To create a new version (page 725)
To activate a version (page 725)
To commit changes back to the data store (page 726)
To discard a version (page 726)
To address errors (page 726)

Overview of Working with Features
When you connect to a geospatial data source and add it to your map, you
can see and edit the feature data. Features must be checked out to be edited.
By default, features are automatically checked out upon editing.
NOTE This functionality is for geospatial features only. For information about
working with drawing objects, see Working with Drawing Objects (page 727).
You can use most AutoCAD editing commands to edit feature data. For some
of the more advanced commands, you can use Update Feature Geometry (page
716) to convert a GIS feature to pure AutoCAD geometry. Once you have done
this, you can use these other AutoCAD commands, and then update the feature
without losing or affecting any of its attributes.
You can also create features from AutoCAD geometry (page 691). This gives
you the same functionality as Update Feature Geometry, but it creates a new
feature rather than changing an existing one.

Working in a Multiuser Environment
If you share data in a multiuser environment, be aware of the locking status
of the following providers.
■

Oracle and ArcSDE support feature level locking that is persistent when
the connection with the source is closed and you go offline.

684 | Chapter 6 Creating and Editing Data

■

MySQL and SQL Server do not support feature level locking or persistent
locking. Locks are released when the connection is closed.

■

SDF does not support locking. Be very careful when working in a multiuser
environment.

■

SHP supports file locking only as long as you are connected to the data.
When you close your map, break the connection, or go offline, the file is
unlocked.

Tell me more
■

Show me how to draft a new feature for
an existing feature class.

■

Show me how to edit features stored in
a database or data store.

■

Show me how to check out features for
editing in the field.

■

To create new features (page 686)

■

To edit features (page 701)

■

Exercise 2: Check out and edit a feature

■

Edit Features in a Geospatial Feature
Source

■

Add Features to an Existing ArcSDE
Feature Class

■

Work Offline from an Enterprise Database

■

Draft new features for an existing feature
class.

■

Edit feature geometry directly in a SHP
file using CAD tools.

■

Check out features to edit in the field and
update the database later.

Video

Procedure

Tutorial

Workflow

GIS Skill

Overview of Working with Features | 685

Related topics

■

Bringing in GIS Features (page 303)

■

Checking Out Features (page 695)

NOTE These procedures are for geospatial features only. For information about
working with drawing objects, see To work with drawing objects (page 727).
To edit features
1 Attach the data source. (page 308)
2 If you do not have Auto Checkout turned on, check out the feature. (page
696)
3 Do one or both of the following:
■

Use feature-editing commands to make your changes. (page 705)

■

Use AutoCAD commands to make your changes. (page 713)

4 Check the feature back in. (page 694)

Creating New Features
To create new features
■
■
■
■
■

To create new features (page 687)
To create a new Point or MultiPoint feature (page 688)
To create a new Polygon or MultiPolygon feature (page 689)
To create a new LineString or MultiLineString feature (page 691)
To create a new feature from geometry (page 692)

Overview of Creating New Features
You can create new features using feature-creation commands or by creating
a feature from a drawing object’s geometry.
NOTE This functionality is for geospatial features only. For information about
creating drawing objects, see the AutoCAD Help.

686 | Chapter 6 Creating and Editing Data

NOTE If the feature class for a layer does not provide automatically generated IDs
for new features, AutoCAD Map 3D will not create new features on the layer. To
create new features in this case, turn off Update Edits Automatically (page 698) .
AutoCAD Map 3D will hold the features in a queue instead of attempting to save
them to the source immediately. Feature IDs are generated in the queue.

Tell me more
■

Show me how to draft a new feature for
an existing feature class.

■

Show me how to create new features
from existing AutoCAD objects.

■

To create new features (page 686)

■

Lesson 4: Create Map Features

■

Add Features to an Existing ArcSDE
Feature Class

■

Draft new features for an existing feature
class.

■

Updating Edits Automatically (page
698)

■

Checking Out Features (page 695)

Video

Procedure

Tutorial

Workflow

GIS Skill

Related topics

NOTE This procedure is for geospatial features only. For information about creating
drawing objects, see the AutoCAD Help.
To create new features
■

Use Display Manager to create Point or MultiPoint (page 688) features,
Polygon or MultiPolygon (page 689) features, and LineString or
MultiLineString (page 690) features.
If the provider supports curves, the arc option is available in the LineString,
MultiLineString, Polygon, and MultiPolygon creation commands.

Creating New Features | 687

■

Create a new feature from a drawing object’s geometry (page 691).

Creating New Point and MultiPoint Features
If you have point feature layers in your drawing, you can create new point
and multipoint features. Multipoint features are multiple points that behave
like a single point feature.
NOTE This functionality is for geospatial features only. For information about
creating drawing objects, see the AutoCAD Help.
Use OSNAP to snap to any graphic within a block definition that is used to
symbolize a point. You can also use OSNAP Node to snap to the insertion
point of of an attribute, a block, a shape, or text. OSNAP Node is turned off
by default.
NOTE The feature creation commands available for a feature layer depend on the
capabilities of the feature class represented by the layer. Feature geometry follows
OGC specifications.
See also:
■

Creating a New Feature from a Drawing Object (page 691)

■

Using AutoCAD Commands on Features (page 713)

■

OSNAP

NOTE This procedure is for geospatial features only. For information about creating
drawing objects, see the AutoCAD Help.
To create a new Point or MultiPoint feature
1 Do one of the following:
■

In the Display Manager (page 2060), right-click the feature layer for the
new feature ➤ Create ➤ New Point feature_name.

■

In the Display Manager (page 2060), right-click the feature layer for the
new feature ➤ Create ➤ New MultiPoint feature_name.
Here, feature_name is the name of the Point or MultiPoint feature layer.

2 At the MAPPOINTCREATE (page 1663) or MAPMULTIPOINTCREATE (page
1659) prompt, specify the location for the new Point or MultiPoint feature.

688 | Chapter 6 Creating and Editing Data

For MultiPoint features, specify the location of each point.
3 For MultiPoint operations, press Enter to complete the operation.
The new feature is added to the Data Table. To add information to the
feature, see Editing Features using the Data Table (page 711).
4 Check in the new features.
For more information, see Checking In Features (page 693).

Creating New Polygon and MultiPolygon Features
If you have polygon feature layers in your drawing, you can create new Polygon
and MultiPolygon features. MultiPolygon features behave like a single Polygon
feature. You cannot create a non-planar polygon. Every ring of a polygon must
be planar and all parts and all rings must be in the same plane.
NOTE This functionality is for geospatial features only. For information about
creating drawing objects, see the AutoCAD Help.
NOTE The feature creation commands available for a feature layer depend on the
capabilities of the feature class represented by the layer. Feature geometry follows
OGC specifications.
A polygon has one outer ring and can have one or more inner rings. A ring
within a polygon is considered a hole. To create polygons with multiple outer
and inner rings, create a MultiPolygon feature.
See also:
■

Creating a New Feature from a Drawing Object (page 691)

■

Using AutoCAD Commands on Features (page 713)

NOTE This procedure is for geospatial features only. For information about creating
drawing objects, see the AutoCAD Help.
To create a new Polygon or MultiPolygon feature
1 Do one of the following:
■

In the Display Manager (page 2060), right-click the feature layer for the
new feature ➤ Create ➤ New Polygon feature_name.

Creating New Features | 689

■

In the Display Manager (page 2060), right-click the feature layer for the
new feature ➤ Create ➤ New MultiPolygon feature_name.

Here, feature_name is the name of the Polygon or MultiPolygon feature
layer.
2 When prompted, specify the location for the new Polygon or
MultiPolygon feature.
3 Use the command line or right-click to complete the new feature.
For more information, see MAPPOLYGONCREATE (page 1663) and
MAPMULTIPOLYGONCREATE (page 1660).
4 Press Enter to complete the operation.
The new feature is added to the Data Table. To add information to the
feature, see Editing Features using the Data Table (page 711).
5 Check in the new features.
For more information, see Checking In Features (page 693).

Creating New LineString and MultiLineString Features
If you have line feature layers in your drawing, you can create new LineString
and MultiLineString features. MultiLineString features are multiple lines that
behave like a single Line feature.
NOTE This functionality is for geospatial features only. For information about
creating drawing objects, see the AutoCAD Help.
NOTE The feature creation commands available for a feature layer depend on the
capabilities of the feature class represented by the layer. Feature geometry follows
OGC specifications.
See also:
■

Creating a New Feature from a Drawing Object (page 691)

■

Using AutoCAD Commands on Features (page 713)

NOTE This procedure is for geospatial features only. For information about creating
drawing objects, see the AutoCAD Help.

690 | Chapter 6 Creating and Editing Data

To create a new LineString or MultiLineString feature
1 Do one of the following:
■

In Display Manager (page 2060), right-click the feature layer for the new
feature ➤ Create ➤ New LineString feature_name.

■

In Display Manager (page 2060), right-click the feature layer for the new
feature ➤ Create ➤ New MultiLineString feature_name.

Here, feature_name is the name of the LineString or MultiLineString feature
layer.
2 When prompted, specify the location for the new LineString or
MultiLineString feature.
3 Use the command line or right-click to complete the new feature.
For more information, see MAPLINESTRINGCREATE (page 1654) and
MAPMULTILINESTRINGCREATE (page 1656).
4 Press Enter to complete the operation.
The new feature is added to the Data Table. To add information to the
feature, see Editing Features using the Data Table (page 711).
5 Check in the new features.
For more information, see Checking In Features (page 693).

Creating a New Feature from a Drawing Object
You can create new features using drawing object geometry.
NOTE This functionality is for geospatial features only. For information about
creating drawing objects, see the AutoCAD Help.

Tell me more
■

Show me how to create new features
from existing AutoCAD objects.

■

To create a new feature from geometry
(page 692)

Video

Procedure

Creating New Features | 691

■

Add DWG Data to an Existing Feature
Source

■

Create new features from existing AutoCAD objects.

■

Overview of Working with Features
(page 684)

■

Checking In Features (page 693)

■

Using AutoCAD Commands on Features (page 713)

Workflow

GIS Skill

Related topics

NOTE This procedure is for geospatial features only. For information about creating
drawing objects, see the AutoCAD Help.
To create a new feature from geometry
1 In the Display Manager (page 2060), right-click the layer to which you want
to add the feature. Click New Feature from Geometry.
2 When prompted, select the object or objects to convert to features. Press
Enter.
All selected objects are converted into a single feature. To create multiple
features, perform this operation on one object at a time.
3 When prompted to erase the drawing object, do one of the following:
■

Click Yes to erase the original drawing object.

■

Click No to keep the drawing object in the drawing.
Keep the object if you plan to use it to create other features. You can
store drawing objects on a separate layer and turn off visibility for the
layer.
To add information to the feature, see Editing Features using the Data
Table (page 711).

4 Check in the new features.
For more information, see Checking In Features (page 693).

692 | Chapter 6 Creating and Editing Data

Quick Reference
New Feature from Geometry
Creates a new feature from drawing object geometry
Menu
Icon

Click Create ➤ New Feature from Geometry.
New Feature From Geometry

Command Line

MAPCREATEFEATUREFROMGEOMETRY

Task Pane

In Display Manager, right-click the feature layer. Click
New Feature from Geometry

Checking In Features
Checking in features saves your changes and additions to the feature source
and releases any locks. Check in features before giving a map to someone else
to edit. If you and the other person have different versions of AutoCAD Map
3D, some features may not be recognized unless they are checked in.
You can update the source automatically as you edit or wait until you check
in the features. If you update the source with edits automatically, be sure to
check in features when you are finished working.
NOTE This functionality is for geospatial features only. For information about
locking and unlocking drawing files, see Overview of Sharing Attached Drawings
(page 730).

Tell me more
■

Show me how to check in features after
editing in the field.

■

To check in features (page 694)

■

Exercise 3: Update information for the
edited feature

Video

Procedure

Tutorial

Checking In Features | 693

■

Edit Features in a Geospatial Feature
Source

■

Draft new features for an existing feature
class.

■

Check out features to edit in the field and
update the database later.

■

Overview of Working with Features
(page 684)

■

Updating Edits Automatically (page
698)

Workflow

GIS Skill

Related topics

NOTE This procedure is for geospatial features only. For information about locking
and unlocking drawing files, see Methods for Object Locking (page 731).
To check in features
1 Select the features to check in using one of the following methods:
■

Click a feature or features.

■

Right-click the feature layer in the Display Manager (page 2060). Click
Select Checked-Out Features.

2 Right-click the drawing. Click Check-In Feature.

Quick Reference
Check In Feature
Checks in features, saves your changes and additions to the feature source,
and releases locks
Menu

Click Edit ➤ Check-In.

Icon
Check-In Features
Command Line

MAPCHECKIN

694 | Chapter 6 Creating and Editing Data

Select Checked-Out Features
Selects features that have been checked out to edit
Menu

Click Edit ➤ Select Checked-Out Features.

Icon
Select Checked-Out Features
Command Line

MAPSELECTCHECKEDOUT

Task Pane

In Display Manager, right-click the feature layer

Checking Out Features
Checking out features makes them available to edit. By default, features are
checked out automatically when you edit them. Check in features before
giving a map to someone else to edit. If you and the other person have different
versions of AutoCAD Map 3D, some features may not be recognized unless
they are checked in.
If the data source supports locking, features or files will be locked. Checking
in or canceling a checkout operation unlocks locked features.
If you plan to work offline, check out the features that you want to edit before
going offline.
NOTE This functionality is for geospatial features only. For information about
locking and unlocking drawing files, see Overview of Sharing Attached Drawings
(page 730).

Tell me more
■

Show me how to check out features for
editing in the field.

■

To check out features automatically
(page 696)

■

Exercise 2: Check out and edit a feature

Video

Procedure

Tutorial

Checking Out Features | 695

■

Edit Features in a Geospatial Feature
Source

■

Check out features to edit in the field and
update the database later.

■

Overview of Working with Features
(page 684)

■

Updating Edits Automatically (page
698)

■

Working Offline (page 721)

Workflow

GIS Skill

Related topics

NOTE This procedure is for geospatial features only. For information about locking
and unlocking drawing files, see Methods for Object Locking (page 731).
To check out features automatically
■

In the Tool-based Ribbon Workspace, click Feature Edit tab ➤ Edit Set
panel ➤ Auto Checkout.

To check out features
NOTE Use this procedure if you do not have Auto Checkout turned on.
1 Click a feature or features.
2 Right-click the drawing. Click Check-Out Feature.
Grips are displayed on the checked-out feature. If you do not edit using
grips you can turn them off. For more information, see Use Grip Modes
in the AutoCAD Help.

Quick Reference
MAPAUTOCHECKOUT
Automatically checks-out features that are edited
Menu

Not available on the menu in the current workspace

696 | Chapter 6 Creating and Editing Data

Command Line

MAPAUTOCHECKOUT

Check Out Feature
Checks out selected features and makes them available for editing
Menu

Click Edit ➤ Check-Out.

Icon
Check-Out Features
Command Line

MAPCHECKOUT

MAPFEATUREEDITOPTIONS
Specifies options for editing features
Icon
Feature Edit Options
Command Line

MAPFEATUREEDITOPTIONS

Dialog Box

Feature Editing Options dialog box

Canceling Checkout
You can cancel the checkout of all, selected, or erased features. You can also
cancel the checkout of features by layer. When you cancel check out, locks
are released and your changes are discarded.
NOTE If Update Edits Automatically is on, edits are made in the feature source
immediately. Canceling checkout will not discard changes or restore erased features.
NOTE This functionality is for geospatial features only. For information about
locking and unlocking drawing files, see Overview of Sharing Attached Drawings
(page 730).
See also:
■

Overview of Working with Features (page 684)

■

Working Offline (page 721)

■

Updating Edits Automatically (page 698)

Canceling Checkout | 697

NOTE This procedure is for geospatial features only. For information about locking
and unlocking drawing files, see Methods for Object Locking (page 731).
To cancel check out

1 Click Feature Edit tab ➤ Edit Set panel ➤ Cancel Feature Check-out.
2 When prompted, click one of the following options:
Option

Description

All

Cancels check out of all features

Erased

Cancels check out of all erased features

Layer

Prompts for a layer and cancels check out
of all features on the selected layer. This
option is the same as All if there is only one
layer.

Select Objects

Prompts for features or cancels check out
of selected features

Quick Reference
Cancel Checkout
Cancels a checkout operation. If you have Update Edits Automatically
enabled, cancelling the checkout does not undo changes.
Menu

Click Edit ➤ Cancel Check-Out.

Icon
Cancel Feature Check-Out
Command Line

MAPCANCELCHECKOUT

Updating Edits Automatically
You can queue your edits and save them to the source all at once, or you can
save them as you work.

698 | Chapter 6 Creating and Editing Data

NOTE This functionality is for geospatial features only. For information about
saving changes back to attached drawing files, see Setting Save Back Options
(page 763).
When Update Edits Automatically is off (the default), your changes remain
local until you check them in.
If you turn on Update Edits Automatically, AutoCAD Map 3D immediately
attempts to save any edits you have made to checked-out features back to the
feature source. If updating fails for any reason, the setting remains off. You
can reverse the changes you made (so your version matches the one that is
checked in), or check out the drawing, re-enter your edits and then check it
in.
NOTE Undo does not reverse this command. Canceling a checkout will not discard
changes or restore features to their state before the checkout.
You can change the default setting (page 84) for Update Edits Automatically.
When you create layers for SHP and SDF data, AutoCAD Map 3D may create
a local cache the first time you edit those layers. For large files this may be
time-consuming. To avoid this, turn on Update Edits Automatically for large
SDF and SHP files.

Persistent Locking
If the feature source provider supports persistent locking (page 2070), and Update
Edits Automatically is on, checking out a feature locks that feature; checking
in a feature unlocks it. You can release locks on features by checking them
out (if you are the user who locked them) and then checking them back in.
If the feature source provider supports persistent locking and Update Edits
Automatically is off, use Cancel Checkout to unlock features without saving
your changes to them. When you do this, you synchronize the state of the
feature you checked out with those in the feature source. That is, you delete
new features created locally, and replace locally modified or deleted features
with the versions from the feature source.

Revision Numbers
Some providers (for example, Oracle, SQL Server, and MySQL) support revision
numbers, which increment a numeric value in the feature every time you
commit a change to that feature in the feature source. This allows AutoCAD
Map 3D to see if a feature has been edited by another user. If another user
modifies a feature while you have it checked out, a revision-number conflict
can occur. This might happen if you check out the feature while you are

Updating Edits Automatically | 699

offline, or if the feature source provider does not support persistent locking.
In such cases, you cannot overwrite the other user’s changes to the features.
Instead, turn Update Edits Automatically off and choose Cancel Checkout for
the features that have conflicts.
See also:
■

Customizing Your Work Environment (page 84)

■

Working Offline (page 721)

■

Canceling Checkout (page 697)

NOTE This procedure is for geospatial features only. For information about saving
changes back to attached drawing files, see To set editing and save back options
(page 764).
To update edits automatically
■

In the Tool-based Ribbon Workspace, click Feature Edit tab ➤ Edit Set
panel ➤ Automatic Update

NOTE To change the default setting for Automatic Update, at the Command
prompt, type MAPEDITSETAUTODESFAULT and specify Active (checked) or Deactive
(unchecked) as the default.

Quick Reference
MAPEDITSETAUTO
Turns on and off the setting for updating edits to the feature source
automatically
Menu

Click Edit ➤ Update Edits Automatically.

Command Line

MAPEDITSETAUTO

MAPEDITSETAUTODEFAULT
Specifies the default setting for updating edits to the feature source
automatically
Command Line

MAPEDITSETAUTODEFAULT

700 | Chapter 6 Creating and Editing Data

Check In Feature
Checks in features, saves your changes and additions to the feature source,
and releases locks
Menu

Click Edit ➤ Check-In.

Icon
Check-In Features
Command Line

MAPCHECKIN

Editing Features
To edit features
■
■
■
■
■
■
■
■

To edit a feature using feature editing commands (page 705)
To split a feature (page 708)
To turn Ignore Split And Merge Rules on or off (page 708)
To set split prompt options (page 709)
To merge features (page 710)
To edit features using the Data Table (page 712)
To use AutoCAD commands on features (page 713)
To edit feature properties in the Properties palette (page 719)

Overview of Editing Features
Edit features in any of the following ways:
■

Use AutoCAD commands
Most common AutoCAD editing commands (such as PEDIT, ROTATE, and
TRIM) are available to use with features. To perform an AutoCAD operation
that is not available for features, extract the geometry from the feature,
modify it using AutoCAD, and then update the feature geometry.
NOTE To use common AutoCAD editing commands on features, make sure
you have selected Check Out Features As AutoCAD Drawing Objects in the
Feature Checkout Options area of the Feature Editing Options dialog box (page
1929)

■

Use specialized AutoCAD Map 3D commands for certain geometry types

Editing Features | 701

■

Change entries in the Data Table

■

Change entries in the Properties palette
Edit the same feature properties in the Data Table or Properties palette.
Edits in the Properties palette apply to all selected features in the selected
layer.

NOTE This functionality is for geospatial features only. For information about
editing native drawing objects, see the AutoCAD Help.
To edit this...

Use this method...

■

Point features

■

MultiPoint features

■

LineString features

■

MultiLineString features

Use PEDIT for all features except MultiPoint
features.
You can also use geospatial feature editing
commands for all features except Point
features:

■

Polygon features

■

MultiPolygon features

■

Specify that features will be checked
out as geospatial features. (page 239)

■

Then change the geometry directly.
(page 705)

Feature properties

Modify a feature in the Data Table to
change its data. (page 712)
Change property values for all selected
features on the selected layer in the Properties palette. (page 719)

Feature geometry as AutoCAD drawing
objects

Specify that features will be checked out
as AutoCAD drawing objects. (page 239)
Then use any available AutoCAD commands. (page 713)
NOTE In some cases, when feature geometry is checked out as AutoCAD drawing
objects, geospatial feature editing commands may still be available to use on the
geometry.

702 | Chapter 6 Creating and Editing Data

Tell me more
■

Show me how to edit features stored in
a database or data store.

■

Show me how to check out features for
editing in the field.

■

To edit features (page 701)

■

Lesson 5: Find and Edit Features

■

Edit Features in a Geospatial Feature
Source

■

Work Offline from an Enterprise Database

■

Edit feature geometry directly in a SHP
file using CAD tools.

■

Check out features to edit in the field and
update the database later.

■

Extracting Feature Geometry (page 715)

■

Updating Feature Geometry (page 716)

■

Using Feature Editing Commands
(page 704)

■

Editing Features using the Data Table
(page 711)

■

Using AutoCAD Commands on Features (page 713)

■

Viewing and Editing Feature Properties
(page 718)

Video

Procedure

Tutorial

Workflow

GIS Skill

Related topics

Editing Features | 703

Quick Reference
MAPDATATABLE
Allows you to view, edit, and filter feature data
Menu

Click Edit ➤ Data Table.

Icon
Table
Command Line

MAPDATATABLE

Task Pane

In Map Explorer or Display Manager, click the Table
button

Dialog Box

Data Table Dialog Box

PROPERTIES
Displays the Properties palette, which allows you to edit geometry, direction,
and resistance for selected topology objects
Menu

Click Modify ➤ Properties.

Icon
Properties
Command Line

PROPERTIES

Task Pane

Select objects. Right-click in drawing area ➤ Properties

Using Feature Editing Commands
Feature editing commands are available for Point, MultiPoint, LineString,
MultiLineString, Polygon, or MultiPolygon features. If you do not have Auto
Checkout turned on, check out a feature to use the feature editing command
specific to the geometry of that feature.
You cannot perform edits that would create a non-planar polygon. Every ring
of a polygon must be planar and all parts and all rings must be in the same
plane.
NOTE To improve performance when editing features, turn Update Edits
Automatically off.

704 | Chapter 6 Creating and Editing Data

NOTE This functionality is for geospatial features only. For information about
editing native drawing objects, see the AutoCAD Help.
See also:
■

Updating Edits Automatically (page 698)

■

Editing Features (page 701)

■

Checking Out Features (page 695)

■

Checking In Features (page 693)

NOTE This functionality is for geospatial features only. For information about
editing native drawing objects, see the AutoCAD Help.
To edit a feature using feature editing commands
1 Make sure that you have specified that features will be checked out as
geospatial features in the Feature Editing Options dialog box (page 1929)
by selecting Geospatial Features in the Feature Checkout Options area.
2 Check out the feature. (page 696)
For more information, see Checking Out Features (page 695).
3 Right-click the feature. Click Edit Feature.
The appropriate feature editing command for the geometry will apply to
the feature.
4 Edit the Point, MultiPoint, LineString, MultiLineString, Polygon, or
MultiPolygon features.
For more information about editing these features see
MAPMULTIPOINTEDIT (page 1659), MAPLINESTRINGEDIT (page 1655),
MAPMULTILINESTRINGEDIT (page 1658), MAPPOLYGONEDIT (page 1665),
and MAPMULTIPOLYGONEDIT (page 1662).
5 Check in the revised features.
For more information, see Checking In Features (page 693).

Splitting Features
To split a feature into two parts, for example a parcel, use the
MAPFEATURESPLIT (page 1652) command. The resulting feature property values

Editing Features | 705

are determined by the rules specified in the Split and Merge Rules dialog box
(page 1669).
You can choose to ignore the rules specified in the Split and Merge Rules dialog
box (page 1669) by turning on Ignore Split and Merge Rules.
NOTE This functionality is for geospatial features only. For information about
splitting drawing objects, see Splitting Polygon Objects (page 968).

Split Prompt Options
When you split a feature, you are prompted during the operation. You can
set defaults for some of these options (page 1929) and specify whether to display
those prompts during the split operation or not.
■

Create New/Create Multi-part: Click Create New to split the feature into
two pieces. To creating more pieces, click Create Multi-part.

■

Generate New Feature ID/Use Existing: Click New to auto-generate a
unique identifier for the new features. Click Existing to assign the ID of
the original feature to all resulting features.

■

Would You Like To Draw Or Select The Line For The Split: Click Draw to
draw a line through the original feature where the split should occur. Click
Select to select an existing line or polygon in the original feature that
indicates the location of the split.

Splitting Features with Polygons
If you use a polygon (or mpolygon) to split a feature, the output is divided
into two groups (inside and outside). The groups are collected into as few
multipart types as possible without creating heterogeneous geometric types.
A multipart feature is created for each distinct geometric type (point, line,
polygon) that was in the input.
In the following example, a polygon was used to split a line. The lines outside
the polygon become a multiline feature.

706 | Chapter 6 Creating and Editing Data

The line segment inside the polygon becomes a
line feature (shown in blue on the right). The line
segments outside the polygon become a multiline
feature (shown in red).

Tell me more
■

Show me how to split a parcel feature.

■

To create split/merge rules using expressions

■

To set split prompt options (page 709)

■

To turn Ignore Split And Merge Rules
on or off (page 708)

■

To split a feature (page 708)

■

Lesson 2: Split a Polygon Feature

■

Split a Feature

■

Split a parcel in two and divide attributes.

■

Editing Features (page 701)

■

Using Expressions In Split/Merge Rules

■

Creating Calculated Properties (page
1132)

Video

Procedure

Tutorial

Workflow

GIS Skill

Related topics

Editing Features | 707

NOTE This procedure is for geospatial features only. For information about splitting
drawing objects, see To split a polygon object (page 969).
To split a feature
1 Optionally, specify split rules.
NOTE To set these rules (page 1669), in the Data Table click Options ➤ Set
Split and Merge Rules.
2 Optionally, specify split prompts.
NOTE To set these options (page 1929), in the Tool-based Ribbon Workspace,
click Feature Edit tab ➤ Edit Set Panel ➤ angle arrow.
3 Select the feature.
4 If you do not have Auto Checkout turned on, check out the feature.
For more information, see Checking Out Features (page 695).

5 Feature Edit tab ➤ Split/Merge panel ➤ Split Feature
6 Follow the MAPFEATURESPLIT (page 1652) prompts to specify whether the
resulting feature will be a new or a multipart feature.
NOTE If you specified these options in the Feature Editing Options dialog
box (page 1929) and selected Do Not Show These Prompts When Executing
Split, you will not see the first two prompts.
7 Follow the prompts to specify whether the resulting feature will use a
new or existing feature ID.
8 Follow the prompts to select or draw a split line.
9 Check in the revised features.
For more information, see Checking In Features (page 693).
To turn Ignore Split And Merge Rules on or off
■

In the Tool-based Ribbon Workspace, click Feature Edit tab ➤ Split/Merge
panel ➤ Ignore Rules .

708 | Chapter 6 Creating and Editing Data

NOTE To change the default setting for Ignore Split And Merge Rules, at the
Command prompt, type MAPIGNORESPLITMERGERULES (page 1653) and specify
Yes or No as the default.
To set split prompt options
1 In the Tool-based Ribbon Workspace, click Feature Edit tab ➤ Edit Set
Panel ➤ angle arrow, or enter mapfeatureeditoptions at the Command
prompt.
2 In the Feature Editing Options dialog box (page 1929), select the Split
Prompt Options you want.
3 Click OK.

Quick Reference
MAPFEATURESPLIT
Splits features and assigns feature property values for resulting features
Menu

Modify menu ➤ Split

Icon
Split
Command Line

MAPFEATURESPLIT

MAPIGNORESPLITMERGERULES
Determines whether or not the rules for split and merge are used
Menu

Not available on the menu in the current workspace

Command Line

MAPIGNORESPLITMERGERULES

Dialog Box

MAPIGNORESPLITMERGERULES

Merging Features
When you want to merge two or more features, for example separate line
segments that represent the same road, use the MAPFEATUREMERGE (page
1651) command. The resulting feature property values are determined by the
rules specified in the Split and Merge Rules dialog box (page 1669). To ignore

Editing Features | 709

rules specified in this dialog box, turn on Ignore Split and Merge rules (see To
turn Ignore Split And Merge Rules on or off (page 708)).
You can merge two or more features of the same class into one feature. You
can also merge features with drawing objects. You can specify a new or existing
feature ID for the resulting feature.
NOTE This functionality is for geospatial features only. For information about
working with drawing objects, see the AutoCAD Help.

Tell me more
■

To create split/merge rules using expressions

■

To turn Ignore Split And Merge Rules
on or off (page 708)

■

To merge features (page 710)

■

Merge Features

■

Editing Features (page 701)

■

Using Expressions In Split/Merge Rules

■

Creating Calculated Properties (page
1132)

Procedure

Workflow

Related topics

NOTE This procedure is for geospatial features only. For information about working
with drawing objects, see the AutoCAD Help.
To merge features
1 Optionally, specify merge rules (page 1669).
NOTE To set these rules (page 1669), in the Data Table click Options ➤ Set
Split and Merge Rules.
2 If you do not have Auto Checkout turned on, check out the feature(s).
For more information, see Checking Out Features (page 695).
3 Select at least two objects, including at least one feature.

710 | Chapter 6 Creating and Editing Data

4 Click Feature Edit tab ➤ Split/Merge panel ➤ Merge Feature

.

5 Follow the MAPFEATUREMERGE (page 1651) prompts to specify whether
the resulting feature will use a new or existing feature ID.
6 Check in the merged feature.
For more information, see Checking In Features (page 693).

Quick Reference
MAPFEATUREMERGE
Merges features and assigns feature property values for the resulting feature
Menu

Click Feature Edit tab ➤ Split/Merge panel ➤ Merge
Feature.

Icon
Merge
Command Line

MAPFEATUREMERGE

MAPIGNORESPLITMERGERULES
Determines whether or not the rules for split and merge are used
Menu

Not available on the menu in the current workspace

Command Line

MAPIGNORESPLITMERGERULES

Dialog Box

MAPIGNORESPLITMERGERULES

Editing Features using the Data Table
Use the Data Table to view and edit features. Select data in the Data Table
window or select areas of your map to see their data in the table.
NOTE When you edit feature data in the Data Table, the corresponding geometry
is checked out and locked, if possible. You must check in the geometry when you
are finished editing.

Editing Features | 711

NOTE This functionality is for geospatial features only. For information about
editing attributes associated with drawing objects, see Working with Attribute
Data and Object Data (page 1047).
See also:
■

Overview of the Data Table (page 1125)

■

Setting Up Constraints in the Schema Editor (page 599)

■

Checking Out Features (page 695)

■

Checking In Features (page 693)

■

Updating Edits Automatically (page 698)

■

Editing Features (page 701)

■

Viewing and Editing Feature Properties (page 718)

NOTE This procedure is for geospatial features only. For information about editing
attributes associated with drawing objects, see To use attribute data and object
data (page 1047).
To edit features using the Data Table
1 In Map Explorer (page 2068), expand the Data Source entry and select the
feature layer to edit.
2 Click

.

The Data Table window opens, displaying the feature data contained in
your map. If you have joined data (page 507) to a layer in your map, the
joined data is displayed, but it is gray. You cannot edit it in the Data
Table. Instead, select the original data source and update that in the Data
Table. Your changes will appear the next time you display this data as
joined data.
3 Select and edit cells in the Data Table window.
When you edit data related to a feature, that feature is checked out
automatically (and the Update Edits Automatically setting is turned on).
Non-feature data cannot be checked out, so all edits to that type of data
are written back to their underlying sources immediately. You cannot
edit non-feature data unless you are connected to its source. See Updating
Edits Automatically (page 698).

712 | Chapter 6 Creating and Editing Data

Some data fields are “constrained” to allow only certain values. When
you enter values for constrained fields, you are prompted to enter only
valid values. For example, the prompt might tell you to enter only values
between one and ten.
4 Check in the revised features.
For more information, see Checking In Features (page 693).
5 Close the Data Table window when you are finished.

Quick Reference
MAPDATATABLE
Allows you to view, edit, and filter feature data
Menu

Click Edit ➤ Data Table.

Icon
Table
Command Line

MAPDATATABLE

Task Pane

In Map Explorer or Display Manager, click the Table
button

Dialog Box

Data Table Dialog Box

Using AutoCAD Commands on Features
To use AutoCAD commands on features
■
■
■

To edit features with AutoCAD commands (page 715)
To extract feature geometry (page 716)
To update feature geometry (page 717)

Editing Features with AutoCAD Commands
By default, many common AutoCAD editing commands (such as PEDIT, JOIN,
ROTATE, and TRIM) can be used on features directly.
NOTE You can use these commands, as well as all other AutoCAD commands,
on drawing objects in AutoCAD Map 3D.

Editing Features | 713

Use PEDIT on a single or multipart feature. You can edit polygonal features
and linear features (with or without M or Z values), but not point features.
You can use the Join option to connect linear features. For single linear features,
the feature ID for the first feature you selected is used for the resulting feature.
For multipart linear features, you can join only features whose end points
touch; the first selected feature is updated using the current Merge rules.
You can use the JOIN command on non-closed linear features with or without
M or Z values. If the features are all on the same layer, the geometry and
attributes of the source feature are updated, using the current Merge rules.
The joined feature is removed.
You can use the AutoCAD OSNAP modes when editing features. Snap to any
graphic within a block definition that is used to symbolize a point. You can
also use OSNAP Node to snap to the insertion point of of an attribute, a block,
a shape, or text. OSNAP Node is turned off by default.
If there is an AutoCAD operation you cannot perform on a feature, you can
extract the feature geometry (page 715), edit it using AutoCAD commands, and
then update the feature geometry (page 716). Feature data and rules are
preserved.
You can also merge AutoCAD geometry with existing features directly, without
extracting feature geometry first.
NOTE When you use EXPLODE on features, they are converted to AutoCAD
drawing objects.

Tell me more
■

Show me how to edit features using
automatic check-out.

■

To edit features with AutoCAD commands (page 715)

■

Edit Features in a Geospatial Feature
Source

■

Edit feature geometry directly in a SHP
file using CAD tools.

■

Edit features as polylines using PEDIT.

Video

Procedure

Workflow

GIS Skill

714 | Chapter 6 Creating and Editing Data

Related topics

■

Extracting Feature Geometry (page 715)

■

Updating Feature Geometry (page 716)

■

Checking Out Features (page 695)

■

Checking In Features (page 693)

■

Updating Edits Automatically (page
698)

NOTE You can use these commands, as well as all other AutoCAD commands,
on drawing objects in AutoCAD Map 3D.
To edit features with AutoCAD commands
1 If you do not have Auto Checkout turned on, check out the feature.
For more information, see Checking Out Features (page 695).
2 Do one of the following:
■

Enter an AutoCAD command and follow the prompts to select and
edit the feature.

■

Select the feature and use its grips to edit the feature.

■

Select the feature and then enter an AutoCAD command and follow
its prompts.

NOTE For help with AutoCAD commands, search for the command name
in the Help file or press F1 while you are using the command.
3 Check in the revised features.
For more information, see Checking In Features (page 693).

Extracting Feature Geometry
Extract the geometry from a feature to use AutoCAD commands that are not
available for features.
NOTE This functionality is for geospatial features only. There is no equivalent for
drawing objects.

Editing Features | 715

See also:
■

Editing Features (page 701)

■

Checking Out Features (page 695)

■

Checking In Features (page 693)

■

Updating Feature Geometry (page 716)

NOTE This procedure is for geospatial features only. There is no equivalent for
drawing objects.
To extract feature geometry
1 Check out the feature.
For more information, see Checking Out Features (page 695).
2 Right-click the feature. Click Extract Geometry From Feature.
After you make your changes, you can merge the updated geometry back into
the feature.

Quick Reference
Extract Feature Geometry
Creates new drawing objects from the selected feature geometry
Menu

Click Modify ➤ Advanced Feature Editing ➤ Extract
Geometry from Feature.

Icon
Extract Feature Geometry
Command Line

MAPEXTRACTFEATUREGEOMETRY

Updating Feature Geometry
You can merge new or existing drawing object geometry with a feature. If you
have extracted the geometry from a feature to edit it using AutoCAD, you
must update the feature geometry when you are finished editing.

716 | Chapter 6 Creating and Editing Data

You can use this command to combine spatially connected entities. For
example, you can use a line and an arc to update the geometry of a single
feature (resulting in one linestring or polyline). If the data store of a feature
does not support curves, this command transforms the curves into line
segments.
For polygons, this command allows you to work on the boundary geometry
instead of the polygon itself.
NOTE This functionality is for geospatial features only. There is no equivalent for
drawing objects.
See also:
■

Editing Features (page 701)

■

Checking Out Features (page 695)

■

Checking In Features (page 693)

■

Extracting Feature Geometry (page 715)

NOTE This procedure is for geospatial features only. There is no equivalent for
drawing objects.
To update feature geometry
1 Right-click the feature you want to merge with a drawing object. Click
Update Feature From Geometry.
2 When prompted, select the drawing object to merge. Press Enter.
3 When prompted to erase the drawing object, do one of the following:
■

Click Yes to erase the original drawing object.

■

Click No to keep the drawing object in the drawing.
Keep the object if you plan to use it to create other features. You can
store drawing objects on an AutoCAD layer and turn off visibility of
the layer.

4 Check in the edited feature.
For more information, see Checking In Features (page 693).

Editing Features | 717

Quick Reference
Update Feature from Geometry
Merges new or existing drawing object geometry with a feature
Menu

Click Modify ➤ Advanced Feature Editing ➤ Update
Feature from Geometry.

Icon
Update Feature Geometry
Command Line

MAPUPDATEFEATUREGEOMETRY

Viewing and Editing Feature Properties
View and edit the properties for one or more selected features in the Properties
palette. The properties are the same as those you can edit in the Data Table.
Your edits apply to all selected features in the selected layer. The feature source
is updated immediately if Update Edits Automatically is on.
You can select both drawing objects and geospatial features at the same time.
Use the drop-down list at the top of the Properties palette to switch between
viewing the properties of all selected entities, viewing feature properties only,
or viewing the properties for drawing objects by geometry type.
NOTE For more information about viewing properties for drawing objects, see
Properties Palette.
You can view the properties for up to 2000 features. If you select more features
than that, all of them will be selected in your map and in Data Table. However,
only the first 2000 features selected will be shown in the Properties palette.
When you select features on multiple layers, the drop-down list at the top of
the Properties palette indicates how many checked-out features are selected.
(If the features you selected are not checked out, the list shows only a single
selection for each layer.)
The General properties indicate whether the Feature Class shown is for one
or more layers, and whether the Feature ID is for one or more features. For
multiple layers or features, these fields contain the text “VARIES.”
Properties for all selected layers are shown. You can change the Filter By Layer
entry to see the properties for a single selected layer, or to switch between

718 | Chapter 6 Creating and Editing Data

selected layers. For example, if you selected features that are stored on four
different layers, select one of those layers to see its properties only. However,
any features that were selected on the other layers remain selected.
To set the value for a property to “NULL,” click in the value field and select
 from the drop-down list in that field. If  does not appear in
the list, the property cannot have a null value.
NOTE Do not enter the text string “Null.” This will not produce a null value, but
will be treated as a text string.
See also:
■

Editing Features using the Data Table (page 711)

■

Properties Palette

■

Updating Edits Automatically (page 698)

■

Setting Up Constraints in the Schema Editor (page 599)

■

Displaying and Editing Object Data for a Drawing Object (page 1068)

NOTE For more information about viewing properties for drawing objects, see
Properties Palette.
To edit feature properties in the Properties palette
1 Select the features and objects to edit.
To change a single value for multiple features (for example, to change
the zoning type for multiple parcels to Commercial), select only those
features.
NOTE You can select both features and drawing objects. However, you must
select either features or drawing object types to see any properties.
2 Right-click any selected feature or object and click Properties on the menu
that appears.
3 In the Properties palette, do any of the following:
■

To view only features, or only a particular type of drawing object,
change the selection in the drop-down list at the top of the Properties
palette.
To see only features, select Map Features from the list.

Editing Features | 719

Drawing objects are listed by their geometry type. For example, to see
only the properties for the line objects you selected, select Lines from
the list.
■

To see the properties for a single selected layer, or to switch between
selected layers, click the entry for Layer under Filter By Layer. Select
a layer.
For example, if you selected features that are stored on four different
layers, select one of those layers to see its properties only. Any features
that were selected on the other layers remain selected.

■

To change a value, click in its field and enter a new value.
If you enter a value that uses the wrong data type (for example, if you
enter text in a field that allows only numerals), the value reverts back
to the last valid value. If you specify a invalid date value in a date
field, you will see an error message.
For properties that have value constraints, click in the field to see a
list with the available values. If you enter an invalid value for a
constrained property, you will see an error message.
For other fields, hover over the property name to see information on
the acceptable values.
To set the value for a property to “NULL,” click in the value field and
select  from the drop-down list in that field. If  does
not appear in the list, the property cannot have a null value.
NOTE Do not enter the text string “Null.” This will not produce a null
value, but will be treated as a text string.
Your edits apply to all selected features in the selected layer. The
feature source is updated immediately if Update Edits Automatically
is on.
For more information on changing drawing object properties, see
Displaying and Editing Object Data for a Drawing Object (page 1068).

Quick Reference
PROPERTIES
Displays the Properties palette, which allows you to edit geometry, direction,
and resistance for selected topology objects

720 | Chapter 6 Creating and Editing Data

Menu

Click Modify ➤ Properties.

Icon
Properties
Command Line

PROPERTIES

Task Pane

Select objects. Right-click in drawing area ➤ Properties

Working Offline
When you work offline, AutoCAD Map 3D caches all your feature data
connections.
NOTE This functionality is for geospatial features only. For information about
working with shared drawing files, see Overview of Sharing Attached Drawings
(page 730).
Clear the cache periodically to improve performance. To be sure that you are
working with the most current data for a data source, rebuild its cache by
refreshing its layer.

Tell me more
■

Show me how to check out features for
editing in the field.

■

Show me how to edit features stored in
a database or data store.

■

Show me how to check in features after
editing in the field.

■

To work offline (page 722)

■

Edit Features in a Geospatial Feature
Source

■

Work Offline from an Enterprise Database

Video

Procedure

Workflow

Working Offline | 721

■

Check out features to edit in the field and
update the database later.

■

Bringing in GIS Features (page 303)

■

Editing Features (page 701)

■

Checking Out Features (page 695)

■

Checking In Features (page 693)

GIS Skill

Related topics

NOTE These procedures are for geospatial features only. For information about
working with shared drawing files, see Use these techniques for object locking.
(page 731)
■

To work offline (page 722)

■

To return online (page 722)

■

To clear the cache (page 723)

■

To rebuild the cache (page 723)

To work offline
1 Click Edit Feature tab ➤ Edit Set panel ➤ Automatic Update.
2 Check out the features you plan to use.
For more information, see Checking Out Features (page 695).
3 Click the Online/Offline toggle on the Status Bar.
NOTE AutoCAD Map 3D caches the feature source. This can take some time.

You can still check out and edit features while you are offline. When you
return online, AutoCAD Map 3D attempts to lock features that you checked
out while you were offline. Non-feature data cannot be checked out, so you
cannot edit it unless you are connected to its source.
To return online
1 Click the Offline/Online toggle on the Status Bar.

722 | Chapter 6 Creating and Editing Data

2 Check in the checked out features.
For more information, see Checking In Features (page 693).
To clear the cache

1 Click Map Setup tab ➤ Map panel ➤ angle-arrow.
2 In the AutoCAD Map Options dialog box (page 1908), click the System tab.
3 Click Clear Cache. Click OK.
To rebuild the cache
➤

Right-click a feature layer in Display Manager ➤ Refresh Layer.

Quick Reference
MAPWORKOFFLINE
Caches all checked-out features so you can work without being connected.
Icon
Command Line

Online/Offline toggle on the Status Bar
_MAPWORKOFFLINE

Managing Versions
For feature sources that support versioning, you can create a version, edit
objects in that version, and then merge (commit) changes from the child
version back to the parent version.
NOTE This functionality is for geospatial features only. For information about
working with shared drawing files, see Overview of Sharing Attached Drawings
(page 730).

Managing Versions | 723

Support for versioning depends on the feature source. However, the following
guidelines apply to most feature sources that support versioning:
■

Features queried from one version of the feature source can be saved back
to that version only. If you plan to edit features, be sure to query the
features from the version where you plan to save the edits.

■

Objects locked in one version of the feature source are automatically locked
in all versions (if the feature source supports locking). This reduces the
chance of a conflict where an object is edited in two versions of the feature
source.
Conflicts can still occur, for example if one version is edited offline. In
these cases, you must specify how to resolve the conflicts before you save
the version.

■

You must be working online and be connected to the data store to manage
versions.

■

You cannot save or discard a version if it has children.

■

You cannot save or discard a version if it has checked out features. You
must first unlock the objects by either checking them in or canceling check
out.

■

When you save or discard a version, all features in the drawing that were
queried from that version are removed from the drawing.

■

When you discard a version, all edits saved to that version are discarded.

■

You cannot undo saving or discarding a version.

Error handling
Errors can occur when you add, activate, drop, or merge versions. Some errors
may be caused by actions within the Manage Versions dialog box (page 1748),
while others may be the result of activity within the data store itself.
The affected item in the dialog box displays an error indicator. To see the
cause of the error, hold your cursor over this indicator. If you create a version
and the operation fails, you will see a new version with an error indicator.
The version has not really been created. It is a placeholder to display the error.
Errors remain visible until you close the dialog box, fix the errors, and redisplay
the dialog box.

724 | Chapter 6 Creating and Editing Data

See also:
■

Overview of Bringing In GIS Features (page 305)

■

Overview of Working with Features (page 684)

■

To create a new version (page 725)

■

To activate a version (page 725)

■

To commit changes back to the data store (page 726)

■

To discard a version (page 726)

NOTE These procedure are for geospatial features only. For information about
working with shared drawing files, see Use these techniques for object locking.
(page 731).
To create a new version
1 In Map Explorer (page 2068), right-click the feature source and click Manage
Versions.
This command is available only for feature sources that support
versioning.
2 In the Manage Versions dialog box (page 1748), select a version under
Version (in the lower half of the dialog box) and click Add.
3 Enter a name for the new version and an optional comment.
4 Click Close.
To activate a version
1 In Map Explorer (page 2068), right-click the feature source and click Manage
Versions.
2 In the Manage Versions dialog box (page 1748), select the version and click
Activate.
All queries are performed on the active version of the feature source.
Switching versions can take some time to execute, because the data store
may need to flush and reload the feature cache.
3 Click Close.

Managing Versions | 725

To commit changes back to the data store
1 Check in all features, or cancel checkout for them.
2 In Map Explorer (page 2068), right-click the feature source and click Manage
Versions.
3 In the Manage Versions dialog box (page 1748), select the version and click
Merge.
This option is available for child versions only. If you merge the active
version, its parent version is activated and then the selected version is
merged and removed from the Version tree.
You cannot merge a version if it has children.
4 Click Close.
To discard a version
1 Check in any checked out features, or cancel checkout for them.
2 Make sure that the parent version is not connected in any other drawing.
3 In Map Explorer (page 2068), right-click the feature source and click Manage
Versions.
4 In the Manage Versions dialog box (page 1748), select the version and click
Drop.
All edits saved to the version are discarded. This option is available for
child versions only. If you drop the active version, its parent version is
activated and then the selected version is dropped and removed from the
Version list.
You cannot drop a version if it has children.
5 Click Close.
To address errors
If an error occurs during version management, the affected item in the dialog
box displays an error indicator.
1 To see the cause of the error, hold your cursor over the error indicator.
If you create a version and the operation fails, you will see a new version
with an error indicator. The version has not really been created. It is a
placeholder to display the error.

726 | Chapter 6 Creating and Editing Data

2 If necessary, close the Manage Versions dialog box (page 1748) and correct
the error.
3 Redisplay the dialog box to make sure that the error has been cleared.

Working with Drawing Objects
To work with drawing objects
■
■
■
■
■
■

To edit data in attached drawings (page 729)
To clean up drawing data (page 765)
To create, edit, and manage topologies (page 821)
To use Map editing tools (page 927)
To work with polygon objects (page 954)
To use object classification (page 981)

Overview of Working with Drawing Objects
Create and edit drawing objects using AutoCAD and AutoCAD-based
commands.
NOTE This functionality is for drawing objects only. However, you can use many
AutoCAD commands to edit geospatial features as well. See Using AutoCAD
Commands on Features (page 713).

Tell me more

Video

■

Show me how multi-user editing works.

■

Show me how to clean up errors in my
data.

■

Show me how to create a network topology.

■

Use the following techniques to work
with drawing data. (page 728)

■

Exercise 2: Attach a drawing file

Procedure

Tutorial

Working with Drawing Objects | 727

■

Exercise 3: Query in data from the
drawing

■

Find and Edit Objects in Attached
Drawings

■

Edit DWG files in a multi-user environment.

■

Clean up duplicates, gaps, and other
accuracy problems in DWG files.

■

Create a network topology to show how
lines are connected.

■

Editing Data in Attached Drawings
(page 729)

■

Cleaning Up Drawing Data (page 765)

■

Creating, Editing, and Managing Topologies (page 820)

■

Using Map Editing Tools (page 926)

■

Working with Polygon Objects (page
954)

■

Using Object Classification (page 981)

Workflow

GIS Skill

Related topics

NOTE These procedures are for drawing objects only. However, you can use many
AutoCAD commands to edit geospatial features as well. See To use AutoCAD
commands on features (page 713).
Use the following techniques to work with drawing data.
To do this...

Use this method...

Work in a multiuser environment.

■

Turn on object locking. (page 733)

■

Find out who locked an object. (page
735)

■

Release locked objects for use by others. (page 736)

728 | Chapter 6 Creating and Editing Data

To do this...

Use this method...

Edit and save objects in attached drawings.

Query objects from attached drawings into
the current map, or edit objects from attached drawings and save them back.
(page 737)

Correct common map errors resulting from
surveying, digitizing, and scanning errors,
and remove unnecessary detail.

Use drawing cleanup. (page 767)

Use topology to analyze a set of objects
and data and their relationship.

Create node, network, or polygon topologies. (page 824)

Edit map-related data.

Use map editing tools. (page 927)

Digitize new points in existing maps with
precision.

Specify the exact coordinates of the points.
(page 953)

Work with polygon objects.

Use specialized polygon options. (page 954)

Indicate textual values on an object.

Use annotation. (page ?)

Organize drawing objects based on the
real-world features that they represent.

Use object classification. (page 1101)

Editing Data in Attached Drawings
NOTE These procedures are for drawing objects only. However, you can use many
AutoCAD commands to edit geospatial features as well. See To use AutoCAD
commands on features (page 713).
To edit data in attached drawings
■
■

To use object locking (page 730)
To edit and save objects (page 737)

Sharing Attached Drawings
■

Overview of Sharing Attached Drawings (page 730)

Editing Data in Attached Drawings | 729

■
■
■

Turning On Object Locking (page 733)
Finding Out Who Locked an Object (page 734)
Releasing All Locked Objects for a Specific User (page 736)

See also:
■

Editing and Saving Objects in Attached Drawings (page 737)

NOTE These procedures are for drawing objects only. For information about
locking geospatial feature data, see Checking Out Features (page 695).
To use object locking
■
■
■

To turn on object locking (page 733)
To find out who locked an object (page 735)
To release all locked objects (page 736)

Overview of Sharing Attached Drawings
Object locking lets multiple network users simultaneously retrieve, edit, and
save back different objects while working in the same attached drawing. If
object locking is not selected, only one user can have write access to an active
drawing.
NOTE This functionality is for drawing objects only. For information about locking
geospatial feature data, see Checking Out Features (page 695).

Tell me more
■

Show me how multi-user editing works.

■

To edit data in attached drawings
(page 729)

■

Exercise 2: Attach a drawing file

■

Exercise 3: Query in data from the
drawing

Video

Procedure

Tutorial

730 | Chapter 6 Creating and Editing Data

■

Find and Edit Objects in Attached
Drawings

■

Edit DWG files in a multi-user environment.

■

Turning On Object Locking (page 733)

■

Finding Out Who Locked an Object
(page 734)

■

Releasing All Locked Objects for a
Specific User (page 736)

Workflow

GIS Skill

Related topics

NOTE These procedures are for drawing objects only. For information about
locking geospatial feature data, see Checking Out Features (page 696).
Use these techniques for object locking.
To do this...

Use this method...

Turn on object locking.

Click Map Setup tab ➤ Map pan-

el ➤ angle-arrow.
See Turning On Object Locking (page 733).
Find out who has locked an object.

Click Home tab ➤ Data panel ➤

➤ Show Who Has It.
See Finding Out Who Locked an Object
(page 734)
Release locked objects.

Click Map Setup tab ➤ Map panel ➤

➤ Drawing Maintenance.
See Releasing All Locked Objects for a
Specific User (page 736).

Editing Data in Attached Drawings | 731

Quick Reference
MAPOPTIONS
Sets AutoCAD Map 3D options
Menu

Setup menu ➤ Autodesk Map Options

Icon
Options
Command Line

MAPOPTIONS

Task Pane

In Map Explorer, right-click Current
Drawing ➤ Options

Dialog Box

AutoCAD Map Options dialog box

ADEWHOHASIT
Displays the current owner of a selected locked object
Menu

Click File ➤ Drawing Save Set Options ➤ Who Has
It?.

Icon
Show Who Has It
Command Line

ADEWHOHASIT

Dialog Box

Who Has It Information dialog box

ADEDWGMAINT
Removes locks from objects
Menu

Setup menu ➤ More DWG Options ➤ Drawing
Maintenance

Command Line

ADEDWGMAINT

Task Pane

In Map Explorer, right-click Drawings ➤ Maintenance

Dialog Box

Drawing Maintenance dialog box

732 | Chapter 6 Creating and Editing Data

Turning On Object Locking
If object locking is enabled, two network AutoCAD Map 3D users can edit
different objects in the same drawing at the same time, but cannot edit the
same object at the same time.
NOTE This functionality is for drawing objects only. For information about locking
geospatial feature data, see Checking Out Features (page 695).
Any objects that you add to the save set are locked. Other users can view these
objects, but cannot save modifications back to the attached drawings until
you unlock the objects.
When you finish editing the objects, save them back to their attached drawings.
The objects are automatically unlocked.
Only a superuser (page 2075) can change object locking settings. See Setting Up
Users and Assigning Rights (page 82).
See also:
■

Logging Into AutoCAD Map 3D (page 141)

■

Sharing Attached Drawings (page 729)

NOTE You must have superuser (page 2075) privileges to change the Enable Object
Locking setting. See Setting Up Users and Assigning Rights (page 82).
NOTE These procedures are for drawing objects only. For information about
locking geospatial feature data, see Checking Out Features (page 696).
To turn on object locking
1 In the Tool-based Workspace, click Map Setup tab ➤ Map panel ➤
angle-arrow.
2 In the AutoCAD Map Options dialog box (page 1908), select the Multi User
tab.
3 Under Multi User Options, select Enable Object Locking.
4 Click OK.

Editing Data in Attached Drawings | 733

Quick Reference
MAPOPTIONS
Sets AutoCAD Map 3D options
Menu

Setup menu ➤ Autodesk Map Options

Icon
Options
Command Line

MAPOPTIONS

Task Pane

In Map Explorer, right-click Current
Drawing ➤ Options

Dialog Box

AutoCAD Map Options dialog box

Finding Out Who Locked an Object
Use the Who Has It operation at any time to find out who locked an object.
NOTE If the DWK file has been deleted, the user names are no longer available.
When this happens, AutoCAD Map 3D displays user names and drawing names
as *UNKNOWN*.
NOTE This functionality is for drawing objects only. For information about locking
geospatial feature data, see Checking Out Features (page 695).

Tell me more
■

Show me how multi-user editing works.

■

To edit data in attached drawings
(page 729)

■

Exercise 2: Attach a drawing file

■

Exercise 3: Query in data from the
drawing

Video

Procedure

Tutorial

734 | Chapter 6 Creating and Editing Data

■

Find and Edit Objects in Attached
Drawings

■

Edit DWG files in a multi-user environment.

■

Turning On Object Locking (page 733)

■

Sharing Attached Drawings (page 729)

■

Releasing All Locked Objects for a
Specific User (page 736)

Workflow

GIS Skill

Related topics

NOTE This procedure is for drawing objects only. For information about locking
geospatial feature data, see Checking Out Features (page 696).
To find out who locked an object

1 Home tab ➤ Data panel ➤

➤ Show Who Has It

2 Select the object.
The Who Has It Information dialog box (page 1889) displays the name of the
user who has the object locked, the drawing that the object comes from, the
name of the current drawing, and the date and time the object was locked.

Quick Reference
ADEWHOHASIT
Displays the current owner of a selected locked object
Menu

Click File ➤ Drawing Save Set Options ➤ Who Has
It?.

Icon
Show Who Has It
Command Line

ADEWHOHASIT

Dialog Box

Who Has It Information dialog box

Editing Data in Attached Drawings | 735

Releasing All Locked Objects for a Specific User
If a system failure occurs while objects are locked, you must manually release
the object locks. However, only a superuser (page 2075) can remove locks set by
other users.
NOTE If a drawing is activated in another user's drawing, you will not be able to
release locks in that drawing.
When you remove locks, the object is also removed from the save set. You
can restore the locks by adding the objects to the save set again.
NOTE This functionality is for drawing objects only. For information about locking
geospatial feature data, see Checking Out Features (page 695).
See also:
■

Logging Into AutoCAD Map 3D (page 141)

■

Turning On Object Locking (page 733)

■

Sharing Attached Drawings (page 729)

NOTE This procedure is for drawing objects only. For information about locking
geospatial feature data, see Checking Out Features (page 696).
To release all locked objects

1 Click Map Setup tab ➤ Map panel ➤

➤ Drawing Maintenance.

2 In the Drawing Maintenance dialog box (page 1920), under Active Drawings,
select the drawing that contains the locks to release.
3 Select User List.
The names of the users responsible for the locks appear under User Name.
The number of objects locked by each user appears under Number of
Objects Locked.
4 Select Remove Locks.
If you do not have superuser (page 2075) privileges, you can remove only the
locks that you have set. AutoCAD Map 3D removes the objects from the save
set.

736 | Chapter 6 Creating and Editing Data

If you have superuser privileges, you can select a user name and remove all
the locks set by that user.

Quick Reference
ADEDWGMAINT
Removes locks from objects
Menu

Setup menu ➤ More DWG Options ➤ Drawing
Maintenance

Command Line

ADEDWGMAINT

Task Pane

In Map Explorer, right-click Drawings ➤ Maintenance

Dialog Box

Drawing Maintenance dialog box

Editing and Saving Objects in Attached Drawings
■
■
■
■
■
■
■
■
■
■
■
■
■

Overview of Editing and Saving Objects in Attached Drawings (page 738)
Zooming to the Extents of Selected Drawings (page 743)
Viewing All Objects in Selected Attached Drawings (page 745)
Editing Objects in Attached Drawings (page 747)
Adding an Object to the Save Set (page 750)
Viewing Objects in the Save Set (page 752)
Saving Queried Objects Back to Attached Drawings (page 753)
Saving New Objects to Attached Drawings (page 754)
Saving Objects to the Current Drawing (page 756)
Saving Objects to a New Drawing (page 758)
Removing an Object from the Save Set (page 759)
Solving Problems When Saving Back to Attached Drawings (page 760)
Setting Save Back Options (page 763)

NOTE These procedures are for drawing objects only. For information about saving
geospatial feature data back to its source, see Checking In Features (page 694).
To edit and save objects
■
■
■

To zoom to the extents of selected drawings (page 745)
To view objects in source drawings (page 746)
To edit objects in attached drawings (page 748)

Editing Data in Attached Drawings | 737

■
■
■
■
■
■
■
■
■
■
■
■

To save the edited objects back to their attached source drawings (page
749)
To add objects to the save set and lock the objects (page 751)
To view objects in the save set (page 752)
To save queried objects back to attached source drawings (page 754)
To save new objects to attached drawings (page 756)
To save objects to the current drawing (page 757)
To save objects to a new drawing (page 758)
To remove objects from the save set and unlock the objects (page 759)
To redefine block definitions on save back (page 761)
To save back individual block components (page 762)
To check that the hatch pattern is in the save set (page 762)
To set editing and save back options (page 764)

Overview of Editing and Saving Objects in Attached Drawings
When you use AutoCAD Map 3D with multiple drawings, you can query
objects from attached drawings into the current drawing and create new
drawings, or you can edit the objects from the attached drawings and then
save them back.
NOTE This functionality is for drawing objects only. For information about saving
geospatial feature data back to its source, see Checking In Features (page 693).

Tell me more
■

Show me how multi-user editing works.

■

To edit and save objects (page 737)

■

Exercise 2: Attach a drawing file

■

Exercise 3: Query in data from the
drawing

■

Find and Edit Objects in Attached
Drawings

Video

Procedure

Tutorial

Workflow

738 | Chapter 6 Creating and Editing Data

■

Edit DWG files in a multi-user environment.

■

Overview of Queries (page 1235)

■

Editing Data in Attached Drawings
(page 729)

■

Cleaning Up Drawing Data (page 765)

■

Using Map Editing Tools (page 926)

■

Working with Polygon Objects (page
954)

GIS Skill

Related topics

NOTE These procedures are for drawing objects only. For information about saving
geospatial feature data back to its source, see Checking In Features (page 694).
To do this...

Use this method...

Zoom to the extents of selected drawings

In Map Explorer, right-click Drawings. Click
Zoom Extents.
See Zooming to the Extents of Selected
Drawings (page 743)

View objects in source drawings

In Map Explorer, right-click Drawings. Click
Quick View.
See Viewing All Objects in Selected Attached Drawings (page 745)

Edit objects in attached drawings

1 Run a query (page 1235) to retrieve the
objects to edit.

2 Click Home tab ➤ Data panel ➤
➤ Add To Save Set.
the objects to edit.

Select

See Editing Objects in Attached Drawings
(page 747)

Editing Data in Attached Drawings | 739

To do this...

Use this method...

Add objects to the save set and lock the
objects

Click Home tab ➤ Data panel ➤

➤ Add To Save Set.
See Adding an Object to the Save Set
(page 750)
View objects in the save set

Click Home tab ➤ Data panel ➤

➤ Show Objects In Save Set.
See Viewing Objects in the Save Set (page
752)
Save objects back to attached source
drawings

Add objects to the save set. Click Home
tab ➤ Data panel ➤

➤ Save To

Source.
See Saving Queried Objects Back to Attached Drawings (page 753) and Saving
New Objects to Attached Drawings (page
754)
Save objects to the current drawing or a
new drawing.

Click

➤ Save.

Click
➤ Save As ➤ AutoCAD
Drawing.
See Saving Objects to the Current Drawing
(page 756) and Saving Objects to a New
Drawing (page 758).
Set editing and save back options

Click Map Setup tab ➤ Map pan-

el ➤ angle-arrow.
See Setting Save Back Options (page 763)

740 | Chapter 6 Creating and Editing Data

Quick Reference
ADEZEXTENTS
Zooms to display the drawing extents
Menu

Click Map ➤ Drawings ➤ Zoom Drawing Extents.

Icon
Zoom Drawing Extents
Command Line

ADEZEXTENTS

Task Pane

In Map Explorer, right-click Drawings ➤ Zoom Extents

Dialog Box

Zoom Drawing Extents dialog box

ADEQVIEWDWGS
Performs a quick display of active drawings
Menu

View menu ➤ Quick View Drawings

Command Line

ADEQVIEWDWGS

Task Pane

In Map Explorer, right-clickDrawings ➤ Quick
View-or- Right-click a drawing ➤ Quick View

Dialog Box

Quick View Drawings dialog box

ADEQUERY
Controls defining, modifying, saving, loading, and executing a query
Menu

In the Classic workspace, click Setup menu ➤ More
DWG Options ➤ Define Query

Icon
Define Query
Command Line

ADEQUERY

Task Pane

In Map Explorer, right-click Current Query ➤ Define
-or- Right-click a query ➤ Edit

Dialog Box

Define Query dialog box

ADESELOBJS

Editing Data in Attached Drawings | 741

Creates a set of objects to be saved to source drawings
Menu

File menu ➤ Drawing Save Set Options ➤ Add Items
To Save Set

Icon
Add Objects to Save Set
Command Line

ADESELOBJS

Dialog Box

ADESELOBJS (Select Objects for Save Back command)

ADEREMOBJS
Removes objects from the save set so they aren't saved to source drawings
Menu

File menu ➤ Drawing Save Set Options ➤ Remove
Items From Save Set

Icon
Remove Objects from Save Set
Command Line

ADEREMOBJS

Dialog Box

ADEREMOBJS (Remove Objects from Save Set
command)

ADESAVEOBJS
Saves objects in the save set back to source drawings
Menu

In the Classic workspace, click File menu ➤ Save
Source Drawing Save Set

Icon
Save to Source Drawings
Command Line

ADESAVEOBJS

Dialog Box

Save Objects to Source Drawings dialog box

SAVE
Saves the drawing under the current file name or a specified name
Menu

File menu ➤ Save

Command Line

SAVE

742 | Chapter 6 Creating and Editing Data

SAVEAS
Saves an unnamed drawing with a file name or renames the current drawing
Menu

File menu ➤ Save As

Command Line

SAVEAS

MAPOPTIONS
Sets AutoCAD Map 3D options
Menu

Setup menu ➤ Autodesk Map Options

Icon
Options
Command Line

MAPOPTIONS

Task Pane

In Map Explorer, right-click Current
Drawing ➤ Options

Dialog Box

AutoCAD Map Options dialog box

Zooming to the Extents of Selected Drawings
Use Zoom Extents to zoom the current drawing to the extents of the selected
source drawings. Adjust the current drawing extents to view all objects after
you execute a query.

Editing Data in Attached Drawings | 743

The drawing coordinates in the lower-left corner of the screen reflect the new
extents of the current drawing.

744 | Chapter 6 Creating and Editing Data

NOTE You can also zoom to the extents of a particular geospatial feature layer in
the Display Manager. Right-click the layer and click Zoom To Extents.
See also:
■

Setting Save Back Extents (page 170)

To zoom to the extents of selected drawings
1 In Map Explorer, right-click Drawings. Click Zoom Extents.
2 In the Zoom Drawing Extents dialog box (page 2014), select the drawings
to view.
3 Click OK.
The command zooms the current drawing to the extents of the selected source
drawings. The drawing coordinates in the lower-left corner of your screen
reflect the new extents of the current drawing.
NOTE You can also zoom to the extents of a particular geospatial feature layer in
the Display Manager. Right-click the layer and click Zoom To Extents.

Quick Reference
ADEZEXTENTS
Zooms to display the drawing extents
Menu

Click Map ➤ Drawings ➤ Zoom Drawing Extents.

Icon
Zoom Drawing Extents
Command Line

ADEZEXTENTS

Task Pane

In Map Explorer, right-click Drawings ➤ Zoom Extents

Dialog Box

Zoom Drawing Extents dialog box

Viewing All Objects in Selected Attached Drawings
Use Quick View to preview the contents of one or more active source drawings.

Editing Data in Attached Drawings | 745

NOTE This functionality is for drawing objects only. There is no equivalent for
geospatial feature data.

Quick View shows all objects in the selected source drawings.

You can plot the results of a Quick View.
NOTE Quick View displays objects but does not bring them into the drawing. The
display contains one selectable picture for each source drawing. To bring objects
into the current drawing, define a query that copies the objects from the source
drawing into the current drawing. Quick View does not display shapes.
See also:
■

Overview of Queries (page 1235)

NOTE This procedure is for drawing objects only. There is no equivalent for
geospatial feature data.
To view objects in source drawings
1 In Map Explorer, right-click Drawings. Click Quick View.

746 | Chapter 6 Creating and Editing Data

2 In the Quick View Drawings dialog box (page 2013), select the drawings to
quick view.
To control the display of nested drawings, select them individually.
3 To filter the list of active drawings on the basis of file names, descriptions,
or both, click Filter, specify the filter, and click OK. Then select Filter.
4 Select Zoom To The Extents Of Selected Drawings to see the extents of
all the drawings to review with Quick View.
5 Click OK.
The objects in the active source drawing appear. Although you see many
objects, each set of objects appears as a single object from each drawing.
If you attempt to select several objects, AutoCAD Map 3D reports “one
object found” for each of the source drawings.
You can zoom and pan, but you cannot select or edit individual objects. When
you regenerate or redraw, the pictures are cleared from the current drawing.
To edit the objects, define a query that copies the objects from the source
drawing into the current drawing. For more information, see Overview of
Queries (page 1235).

Quick Reference
ADEQVIEWDWGS
Performs a quick display of active drawings
Menu

View menu ➤ Quick View Drawings

Command Line

ADEQVIEWDWGS

Task Pane

In Map Explorer, right-clickDrawings ➤ Quick
View-or- Right-click a drawing ➤ Quick View

Dialog Box

Quick View Drawings dialog box

Editing Objects in Attached Drawings
To view and edit objects in attached drawings, create a query that specifies
the objects you want. When you run the query, AutoCAD Map 3D finds all
the objects in the attached drawings that match the query criteria, and copies
those objects to the current drawing.

Editing Data in Attached Drawings | 747

Example: You have separate drawings for each quadrant of a town. You create
a main drawing and attach the other drawings, and then view all water mains
in the town or all emergency routes.
NOTE This functionality is for drawing objects only. To filter geospatial feature
data with a query, see Filtering Features When You Add Them to a Map (page
309).
You can save the queried objects back to their attached drawings by adding
them to the save set before you edit them. When you save the current drawing,
AutoCAD Map 3D prompts you to save the objects in the save set back to their
attached drawings. If you do not add modified objects to the save set, you can
save the modifications to the current drawing or to a new drawing, but the
changes are not saved back to the attached drawings.
Markup objects are not added to the save set. To copy them from the current
drawing to an attached drawing, open the attached drawing directly. Copy
the markup objects in the current drawing and paste them into the other
drawing.
WARNING If you work with an attached drawing from a previous release and
save back your changes, AutoCAD Map 3D updates the attached drawing to the
current format. To retain the attached drawing in the previous drawing format,
do not save back your changes.
See also:
■

Overview of Queries (page 1235)

■

Editing and Saving Objects in Attached Drawings (page 737)

NOTE This procedure is for drawing objects only. To filter geospatial feature data
with a query, see Filtering Features When You Add Them to a Map (page 310).
To edit objects in attached drawings
1 Run a query (page 1235) to retrieve the objects to edit.

2 Click Home tab ➤ Data panel ➤
the objects to edit.

➤ Add To Save Set.

Select

AutoCAD Map 3D locks the objects in the attached drawings so no other
users can modify them.

748 | Chapter 6 Creating and Editing Data

3 Edit the objects.
To save the edited objects back to their attached source drawings

➤

Click Home tab ➤ Data panel ➤

➤ Save To Source.

Quick Reference
ADEQUERY
Controls defining, modifying, saving, loading, and executing a query
Menu

In the Classic workspace, click Setup menu ➤ More
DWG Options ➤ Define Query

Icon
Define Query
Command Line

ADEQUERY

Task Pane

In Map Explorer, right-click Current Query ➤ Define
-or- Right-click a query ➤ Edit

Dialog Box

Define Query dialog box

ADESAVEOBJS
Saves objects in the save set back to source drawings
Menu

In the Classic workspace, click File menu ➤ Save
Source Drawing Save Set

Icon
Save to Source Drawings
Command Line

ADESAVEOBJS

Dialog Box

Save Objects to Source Drawings dialog box

Editing Data in Attached Drawings | 749

Adding an Object to the Save Set
If you modify an object that was queried from an attached drawing, AutoCAD
Map 3D prompts you to add the object to the save set, which locks the object.
If an object is locked, other users cannot modify the object.
TIP Lock the objects before you edit them. This ensures that other users are not
modifying the same objects. To lock an object before editing, manually add the
object to the save set.
When you save changed objects back to attached drawings, only objects in
the save set are saved back.
NOTE You can set an option (page 763) to automatically add modified objects to
the save set without prompting, or you can turn the prompt off.
New objects are not automatically added to the save set. You must manually
add them to the save set.
NOTE This functionality is for drawing objects only. To save edits back to geospatial
feature sources, see Checking In Features (page 693) and Updating Edits
Automatically (page 698).

Additional Information
Keep these points in mind as you modify objects and add them to the save
set:
■

If an object is on a locked layer in the attached drawing or you are working
in the Layout tab, you cannot add the object to the save set.

■

If your system administrator has enabled object locking (page 729), AutoCAD
Map 3D locks the objects in the attached drawing when you add the objects
to the save set.

■

By breaking a queried object into two pieces using the BREAK, TRIM,
FILLET, CHAMFER, or EXPLODE commands, you create both an altered
queried object and a new object. When you save back the objects, the
queried object is automatically saved back to its attached source drawing,
and the new object is automatically added to the save set. However, the
new object does not have an associated attached drawing; you must specify
the drawing to which it will be saved.

■

If you experience a system failure while objects are locked, use the Drawing
Maintenance command to release the object locks (page 736).

750 | Chapter 6 Creating and Editing Data

■

AutoCAD Map 3D cannot save edits back to a detached drawing. If you
query and edit objects from an attached drawing, do not detach that
drawing from the current drawing before you perform the save back
operation.

■

If you decide you do not want to save changes to an object back to the
attached source drawing, remove the object from the save set. The changes
are maintained in the current drawing, but are not saved back to the
attached drawing.

■

If you delete an object after adding it to the save set, you can restore it by
removing erased objects from the save set. AutoCAD Map 3D restores all
erased objects in the save set.

■

After you add objects to the save set, you can undo the operation using
the UNDO command.

See also:
■

Removing an Object from the Save Set (page 759)

■

Releasing All Locked Objects for a Specific User (page 736)

■

Sharing Attached Drawings (page 729)

■

Setting Save Back Options (page 763)

■

Solving Problems When Saving Back to Attached Drawings (page 760)

NOTE This procedure is for drawing objects only. To save edits back to geospatial
feature sources, see Checking In Features (page 694)and Updating Edits
Automatically (page 700).
To add objects to the save set and lock the objects

1 Click Home tab ➤ Data panel ➤

➤ Add To Save Set.

2 At the ADESELOBJS (Select Objects for Save Back command) (page
1886)prompt, enter n to add all new objects to the save set, or enter s and
select the objects to add.

Editing Data in Attached Drawings | 751

Quick Reference
ADESELOBJS
Creates a set of objects to be saved to source drawings
Menu

File menu ➤ Drawing Save Set Options ➤ Add Items
To Save Set

Icon
Add Objects to Save Set
Command Line

ADESELOBJS

Dialog Box

ADESELOBJS (Select Objects for Save Back command)

Viewing Objects in the Save Set
Objects that you have added to the save set are locked. You can highlight
these locked objects in your drawing.
NOTE This functionality is for drawing objects only. For information about editing
geospatial feature data, see Checking Out Features (page 695).
See also:
■

Adding an Object to the Save Set (page 750)

■

Removing an Object from the Save Set (page 759)

■

Turning On Object Locking (page 733)

NOTE This procedure is for drawing objects only. For information about editing
geospatial feature data, see Checking Out Features (page 696).
To view objects in the save set

1 Click Home tab ➤ Data panel ➤
2 All locked objects are highlighted.
To remove the highlighting, press Enter.

752 | Chapter 6 Creating and Editing Data

➤ Show Objects In Save Set.

Quick Reference
ADESHOWOBJS
Displays the objects in the save set
Menu

File menu ➤ Drawing Save Set Options ➤ Show
Items In Drawing Save Set

Icon
Show Objects in Save Set
Command Line

ADESHOWOBJS

Dialog Box

ADESHOWOBJS (Show Objects in Save Set command)

Saving Queried Objects Back to Attached Drawings
Objects saved back to their attached drawings replace the original objects.
AutoCAD Map 3D lets you save objects to attached drawings in read-only
directories.
You cannot undo a Save To Source Drawings operation. Once you perform a
Save DWG Save Set operation, attached drawings contain the modified objects.
WARNING If you work with an attached drawing from a previous release and
save back your changes, AutoCAD Map 3D updates the attached drawing to the
current format. To retain the attached drawing in the previous drawing format,
do not save back your changes.
See also:
■

Adding an Object to the Save Set (page 750)

■

Removing an Object from the Save Set (page 759)

■

Sharing Attached Drawings (page 729)

■

Solving Problems When Saving Back to Attached Drawings (page 760)

Editing Data in Attached Drawings | 753

To save queried objects back to attached source drawings
1 To make sure that objects are in the save set, click Home tab ➤ Data
panel ➤

➤ Show Objects In Save Set.

Click Home tab ➤ Data panel ➤
the objects to save.

2 Click Home tab ➤ Data panel ➤

➤ Add To Save Set.

Select

➤ Save To Source.

3 In the Save Objects to Source Drawings dialog box (page 1887), select Save
Queried Objects.
4 Click OK.

Quick Reference
ADESAVEOBJS
Saves objects in the save set back to source drawings
Menu

In the Classic workspace, click File menu ➤ Save
Source Drawing Save Set

Icon
Save to Source Drawings
Command Line

ADESAVEOBJS

Dialog Box

Save Objects to Source Drawings dialog box

Saving New Objects to Attached Drawings
To add new objects to attached drawings, select save order options for the new
objects.
■

Selective — Prompts you to select the objects to save to each attached
drawing.

■

Area — Saves new objects in to the attached drawing within whose save
back extents the objects lie. By default, the save back extents correspond

754 | Chapter 6 Creating and Editing Data

to the drawings extents. You can change the save back extents of attached
drawings.

The newly created arc crosses three tiled attached drawings. It is saved to the first
drawing in the list of attached drawings. Drawings are listed in the order in which you
attach them.
■

Layer — Saves new objects to attached drawing layers that use the same
names as the current drawing layers on which the objects lie. If more than
one active drawing contains a given layer name, AutoCAD Map 3D saves
the object to the first drawing that contains that layer.

■

None — Disables all other save back options. For example, to specify the
objects to save and the attached drawing in which to save them manually,
set the first save back option to Selective, and set the other two options to
None.

If AutoCAD Map 3D is unable to save new objects using option 1, it uses the
setting for save order option 2, and so forth.
You can save objects to attached drawings located in read-only directories.
NOTE This functionality is for drawing objects only. To save edits back to geospatial
feature sources, see Checking In Features (page 693) and Updating Edits
Automatically (page 698).
See also:
■

Adding an Object to the Save Set (page 750)

■

Removing an Object from the Save Set (page 759)

■

Sharing Attached Drawings (page 729)

NOTE This procedure is for drawing objects only. To save edits back to geospatial
feature sources, see Checking In Features (page 694)and Updating Edits
Automatically (page 700).

Editing Data in Attached Drawings | 755

To save new objects to attached drawings
1 To add the objects to the save set, click Home tab ➤ Data panel ➤
➤ Add To Save Set.
Enter n to add all new objects to the save set,
or enter s and select the objects to add.

2 Click Home tab ➤ Data panel ➤

➤ Save To Source.

3 In the Save Objects to Source Drawings dialog box (page 1887), select Save
Newly Created Objects.
4 Specify the Save Order.
5 Select the drawings to save objects to.
6 Click OK.
When you use the Selective save method, select the objects to save to
each attached drawing.

Quick Reference
ADESAVEOBJS
Saves objects in the save set back to source drawings
Menu

In the Classic workspace, click File menu ➤ Save
Source Drawing Save Set

Icon
Save to Source Drawings
Command Line

ADESAVEOBJS

Dialog Box

Save Objects to Source Drawings dialog box

Saving Objects to the Current Drawing
When you query objects from attached drawings into the current drawing,
AutoCAD Map 3D creates an association between the original object in the
attached drawing and the copy of the object in the current drawing.

756 | Chapter 6 Creating and Editing Data

If you edit one of these queried objects, you can save the edited object back
to the attached drawing, or you can save the edited object to the current
drawing. If you save an object to the current drawing, the original object is
unchanged in the attached drawings.
TIP When you close the current drawing, the association between queried objects
and their attached drawings is removed. If you want to save changes back to the
original drawing, you must save back before you close the current drawing.
NOTE This functionality is for drawing objects only. To save edits back to geospatial
feature sources, see Checking In Features (page 693) and Updating Edits
Automatically (page 698).
See also:
■

Adding an Object to the Save Set (page 750)

■

Editing and Saving Objects in Attached Drawings (page 737)

■

Removing an Object from the Save Set (page 759)

NOTE This procedure is for drawing objects only. To save edits back to geospatial
feature sources, see Checking In Features (page 694)and Updating Edits
Automatically (page 700).
To save objects to the current drawing
1 Click

➤ Save.

2 If prompted to save objects to attached source drawings, do not do so at
this time, since this removes them from the current drawing.
To save the objects to both the current drawing and attached drawings, first
clear Erase Saved Back Objects on the Save Back tab (page 764) of the AutoCAD
Map Options dialog box (page 1908).

Quick Reference
SAVE
Saves the drawing under the current file name or a specified name

Editing Data in Attached Drawings | 757

Menu

File menu ➤ Save

Command Line

SAVE

Saving Objects to a New Drawing
When you save objects to a new drawing, you create a copy of the current
drawing, including objects, options, queries, and attached drawings. If you
queried objects from attached drawings, the original objects are unchanged
in the attached drawings.
NOTE This functionality is for drawing objects only. To save geospatial feature
edits to a new data store, see Migrating GIS Data (Bulk Copy) (page 617).
See also:
■

Overview of Queries (page 1235)

■

Editing and Saving Objects in Attached Drawings (page 737)

NOTE This procedure is for drawing objects only. To save geospatial feature edits
to a new data store, see Migrating GIS Data (Bulk Copy) (page 621).
To save objects to a new drawing
1 Run a query to retrieve the objects. Use Draw mode to copy the retrieved
objects to the current drawing.
2 Click

➤ Save As ➤ AutoCAD Drawing.

3 Enter a name for the new drawing.
4 If prompted to save objects to attached source drawings, do not do so at
this time, since this removes them from the current drawing.
To save the objects to both a new drawing and to attached drawings, first clear
Erase Saved Back Objects on the Save Back tab (page 764) of the AutoCAD Map
Options dialog box (page 1908).

Quick Reference
SAVEAS

758 | Chapter 6 Creating and Editing Data

Saves an unnamed drawing with a file name or renames the current drawing
Menu

File menu ➤ Save As

Command Line

SAVEAS

Removing an Object from the Save Set
Manually removing an object from the save set releases the lock on the object.
Generally, when you edit an object that was queried in from an attached
drawing, that object is locked so no one else can edit it. When you save objects
back to attached drawings, the locks are automatically removed. (To change
this default setting, use the Map Options command.)
NOTE This functionality is for drawing objects only. To save edits back to geospatial
feature sources, see Checking In Features (page 693) and Updating Edits
Automatically (page 698).
See also:
■

Adding an Object to the Save Set (page 750)

■

Editing and Saving Objects in Attached Drawings (page 737)

NOTE This procedure is for drawing objects only. To save edits back to geospatial
feature sources, see Checking In Features (page 694)and Updating Edits
Automatically (page 700).
To remove objects from the save set and unlock the objects
1 Click Home tab ➤ Data panel ➤

➤ Remove Objects From Save Set.

2 Enter s to select the objects to remove, or enter e to remove objects that
have been erased from the current drawing.
If you enter s, select the objects to remove from the save set. Press Enter
when you finish selecting objects.
3 Click OK.

Editing Data in Attached Drawings | 759

Quick Reference
ADEREMOBJS
Removes objects from the save set so they aren't saved to source drawings
Menu

File menu ➤ Drawing Save Set Options ➤ Remove
Items From Save Set

Icon
Remove Objects from Save Set
Command Line

ADEREMOBJS

Dialog Box

ADEREMOBJS (Remove Objects from Save Set
command)

Solving Problems When Saving Back to Attached Drawings
Several issues can arise when you save queried objects back to attached
drawings.
NOTE This functionality is for drawing objects only. There is no equivalent for
geospatial feature data.

Redefining Blocks on Save Back
When you retrieve a block, you can use the EXPLODE command to break the
block into its component elements. Edit the separate objects and then use the
BLOCK command to redefine the block.
To save the redefined block definition back to the attached source drawing,
select the Redefine Block Definitions On Save Back option on the Save Back
tab of the AutoCAD Map Options dialog box (page 1908). AutoCAD Map 3D
sets this option by default.

Exploding Blocks and Save Back
If you explode a block, the block definition is deleted and you are prompted
to add the separate objects to the save set. If you answer Yes and use the default
settings, the block components are erased and are not saved back. To save the
individual objects back to the attached source drawings, you must add the
individual components of the block to the save set.

760 | Chapter 6 Creating and Editing Data

Saving Back Dimensions
If you set a global coordinate system or use the Transform editing tool, you
might have problems saving back dimensions. If you use a location query to
retrieve one or more dimensions and save the dimension back to the attached
source drawings, you might find that another location query will not retrieve
the dimension. In this case, you should detach the source drawing and reattach
it before repeating the location query.

Saving Back Hatch Patterns
When you create an associative hatch pattern, information is written to the
boundary objects. When you add such a hatch pattern to a save set, the
boundary is also added to ensure data integrity.
When you modify a queried hatch boundary object, the geometry is modified
and AutoCAD Map 3D automatically updates the hatch pattern. You are
prompted to add the boundary to the save set. Even if you answer Yes, the
hatch pattern might not be added to the save set. Check that the hatch pattern
is in the save set before you save back the changed objects.
When you add an associative hatch pattern to the save set, AutoCAD Map 3D
attempts to add the boundary objects that define the hatch pattern. If all
boundary objects are not available, you cannot add the hatch pattern to the
save set.
See also:
■

Saving Queried Objects Back to Attached Drawings (page 753)

■

Saving New Objects to Attached Drawings (page 754)

■

Adding an Object to the Save Set (page 750)

■

Removing an Object from the Save Set (page 759)

NOTE This procedure is for drawing objects only. There is no equivalent for
geospatial feature data.
To redefine block definitions on save back

1 Click Map Setup tab ➤ Map panel ➤ angle-arrow.
2 In the AutoCAD Map Options dialog box (page 1908), click the Save Back
tab.

Editing Data in Attached Drawings | 761

3 Under Save Back To Source Drawings, select Redefine Block Definitions
On Save Back.
4 Click OK.
To save back individual block components

1 Click Home tab ➤ Data panel ➤

➤ Add To Save Set.

2 Select all the block components.
3 Press Enter.
To check that the hatch pattern is in the save set

1 Click Home tab ➤ Data panel ➤

➤ Show Objects In Save Set.

2 If the hatch pattern is not highlighted, make sure that all boundary objects
are added to the save set.

Quick Reference
ADESELOBJS
Creates a set of objects to be saved to source drawings
Menu

File menu ➤ Drawing Save Set Options ➤ Add Items
To Save Set

Icon
Add Objects to Save Set
Command Line

ADESELOBJS

Dialog Box

ADESELOBJS (Select Objects for Save Back command)

ADESHOWOBJS
Displays the objects in the save set
Menu

File menu ➤ Drawing Save Set Options ➤ Show
Items In Drawing Save Set

762 | Chapter 6 Creating and Editing Data

Icon
Show Objects in Save Set
Command Line

ADESHOWOBJS

Dialog Box

ADESHOWOBJS (Show Objects in Save Set command)

MAPOPTIONS
Sets AutoCAD Map 3D options
Menu

Setup menu ➤ Autodesk Map Options

Icon
Options
Command Line

MAPOPTIONS

Task Pane

In Map Explorer, right-click Current
Drawing ➤ Options

Dialog Box

AutoCAD Map Options dialog box

Setting Save Back Options
A number of options affect how queried objects are saved back to attached
drawings or feature sources. These options apply to the current drawing.
NOTE This functionality is for drawing objects only. For information on Automatic
Update options for geospatial feature data, see Updating Edits Automatically (page
698).

Save Set and Edit Set Options
■

Don't Add Objects Automatically — Edited objects are not added to the
save set, and you are not prompted to add them.
Use this option if you are creating a new drawing and are not planning to
save changes back to attached drawings. You can still manually add objects
to the save set (page 750).

■

Prompt To Add Objects — When you edit an object that was retrieved
from an attached drawing or a feature source, you are prompted to add
the object to the save set.

Editing Data in Attached Drawings | 763

Use this option if you plan to save some edited objects, but not others,
back to attached drawing or feature source.
■

Add Objects Automatically Without Prompting — When you edit an object
that was retrieved from an attached drawing or feature source, the object
is automatically added to the save set.
Use this option if you plan to save most modified objects back to attached
drawings and feature sources.

NOTE To add new objects to attached drawings, add them to the save set
manually. AutoCAD Map 3D does not prompt you to add them.
See also:
■

Adding an Object to the Save Set (page 750)

■

Saving Objects to the Current Drawing (page 756)

■

Saving New Objects to Attached Drawings (page 754)

■

Saving Queried Objects Back to Attached Drawings (page 753)

■

Saving Objects to a New Drawing (page 758)

■

AutoCAD Map Options dialog box (page 1908)

NOTE This procedure is for drawing objects only. For information on Automatic
Update options for geospatial feature data, see Updating Edits Automatically (page
700).
To set editing and save back options

1 Click Map Setup tab ➤ Map panel ➤ angle-arrow.
2 In the AutoCAD Map Options dialog box (page 1908), select the Save Back
tab.
3 Set the options you want.
■

Use the Save Set options to specify settings for saving objects to
attached drawings.

■

Use the Edit Set options to specify settings for saving objects to feature
sources.

764 | Chapter 6 Creating and Editing Data

4 Click OK.

Quick Reference
MAPOPTIONS
Sets AutoCAD Map 3D options
Menu

Setup menu ➤ Autodesk Map Options

Icon
Options
Command Line

MAPOPTIONS

Task Pane

In Map Explorer, right-click Current
Drawing ➤ Options

Dialog Box

AutoCAD Map Options dialog box

Cleaning Up Drawing Data
Use Drawing Cleanup to correct common map errors resulting from surveying,
digitizing, and scanning errors. You can also remove unnecessary detail from
complex maps.
NOTE This functionality is for drawing objects only. There is no equivalent for
geospatial feature data.
NOTE These procedures are for drawing objects only. There are no equivalents
for geospatial feature data.
To clean up drawing data
■
■
■
■
■
■
■
■
■

To clean up objects in a map (page 767)
To select and anchor objects for drawing cleanup (page 770)
To select cleanup actions and set options (page 773)
To specify how to convert the objects after cleanup (page 776)
To set up markers for interactive mode (page 779)
To save Drawing Cleanup settings as a profile (page 781)
To load an existing drawing cleanup profile (page 781)
To edit a drawing cleanup profile (page 781)
To select a correction method (page 782)

Cleaning Up Drawing Data | 765

■

To select cleanup actions and set options (page 787)

Overview of Cleaning Up Maps
Use Drawing Cleanup to correct common geometry errors resulting from
surveying, digitizing, and scanning before you define a topology, perform a
map analysis, plot a map, or export to a geospatial data format.
You can also remove unnecessary detail from complex maps.
Example: You digitized paper maps and now some street intersections do not
align correctly. You want clean the maps before you create a topology.
NOTE This functionality is for drawing objects only. There is no equivalent for
geospatial feature data.
You can perform the following cleanup actions:
■

delete duplicate objects

■

erase short objects

■

break crossing objects

■

extend undershoots

■

extend to apparent intersections

■

snap clustered nodes

■

dissolve pseudo nodes

■

erase dangling objects (overshoots)

■

simplify objects

■

delete zero-length objects

■

weed 3D polyline vertices

WARNING To edit topologies, use the topology editing commands (page 851).
Drawing Cleanup can make a topology invalid. In addition, when a cleanup action
creates a new object or breaks an object into multiple segments, classification
information remains with the segment that contains the start point of the original
object. Classify other segments manually.

766 | Chapter 6 Creating and Editing Data

Tell me more
■

Show me how to clean up errors in my
data

■

Lesson 2: Clean Up Your Drawings

■

To clean up drawing data (page 765)

■

Add DWG Data to an Existing Feature
Source

■

Clean up duplicates, gaps, and other
accuracy problems in DWG files.

■

Correction Methods (page 782)

■

Cleanup Actions (page 787)

■

Overview of Editing a Topology (page
852)

Video

Tutorial

Procedure

Workflow

GIS Skill

Related topics

WARNING To edit topologies, use the topology editing commands (page 851).
Drawing Cleanup can make a topology invalid.
NOTE This procedure is for drawing objects only. There is no equivalent for
geospatial feature data.
To clean up objects in a map
1 Open the drawing containing the objects to clean or query the objects
into the current drawing.
2 Because your map may be altered during the cleanup operation, back up
your data before starting.

3 Click Tools tab ➤ Map Edit panel ➤ Clean Up.

Cleaning Up Drawing Data | 767

4 In the Drawing Cleanup (page 1591) dialog box, follow these steps:
■

Selecting and Anchoring Objects (page 770). Select the objects to
include in the cleanup operation and the objects to anchor. Click
Next.

■

Setting Cleanup Options (page 773). Select cleanup actions and set the
parameters for each action you select. Specify whether to correct errors
automatically or to review and confirm each correction. Click Next.

■

Converting Objects After Cleanup (page 776). Specify how to treat the
original objects after the cleanup operation is complete. Click Next.

■

Setting Markers for Interactive Mode (page 777). If you selected
Interactive mode in Setting Cleanup Options to review error
corrections, specify the error markers to use. Click Next.

■

Saving Cleanup Settings (page 781). To save your settings as a profile,
click Save.

5 Click Finish.
AutoCAD Map 3D performs the cleanup with the options and values you
specified.
6 Depending on whether you selected Interactive or Automatic, AutoCAD
Map 3D does one of the following:
■

If you selected Interactive mode (page 783), AutoCAD Map 3D displays
a list of detected errors. You can review the errors and decide how to
handle them. For example, you can place markers on the errors, correct
them, or ignore them.

■

If you selected Automatic mode (page 782), AutoCAD Map 3D corrects
all detected errors automatically and reports a summary of the results
on the command line.

You can run the operation again to verify that you corrected all existing errors.
Cleaning up geometry in a drawing creates new geometry and new
relationships between the objects. You may need to repeat the cleanup
operation.

Quick Reference
MAPCLEAN

768 | Chapter 6 Creating and Editing Data

Performs drawing cleanup operations
Menu

Modify menu ➤ Drawing Cleanup

Icon
Drawing Cleanup
Command Line

MAPCLEAN

Dialog Box

Drawing Cleanup

Step 1: Selecting and Anchoring Objects
Start by selecting the objects to include in the cleanup. You can automatically
select all objects or select objects manually.
You also select the objects to anchor. Anchored objects are reference points
and are not altered or moved; objects being cleaned are moved towards
anchored objects.
In addition, you can filter object selection by layer and object class so that
only objects that belong to the specified layers and object classes are selected.
Example: Select all objects on the Roads layer for cleanup, and anchor survey
points in the Monuments object class so that they maintain their accuracy.
NOTE In general, you can clean up linear objects only (lines, arcs, circles, and
polylines), although a few cleanup actions support additional object types, including
points, blocks, text, and mtext. Anchoring supports these additional object types.
Any unsupported object types are not cleaned up or anchored.
NOTE This functionality is for drawing objects only. There is no equivalent for
geospatial feature data.
See also:
■

Overview of Cleaning Up Maps (page 766)

■

Select Objects Page (page 1595)

■

Overview of Cleanup Actions (page 788)

NOTE This procedure is for drawing objects only. There is no equivalent for
geospatial feature data.

Cleaning Up Drawing Data | 769

To select and anchor objects for drawing cleanup

1 Click Tools tab ➤ Map Edit panel ➤ Clean Up.
2 On the Select Objects Page (page 1595), under Objects To Include In Drawing
Cleanup, select the objects to clean up.
■

Choose the method to use for selecting objects. Click Select All to
select all objects. Click Select Manually to select individual objects.

■

To limit object selection to objects on specific layers or in specific
object classes, specify the layers and object classes to include.

■

If you chose Select Manually, click Select Objects To Be Included to
select objects in the drawing area. Press Enter to return to the Select
Objects page.

In general, you can clean up linear objects only (lines, arcs, circles, and
polylines). A few cleanup actions support additional object types, such
as points, blocks, text, and mtext. Unsupported object types are not
cleaned up.
The status line shows how many objects are selected and how many have
been filtered out.
3 Under Objects To Anchor In Drawing Cleanup, select the objects to use
as reference points during the drawing cleanup. These points are not
altered. You can anchor linear objects, points, blocks, text, and mtext.
■

To limit object selection to objects on specific layers or in specific
object classes, specify the layers and object classes to include.

■

Click Select Objects To Be Anchored. Select the objects to anchor.
Press Enter to return to the Select Objects page.

4 Click Next.
5 Continue with To select cleanup actions and set options (page 773).

Quick Reference
MAPCLEAN
Performs drawing cleanup operations
Menu

Modify menu ➤ Drawing Cleanup

770 | Chapter 6 Creating and Editing Data

Icon
Drawing Cleanup
Command Line

MAPCLEAN

Dialog Box

Drawing Cleanup

Step 2: Setting Cleanup Options
As you clean up a map, you select one or more cleanup actions to perform.
Each cleanup action detects a different type of map error, for example,
duplicate objects, undershoots, or zero-length objects.
NOTE This functionality is for drawing objects only. There is no equivalent for
geospatial feature data.
For best results, run Simplify Objects and Weed Polylines individually. Run
other cleanup actions individually or with a minimum of other actions.

Cleanup Actions
You can perform the following cleanup actions:
■

Delete Duplicates (page 793)

■

Erase Short Objects (page 795)

■

Break Crossing Objects (page 797)

■

Extend Undershoots (page 799)

■

Apparent Intersection (page 802)

■

Snap Clustered Nodes (page 804)

■

Dissolve Pseudo Nodes (page 807)

■

Erase Dangling Objects (page 809)

■

Simplify Objects (page 811)

■

Zero-Length Objects (page 815)

■

Weed Polylines (page 816)

Cleaning Up Drawing Data | 771

Order of Cleanup Actions
The order of cleanup actions can produce different results. Specify the order
by moving cleanup actions up or down in the list. The action at the top of
the list is performed first.

Setting Cleanup Options
Set the options for each cleanup action individually. For more information,
see the individual help topics about each cleanup action.

Understanding the Tolerance Setting
Tolerance is the minimum distance allowed between linear objects or nodes.
If two linear objects or nodes are separated by a distance less than the tolerance,
AutoCAD Map 3D corrects the error.

If you set the tolerance too low, AutoCAD Map 3D might miss some errors.
If you set the tolerance too high, AutoCAD Map 3D might correct linear objects
that are not errors. Decide if the data constitutes an error and choose a suitable
tolerance to eliminate errors.

772 | Chapter 6 Creating and Editing Data

For example, a tolerance of 10 would eliminate dangles less than 10 meters
long; but in some cases, such dangles might be the correct mapping of a short
pipe or street.
See also:
■

Overview of Cleaning Up Maps (page 766)

■

Select Actions Page (page 1588)

■

Overview of Cleanup Actions (page 788)

NOTE This procedure is for drawing objects only. There is no equivalent for
geospatial feature data.
To select cleanup actions and set options
1 On the Select Actions Page (page 1588), select the cleanup actions to perform
by adding them to the Selected Actions list.
To add a cleanup action to the Selected Actions list, select the action in
the Cleanup Actions (page 787) list, and click Add.
For best results, run Simplify Objects and Weed Polylines individually.
Run other cleanup actions individually or with a minimum of other
actions.
2 In the Selected Actions list, specify the order of cleanup actions. The order
can affect results. The first action in the list is performed first. To change
the order, highlight an action and click the up or down arrow.
3 In the Selected Actions list, select the action for which you want to specify
settings.
4 Under Cleanup Parameters, specify the settings to use for the selected
action. For more information about each cleanup action, click one of the
following links:
■

Delete Duplicates (page 793)

■

Erase Short Objects (page 795)

■

Break Crossing Objects (page 797)

■

Extend Undershoots (page 799)

■

Apparent Intersection (page 802)

■

Snap Clustered Nodes (page 804)

Cleaning Up Drawing Data | 773

■

Dissolve Pseudo Nodes (page 807)

■

Erase Dangling Objects (page 809)

■

Simplify Objects (page 811)

■

Zero-Length Objects (page 815)

■

Weed Polylines (page 816)

5 To review detected errors before correcting them, under Options, select
Interactive. To have AutoCAD Map 3D correct all detected errors without
further input from you, select Automatic.
NOTE Simplify Objects and Weed Polylines are not interactive operations.
AutoCAD Map 3D makes these changes automatically during cleanup.
6 Click Next.
7 Continue with Step 3: Specifying How to Convert Objects After Cleanup
(page 775).

Quick Reference
MAPCLEAN
Performs drawing cleanup operations
Menu

Modify menu ➤ Drawing Cleanup

Icon
Drawing Cleanup
Command Line

MAPCLEAN

Dialog Box

Drawing Cleanup

774 | Chapter 6 Creating and Editing Data

Step 3: Specifying How to Convert Objects After Cleanup
As you clean up a map, you can specify how to treat the original objects after
the cleanup operation is complete.
■

Modify Original Objects — Uses the original layer and as much of the
original data as possible. For example, linear objects are extended where
necessary.

■

Retain Original And Create New Objects — Keeps the original objects and
creates new objects on a layer you specify. For example, to extend an
undershoot, new linear objects are created on the specified layer for the
undershoot and target linear objects, and the originals are retained.

■

Delete Original And Create New Objects — Deletes all the original objects
and creates new objects on a layer you specify. For example, the original
undershoot is deleted, and a new linear object is created that extends to
the required location.

NOTE This functionality is for drawing objects only. There is no equivalent for
geospatial feature data.
NOTE When you create new objects, existing object data and database links are
copied to the new objects. All created objects are assigned the current value of
the ELEVATION system variable.

Converting Objects to Polylines
You can specify whether to convert lines, arcs, and 3D polylines to 2D
polylines, and convert circles to arcs or 2D polylines. If you convert arcs to
polylines, the polyline is created using a true arc, not a set of straight line
segments. If you convert a circle to a polyline, the polyline is created using
two true arcs, not a set of straight line segments. Use these conversion options
in the following cases:
■

You plan to use the results of the drawing cleanup operation in another
program that accepts only polylines.

■

You want to modify the line width of the arcs, circles, or lines so you can
use them in a thematic map. You can assign line width only to polylines.

NOTE If you convert objects to different entity types during the cleanup process,
classified objects may be modified so that they no longer meet the object class
definition and will be unclassified.

Cleaning Up Drawing Data | 775

See also:
■

Overview of Cleaning Up Maps (page 766)

■

Overview of Setting Up Object Classification (page 117)

■

Cleanup Methods Page (page 1585)

NOTE This procedure is for drawing objects only. There is no equivalent for
geospatial feature data.
To specify how to convert the objects after cleanup
1 On the Cleanup Methods Page (page 1585), under Cleanup Method, specify
how to treat the objects after the conversion process is complete.
NOTE Creating new objects may increase file size significantly.
2 If you are creating new objects, select the layer to use.
3 Under Convert Selected Objects, specify whether to convert lines, arcs,
and 3D polylines to 2D polylines, and convert circles to arcs or 2D
polylines.
4 To save your settings as a profile, click Save.
5 Do one of the following:
■

If you selected Interactive (page 783) on the Select Actions page, click
Next to continue with To set up markers for interactive mode (page
779).

■

If you selected Automatic (page 782) on the Select Actions page, click
Finish to start the cleanup process.

Quick Reference
MAPCLEAN
Performs drawing cleanup operations
Menu

Modify menu ➤ Drawing Cleanup

Icon
Drawing Cleanup

776 | Chapter 6 Creating and Editing Data

Command Line

MAPCLEAN

Dialog Box

Drawing Cleanup

Step 4: Setting Up Markers for Interactive Mode
When you review errors interactively, AutoCAD Map 3D places error markers
on detected errors to help you locate the errors more quickly and evaluate
whether they need correction.
NOTE This functionality is for drawing objects only. There is no equivalent for
geospatial feature data.
If you correct an error, the marker is removed. If you do not correct the error,
you can remove the marker and skip the error, or leave the marker in the map
for later reference.
You can mark each error with a different shape and color marker to indicate
each type of operation.
If you clean up a map multiple times, you can remove or maintain markers
from earlier operations. You can also remove or maintain markers after the
current operation.

Cleaning Up Drawing Data | 777

Set the type and color of markers used to mark errors.
■

If you correct errors automatically, errors are not marked.

■

The markers used in drawing cleanup are the same as those used when
creating a polygon topology. Before beginning either operation, existing
markers are removed.

See also:
■

Overview of Cleaning Up Maps (page 766)

■

Using Interactive Mode to Review and Confirm Corrections (page 783)

■

Error Markers Page (page 1587)

■

Creating a Polygon Topology (page 833)

778 | Chapter 6 Creating and Editing Data

NOTE The Error Markers page is available only if you select Interactive in Step 2
(page 773).
NOTE This procedure is for drawing objects only. There is no equivalent for
geospatial feature data.
To set up markers for interactive mode
1 To remove markers placed by an earlier cleanup operation, on the Error
Markers Page (page 1587), select Erase Markers When Cleanup Starts. This
is useful if you repeat the cleanup process to catch errors missed in the
first pass.
2 To leave markers after this cleanup operation, select Maintain Markers
When Command Ends.
3 In the Marker Size box, specify a marker size. A value between 3% and
7% is usually suitable.
4 Under Blocks And Colors, select the marker shape and color for each type
of error.
5 To save your settings as a profile, click Save.
6 Click Finish.
The Drawing Cleanup Errors dialog box (page 1593) appears, where you
review errors before correcting them (page 785).
You can run the operation again to verify that you corrected all existing errors.
Cleaning up geometry in a drawing creates new geometry and new
relationships between the objects. You may need to repeat the cleanup
operation.

Quick Reference
MAPCLEAN
Performs drawing cleanup operations
Menu

Modify menu ➤ Drawing Cleanup

Icon
Drawing Cleanup

Cleaning Up Drawing Data | 779

Command Line

MAPCLEAN

Dialog Box

Drawing Cleanup

Saving Cleanup Settings as a Profile
Once you have specified the settings for drawing cleanup, you can save them
as a profile for later use. Profiles are also useful when you automate the drawing
cleanup process with scripts. Drawing cleanup profiles are saved as *.dpf files.
NOTE This functionality is for drawing objects only. There is no equivalent for
geospatial feature data.

Saving Drawing Cleanup Settings as a Profile
Drawing Cleanup profiles include all the options specified in the drawing
cleanup dialog boxes, including the layer names used for object selection and
anchoring, cleanup actions and settings, cleanup methods, and error marker
settings (if any). Drawing Cleanup profiles do not include the actual objects
selected and anchored on the specified layers.

Loading Drawing Cleanup Profiles
Load a profile to make the saved settings current. Settings that are loaded
include the object selection and anchoring criteria, cleanup actions and
settings, cleanup methods, and error marker settings.

Editing Drawing Cleanup Profiles
You can edit Drawing Cleanup profiles in AutoCAD Map 3D and save your
changes, either replacing an existing profile or saving it as a new profile.
WARNING Do not edit Drawing Cleanup profiles outside of AutoCAD Map 3D.
Doing so may produce unexpected results.
See also:
■

Overview of Cleaning Up Maps (page 766)

NOTE This procedure is for drawing objects only. There is no equivalent for
geospatial feature data.

780 | Chapter 6 Creating and Editing Data

To save Drawing Cleanup settings as a profile

1 Click Tools tab ➤ Map Edit panel ➤ Clean Up.
2 Specify the settings to save.
3 Click Save.
4 In the Save Drawing Cleanup Profile dialog box, enter a name for the
profile. Click Save.
To load an existing drawing cleanup profile

1 Click Tools tab ➤ Map Edit panel ➤ Clean Up.
2 Click Load.
3 In the Select Drawing Cleanup Profile dialog box, select the profile to
load.
4 Click Open.
The settings from the selected profile are made current.
To edit a drawing cleanup profile
1 Load the profile as described above.
2 Make changes to the Drawing Cleanup settings.
3 Save the profile.

Quick Reference
MAPCLEAN
Performs drawing cleanup operations
Menu

Modify menu ➤ Drawing Cleanup

Icon
Drawing Cleanup
Command Line

MAPCLEAN

Cleaning Up Drawing Data | 781

Dialog Box

Drawing Cleanup

Correction Methods
You can correct errors automatically or review each error and decide how to
fix it.
NOTE This functionality is for drawing objects only. There is no equivalent for
geospatial feature data.
See also:
■

Overview of Cleaning Up Maps (page 766)

■

Step 3: Specifying How to Convert Objects After Cleanup (page 775)

■

Step 4: Setting Up Markers for Interactive Mode (page 777)

NOTE This procedure is for drawing objects only. There is no equivalent for
geospatial feature data.
To select a correction method
■
■

To correct errors automatically (page 783)
To review errors before correcting them (page 785)

Using Automatic Mode to Correct Errors
You can configure AutoCAD Map 3D so that it cleans up detected errors
automatically. The results of the cleanup are displayed on the command line.
NOTE This functionality is for drawing objects only. There is no equivalent for
geospatial feature data.
See also:
■

Overview of Cleaning Up Maps (page 766)

■

Step 3: Specifying How to Convert Objects After Cleanup (page 775)

■

Using Interactive Mode to Review and Confirm Corrections (page 783)

782 | Chapter 6 Creating and Editing Data

NOTE This procedure is for drawing objects only. There is no equivalent for
geospatial feature data.
To correct errors automatically

1 Click Tools tab ➤ Map Edit panel ➤ Clean Up.
2 On the Drawing Cleanup - Select Objects Page (page 1595), select the objects
to clean and the objects to anchor. Click Next.
3 In the Select Actions Page, select cleanup actions by adding them to the
Selected Actions list. Specify the cleanup parameters for each action.
4 In the Options area, select Automatic.
5 Click Next to go to the Cleanup Methods Page where you specify how
you want to treat the objects after the cleanup process is complete.
6 Click Finish.
AutoCAD Map 3D corrects the errors and displays a summary of the
results on the command line.

Quick Reference
MAPCLEAN
Performs drawing cleanup operations
Menu

Modify menu ➤ Drawing Cleanup

Icon
Drawing Cleanup
Command Line

MAPCLEAN

Dialog Box

Drawing Cleanup

Using Interactive Mode to Review and Confirm Corrections
Use the Interactive option in the Select Actions Page if you want to review
the list of errors detected by the Drawing Cleanup command, place error
markers showing their location in the map, and zoom to and highlight errors

Cleaning Up Drawing Data | 783

to better examine them. Correct errors one at a time or correct all the errors
detected for a selected cleanup action as a single action.
NOTE This functionality is for drawing objects only. There is no equivalent for
geospatial feature data.
You can configure error markers (page 777) on the Drawing Cleanup - Error
Markers Page (page 1587). You can also indicate whether to maintain markers
both from earlier cleanup operations and after the current cleanup operation.

Review, mark, and correct errors interactively.
■

All cleanup actions are represented in the Drawing Cleanup Errors dialog
box (page 1593), except for Simplify Objects, which is not an interactive
operation.

■

If you are cleaning up short objects, AutoCAD Map 3D divides the detected
errors into three groups: Short Degenerate Objects, Short Line Objects, and
Short Polyline Objects so you can evaluate and correct these types of errors
separately. If you are cleaning up zero length objects, AutoCAD Map 3D
divides the errors into two groups: Zero Length Line Objects and Zero
Length Polyline Objects.

784 | Chapter 6 Creating and Editing Data

■

When you fix an error or group of errors, it may affect the errors further
down the list. For example, if you break two crossing objects and create
four new, shorter objects, the new objects may be shorter than the tolerance
specified for Erase Short Objects tolerance. Drawing Cleanup would detect
these as new, additional errors and add them to the list.

■

Objects are not updated visually until you close the dialog box. When you
review the new errors, objects will not appear in their corrected state.

See also:
■

Overview of Cleaning Up Maps (page 766)

■

Step 3: Specifying How to Convert Objects After Cleanup (page 775)

■

Step 4: Setting Up Markers for Interactive Mode (page 777)

■

Using Automatic Mode to Correct Errors (page 782)

NOTE This procedure is for drawing objects only. There is no equivalent for
geospatial feature data.
To review errors before correcting them

1 Click Tools tab ➤ Map Edit panel ➤ Clean Up.
2 On the Drawing Cleanup - Select Objects Page (page 1595), select the objects
to clean and the objects to anchor. Click Next.
3 In the Select Actions Page, select the cleanup actions to perform by adding
them to the Selected Actions list. Specify the cleanup parameters for each
action.
4 To review errors before correcting them, in the Options area, select
Interactive.
5 On the left side of the dialog box, click Error Markers in the list.
You can also continue clicking Next to set all the parameters for the
cleanup operation. After you click Next on the Cleanup Methods page,
you can set the markers.
6 In the Error Markers Page, specify the size, shape, and color of the error
markers to use for each cleanup action. Also specify whether to remove
markers from earlier operations or remove markers after this cleanup.

Cleaning Up Drawing Data | 785

7 To save your settings in a profile (page 781), click Save.
8 Click Finish to run the cleanup process and review the list of detected
errors in the Drawing Cleanup Errors dialog box (page 1593).
In the Drawing Cleanup Errors dialog box (page 1593), the first cleanup
action with detected errors is selected. All other actions are shaded.
Cleanup actions are listed in the order specified on the Drawing Cleanup
- Select Actions Page (page 1588). The icons to the left of the action name
show you what the error marker for that action looks like.
All cleanup actions are represented in the Drawing Cleanup Errors dialog
box (page 1593), with the exception of Simplify Objects, which is not an
interactive operation. For short objects, AutoCAD Map 3D divides the
detected errors into three groups: Short Degenerate Objects, Short Line
Objects, and Short Polyline Objects. If you are cleaning up zero length
objects, AutoCAD Map 3D divides the errors into two groups: Zero Length
Line Objects and Zero Length Polyline Objects.
9 You can address all errors for each cleanup action as follows:
■

To correct all errors for the selected action, click Fix All.
NOTE Corrections are made after you finish reviewing and correcting
all errors.

■

To display error markers for all errors for the selected action, making
them easily visible in the map, click Mark All.

■

To ignore all errors for a selected action and remove any error markers,
click Remove All.

■

To go to the next cleanup action in the list without correcting errors,
click Next Action.

10 To address errors one at a time, click the plus (+) next to the cleanup
action. Select Error 1 of... and choose an option:
■

To correct the current error and go to the next one, click Fix.
NOTE Corrections appear after you finish reviewing and correcting all
errors.

■

To leave a marker on the current error, click Mark.

■

To go to the next error in the list without making a correction and
remove any error marker, click Remove.

786 | Chapter 6 Creating and Editing Data

■

To skip an error, click Next.

11 You can highlight and zoom to errors in the map by setting the following
options under Zoom Settings:
■

To zoom to selected errors dynamically, select Auto Zoom.

■

To indicate the percent of the drawing display that selected error
occupies, enter a value in the Zoom % box. For example, specify 100%
to zoom the display to the extents of the selected error, or specify
60% to display more of the drawing outside the selected error. Specify
0 to maintain the current zoom level.

■

To zoom to the selected error, clear the Auto Zoom check box and
click Zoom.

12 Click Close to make the corrections to your map.

Quick Reference
MAPCLEAN
Performs drawing cleanup operations
Menu

Modify menu ➤ Drawing Cleanup

Icon
Drawing Cleanup
Command Line

MAPCLEAN

Dialog Box

Drawing Cleanup

Cleanup Actions
Drawing Cleanup actions detect map errors (for example, duplicate objects,
undershoots, or zero length objects), simplify complex 2D maps, and weed
and supplement 3D polylines.
To select cleanup actions and set options
■
■
■

To select cleanup actions and set options (page 791)
To delete duplicate objects (page 794)
To erase short linear objects (page 796)

Cleaning Up Drawing Data | 787

■
■
■
■
■
■
■
■
■

To break crossing objects (page 799)
To extend undershoots (page 801)
To extend objects to their apparent intersection (page 803)
To snap clustered nodes (page 806)
To dissolve pseudo nodes (page 808)
To erase dangling objects (page 810)
To simplify objects (page 814)
To identify zero-length objects (page 815)
To weed or add vertices to a 3D polyline (page 819)

Overview of Cleanup Actions
Drawing Cleanup actions can be used to detect map errors (for example,
duplicate objects, undershoots, or zero length objects), simplify complex 2D
maps, and to weed and supplement 3D polylines. Because Drawing Cleanup
can alter your data, make a backup of your data before cleaning up a map.
NOTE This functionality is for drawing objects only. There is no equivalent for
geospatial feature data.
For best results, run cleanup actions individually or with a minimum of other
actions.
The following table shows examples of problems that Drawing Cleanup can
correct.
Before Drawing
Cleanup

After Drawing
Cleanup

Description of
Problem

Cleanup Action

Duplicate objects

Delete Duplicates (page 793)

Short objects

Erase Short Objects (page 795)

Crossing objects

Break Crossing Objects (page 797)

788 | Chapter 6 Creating and Editing Data

Before Drawing
Cleanup

After Drawing
Cleanup

Description of
Problem

Cleanup Action

Undershoots

Extend Undershoots (page 799)

Objects could be extended along their
natural paths to intersect at a projected
point

Apparent Intersection (page 802)

Node cluster

Snap Clustered Nodes (page 804)

Pseudo-nodes

Dissolve Pseudo Nodes (page 807)

Dangles or overshoots

Erase Dangling Objects (page 809)

2D linear object simplification

Simplify Objects (page 811)

Zero-length objects

Zero-Length Objects (page 815).

Too many or too few
vertices in a 3D polyline

Weed Polylines (page 816)

Cleaning Up Drawing Data | 789

Order of Cleanup Actions
The order of cleanup actions can produce different results. Specify the order
by moving cleanup actions up or down in the list. The action at the top of
the list is performed first.

Setting Cleanup Options
Set the options for each cleanup action individually. For more information,
see the individual help topics about each cleanup action.

Cleaning for Topology
Some types of errors should be fixed before you create a topology. The
following table indicates data errors that should be considered when you are
creating a network or polygon topology. Node topologies do not usually
require cleanup.
Error

Network Topology

Polygon Topology

Duplicates

Must remove

Must remove

Short Linear Objects

Can remove

Can remove

Crossing Linear Objects

Check for validity. See Creating a
Network Topology (page 829).

Must remove

Undershoots

Must remove

Must remove

Node Cluster

Must remove

Must remove

Pseudo Nodes

Can remove

Can remove

Dangles or overshoots

Check for validity. Can remove

Must remove

Simplify Linear Objects

Can apply

Can apply

Zero-Length Objects

Must remove

Must remove

In addition, if you have closed polylines (polygons) that may be missing
centroids, you should create centroids (page 885) for them before using them
in topology.

790 | Chapter 6 Creating and Editing Data

Notes
■

Drawing Cleanup affects objects on layers that are OFF. It does not affect
objects on layers that are FROZEN. It is recommended that you use drawing
cleanup on a layer-by-layer basis, or on selective sets of layers. Avoid using
automatic cleanup for all objects on all layers.

■

All tools except Weed Polylines work in two dimensions only, ignoring
Z-values. When you use the 2D tools, Z data (indicating elevations) might
be lost when processing objects at different elevations.

See also:
■

Overview of Cleaning Up Maps (page 766)

■

Step 2: Setting Cleanup Options (page 771)

■

Overview of Editing a Topology (page 852)

NOTE This procedure is for drawing objects only. There is no equivalent for
geospatial feature data.
To select cleanup actions and set options

1 Click Tools tab ➤ Map Edit panel ➤ Clean Up.
2 On the Select Actions page, select the cleanup actions to perform by
adding them to the Selected Actions list.
To add an action to the Selected Actions list, select the action in the
Cleanup Actions list. Click Add.
■

To delete duplicate objects (page 794)

■

To erase short linear objects (page 796)

■

To break crossing objects (page 799)

■

To extend undershoots (page 801)

■

To extend objects to their apparent intersection (page 803)

■

To snap clustered nodes (page 806)

■

To dissolve pseudo nodes (page 808)

■

To erase dangling objects (page 810)

Cleaning Up Drawing Data | 791

■

To simplify objects (page 814)

■

To identify zero-length objects (page 815)

■

To weed or add vertices to a 3D polyline (page 819)

3 In the Selected Actions list, specify the order in which to perform the
cleanup actions. The order is important and can affect your results. The
first action in the list will be performed first. To change the order,
highlight an action and click the up or down arrow.
NOTE For best results, run Simplify Objects and Weed Polylines individually.
If you run one of these with other actions, it will always be run before other
actions, regardless of its position in the list. In addition, these actions will only
be run once, regardless of how many times they are listed.
4 In the Selected Actions list, select an action.
Each action has its own set of options. Set up each one individually. For
information about the settings for an action, click one of the preceding
links.
5 Under Cleanup Parameters, enter the settings for the selected action.
6 To review detected errors before correcting them, under Options, select
Interactive. To have AutoCAD Map 3D automatically correct all detected
errors, select Automatic.
NOTE Simplify Objects and Weed Polylines are not interactive operations.
AutoCAD Map 3D makes these changes automatically during cleanup.
7 Continue specifying Drawing Cleanup settings.

Quick Reference
MAPCLEAN
Performs drawing cleanup operations
Menu

Modify menu ➤ Drawing Cleanup

Icon
Drawing Cleanup

792 | Chapter 6 Creating and Editing Data

Command Line

MAPCLEAN

Dialog Box

Drawing Cleanup

Delete Duplicates
Delete Duplicates locates objects that share the same start and end points as
well as all other points within the tolerance distance. You can delete one of
the objects.
You can include the following object types:
■

Linear objects

■

Points

■

Blocks

■

Text

■

Mtext

WARNING Do not use Delete Duplicates with polygon topology because it deletes
important topology data.
NOTE This functionality is for drawing objects only. There is no equivalent for
geospatial feature data.
■

The coordinate locations of objects and the number of vertices (i.e., object
geometry) are considered when checking for duplicates, therefore, objects
with different directions, objects of different types (for example, lines and
polylines), and objects with different properties (for example, linetype and
color) can be considered as duplicates.

■

You can choose to consider Z-value (elevation) when checking for
duplicates. For blocks, text, and mtext, you can also choose whether to
consider object rotation.

■

Objects with the same geometry, but on different layers, are considered
duplicates. Use the Select Objects page to select objects on one layer at a
time.

Cleaning Up Drawing Data | 793

NOTE When deleting duplicate edges that are polyline segments, the command
deletes lines and arcs before breaking polylines. The command removes only
objects with the same geometry, even if the objects are on different layers.
See also:
■

Overview of Cleaning Up Maps (page 766)

■

Step 2: Setting Cleanup Options (page 771)

■

Overview of Cleanup Actions (page 788)

■

Overview of Editing a Topology (page 852)

NOTE This procedure is for drawing objects only. There is no equivalent for
geospatial feature data.
To delete duplicate objects

1 Click Tools tab ➤ Map Edit panel ➤ Clean Up.

794 | Chapter 6 Creating and Editing Data

2 On the Select Actions page, in the Cleanup Actions list, click Delete
Duplicates. Click Add.
3 In the Select Actions list, click Delete Duplicates to display the cleanup
parameters for this action.
4 Under Cleanup Parameters, set Tolerance to a value slightly higher than
the distance between the objects.
Enter a value in the Tolerance box or click Pick to select two points that
define the tolerance.
5 Select the object types to include in the Delete Duplicates calculation.
6 To include rotation in the delete duplicates calculation for Blocks, Text,
or Mtext, select Rotation.
7 To include z-values (elevation) in the delete duplicates calculation, select
Z-values.
8 Continue specifying Drawing Cleanup settings.

Quick Reference
MAPCLEAN
Performs drawing cleanup operations
Menu

Modify menu ➤ Drawing Cleanup

Icon
Drawing Cleanup
Command Line

MAPCLEAN

Dialog Box

Drawing Cleanup

Erase Short Objects
Using the Erase Short Objects cleanup action, you can locate any objects
shorter than the specified tolerance and erase them. This removes short isolated
linear objects and short linear objects that are part of a polyline.
NOTE This functionality is for drawing objects only. There is no equivalent for
geospatial feature data.

Cleaning Up Drawing Data | 795

This action is like the Dissolve Pseudo-Nodes action, except Erase Short Objects
removes both the linear object and associated nodes.
Depending on your data, use Snap Clustered Nodes next, to correct errors that
might result from the Erase Short Objects option.
See also:
■

Overview of Cleaning Up Maps (page 766)

■

Step 2: Setting Cleanup Options (page 771)

■

Overview of Cleanup Actions (page 788)

■

Dissolve Pseudo Nodes (page 807)

NOTE This procedure is for drawing objects only. There is no equivalent for
geospatial feature data.
To erase short linear objects

1 Click Tools tab ➤ Map Edit panel ➤ Clean Up.

796 | Chapter 6 Creating and Editing Data

2 On the Select Actions page, in the Cleanup Actions list, click Erase Short
Objects. Click Add.
3 In the Select Actions list, click Erase Short Objects to display the cleanup
parameters for this action.
4 Under Cleanup Parameters, set Tolerance to a value slightly smaller than
the shortest length you want to retain.
You can enter a value into the Tolerance box or click Pick to go to the
map and select two points that define the tolerance to use.
5 Continue specifying Drawing Cleanup settings.

Quick Reference
MAPCLEAN
Performs drawing cleanup operations
Menu

Modify menu ➤ Drawing Cleanup

Icon
Drawing Cleanup
Command Line

MAPCLEAN

Dialog Box

Drawing Cleanup

Break Crossing Objects
Use Break Crossing Objects to locate objects that cross each other and have
no node at the crossing, break the crossing objects, and create a node at the
crossing. This action takes a complex system of lines, arcs, circles, and polylines
and breaks them at intersections into individual, unambiguous objects.
NOTE This functionality is for drawing objects only. There is no equivalent for
geospatial feature data.
This action is important when you are establishing network topology or
working with topographic contours. The first example shows four linear objects
in a network topology that were digitized as two linear objects; after you use
Break Crossing Objects, the linear objects are four separate objects that intersect
at a common point.

Cleaning Up Drawing Data | 797

Closed objects, such as contours and lakes, can be cleaned up with the Break
Crossing Objects and Erase Dangling Objects actions. Use Break Crossing
Objects to create separate objects, and then use Erase Dangling Objects (page
809) or the ERASE command. Verify that the shape created after editing reflects
the intended shape and that a distorted, closed area is not created.
NOTE AutoCAD Map 3D does not refer to a tolerance value when breaking crossing
objects. The Break Crossing Objects action corrects apparent problems across
layers and may break lines meant to indicate separate objects, such as rivers and
roads. Use Break Crossing Objects with one layer at a time to avoid this problem.
Using the Break Crossing Objects action on an arc whose endpoints are very close
may result in the duplication or extension of the arc.
See also:
■

Overview of Cleaning Up Maps (page 766)

■

Step 2: Setting Cleanup Options (page 771)

■

Overview of Cleanup Actions (page 788)

■

Erase Dangling Objects (page 809)

■

Overview of Editing a Topology (page 852)

798 | Chapter 6 Creating and Editing Data

NOTE This functionality is for drawing objects only. There is no equivalent for
geospatial feature data.
To break crossing objects

1 Click Tools tab ➤ Map Edit panel ➤ Clean Up.
2 On the Select Actions page, in the Cleanup Actions list, click Break
Crossing Objects. Click Add.
3 Continue specifying Drawing Cleanup settings.
■

Break Crossing Objects does not use a tolerance value or other cleanup
parameters.

■

Using the Break Crossing Objects action on an arc whose endpoints are
very close may result in the duplication or extension of the arc.

Quick Reference
MAPCLEAN
Performs drawing cleanup operations
Menu

Modify menu ➤ Drawing Cleanup

Icon
Drawing Cleanup
Command Line

MAPCLEAN

Dialog Box

Drawing Cleanup

Extend Undershoots
Undershoots are often caused by inaccurate digitizing or when converting
scanned data. Using the Extend Undershoots cleanup action, you can locate
objects that come within the specified tolerance radius of each other, but do
not meet.
NOTE This functionality is for drawing objects only. There is no equivalent for
geospatial feature data.

Cleaning Up Drawing Data | 799

If one object can be extended to cross the other, it will be extended (while
maintaining the same direction) and snapped to a point on the object. If no
node exists, one will be created at the intersection.
If two objects pass within the specified tolerance and can be snapped without
changing their direction, they will be snapped together. If no node exists at
that point, one will be created.

Undershoots are often found in the same drawing as dangles. Dangles, or
overshoots, occur when a linear object goes beyond an intersection with a
target linear object. See Erase Dangling Objects (page 809).
The Extend Undershoots action works in the same way as Break Crossing
Objects (page 797) works with undershoots, except that with Extend
Undershoots, you must select the Break Target option to break the target linear
objects at the intersections.
NOTE Using the Extend Undershoots action on an arc whose endpoints are very
close may result in the duplication or extension of the arc.
See also:
■

Overview of Cleaning Up Maps (page 766)

800 | Chapter 6 Creating and Editing Data

■

Step 2: Setting Cleanup Options (page 771)

■

Overview of Cleanup Actions (page 788)

■

Erase Dangling Objects (page 809)

■

Break Crossing Objects (page 797)

NOTE This procedure is for drawing objects only. There is no equivalent for
geospatial feature data.
To extend undershoots

1 Click Tools tab ➤ Map Edit panel ➤ Clean Up.
2 On the Select Actions page, in the Cleanup Actions list, click Extend
Undershoots. Click Add.
3 In the Select Actions list, click Extend Undershoots to display the cleanup
parameters for this action.
4 Under Cleanup Parameters, set Tolerance to a value slightly larger than
the largest gap.
You can enter a value into the Tolerance box or click Pick to go to the
map and select two points that define the tolerance to use.
5 To break target linear objects at the intersections during the Extend
Undershoots operation, select Break Target.
6 Continue specifying Drawing Cleanup settings.
NOTE Using the Extend Undershoots option on an arc whose endpoints are very
close may result in the duplication or extension of the arc.

Quick Reference
MAPCLEAN
Performs drawing cleanup operations
Menu

Modify menu ➤ Drawing Cleanup

Cleaning Up Drawing Data | 801

Icon
Drawing Cleanup
Command Line

MAPCLEAN

Dialog Box

Drawing Cleanup

Apparent Intersection
With Apparent Intersection, you can locate two objects that do not intersect
but that could be extended (within a specified tolerance radius) along their
natural paths to intersect at a projected point.
The tolerance is used as a radius distance from the end of the two links. If the
endpoints of the objects and the apparent intersection fall within the specified
tolerance radius distance, and the objects can be extended without changing
their direction, they will be extended to the apparent intersection.
NOTE Apparent Intersection is based on the AutoCAD EXTEND command and
uses its Edge and Extend options. For more information, see EXTEND in the
AutoCAD Help.
NOTE This functionality is for drawing objects only. There is no equivalent for
geospatial feature data.

802 | Chapter 6 Creating and Editing Data

See also:
■

Overview of Cleaning Up Maps (page 766)

■

Step 2: Setting Cleanup Options (page 771)

■

Overview of Cleanup Actions (page 788)

NOTE This procedure is for drawing objects only. There is no equivalent for
geospatial feature data.
To extend objects to their apparent intersection

1 Click Tools tab ➤ Map Edit panel ➤ Clean Up.
2 On the Select Actions page, in the Cleanup Actions list, click Apparent
Intersection. Click Add.
3 In the Select Actions list, click Apparent Intersection to display the cleanup
parameters for this action.
4 Under Cleanup Parameters, set the Tolerance to a value slightly higher
than the radius of a circle that includes the endpoints of the objects and
their projected intersection point. (Imagine a point where the objects
would intersect if they extended along their natural paths).
You can enter a value into the Tolerance box or click Pick to go to the
map and select two points that define the tolerance to use.
If AutoCAD Map 3D does not find an apparent intersection, try increasing
the Tolerance value.

Cleaning Up Drawing Data | 803

5 Continue specifying Drawing Cleanup settings.

Quick Reference
MAPCLEAN
Performs drawing cleanup operations
Menu

Modify menu ➤ Drawing Cleanup

Icon
Drawing Cleanup
Command Line

MAPCLEAN

Dialog Box

Drawing Cleanup

Snap Clustered Nodes
Use Snap Clustered Nodes to correct multiple nodes near the same point. With
Snap Clustered Nodes, you locate nodes within a specified tolerance radius
distance of each other and snap them to a single location. Nodes at the ends
of lines and polylines are automatically included in this cleanup action. You
can also include stand-alone nodes (points and blocks).
NOTE This functionality is for drawing objects only. There is no equivalent for
geospatial feature data.
The snap point will be one of the existing nodes, and you can choose whether
you want it to be one of the link endpoints or one of the stand-alone nodes.
Based on your settings, AutoCAD Map 3D determines the best snap point,
calculating which point has the most weight based on its relative location to
the other nodes. Also considered are anchored nodes. While anchored nodes
are not altered or moved during the Snap Clustered Nodes operation, they are
included in the calculation that determines the snap point.

804 | Chapter 6 Creating and Editing Data

When using Snap Clustered Nodes, keep in mind the following:
■

Nodes are moved to a single location but are not deleted, which can result
in multiple objects at the same location. Use Delete Duplicates to remove
duplicate objects.

■

You can anchor objects during object selection so they do not change
during the snap operation. Note, however, anchored objects are included
in the selection set and will affect the snap point.

■

As the endpoints of the links move, the direction of the links can also
change.

■

Text and MText are excluded from the Snap Clustered Nodes operation.

See also:
■

Overview of Cleaning Up Maps (page 766)

■

Step 2: Setting Cleanup Options (page 771)

■

Overview of Cleanup Actions (page 788)

Cleaning Up Drawing Data | 805

NOTE This functionality is for drawing objects only. There is no equivalent for
geospatial feature data.
To snap clustered nodes

1 Click Tools tab ➤ Map Edit panel ➤ Clean Up.
2 On the Select Actions page, in the Cleanup Actions list, click Snap
Clustered Nodes. Click Add.
3 In the Select Actions list, click Snap Clustered Nodes to display the cleanup
parameters for this action.
4 Under Cleanup Parameters, set Tolerance to a value slightly higher than
the radius of a circle that includes the link endpoints and nodes to snap
together.
You can enter a value into the Tolerance box or click Pick to go to the
map and select two points that define the tolerance to use.
5 The endpoints of lines and polylines are automatically included in the
Snap Clustered Nodes operation. To include stand-alone nodes in the
calculation as well, select the types to include:
■

Points

■

Blocks

Text and Mtext are automatically excluded.
6 Select the snap behavior to use:
■

Snap To Node – Snaps to an existing node.

■

Snap To Link – Snaps to an existing link endpoint.

7 Continue specifying Drawing Cleanup settings.

Quick Reference
MAPCLEAN
Performs drawing cleanup operations
Menu

Modify menu ➤ Drawing Cleanup

806 | Chapter 6 Creating and Editing Data

Icon
Drawing Cleanup
Command Line

MAPCLEAN

Dialog Box

Drawing Cleanup

Dissolve Pseudo Nodes
A pseudo-node is an unnecessary node in a geometric link that is shared by
only two objects. For example, a long link might be divided unnecessarily
into many, smaller links by pseudo-nodes.
NOTE This functionality is for drawing objects only. There is no equivalent for
geospatial feature data.
Using the Dissolve Pseudo-Nodes cleanup action, you can locate any
pseudo-nodes, dissolve the node, and join the two objects. This option removes
nodes that are at the intersection of two linear objects, but leaves the vertex
in place.

Cleaning Up Drawing Data | 807

NOTE AutoCAD Map 3D does not refer to a tolerance value when dissolving
pseudo nodes.
When you dissolve a pseudo node on a 2D polyline with different Z values,
the first Z-value on the object is used. On a 3D polyline, the Z-value on the
first vertex is used. The object remains a 3D polyline. For all other properties,
the values on the first object are used.
WARNING Using Dissolve Pseudo-Nodes may result in the loss of certain types
of data. For example, if two lines have object data attached, the resulting single
polyline retains object data from only one of the lines. Similarly, if two lines on
different layers share an end point, the resulting polyline will reside on only one
of the layers.
See also:
■

Overview of Cleaning Up Maps (page 766)

■

Step 2: Setting Cleanup Options (page 771)

■

Overview of Cleanup Actions (page 788)

■

Erase Short Objects (page 795)

■

Snap Clustered Nodes (page 804)

■

Simplify Objects (page 811)

NOTE This procedure is for drawing objects only. There is no equivalent for
geospatial feature data.
To dissolve pseudo nodes

1 Click Tools tab ➤ Map Edit panel ➤ Clean Up.
2 On the Select Actions page, in the Cleanup Actions list, click Dissolve
Pseudo Nodes. Click Add.
3 Continue specifying Drawing Cleanup settings.
NOTE Dissolve Pseudo Nodes does not use a tolerance value or other cleanup
parameters.

808 | Chapter 6 Creating and Editing Data

Quick Reference
MAPCLEAN
Performs drawing cleanup operations
Menu

Modify menu ➤ Drawing Cleanup

Icon
Drawing Cleanup
Command Line

MAPCLEAN

Dialog Box

Drawing Cleanup

Erase Dangling Objects
Use Erase Dangling Objects to locate an object with at least one end point
that is not shared by another object, and erase the object.
NOTE This functionality is for drawing objects only. There is no equivalent for
geospatial feature data.
The Erase Dangling Objects action searches for and deletes all line, arc, and
polyline dangling edges, and nodes. Dangling objects do not include closed
polylines.

Cleaning Up Drawing Data | 809

A dangle is often caused by inaccurate digitizing where an object extends
beyond its intended intersection with a target object. Use Break Crossing
Objects (page 797) before using Erase Dangling Objects.
See also:
■

Overview of Cleaning Up Maps (page 766)

■

Step 2: Setting Cleanup Options (page 771)

■

Overview of Cleanup Actions (page 788)

■

Break Crossing Objects (page 797)

NOTE This procedure is for drawing objects only. There is no equivalent for
geospatial feature data.
To erase dangling objects

1 Click Tools tab ➤ Map Edit panel ➤ Clean Up.
2 On the Select Actions page, in the Cleanup Actions list, click Erase
Dangling Objects. Click Add.
3 In the Select Actions list, click Erase Dangling Objects to display the
cleanup parameters for this action.
4 Under Cleanup Parameters, set Tolerance to a value slightly larger than
the longest dangle to erase.
Enter a value into the Tolerance box or click Pick to go to the map and
select two points that define the tolerance to use.

810 | Chapter 6 Creating and Editing Data

5 Continue specifying Drawing Cleanup settings.

Quick Reference
MAPCLEAN
Performs drawing cleanup operations
Menu

Modify menu ➤ Drawing Cleanup

Icon
Drawing Cleanup
Command Line

MAPCLEAN

Dialog Box

Drawing Cleanup

Simplify Objects
When maps are digitized, edges may be defined with more detail than
necessary. Use Simplify Objects to reduce unnecessary complexity in contour
lines, rivers, and coastlines. Simplifying objects, also known as generalizing
or weeding, reduces the number of points on a complex line.
NOTE This functionality is for drawing objects only. There is no equivalent for
geospatial feature data.
Simplify Objects works in two dimensions, ignoring Z-values. For information
about how to add and remove vertices from 3D polylines, see Weed Polylines
(page 816).
When you use Simplify Objects, you simplify complex polylines by removing
all interior nodes that fall within the specified tolerance width. Polyline
segments falling within the same corridor are generalized into a single polyline.
Branching points, dead ends, and endpoints of polylines are not generalized.

Cleaning Up Drawing Data | 811

Setting the Tolerance
AutoCAD Map 3D converts a set of connected polyline segments within the
same tolerance into a single polyline. You specify the tolerance corridor width.
The corridor values vary according to the scale of the map; maps with
coordinate values of millions use larger values than those using hundreds.

Simplifying linear objects removes as many points as possible from a polyline
while keeping it within the original tolerance corridor.

812 | Chapter 6 Creating and Editing Data

A coastline simplified at different tolerance settings

For best results, follow these guidelines:
■

Run Simplify Objects individually. If you perform Simplify Objects with
other cleanup actions, AutoCAD Map 3D performs Simplify Objects first,
regardless of its position in the Selected Actions list.

■

Use deleting duplicates (page 793) before simplifying linear objects.

■

If your objects are lines, not plines, use Dissolve Pseudo Nodes to create a
single pline.

■

Simplify Objects removes width from polylines. Save your map before you
simplify linear objects, so you can return to the original lines if necessary.

NOTE Simplify Objects is not an interactive operation. AutoCAD Map 3D makes
the changes automatically during cleanup.
See also:
■

Overview of Cleaning Up Maps (page 766)

■

Step 2: Setting Cleanup Options (page 771)

■

Overview of Cleanup Actions (page 788)

■

Weed Polylines (page 816)

■

Delete Duplicates (page 793)

■

Using Interactive Mode to Review and Confirm Corrections (page 783)

NOTE Simplify Objects works in two dimensions, ignoring Z-values. For
information about how to add and remove vertices from 3D polylines, see Weed
Polylines (page 816).
NOTE This procedure is for drawing objects only. There is no equivalent for
geospatial feature data.

Cleaning Up Drawing Data | 813

To simplify objects

1 Click Tools tab ➤ Map Edit panel ➤ Clean Up.
2 On the Select Actions page, in the Cleanup Actions list, click Simplify
Objects. Click Add.
NOTE For best results, run Simplify Objects individually. If you run Simplify
Objects with other actions, AutoCAD Map 3D runs Simplify Objects first,
regardless of its position in the Selected Actions list.
3 In the Select Actions list, click Simplify Objects to display the cleanup
parameters for this action.
4 Under Cleanup Parameters, set Tolerance to an appropriate value.
You can enter a value into the Tolerance box or click Pick to go to the
map and select two points that define the tolerance to use.
5 To allow the introduction of arcs during the Simplify Objects operation,
select Create Arcs.
6 Accept all other defaults.
AutoCAD Map 3D automatically simplifies objects. Do not use the
Interactive option.
7 Continue specifying Drawing Cleanup settings.

Quick Reference
MAPCLEAN
Performs drawing cleanup operations
Menu

Modify menu ➤ Drawing Cleanup

Icon
Drawing Cleanup
Command Line

MAPCLEAN

Dialog Box

Drawing Cleanup

814 | Chapter 6 Creating and Editing Data

Zero-Length Objects
Use Zero-Length Objects to locate lines, arcs, and polylines that have a start
point and an end point but have zero-length, or are missing an end point,
and erase them. The Zero-Length Objects cleanup action does not evaluate
closed polylines.
Zero-length objects can be introduced inadvertently when importing data
from other applications or when digitizing map data.
NOTE AutoCAD Map 3D does not refer to a tolerance value when identifying
zero-length objects.
NOTE This functionality is for drawing objects only. There is no equivalent for
geospatial feature data.
See also:
■

Overview of Cleaning Up Maps (page 766)

■

Step 2: Setting Cleanup Options (page 771)

■

Overview of Cleanup Actions (page 788)

NOTE This procedure is for drawing objects only. There is no equivalent for
geospatial feature data.
To identify zero-length objects

1 Click Tools tab ➤ Map Edit panel ➤ Clean Up.
2 On the Select Actions page, in the Cleanup Actions list, click Zero Length
Objects. Click Add.
3 Continue specifying Drawing Cleanup settings.
NOTE Zero Length Objects does not use a tolerance value or other cleanup
parameters.

Quick Reference
MAPCLEAN

Cleaning Up Drawing Data | 815

Performs drawing cleanup operations
Menu

Modify menu ➤ Drawing Cleanup

Icon
Drawing Cleanup
Command Line

MAPCLEAN

Dialog Box

Drawing Cleanup

Weed Polylines
Use Weed Polylines to add and remove vertices on 3D polylines. This is helpful
to control the drawing file size and contour appearance, or to remove
redundant information.
NOTE This functionality is for drawing objects only. There is no equivalent for
geospatial feature data.
Enter Weeding Factors and Supplementing Factors to determine if a vertex
should be added or removed from the 3D polyline.

Weeding Factors
Use Weeding Factors to reduce the number of points generated along 3D
polylines. Weeding factors ignore vertices that are closer together than the
Distance factor and that deflect less than the Angle factor. A larger distance
and deflection angle weeds a greater number of points. The distance factor is
measured in linear units and the angle factor is measured in angular units.
Weeding Factors must be less than Supplementing Factors.
A point on the 3D polyline is weeded by calculating its location in relation
to the vertices before and after it. If the length between these three points is
less than the weeding length value, and the deflection angle is less than the
weeding angle value, then the middle point is not added to the contour data
file.

816 | Chapter 6 Creating and Editing Data

Weeding factor parameters

Supplementing Factors
Use Supplementing Factors to supplement or add vertices along 3D polylines.
The supplementing distance is the maximum distance between vertices. If the
distance between vertices on a contour is greater than the Supplementing
Factors, then points are added along the contour at equal intervals that are
less than or equal to the supplementing distance. The smaller the distance,
the greater the number of supplemented points.

Supplementing Factors parameters

Cleaning Up Drawing Data | 817

Bulge
For curves, the bulge value is a ratio of the distance from the arc to the chord
divided by half the length of the chord. The bulge factor adds vertices to a
polyline curve, creating an approximation of the curve using straight line
segments. The length of these segments varies depending on the bulge factor
and the degree of curvature.

Bulge factor parameters
■

Notes
Run Weed Polylines individually. If you run it with other operations, it
will always be run before other actions, regardless of its position in the
list. In addition, it will only be run once, regardless of how many times it
is listed.

■

Weed Polylines is not an interactive operation. AutoCAD Map 3D makes
the changes automatically during cleanup.

See also:
■

Overview of Cleaning Up Maps (page 766)

■

Step 2: Setting Cleanup Options (page 771)

■

Overview of Cleanup Actions (page 788)

■

Using Interactive Mode to Review and Confirm Corrections (page 783)

NOTE This procedure is for drawing objects only. There is no equivalent for
geospatial feature data.

818 | Chapter 6 Creating and Editing Data

To weed or add vertices to a 3D polyline

1 Click Tools tab ➤ Map Edit panel ➤ Clean Up.
2 On the Select Objects page, select the 3D polylines from which to remove
extra vertices or add vertices. Click Next.
3 On the Select Actions page, in the Cleanup Actions list, click Weed
Polylines. Click Add >.
NOTE Run Weed Polylines by itself (without other cleanup actions). If you
run it with other actions, Weed Polylines runs only once, regardless of how
many times it is listed in the Selected Actions list, and it always runs before
other actions, regardless of its position in the list.
4 In the Select Actions list, click Weed Polylines to display the Cleanup
Parameters for this action.
5 Under Weeding Factors, enter the weeding distance in the Distance box,
or click Pick and use your pointing device to specify distance by selecting
two locations in the drawing.
6 For Angle, enter the deflection angle, or click Pick to specify the angle
by selecting a starting point, a vertex, and an ending point.
■

A point on a 3D polyline is weeded by calculating its location in
relation to the vertices before and after it. If the length between these
three points is less than the weeding Distance value, and the deflection
angle is less than the weeding Angle value, then the middle point is
weeded out.

■

A larger distance and deflection angle weeds a greater number of
points.

■

The weeding distance must be less than the supplementing distance.

■

When using Pick to specify measurements, measurements are displayed
dynamically using a tooltip. The format and precision of the
measurements are determined by the UNITS command.

7 Under Supplementing Factors, enter the supplementing Distance, or click
Pick to specify distance in the drawing.
The supplementing distance is the maximum distance between vertices.
If the distance between vertices on a contour is greater than the
supplementing factor, then points are added along the contour at equal

Cleaning Up Drawing Data | 819

intervals that are less than or equal to the supplementing distance. The
smaller the distance, the greater the number of supplemented points.
8 For Bulge, enter the bulge factor value, or click Pick to specify it in the
drawing.
The bulge factor adds vertices to a polyline curve, creating an
approximation of the curve using straight line segments. The bulge value
is a ratio of the distance from the arc to the chord divided by half the
length of the chord.
9 Continue specifying Drawing Cleanup settings. Click Finish.
When the operation is complete, the total number of original vertices, the
total number of vertices removed, and the number of new vertices is reported
on the command line.

Quick Reference
MAPCLEAN
Performs drawing cleanup operations
Menu

Modify menu ➤ Drawing Cleanup

Icon
Drawing Cleanup
Command Line

MAPCLEAN

Dialog Box

Drawing Cleanup

Creating, Editing, and Managing Topologies
A topology is defined by a set of objects and data and their relationship. Use
the information in these sections to create, analyze, edit, and manage
topologies.
NOTE This functionality is for drawing objects only. There is no equivalent for
geospatial feature data. However, you can use buffers to analyze features by
proximity and perform overlay analysis on two geospatial feature layers. See
Buffering Features in Your Map (page 1306) and Overlaying Two Feature Sources
(page 1309).

820 | Chapter 6 Creating and Editing Data

NOTE This procedure is for drawing objects only. There is no equivalent for
geospatial feature data. However, you can use buffers to analyze features by
proximity and perform overlay analysis on two geospatial feature layers. See
Buffering Features in Your Map (page 1308)and Overlaying Two Feature Sources
(page 1316).
To create, edit, and manage topologies
■
■
■

To create a topology (page 822)
To edit a topology (page 851)
To manage topologies (page 899)

Creating Topologies
Topology defines how map features represented by points, lines, and polygons
are connected and how to account for their adjacency. For example, topology
can show that parcels do not overlap, or that delivery routes follow roads.
Using AutoCAD Map 3D, you can create node, network, or polygon topologies.
For network topologies, you can specify the direction of movement allowed
for links and the resistance for links and nodes.
NOTE This functionality is for drawing objects only. There is no equivalent for
geospatial feature data. However, you can use buffers to analyze features by
proximity and perform overlay analysis on two geospatial feature layers. See
Buffering Features in Your Map (page 1306) and Overlaying Two Feature Sources
(page 1309).
■
■
■
■
■
■
■
■
■

Overview of Creating Topologies (page 822)
Creating a Node Topology (page 826)
Creating a Network Topology (page 829)
Creating a Polygon Topology (page 833)
Cleaning Data for a Polygon Topology (page 838)
Creating Topologies for a Land Use Map (page 839)
Sliver Polygons (page 841)
Specifying the Direction for a Link (page 845)
Specifying the Resistance for a Link or Node (page 849)

NOTE This procedure is for drawing objects only. There is no equivalent for
geospatial feature data. However, you can use buffers to analyze features by
proximity and perform overlay analysis on two geospatial feature layers. See
Buffering Features in Your Map (page 1308)and Overlaying Two Feature Sources
(page 1316).

Creating, Editing, and Managing Topologies | 821

To create a topology
■
■
■
■
■
■
■
■
■

To create a topology (page 825)
create a node topology (page 827)
To create a network topology (page 831)
To fix crossing objects (page 839)
To create a topology for a land use and land cover map (page 840)
To find sliver polygons when you create a polygon topology (page 843)
To find sliver polygons when overlaying two topologies (page 843)
To specify the direction for a link (page 847)
To edit the resistance of a link or node in a network topology (page 850)

Overview of Creating Topologies
Using AutoCAD Map 3D, you can create node, network, or polygon topologies.

NOTE This functionality is for drawing objects only. There is no equivalent for
geospatial feature data. However, you can use buffers to analyze features by
proximity and perform overlay analysis on two geospatial feature layers. See
Buffering Features in Your Map (page 1306) and Overlaying Two Feature Sources
(page 1309).

Node Topologies
■

Define the interrelation of nodes (point objects).

■

Are often used in conjunction with other topologies in analysis.

Network Topologies
■

Connect links (lines) to form a linear network.

■

Links can connect nodes.

822 | Chapter 6 Creating and Editing Data

An example of network topology is a water-distribution application that traces
the flow of water from a pumping station to residences. A street network is
another example. For network topologies, you can specify the direction for a
link and specify the resistance for a link or node.

Polygon Topologies
■

Define polygons that represent enclosed areas such as land parcels and
census tracts. A single link defines the common boundary between adjacent
areas.

Uses of polygon topology include tax assessment and land planning in which
parcels of land are represented by polygons. Political boundaries, such as
voting districts, city, state, or provincial boundaries, special districts, and
school districts, are other examples of the use of polygon topology.

Notes
When you create a topology, keep the following points in mind:
■

Before you create network or polygon topologies, use the drawing cleanup
tools to clean up your map (page 765). Node topologies do not usually
require cleanup.

■

Before you create a topology, freeze all layers containing objects in paper
space (Layout tab). Otherwise, these objects are included in the topology
creation when you use the Select All objects option.

■

MAPTOPOCREATE can create topologies on layers that are turned off. It
does not affect layers that are frozen.

■

When creating network or polygon topologies, if you enable the Create
New Nodes option, AutoCAD Map 3D detects where lines are connected
and assigns nodes to end points. It creates physical or explicit node objects
at all link end points where no objects exist. If the layer you specify does
not exist already, AutoCAD Map 3D creates the layer with a color of 7 and
a CONTINUOUS linetype.

■

You can create nodes using ACAD_POINT. To change their appearance
and size, at the Command prompt, enter ddptype.

■

When you create a topology, information is stored as object data on each
element of the topology and is saved with the map. Each node, link, or
polygon is automatically given a unique identification (ID) number. Each
ID is automatically processed when you use any topology command.

Creating, Editing, and Managing Topologies | 823

WARNING Using the BREAK command affects topology. If you use BREAK, you
must use MAPTOPOCREATE again to recreate the topology. You might also need
to clean up the geometry in the drawing again.

Tell me more
■

Show me how to create a network topology.

■

Show me how to load a topology.

■

Show me how to find the shortest path
between two points.

■

Show me how to do an overlay analysis
using two topologies.

■

To create a topology (page 825)

■

Create a network topology to show how
lines are connected.

■

Find the shortest path through a network.

■

Find which lines are within a particular
polygon (overlay analysis.

■

Cleaning Up Drawing Data (page 765)

■

Editing Topologies (page 851)

■

Managing Topologies (page 898)

Video

Procedure

GIS Skill

Related topics

NOTE This procedure is for drawing objects only. There is no equivalent for
geospatial feature data. However, you can use buffers to analyze features by
proximity and perform overlay analysis on two geospatial feature layers. See
Buffering Features in Your Map (page 1308)and Overlaying Two Feature Sources
(page 1316).

824 | Chapter 6 Creating and Editing Data

To create a topology
1 Bring the nodes or links into the current drawing:
■

Attach the drawings containing the objects, then query the objects
into the current drawing.

■

Open the drawing containing the objects.

2 Click Create tab ➤ Topology panel ➤ New.
3 In the Create Topology - Select Topology dialog box (page 1969), enter a
name and description for the new topology.
4 Under Topology Type, select the topology to create. Follow the steps for
that topology:
■

create a node topology (page 827)

■

To create a network topology (page 831)

■

To create a polygon topology (page 836)

5 When you are done specifying settings, click Finish to create the topology.
6 If appropriate, save the topology information back to source drawings.
As you create the topology, if AutoCAD Map 3D finds errors, it gives a warning
message and highlights the errors. Correct any errors; then create the topology
over again.

Quick Reference
MAPTOPOCREATE
Creates a new topology
Menu

Click Map ➤ Topology ➤ Create.

Icon
Create Topology
Command Line

MAPTOPOCREATE

Task Pane

In Map Explorer, right-click Topologies ➤ Create

Dialog Box

Create Topology dialog box

Creating, Editing, and Managing Topologies | 825

PROPERTIES
Displays the Properties palette, which allows you to edit the properties of
objects
Menu

Analyze ➤ Properties

Icon
Properties
Command Line

PROPERTIES

Task Pane

Select object. Right-click in drawing area ➤ Properties

Creating a Node Topology
You can create a node topology with point objects, blocks, or text. A node
topology used in association with a network or polygon topology can hold
information about junctions and intersections between elements of the
topology.

Customer locations can be used as the basis for a node topology.

NOTE This functionality is for drawing objects only. There is no equivalent for
geospatial feature data. However, you can use buffers to analyze features by
proximity and perform overlay analysis on two geospatial feature layers. See
Buffering Features in Your Map (page 1306) and Overlaying Two Feature Sources
(page 1309).

826 | Chapter 6 Creating and Editing Data

Object Data for Node Topology
Information about a node topology is held in an object data table as shown
in this table.
Topology Name

Object Data Table

Object Data Field

SAMPLE_NODE

TPMNODE_SAMPLE_NODE

ID

See also:
■

Overview of Creating Topologies (page 822)

■

Changing the Appearance of Points (page 869)

■

Creating a Network Topology (page 829)

■

Creating a Polygon Topology (page 833)

NOTE This procedure is for drawing objects only. There is no equivalent for
geospatial feature data. However, you can use buffers to analyze features by
proximity and perform overlay analysis on two geospatial feature layers. See
Buffering Features in Your Map (page 1308)and Overlaying Two Feature Sources
(page 1316).
create a node topology
1 Do one of the following to bring nodes into the current drawing:
■

Attach the drawings containing the nodes. Query the nodes into the
current drawing.

■

Open the drawing containing the nodes.

■

Import nodes from another file format.

2 Click Create tab ➤ Topology panel ➤ New.
3 In the Create Topology - Select Topology dialog box (page 1969):
■

Click Node to specify the type of topology to create.

■

Enter a name and description for the new topology.
Names can contain letters, numbers, and the underscore, hyphen,
and dollar characters. Names cannot include spaces.

■

Click Next.

Creating, Editing, and Managing Topologies | 827

4 In the Create Node Topology - Select Nodes dialog box (page 1959), specify
the nodes to include in the topology:
■

To include all nodes in the map, click Select All.

■

To manually select the nodes to include, click Select Manually. Click
Select Nodes to select the nodes in the map. When you finish selecting
nodes, press Enter.

■

To filter (restrict) node selection by layer (only the nodes that are on
specified layers will be selected), specify those layers in the Layers box.
To select from a list of layers in the map, click Select Layers. If the
layer is not listed, it may be Frozen, Locked, or Off. To use all layers,
enter an asterisk (*).

■

To use only selected blocks as node objects, specify those blocks in
the Blocks box. To use points as nodes, select the ACAD_POINT block.

■

To filter node selection by object class, specify those object classes in
the Object Classes box. Only nodes that belong to the specified object
classes will be included in the topology.

The layer, block, and object class filters apply to both automatic and
manual selection of nodes.
5 Click Finish to create the topology.
6 If appropriate, save the topology information back to source drawings.

Quick Reference
MAPTOPOCREATE
Creates a new topology
Menu

Click Map ➤ Topology ➤ Create.

Icon
Create Topology
Command Line

MAPTOPOCREATE

Task Pane

In Map Explorer, right-click Topologies ➤ Create

Dialog Box

Create Topology dialog box

828 | Chapter 6 Creating and Editing Data

Creating a Network Topology
Network topology defines the interconnection of links and, optionally, nodes
at link junctions. Networks may contain loops. Network segments have a
specified direction. Links can be lines, open polylines, or arcs. You can use
information from different layers to define a network topology.
NOTE This functionality is for drawing objects only. There is no equivalent for
geospatial feature data. However, you can use buffers to analyze features by
proximity and perform overlay analysis on two geospatial feature layers. See
Buffering Features in Your Map (page 1306) and Overlaying Two Feature Sources
(page 1309).
If you plan to use the network topology for direction analysis, you can use
PEDIT to join a series of objects with the same flow direction into one object
with nodes at each vertex. The directions derived from arc objects might be
arbitrary; to control and edit these directions easily, use PEDIT to join segments
with the same direction.
When you create the network topology with nodes at each intersection, the
nodes do not significantly increase file size. You can use the nodes for path
traces (page 1324), best route analysis (page 1328), and flood traces (page 1333).

Object Data for Network Topology
Network topology information is stored on the links and nodes as object data.
Each element of the network topology has different object data values.
Topology Name

Object Data Table

Object Data Field

SAMPLE_NET

TPMLINK_SAMPLE_NET

ID
START_NODE
END_NODE
DIRECTION
DIRECT_RESISTANCE
REVERSE_RESISTANCE

By default, each link is bidirectional. Both resistance and direction are stored
as object data. You can edit both direction (page 845) and resistance (page 849)
values.

Creating, Editing, and Managing Topologies | 829

If you create nodes when you create the network topology, the object data
table for each node has the following information.
Topology Name

Object Data Table

Object Data Field

SAMPLE_NET

TPMNODE_SAMPLE_NET

ID
RESISTANCE

Tell me more
■

Show me how to create a network topology.

■

Show me how to load a topology.

■

Show me how to find the shortest path
between two points.

■

Show me how to do an overlay analysis
using two topologies.

■

To create a network topology (page
831)

■

Create a network topology to show how
lines are connected.

■

Find the shortest path through a network.

■

Find which lines are within a particular
polygon (overlay analysis.

■

Overview of Creating Topologies (page
822)

■

Creating a Node Topology (page 826)

■

Changing the Appearance of Points
(page 869)

■

Creating a Polygon Topology (page
833)

■

Performing a Shortest Path Trace (page
1324)

Video

Procedure

GIS Skill

Related topics

830 | Chapter 6 Creating and Editing Data

■

Performing a Best Route Analysis (page
1328)

■

Performing a Flood Trace (page 1333)

NOTE This procedure is for drawing objects only. There is no equivalent for
geospatial feature data. However, you can use buffers to analyze features by
proximity and perform overlay analysis on two geospatial feature layers. See
Buffering Features in Your Map (page 1308)and Overlaying Two Feature Sources
(page 1316).
To create a network topology
1 Do one of the following to bring the linework into the current drawing:
■

Attach the drawings containing the linework. Query the linework
into the current drawing.

■

Open the drawing containing the linework.

■

Import the linework from another file format.

2 Click Create tab ➤ Topology panel ➤ New.
3 In the Create Topology - Select Topology dialog box (page 1969), do the
following:
■

Click Network to specify the type of topology to create.

■

Enter a name and description for the new topology.
Names can contain letters, numbers, and the underscore, hyphen,
and dollar characters. Names cannot include spaces.

■

Click Next.

4 In the Create Network Topology - Select Links dialog box (page 1956),
specify the links to include in the topology:
■

To include all links in the map, click Select All.

■

To manually select the links to include, click Select Manually. Click
Select Links to select the links in the map. When you finish selecting
links, press Enter.

■

To filter (restrict) link selection by layer (only links on the specified
layers will be selected), specify the layers in the Layers box. To select

Creating, Editing, and Managing Topologies | 831

from a list of layers in the map, click Select Layers. If the layer is not
listed, it may be Frozen, Locked, or Off. To use all layers, enter an
asterisk (*).
■

To filter link selection by object class, specify the object classes in the
Object Classes box. Only links that belong to the specified object
classes will be included in the topology.
Layer and object class filters apply to both the automatic and manual
selection of links.

■

Click Next.

5 In the Create Network Topology - Select Nodes dialog box (page 1957),
select the nodes to include:
■

To include all nodes, click Select All.

■

To select nodes manually, click Select Manually. Click Select Nodes
to select the nodes.

■

To filter (restrict) node selection by layer (only the nodes on the
specified layers are selected), specify the layers in the Layers box.

■

To use only selected blocks as node objects, specify the blocks in the
Blocks box. To use points as nodes, select the ACAD_POINT block.

■

To filter node selection by object class, specify the object classes in
the Object Classes box. Only nodes that belong to the specified object
classes are included in the topology.

■

To have AutoCAD Map 3D create node objects at the endpoint of
links, click Next. Otherwise, go to step 7.

6 In the Create Network Topology - Create New Nodes dialog box (page
1955), do the following:
■

To create new nodes, select Create New Nodes.

■

Select a layer for the new nodes.

■

Select a block to use for the nodes. To use a point object, select
ACAD_POINT. Modify the appearance of a point object using the
PDMODE and PDSIZE system variables. For more information, see
POINT in the AutoCAD Help.

7 Click Finish to create the topology.
8 If appropriate, save the topology information back to source drawings.

832 | Chapter 6 Creating and Editing Data

For information about adding direction and resistance, see the following
topics:
Specifying the Direction for a Link (page 845)
Specifying the Resistance for a Link or Node (page 849)

Quick Reference
MAPTOPOCREATE
Creates a new topology
Menu

Click Map ➤ Topology ➤ Create.

Icon
Create Topology
Command Line

MAPTOPOCREATE

Task Pane

In Map Explorer, right-click Topologies ➤ Create

Dialog Box

Create Topology dialog box

Creating a Polygon Topology
Polygon topology is an extension of network topology and focuses on
area-based relationships. Every area forms a polygon; and each polygon in a
topology consists of a set of links. A polygon in a topology has a centroid,
which is a point or block element within the polygon, and contains
information about the area it encloses.
NOTE This functionality is for drawing objects only. There is no equivalent for
geospatial feature data. However, you can use buffers to analyze features by
proximity and perform overlay analysis on two geospatial feature layers. See
Buffering Features in Your Map (page 1306) and Overlaying Two Feature Sources
(page 1309).

Creating, Editing, and Managing Topologies | 833

A polygon in a topology consists of a centroid containing information about the
surrounding links. Intersecting links can have nodes. A polygon can contain one or
more islands.

You cannot create a polygon topology from ellipses or from closed polylines
that share an edge or intersection with other polygons. You must explode a
closed polyline before you create the topology. You can use information from
different layers to define a polygon topology.

Object Data for Polygon Topology
Information about a polygon topology is held in the centroids and links. The
object data table for each centroid has the following information.
Topology Name

Object Data Table

Object Data Field

SAMPLE_POLY

TPMCNTR_SAMPLE_POLY

ID
AREA
PERIMETER

834 | Chapter 6 Creating and Editing Data

Topology Name

Object Data Table

Object Data Field
LINKS_QTY

The object data table for each link in a polygon topology has the following
information.
Topology Name

Object Data Table

Object Data Field

SAMPLE_POLY

TPMLINK_SAMPLE_POLY

ID
START_NODE
END_NODE
DIRECTION
DIRECT_RESISTANCE
REVERSE_RESISTANCE
LEFT_POLYGON
RIGHT_POLYGON

If you create nodes when you create the polygon topology, the object data
table for each node has the following information.
Topology Name

Object Data Table

Object Data Field

SAMPLE_POLY

TPMNODE_SAMPLE_POLY

ID
RESISTANCE

See also:
■

Overview of Creating Topologies (page 822)

■

Creating a Node Topology (page 826)

■

Creating a Network Topology (page 829)

■

Sliver Polygons (page 841)

■

Cleaning Up Drawing Data (page 765)

Creating, Editing, and Managing Topologies | 835

■

Querying a Topology (page 1348)

NOTE This procedure is for drawing objects only. There is no equivalent for
geospatial feature data. However, you can use buffers to analyze features by
proximity and perform overlay analysis on two geospatial feature layers. See
Buffering Features in Your Map (page 1308)and Overlaying Two Feature Sources
(page 1316).
To create a polygon topology
1 Do one of the following to bring linework into the current drawing:
■

Attach the drawings containing the linework. Query the linework
into the current drawing.

■

Open the drawing containing the linework.

■

Import the linework from another file format.

2 Click Create tab ➤ Topology panel ➤ New.
3 In the Create Topology - Select Topology dialog box (page 1969):
■

Under Topology Type, click Polygon to indicate that you want to
create a polygon topology.

■

Enter a Topology Name and Topology Description for your new
topology.
Names can contain letters, numbers, and the underscore, hyphen,
and dollar characters. Names cannot include spaces.

■

Click Next.

4 Follow the on-screen instructions to specify the objects to use to create
the topology. You can also have AutoCAD Map 3D create any missing
nodes and centroids.
■

Use the Create Polygon Topology - Select Links dialog box (page 1964)
to select the linear objects to use to generate polygons for the topology.
To use a closed polyline to create polygon topology, you must first
explode the closed polyline.

■

Use the Create Polygon Topology - Select Nodes dialog box (page 1965)
to select the node objects to include in the topology.

836 | Chapter 6 Creating and Editing Data

■

Use the Create Polygon Topology - Create New Nodes dialog box (page
1961) to have AutoCAD Map 3D create node objects where needed.
Specify the layer and block to use for the new node objects.

■

Use the Create Polygon Topology - Select Centroids dialog box (page
1962) to select the centroids to use.

■

Use the Create Polygon Topology - Create New Centroids dialog box
(page 1960) to create centroids where needed. Specify the layer and block
to use for the new centroids.

5 In the Create Polygon Topology - Set Error Markers dialog box (page 1967),
indicate whether to highlight and/or mark detected errors with blocks.
AutoCAD Map 3D automatically checks for Missing Centroids and
Intersections. Additionally, you can choose to have AutoCAD Map 3D
check for Duplicate Centroids, Incomplete Areas, and Sliver Polygons.
■

To highlight errors with red Xs, select Highlight Errors.

■

To mark errors with blocks of the shape and color you specify, select
Mark Errors With Blocks.

■

In the Marker Size box, specify the marker size as a percent of the
screen size. A value between 3% and 7% is usually suitable.

■

If you chose the Mark Errors With Blocks option, specify the shape
and color of the block to use to mark each error.

6 Click Finish to create the polygon topology.
To remove highlighting, use the REDRAW, REGEN, or SAVE command.
To remove an error marker, select it and press Delete.
7 If appropriate, save the topology information back to source drawings.

Quick Reference
MAPTOPOCREATE
Creates a new topology
Menu

Click Map ➤ Topology ➤ Create.

Icon
Create Topology

Creating, Editing, and Managing Topologies | 837

Command Line

MAPTOPOCREATE

Task Pane

In Map Explorer, right-click Topologies ➤ Create

Dialog Box

Create Topology dialog box

Cleaning Data for a Polygon Topology
Clean up your data before creating polygon topology; eliminate gaps,
intersections, or overlaps between any of the linework in a polygon topology.
In addition, eliminate zero length objects or areas with missing centroids.
NOTE This functionality is for drawing objects only. There is no equivalent for
geospatial feature data. However, you can use buffers to analyze features by
proximity and perform overlay analysis on two geospatial feature layers. See
Buffering Features in Your Map (page 1306) and Overlaying Two Feature Sources
(page 1309).
If AutoCAD Map 3D cannot create a polygon topology because the links in
the polygons that cross over do not have a node where they meet, the
intersections are highlighted with an X or marked with an error marker (block)
that you configure. Missing centroids are also highlighted or marked in the
same way.
NOTE The markers used to mark polygon topology errors are the same as those
used to mark drawing cleanup errors. Before creating a polygon topology, AutoCAD
Map 3D removes any markers present from previous drawing cleanup operations.
Conversely, when you run a drawing cleanup operation, AutoCAD Map 3D removes
any markers present from creating a polygon topology.
See also:
■

Overview of Creating Topologies (page 822)

■

Creating a Polygon Topology (page 833)

■

Cleaning Up Drawing Data (page 765)

■

Sliver Polygons (page 841)

838 | Chapter 6 Creating and Editing Data

NOTE This procedure is for drawing objects only. There is no equivalent for
geospatial feature data. However, you can use buffers to analyze features by
proximity and perform overlay analysis on two geospatial feature layers. See
Buffering Features in Your Map (page 1308)and Overlaying Two Feature Sources
(page 1316).
To fix crossing objects
1 Use drawing cleanup (page 765) to break the crossing objects.
2 Optionally, detect duplicate centroids, incomplete areas, and sliver
polygons (page 841).
3 Create the topology again.
You can ensure there are no missing centroids by selecting the Create
Missing Centroids option on the Create Polygon Topology - Create New
Centroids screen.

Quick Reference
MAPCLEAN
Performs drawing cleanup operations
Menu

Modify menu ➤ Drawing Cleanup

Icon
Drawing Cleanup
Command Line

MAPCLEAN

Dialog Box

Drawing Cleanup

Creating Topologies for a Land Use Map
You can create a specialized polygon topology for a land use or land cover
map.
NOTE This functionality is for drawing objects only. There is no equivalent for
geospatial feature data. However, you can use buffers to analyze features by
proximity and perform overlay analysis on two geospatial feature layers. See
Buffering Features in Your Map (page 1306) and Overlaying Two Feature Sources
(page 1309).

Creating, Editing, and Managing Topologies | 839

See also:
■

Overview of Creating Topologies (page 822)

■

Creating a Polygon Topology (page 833)

NOTE This procedure is for drawing objects only. There is no equivalent for
geospatial feature data. However, you can use buffers to analyze features by
proximity and perform overlay analysis on two geospatial feature layers. See
Buffering Features in Your Map (page 1308)and Overlaying Two Feature Sources
(page 1316).
To create a topology for a land use and land cover map
1 Create areas for each type.
2 Add text or a block to each area to identify the type.
3 Create one topology named LAND_USE.
■

In the Create Polygon Topology - Select Centroids dialog box (page
1962), click Select Manually.

■

Click Select Objects

■

Select the text or block objects.

.

4 Query (page 1348) the centroid value from the polygon topology with the
topology query command.

Quick Reference
MAPTOPOCREATE
Creates a new topology
Menu

Click Map ➤ Topology ➤ Create.

Icon
Create Topology
Command Line

MAPTOPOCREATE

Task Pane

In Map Explorer, right-click Topologies ➤ Create

Dialog Box

Create Topology dialog box

840 | Chapter 6 Creating and Editing Data

Sliver Polygons
A sliver polygon is very long and thin; its perimeter is very large compared to
its area. When overlaying two topologies, AutoCAD Map 3D checks for sliver
polygons. When creating a new polygon topology, checking for sliver polygons
is optional.
NOTE This functionality is for drawing objects only. There is no equivalent for
geospatial feature data. However, when you perform overlay analysis (page 1309)on
two geospatial feature layers, you can check for sliver polygons (page 1565).
If a sliver polygon is detected, AutoCAD Map 3D highlights its centroid with
an X. To clear the Xs, use the REGEN command.
Though sliver polygons are not considered errors by AutoCAD Map 3D and
your topology can still be considered correct and complete, the sliver polygons
may be unintentional, for example, the result of digitizing errors. If you see
sliver polygons, you may want to double-check your data to make sure it is
correct and that the sliver polygons are expected.
For example, imagine you digitize two adjacent polygons, such as a parcel
and a flood plain, and there are slight overlaps between the two. Then, you
create topologies for each, overlay the topologies, and the resulting topology
contains sliver polygons. These may be correct or not, depending on your
data. If the boundaries between the adjacent polygons are meant to be the
same, then the sliver polygons are incorrect and you must correct your data.
If the boundaries are not meant to be the same, then sliver polygons are
correct.

Creating, Editing, and Managing Topologies | 841

Sliver polygons detected during an overlay (the Xs indicate the sliver polygons).

Tell me more
■

Show me how to do an overlay analysis
using two topologies.

■

To find sliver polygons when overlaying two topologies (page 843)

■

Find which lines are within a particular
polygon (overlay analysis.

Video

Procedure

GIS Skill

842 | Chapter 6 Creating and Editing Data

■

Overview of Creating Topologies (page
822)

■

Overlaying Two Topologies (page 1336)

■

Creating a Polygon Topology (page
833)

■

Correcting or Completing a Topology
(page 918)

Related topics

■

To find sliver polygons when you create a polygon topology (page 843)

■

To find sliver polygons when overlaying two topologies (page 843)

NOTE This procedure is for drawing objects only. There is no equivalent for
geospatial feature data. However, when you perform overlay analysis (page 1316)on
two geospatial feature layers, you can check for sliver polygons (page 1565).
To find sliver polygons when you create a polygon topology
1 Follow the basic steps to create a polygon topology (page 833).
2 In the Create Polygon Topology - Set Error Markers dialog box (page 1967),
select the option for checking for Sliver Polygons.
3 Do one of the following:
■

To highlight errors with red Xs, select Highlight Errors.

■

To mark errors with blocks of the shape and color you specify, select
Mark Errors With Blocks.
In the Marker Size box, specify the marker size as a percent of the
screen size. A value between 3% and 7% is usually suitable. Specify
the shape and color of the block to use to mark each error.

4 Click Finish to create the polygon topology and locate sliver polygons.
To remove highlighting, use the REDRAW, REGEN, or SAVE command.
To remove an error marker, select it and press Delete.
To find sliver polygons when overlaying two topologies
1 In Map Explorer (page 2068), under Current Drawing, right-click the source
topology ➤ Analysis ➤ Overlay.

Creating, Editing, and Managing Topologies | 843

2 In Topology Overlay Analysis - Analysis Type dialog box (page 1999), select
Identity as the type of overlay analysis to perform. Click Next.
The result topology includes areas that appear in the source topology and
areas in the overlay topology that are within the source topology
boundary.
3 In the Topology Overlay Analysis - Select Overlay Topology dialog box
(page 2007), select the polygon topology to use as the overlay topology.
Click Next.
4 In the Topology Overlay Analysis - New Topology dialog box, do the
following:
■

Select Highlight to highlight the resulting topology on screen. Select
the highlight color.

■

Enter a name and description for the new topology, and specify the
layer to place it on.

■

Click Next.

5 If desired, specify how to copy data to the result topology, whether to
create new nodes to complete the resulting topology, and the block to
use for centroids.
6 Click Finish.

Quick Reference
MAPTOPOCREATE
Creates a new topology
Menu

Click Map ➤ Topology ➤ Create.

Icon
Create Topology
Command Line

MAPTOPOCREATE

Task Pane

In Map Explorer, right-click Topologies ➤ Create

Dialog Box

Create Topology dialog box

MAPCLEAN

844 | Chapter 6 Creating and Editing Data

Performs drawing cleanup operations
Menu

Modify menu ➤ Drawing Cleanup

Icon
Drawing Cleanup
Command Line

MAPCLEAN

Dialog Box

Drawing Cleanup

MAPANOVERLAY
Overlays one topology with another, and creates a new topology
Menu

Click Map ➤ Topology ➤ Overlay.

Icon
Overlay Topology
Command Line

MAPANOVERLAY

Task Pane

In Map Explorer, right-click a
topology ➤ Analysis ➤ Overlay

Dialog Box

Topology Overlay Analysis - Analysis Type dialog box

Specifying the Direction for a Link
You can specify the direction of movement allowed for a link in a network
topology. AutoCAD Map 3D uses this direction when tracing through network
topology for path traces, best route analysis, and flood traces.
NOTE This functionality is for drawing objects only. There is no equivalent for
geospatial feature data.

Creating, Editing, and Managing Topologies | 845

Direction

Property in the
Object data
Properties palette value

Bi-Directional (two-way)

Bi-Directional

846 | Chapter 6 Creating and Editing Data

0

Direction

Property in the
Object data
Properties palette value

Same as created. Movement along the link
is allowed only in the direction that the
link was created.

Forward

1

Reverse of created direction. Movement
along the link is allowed only in the opposite direction that the link was created.

Reverse

-1

The default direction of an arc, or a two-point polyline with an arc segment,
is counterclockwise. Set the value to Bi-Directional (0) or Forward (1) for
counterclockwise, and to Reverse (-1) for clockwise.
To reverse the direction of selected links, right-click a network topology in
Map Explorer. Click Reverse Link Direction. You can also use the MAPRL
command.
See also:
■

Overview of Creating Topologies (page 822)

■

Creating a Network Topology (page 829)

■

Performing a Shortest Path Trace (page 1324)

■

Performing a Best Route Analysis (page 1328)

■

Performing a Flood Trace (page 1333)

■

Specifying the Resistance for a Link or Node (page 849)

■

Editing the Direction for a Link (page 870)

■

Updating a Topology (page 891)

NOTE This procedure is for drawing objects only. There is no equivalent for
geospatial feature data.
To specify the direction for a link
1 Verify that the network topology containing the link is loaded. You can
specify link direction for network topologies only.
2 In the map, double-click the link for which you want to specify direction.

Creating, Editing, and Managing Topologies | 847

If more than one topology contains the same link, select one of the
topologies. Update the other topologies (page 891) later.
3 In the Properties palette, under the Topo properties, choose a setting for
the Flow Direction property:
■

Bi-Directional — Movement is allowed in both directions.

■

Forward — Movement is allowed only in the direction that the link
was created.

■

Reverse — Movement is allowed only in the opposite direction of the
direction that the link was created.

The new direction setting is assigned to the link.
NOTE You can also store a direction value in an object data table or an external
database table. When you run a shortest path trace, best route analysis, or flood
trace, you can specify the location of this data. When storing this data, use 0 for
Bi-Directional, 1 for Forward, and -1 for Reverse.

Quick Reference
MAPEDITDIR
Edits the direction of a link in a network topology
Command Line

MAPEDITDIR

Dialog Box

MAPEDITDIR (Edit Direction command)

MAPRL
Reverses a link in a topology
Command Line

MAPRL

Task Pane

In Map Explorer, right-click a topology ➤ Reverse
Link Direction

PROPERTIES
Displays the Properties palette, which allows you to edit the properties of
objects
Menu

Analyze ➤ Properties

848 | Chapter 6 Creating and Editing Data

Icon
Properties
Command Line

PROPERTIES

Task Pane

Select object. Right-click in drawing area ➤ Properties

Specifying the Resistance for a Link or Node
Direct Resistance is the resistance to travel in the direction that a link was
created, while Reverse Resistance is the resistance in the opposite direction
along a link.
For both types, you can specify a resistance for any link in the network
topology. This resistance specifies the difficulty in traversing the link. The
default resistance is the length of the link.
AutoCAD Map 3D uses this resistance when doing a shortest path trace, best
route analysis, or flood trace. For an example of using resistance to show travel
times, see Performing a Flood Trace (page 1333).
You can also specify the Resistance of a node in a network topology, such as
setting resistance for a valve in a pipe network, or a junction in a road network.
NOTE This functionality is for drawing objects only. There is no equivalent for
geospatial feature data.
See also:
■

Overview of Creating Topologies (page 822)

■

Creating a Network Topology (page 829)

■

Performing a Shortest Path Trace (page 1324)

■

Performing a Best Route Analysis (page 1328)

■

Performing a Flood Trace (page 1333)

■

Editing the Resistance for a Link or Node (page 874)

■

Specifying the Direction for a Link (page 845)

NOTE This procedure is for drawing objects only. There is no equivalent for
geospatial feature data.

Creating, Editing, and Managing Topologies | 849

To edit the resistance of a link or node in a network topology
1 Verify that the network topology containing the link or node is loaded.
Be sure to load the topology from the current drawing. You can specify
resistance for network topologies only.
2 In the map, double-click the link or node for which you want to specify
resistance.
If more than one topology contains the same link or node, select one of
the topologies. Update the other topologies (page 891) later.
3 In the Properties palette, under the group of Topo properties, enter new
values for resistance. You must enter a numeric value.
■

For a node, enter a value for Resistance, which is the resistance to
cross the node.

■

For a link, enter values for Direct Resistance and Reverse Resistance.
Direct resistance is the resistance to travel in the direction that a link
was created, while reverse resistance is the resistance in the opposite
direction along a link. The default value is the length of the link.

The new resistance values are assigned to the objects.
NOTE You can also store a resistance value in object data or an external database.
When you run a flood trace, path trace, or best route analysis, specify the location
of this data.
If you are entering the commands on the command line, use the MAPEDITRES1
command to edit the Direct Resistance of links and the Resistance of nodes;
use the MAPEDITRES2 command to edit the Reverse Resistance of links.

Quick Reference
MAPEDITRES1
Edits the direct resistance of a node or link in a network topology
Command Line

MAPEDITRES1

Dialog Box

MAPEDITRES1 (Edit Direct Resistance command)

MAPEDITRES2
Edits the reverse resistance of a link in a network topology

850 | Chapter 6 Creating and Editing Data

Command Line

MAPEDITRES2

Dialog Box

MAPEDITRES2 (Edit Reverse Resistance command)

PROPERTIES
Displays the Properties palette, which allows you to edit the properties of
objects
Menu

Analyze ➤ Properties

Icon
Properties
Command Line

PROPERTIES

Task Pane

Select object. Right-click in drawing area ➤ Properties

Editing Topologies
Use the topology editing commands, which are accessible from Map Explorer
or the command line, to make changes to a topology without losing the
integrity of the topology.
NOTE This functionality is for drawing objects only. There is no equivalent for
geospatial feature data.
NOTE These procedures are for drawing objects only. There are no equivalents
for geospatial feature data.
To edit a topology
■
■
■
■
■
■
■
■
■
■
■
■
■

To edit a topology (page 854)
To edit a node (page 860)
To reposition a node at the end point of a link (page 863)
To reposition a link (page 863)
To join two links, break a link, or reverse a link's direction (page 864)
To modify the resistance or direction of a link (page 864)
To divide a polygon into two smaller polygons (page 867)
To merge two polygons into one polygon (page 868)
To change the appearance of points (page 870)
To edit the direction of a link (page 873)
To edit the resistance of a link or node in a network topology (page 875)
To create a node on an existing link (page 878)
To add an existing node to a topology (page 878)

Creating, Editing, and Managing Topologies | 851

■
■
■
■
■
■
■
■
■
■

To create a link and add it to a topology (page 880)
To add an existing link to a topology (page 881)
To add a polygon to a polygon topology using existing linework (page 884)
To add a polygon to a polygon topology by creating new linework (page
884)
To create centroids for polygons and closed polylines (page 887)
To delete a link, node, or polygon (page 889)
To update a topology (page 892)
To retrieve objects to edit (page 894)
To edit the objects (page 895)
To create closed polylines from a polygon topology (page 898)

Overview of Editing a Topology
Use topology editing commands to make changes to a topology without losing
the integrity of the topology. If you use object-editing commands such as
ERASE or STRETCH to modify a topology, important data may be lost. To
repair a topology edited with these commands, use the Update option (page
891).
NOTE This functionality is for drawing objects only. There is no equivalent for
geospatial feature data.

Edits to this polygon topology consist of adding a node (page 877) and then
dividing the polygon (page 866) with a link.
To edit a topology, the topology data and geometry must be loaded in the
current drawing. You can edit only one topology at a time, and multi-user
editing of a topology is not permitted. When you load a topology, an audit
checks topology integrity. This audit is only concerned with topology data,

852 | Chapter 6 Creating and Editing Data

not with geometry. Any incomplete objects are registered, because only
complete objects can be edited.
To add or insert objects into a topology, the current drawing must be where
the topology was created. If the topology was created in a source drawing, you
must open that drawing to add objects to the topology. Make the layer
containing the topology objects current so new objects have the same
properties as objects already in the topology.
If you edit a topology and then use the Undo command, the altered geometry
is restored to its former state but the altered topology remains current. To
perform further editing on the topology, unload and reload (page 906) the
topology. This applies to all topology functions.

Editing Topologies from More than One Drawing
To edit a topology that spans more than one drawing, you must edit the
topology in the drawing where it was created. The other drawings will be
attached to this drawing. First, query the topology into the drawing, then
unload (page 906) the topology from the source drawings and retrieve the
topology into the current drawing. You can edit part of a topology by querying
just the part you want, but the topology editing commands do not allow you
to edit the edges of a topology or an incomplete topology.
The safest option is to use a query to retrieve the entire topology. However,
if the topology is large, it may impair performance. With large topologies,
query the area to edit plus enough of an area around the edit area to ensure
that the objects to be edited are complete.

Editing a Network Topology
To modify a network topology, for example, adding a new pipe to a water
network, you can add nodes and links to an existing network topology, and
then update (page 891) the topology to include the new pipes.
Before you edit a topology object, make sure the layer containing the topology
objects is the current layer.
See also:
■

Loading or Unloading Topologies (page 906)

■

Querying a Topology (page 1348)

■

Correcting or Completing a Topology (page 918)

■

Creating a Network Topology (page 829)

Creating, Editing, and Managing Topologies | 853

NOTE To edit a topology, use the AutoCAD Map 3D topology edit commands.
When you edit a topology, the topology must be loaded from the current drawing.
To add an object to a topology, the current drawing must be the drawing where
the topology was created.
NOTE This procedure is for drawing objects only. There is no equivalent for
geospatial feature data.
To edit a topology
■

To edit a node (page 860)

■

To reposition a node at the end point of a link (page 863)

■

To divide a polygon into two smaller polygons (page 867)

■

To change the appearance of points (page 870)

■

To specify the direction for a link (page 847)

■

To edit the resistance of a link or node in a network topology (page 850)

■

To create a node on an existing link (page 878)

■

To create a link and add it to a topology (page 880)

■

To add a polygon to a polygon topology using existing linework (page 884)

■

To create centroids for polygons and closed polylines (page 887)

■

To delete a link, node, or polygon (page 889)

■

To update a topology (page 892)

■

To retrieve objects to edit (page 894)

Quick Reference
DDPTYPE
Specifies the display mode and size of point objects
Menu

Setup menu ➤ More Formatting Options ➤ Point
Style

Command Line

DDPTYPE

854 | Chapter 6 Creating and Editing Data

MAPAL
Adds a link to a topology
Command Line

MAPAL

Task Pane

In Map Explorer, right-click a network
topology ➤ Add New Links

MAPAN
Adds a node to a topology
Command Line

MAPAN

Task Pane

In Map Explorer, right-click a node topology ➤ Add
Node

MAPAP
Adds a polygon to a polygon topology
Command Line

MAPAP

Task Pane

In Map Explorer, right-click a polygon
topology ➤ Add Polygon

MAPBL
Breaks a link in a topology at a specified point
Command Line

MAPBL

Task Pane

In Map Explorer, right-click a network
topology ➤ Break Link

MAPCREATECENTROIDS
Creates a centroid in a polygon and moves data to the centroid
Menu

Create menu ➤ Centroids

Icon
Create Centroids
Command Line

MAPCREATECENTROIDS

Dialog Box

Create Centroids dialog box

Creating, Editing, and Managing Topologies | 855

MAPDL
Deletes a link in a topology
Command Line

MAPDL

Task Pane

In Map Explorer, right-click a network
topology ➤ Delete Links

MAPDN
Deletes a node in a topology
Command Line

MAPDN

Task Pane

In Map Explorer, right-click a node topology ➤ Delete
Node

MAPDP
Deletes a polygon from a polygon topology
Command Line

MAPDP

Task Pane

In Map Explorer, right-click a polygon
topology ➤ Delete Polygon

MAPDVP
Divides a polygon in a polygon topology by allowing you to add a link
Command Line

MAPDVP

Task Pane

In Map Explorer, right-click a polygon
topology ➤ Divide Polygon

MAPEDITDIR
Edits the direction of a link in a network topology
Command Line

MAPEDITDIR

Dialog Box

MAPEDITDIR (Edit Direction command)

MAPEDITRES1
Edits the direct resistance of a node or link in a network topology
Command Line

MAPEDITRES1

856 | Chapter 6 Creating and Editing Data

Dialog Box

MAPEDITRES1 (Edit Direct Resistance command)

MAPEDITRES2
Edits the reverse resistance of a link in a network topology
Command Line

MAPEDITRES2

Dialog Box

MAPEDITRES2 (Edit Reverse Resistance command)

MAPIL
Inserts a link in a topology
Command Line

MAPIL

Task Pane

In Map Explorer, right-click a network
topology ➤ Insert New Link

MAPIN
Inserts a node in a topology
Command Line

MAPIN

Task Pane

In Map Explorer, right-click a node topology ➤ Insert
Node

MAPJL
Joins two links in a topology
Command Line

MAPJL

Task Pane

In Map Explorer, right-click a network
topology ➤ Join Links

MAPMEL
Repositions an end point of a link in a topology
Command Line

MAPMEL

Task Pane

In Map Explorer, right-click a network
topology ➤ Move End Of Link

MAPML

Creating, Editing, and Managing Topologies | 857

Moves a link in a topology
Command Line

MAPML

Task Pane

In Map Explorer, right-click a network
topology ➤ Move Links

MAPMN
Moves a node in a topology or moves a node at the end of a link in network
or polygon topologies
Command Line

MAPMN

Task Pane

In Map Explorer, right-click a node topology ➤ Move
Node

MAPMP
Merges polygons in a polygon topology
Command Line

MAPMP

Task Pane

In Map Explorer, right-click a polygon
topology ➤ Merge Polygon

MAPRL
Reverses a link in a topology
Command Line

MAPRL

Task Pane

In Map Explorer, right-click a topology ➤ Reverse
Link Direction

PROPERTIES
Displays the Properties palette, which allows you to edit the properties of
objects
Menu

Analyze ➤ Properties

Icon
Properties
Command Line

PROPERTIES

Task Pane

Select object. Right-click in drawing area ➤ Properties

858 | Chapter 6 Creating and Editing Data

Editing a Node
You can move a node in a node topology, or move a node at the end point
of a link in a network or polygon topology. Moving the node at the end point
of a link also moves that end of the chosen link. Edits to nodes and links in
a polygon topology change the centroid, the area, and perimeter values.
NOTE This functionality is for drawing objects only. There is no equivalent for
geospatial feature data.
When you move a node, AutoCAD Map 3D checks its new location.
■

In node topologies, if there is an existing node in the same location, you
must specify which node to keep.

■

In network or polygon topologies, you must specify whether to join the
links and which node to use to join them.

You can also delete nodes. For more information, see Deleting Links, Nodes,
and Polygons (page 888).
If you're working with a network topology, you can also modify the resistance
(page 850) of nodes.

Deleting one node that indicates adjoining links creates
a single link.

To turn an explicit node into an implicit node, unload the topology, delete
the point or block representing the explicit node, and then reload the topology.
To turn an implicit node into an explicit node, first insert a block or point at
the implicit node point (use an Intersection or End snap to position the block
accurately). Then, if you are working with a node topology, right-click the
topology name in Map Explorer. Click Add Node. You cannot use the Insert

Creating, Editing, and Managing Topologies | 859

Node option. If you are working with a network or polygon topology, use the
MAPAN command.
If you retrieve the nodes of a network or polygon topology, but not the
connecting links, you can still move the nodes. However, the current topology
knows nothing about the connecting links because all the link information
is stored on the links, and saving any edited nodes back to the source drawings
will create an incorrect topology.
See also:
■

Loading or Unloading Topologies (page 906)

■

To create a node on an existing link (page 878)

■

To delete a link, node, or polygon (page 889)

■

To edit the resistance of a link or node in a network topology (page 850)

NOTE This procedure is for drawing objects only. There is no equivalent for
geospatial feature data.
To edit a node
1 Open the drawing where the topology was created and load the topology.
2 Do one of the following:
■

For a node topology, in Map Explorer, right-click the topology name.
Click Move Nodes.

■

For a network or polygon topology, type mapmn at the command
line.

3 When prompted, click the nodes to move.
4 Press Enter when you finish selecting nodes.
5 Specify the base point or displacement.
6 Specify the second point of displacement.
The two points you specify define a displacement vector that indicates
how far the selected objects are to be moved and in what direction. If
you press Enter at the Specify Second Point of Displacement prompt, the
first point is interpreted as relative X,Y,Z displacement. For example, if
you specify 2,3 for the base point and press Enter at the next prompt,

860 | Chapter 6 Creating and Editing Data

the object moves 2 units in the X direction and 3 units in the Y direction
from its current position.
In a node topology, if the node's new location is the same as an existing node,
specify which node to keep. In a network topology, specify whether to join
the links and which node to keep.

Quick Reference
MAPMN
Moves a node in a topology or moves a node at the end of a link in network
or polygon topologies
Command Line

MAPMN

Task Pane

In Map Explorer, right-click a node topology ➤ Move
Node

MAPNODEDIT
Edits a node in a topology
Command Line

MAPNODEDIT

Dialog Box

MAPNODEDIT (Edit Topology Node command)

PROPERTIES
Displays the Properties palette, which allows you to edit the properties of
objects
Menu

Analyze ➤ Properties

Icon
Properties
Command Line

PROPERTIES

Task Pane

Select object. Right-click in drawing area ➤ Properties

Editing a Link
There are several ways you can edit links in a network or polygon topology.

Creating, Editing, and Managing Topologies | 861

NOTE This procedure is for drawing objects only. There is no equivalent for
geospatial feature data.
You can do any of the following:
■

Move a link to a new location.

■

Reposition one of the nodes at the end point of a link. Moving the node
at the end point of a link moves that end of the chosen link.
If you move an end point to the same location as an existing end point,
AutoCAD Map 3D prompts you to join the links and specify which node
to keep. If you select a line or arc when moving links or end points of links,
it is converted to a polyline.

■

Join two links in a network or polygon topology by removing an
intersection or pseudo-node.

■

Break a link at a specified break point. AutoCAD Map 3D inserts a node at
the break point.

■

Reverse the direction of a link in a network topology.

■

Specify the resistance, reverse resistance, and direction of a link.

Edits to links in a polygon topology change the centroid, the area, and the
perimeter values.
See also:
■

Loading or Unloading Topologies (page 906)

■

To create a node on an existing link (page 878)

■

Editing a Node (page 859)

■

To delete a link, node, or polygon (page 889)

■

Specifying the Direction for a Link (page 845)

■

Specifying the Resistance for a Link or Node (page 849)

■

Adding a Link (page 880)

NOTE This procedure is for drawing objects only. There is no equivalent for
geospatial feature data.
■

To reposition a node at the end point of a link (page 863)

862 | Chapter 6 Creating and Editing Data

■

To reposition a link (page 863)

■

To join two links, break a link, or reverse a link's direction (page 864)

■

To modify the resistance or direction of a link (page 864)

To reposition a node at the end point of a link
1 Open the drawing where the topology was created and load the topology.
2 Do one of the following:
■

For a network topology, in Map Explorer, right-click the topology
name. Click Move End Of Link.

■

For a polygon topology, type MAPMEL on the command line.

3 When prompted, click the node (end point) to move.
4 When prompted, click the location of the new end point.
If the new location is the same as an existing end point in the topology,
specify whether to join the links and which node to keep.
To reposition a link
1 Open the drawing where the topology was created and load the topology.
2 Do one of the following:
■

For a network topology, in Map Explorer, right-click the topology
name. Click Move Links.

■

For a polygon topology, type MAPML on the command line.

3 When prompted, click the link to reposition.
4 When prompted, click any additional links to reposition.
5 Press Enter when you finish selecting links.
6 Specify the base point or displacement.
7 Specify the second point of displacement.
The two points define a displacement vector that indicates how far the
selected objects are moved and in what direction. If you press Enter at
the Specify Second Point of Displacement prompt, the first point is
interpreted as relative X,Y,Z displacement. For example, if you specify
2,3 for the base point and press Enter at the next prompt, the object

Creating, Editing, and Managing Topologies | 863

moves 2 units in the X direction and 3 units in the Y direction from its
current position.
To join two links, break a link, or reverse a link's direction
1 Open the drawing where the topology was created and load the topology.
2 Do one of the following:
■

For a network topology, in Map Explorer, right-click the topology
name. Click a menu option.

■

To join two links in a polygon topology, type MAPJL on the command
line. To break a link in a polygon topology, type MAPBL on the
command line. You cannot reverse a link's direction in a polygon
topology.
Follow the command line prompts.

To modify the resistance or direction of a link
■

For information about specifying values for resistance, see To edit the
resistance of a link or node in a network topology (page 850).

■

For information about specifying direction, To specify the direction for a
link (page 847).

Quick Reference
MAPBL
Breaks a link in a topology at a specified point
Command Line

MAPBL

Task Pane

In Map Explorer, right-click a network
topology ➤ Break Link

MAPEDITDIR
Edits the direction of a link in a network topology
Command Line

MAPEDITDIR

Dialog Box

MAPEDITDIR (Edit Direction command)

864 | Chapter 6 Creating and Editing Data

MAPEDITRES1
Edits the direct resistance of a node or link in a network topology
Command Line

MAPEDITRES1

Dialog Box

MAPEDITRES1 (Edit Direct Resistance command)

MAPEDITRES2
Edits the reverse resistance of a link in a network topology
Command Line

MAPEDITRES2

Dialog Box

MAPEDITRES2 (Edit Reverse Resistance command)

MAPJL
Joins two links in a topology
Command Line

MAPJL

Task Pane

In Map Explorer, right-click a network
topology ➤ Join Links

MAPMEL
Repositions an end point of a link in a topology
Command Line

MAPMEL

Task Pane

In Map Explorer, right-click a network
topology ➤ Move End Of Link

MAPML
Moves a link in a topology
Command Line

MAPML

Task Pane

In Map Explorer, right-click a network
topology ➤ Move Links

MAPRL
Reverses a link in a topology
Command Line

MAPRL

Creating, Editing, and Managing Topologies | 865

Task Pane

In Map Explorer, right-click a topology ➤ Reverse
Link Direction

PROPERTIES
Displays the Properties palette, which allows you to edit the properties of
objects
Menu

Analyze ➤ Properties

Icon
Properties
Command Line

PROPERTIES

Task Pane

Select object. Right-click in drawing area ➤ Properties

Editing a Polygon
You can divide a polygon into two smaller polygons by drawing a link between
two nodes that define the polygon. You can also remove a boundary between
two polygons and combine them into one polygon. You can specify the
centroid to remove. Splitting and combining polygons change the centroid,
the area, and perimeter values.
You can also use the commands for editing nodes (page 859) and editing links
(page 861) to edit a polygon topology. When you do, AutoCAD Map 3D changes
the centroid, the area, and perimeter values of the polygons automatically.
NOTE This functionality is for drawing objects only. There is no equivalent for
geospatial feature data.

866 | Chapter 6 Creating and Editing Data

Polygons at the edge of a queried polygon topology cannot be edited.

See also:
■

Overview of Creating Topologies (page 822)

■

Creating a Polygon Topology (page 833)

■

Querying a Topology (page 1348)

■

Adding a Polygon (page 882)

■

To delete a link, node, or polygon (page 889)

■

Editing a Link (page 861)

■

Editing a Node (page 859)

NOTE This procedure is for drawing objects only. There is no equivalent for
geospatial feature data.
To divide a polygon into two smaller polygons
1 Open the drawing where the polygon topology was created and load the
topology.
2 In Map Explorer, right-click the topology name. Click Divide Polygon.
3 Specify a node for the first divide point.

Creating, Editing, and Managing Topologies | 867

4 Specify the node for the second divide point.
To merge two polygons into one polygon
1 Open the drawing where the polygon topology was created and load the
topology.
2 In Map Explorer, right-click the topology name. Click Merge Polygon.
3 Specify the link (boundary between two polygons) to remove.
4 Specify the centroid to remove.
5 On the command line, type Y to merge the polygons.

Quick Reference
MAPDVP
Divides a polygon in a polygon topology by allowing you to add a link
Command Line

MAPDVP

Task Pane

In Map Explorer, right-click a polygon
topology ➤ Divide Polygon

MAPMP
Merges polygons in a polygon topology
Command Line

MAPMP

Task Pane

In Map Explorer, right-click a polygon
topology ➤ Merge Polygon

PROPERTIES
Displays the Properties palette, which allows you to edit the properties of
objects
Menu

Analyze ➤ Properties

Icon
Properties
Command Line

PROPERTIES

Task Pane

Select object. Right-click in drawing area ➤ Properties

868 | Chapter 6 Creating and Editing Data

Changing the Appearance of Points
If you create nodes as ACAD_POINT, you can change their appearance.
NOTE This functionality is for drawing objects only. There is no equivalent for
geospatial feature data.

Creating, Editing, and Managing Topologies | 869

See also:
■

Overview of Creating Topologies (page 822)

■

Creating a Node Topology (page 826)

■

Adding a Node (page 877)

NOTE This procedure is for drawing objects only. There is no equivalent for
geospatial feature data.
To change the appearance of points
1 At the Command prompt, enter ddptype.
2 In the Point Style dialog box, select any of the point modes.
You can also change the Point Size to improve the visibility of the points.
3 Click OK.
4 On the command line, enter regen.
Nodes you created using ACAD_POINT appear in the point style you selected.
To reset the node display, use the Point Style dialog box to reset the point
style. Then enter regen on the command line.

Quick Reference
DDPTYPE
Specifies the display mode and size of point objects
Menu

Setup menu ➤ More Formatting Options ➤ Point
Style

Command Line

DDPTYPE

Editing the Direction for a Link
You can specify the direction of movement allowed for a link in a network
topology. AutoCAD Map 3D uses this direction when tracing through network
topology for path traces, best route analysis, and flood traces.

870 | Chapter 6 Creating and Editing Data

NOTE This functionality is for drawing objects only. There is no equivalent for
geospatial feature data.

Creating, Editing, and Managing Topologies | 871

Direction

Property in the
Properties
palette

Object data
value

Bi-Directional (two-way)

Bi-Directional

0

Same as created. Movement along the link is allowed only in the direction that the link was
created.

Forward

1

Reverse of created direction. Movement along
the link is allowed only in the opposite direction
that the link was created.

Reverse

-1

The default direction of an arc, or a two-point polyline with an arc segment,
is counterclockwise. Set the value to Bi-Directional (0) or Forward (1) for
counterclockwise, and to Reverse (-1) for clockwise.
To reverse the direction of selected links, right-click a network topology in
Map Explorer. Click Reverse Link Direction. You can also use the MAPRL
command.

872 | Chapter 6 Creating and Editing Data

See also:
■

Loading or Unloading Topologies (page 906)

■

Adding a Link (page 880)

■

To delete a link, node, or polygon (page 889)

■

Specifying the Direction for a Link (page 845)

■

Specifying the Resistance for a Link or Node (page 849)

■

Performing a Shortest Path Trace (page 1324)

■

Performing a Best Route Analysis (page 1328)

■

Performing a Flood Trace (page 1333)

NOTE This procedure is for drawing objects only. There is no equivalent for
geospatial feature data.
To edit the direction of a link
1 Verify that the network topology containing the link is loaded. You can
specify link direction for network topologies only.
2 In the map, double-click the link.
If more than one topology contains the same link, select one of the
topologies. Update the other topologies (page 891) later.
3 In the Properties palette, under the Topo properties, choose a setting for
the Flow Direction property:
■

Bi-Directional — Movement is allowed in both directions.

■

Forward — Movement is allowed only in the direction that the link
was created.

■

Reverse — Movement is allowed only in the opposite direction of the
direction that the link was created.

The new direction setting is assigned to the link.
NOTE You can also store a direction value in an object data table or an external
database table. When you run a shortest path trace, best route analysis, or flood
trace, you can specify the location of this data. When storing this data, use 0 for
Bi-Directional, 1 for Forward, and -1 for Reverse.

Creating, Editing, and Managing Topologies | 873

Quick Reference
MAPEDITDIR
Edits the direction of a link in a network topology
Command Line

MAPEDITDIR

Dialog Box

MAPEDITDIR (Edit Direction command)

MAPRL
Reverses a link in a topology
Command Line

MAPRL

Task Pane

In Map Explorer, right-click a topology ➤ Reverse
Link Direction

PROPERTIES
Displays the Properties palette, which allows you to edit the properties of
objects
Menu

Analyze ➤ Properties

Icon
Properties
Command Line

PROPERTIES

Task Pane

Select object. Right-click in drawing area ➤ Properties

Editing the Resistance for a Link or Node
Direct Resistance is the resistance to travel in the direction that a link was
created, while Reverse Resistance is the resistance in the opposite direction
along a link.
NOTE This functionality is for drawing objects only. There is no equivalent for
geospatial feature data.
For both types, you can specify a resistance for any link in the network
topology. This resistance specifies the difficulty in traversing the link. The
default resistance is the length of the link.

874 | Chapter 6 Creating and Editing Data

AutoCAD Map 3D uses this resistance when doing a shortest path trace, best
route analysis, or flood trace. For an example of using resistance to show travel
times, see Performing a Flood Trace (page 1333).
You can also specify the Resistance of a node in a network topology, such as
setting resistance for a valve in a pipe network, or a junction in a road network.
See also:
■

Loading or Unloading Topologies (page 906)

■

Adding a Link (page 880)

■

To delete a link, node, or polygon (page 889)

■

Specifying the Direction for a Link (page 845)

■

Specifying the Resistance for a Link or Node (page 849)

■

Performing a Shortest Path Trace (page 1324)

■

Performing a Best Route Analysis (page 1328)

■

Performing a Flood Trace (page 1333)

NOTE This procedure is for drawing objects only. There is no equivalent for
geospatial feature data.
To edit the resistance of a link or node in a network topology
1 Verify that the network topology containing the link or node is loaded.
Be sure to load the topology from the current drawing. You can specify
resistance for network topologies only.
2 In the map, double-click the link or node.
If more than one topology contains the same link or node, select one of
the topologies. Update the other topologies (page 891) later.
3 In the Properties palette, under the group of Topo properties, enter new
values for resistance. You must enter a numeric value.
■

For a node, enter a value for Resistance, which is the resistance to
cross the node.

■

For a link, enter values for Direct Resistance and Reverse Resistance.
Direct resistance is the resistance to travel in the direction that a link
was created, while reverse resistance is the resistance in the opposite
direction along a link. The default value is the length of the link.

Creating, Editing, and Managing Topologies | 875

The new resistance values are assigned to the objects.
NOTE You can also store a resistance value in object data or an external database.
When you run a flood trace, path trace, or best route analysis, specify the location
of this data.
If you are entering the commands on the command line, use the MAPEDITRES1
(Edit Direct Resistance command) (page 1939) to edit the Direct Resistance of
links and the Resistance of nodes; use the MAPEDITRES2 (Edit Reverse
Resistance command) (page 1940) to edit the Reverse Resistance of links.

Quick Reference
MAPEDITRES1
Edits the direct resistance of a node or link in a network topology
Command Line

MAPEDITRES1

Dialog Box

MAPEDITRES1 (Edit Direct Resistance command)

MAPEDITRES2
Edits the reverse resistance of a link in a network topology
Command Line

MAPEDITRES2

Dialog Box

MAPEDITRES2 (Edit Reverse Resistance command)

PROPERTIES
Displays the Properties palette, which allows you to edit the properties of
objects
Menu

Analyze ➤ Properties

Icon
Properties
Command Line

PROPERTIES

Task Pane

Select object. Right-click in drawing area ➤ Properties

876 | Chapter 6 Creating and Editing Data

Adding a Node
You can add nodes to an existing topology. To add nodes, the current drawing
must be where the topology was created and the geometry (point, block, or
text object) must already exist. You can add a node to the end of a link or a
vertex in network or polygon topologies.
NOTE This functionality is for drawing objects only. There is no equivalent for
geospatial feature data.

Adding a node to an existing topology.

Creating, Editing, and Managing Topologies | 877

See also:
■

Overview of Creating Topologies (page 822)

■

Loading or Unloading Topologies (page 906)

■

Deleting Links, Nodes, and Polygons (page 888)

■

Updating a Topology (page 891)

■

Adding a Link (page 880)

NOTE This procedure is for drawing objects only. There is no equivalent for
geospatial feature data.
To create a node on an existing link
1 Open the drawing where the topology was created and load the topology.
To create a node and add it to a topology, the current drawing must be
the drawing where the topology was created.
NOTE To add the same point to more than one topology, select one of the
topologies. Update the other topologies (page 891) later.
2 Do one of the following:
■

To add a node to a node topology, in Map Explorer, right-click the
topology name. Click Insert Node.

■

To add a node to a network or polygon topology, type mapin on the
command line.

3 When prompted, select the block to use for the node.
4 When prompted, specify the location for the node. You can use an object
snap such as Midpoint. Enter any other node information.
To add an existing node to a topology
1 Open the drawing where the topology was created and load the topology.
2 Create the point, block, or text object that you will use as the node.
3 Be sure to load the topology you want to add the node to from the current
drawing.

878 | Chapter 6 Creating and Editing Data

4 Do one of the following:
■

To add a node to a node topology, in Map Explorer, right-click the
topology name. Click Add Node.

■

To add a node to a network or polygon topology, type mapan on the
command line.

5 When prompted, select the object to use as the node.

Quick Reference
MAPAN
Adds a node to a topology
Command Line

MAPAN

Task Pane

In Map Explorer, right-click a node topology ➤ Add
Node

MAPIN
Inserts a node in a topology
Command Line

MAPIN

Task Pane

In Map Explorer, right-click a node topology ➤ Insert
Node

PROPERTIES
Displays the Properties palette, which allows you to edit the properties of
objects
Menu

Analyze ➤ Properties

Icon
Properties
Command Line

PROPERTIES

Task Pane

Select object. Right-click in drawing area ➤ Properties

Creating, Editing, and Managing Topologies | 879

Adding a Link
You can add a new or existing link to a network or polygon topology. The
current drawing must be where the topology was created.
NOTE This functionality is for drawing objects only. There is no equivalent for
geospatial feature data.
Create new links between existing nodes. Add nodes (page 877) as needed. New
links cannot cross other links. If you draw a line or arc, it is converted to a
polyline.
When adding links to polygon topologies, AutoCAD Map 3D updates the
centroid, the area, and perimeter values of the polygons. You can also divide
a polygon using the MAPDVP command.
You cannot add links to node topologies.
See also:
■

Adding a Node (page 877)

■

Editing a Link (page 861)

■

Editing a Polygon (page 866)

■

Editing the Direction for a Link (page 870)

■

Editing the Resistance for a Link or Node (page 874)

NOTE This procedure is for drawing objects only. There is no equivalent for
geospatial feature data.
To create a link and add it to a topology
1 Open the drawing where the topology was created and load the topology.
2 Do one of the following:
■

To create a new link in a network topology, in Map Explorer,
right-click the topology name. Click Insert New Link.

■

To create a link in a polygon topology, type MAPIL on the command
line.

3 At the prompt, click the start point for the new link.
4 When prompted, click the next point(s).

880 | Chapter 6 Creating and Editing Data

5 To finish entering points, press Enter.
6 Optionally, modify the values for resistance (page 850) and direction (page
847).
To add an existing link to a topology
1 Open the drawing where the network or polygon topology was created
and load the topology.
2 Do one of the following:
■

To add a link to a network topology, in Map Explorer, right-click the
topology name. Click Add New Links.

■

To add a link to a polygon topology, type MAPAL on the command
line.

3 At the prompt, click the link to add to the topology.
4 Click any additional links to add.
5 When you finish selecting links, press Enter.
6 Optionally, modify the values for resistance (page 850) and direction (page
847).

Quick Reference
MAPAL
Adds a link to a topology
Command Line

MAPAL

Task Pane

In Map Explorer, right-click a network
topology ➤ Add New Links

MAPIL
Inserts a link in a topology
Command Line

MAPIL

Task Pane

In Map Explorer, right-click a network
topology ➤ Insert New Link

Creating, Editing, and Managing Topologies | 881

PROPERTIES
Displays the Properties palette, which allows you to edit the properties of
objects
Menu

Analyze ➤ Properties

Icon
Properties
Command Line

PROPERTIES

Task Pane

Select object. Right-click in drawing area ➤ Properties

Adding a Polygon
You can add a polygon using existing objects or new linework as a perimeter.
To add a polygon to a polygon topology, the current drawing must be where
the topology was created.
NOTE This functionality is for drawing objects only. There is no equivalent for
geospatial feature data.

882 | Chapter 6 Creating and Editing Data

New polygons can be added to an existing polygon topology.

See also:
■

Overview of Creating Topologies (page 822)

■

Creating a Polygon Topology (page 833)

■

Loading or Unloading Topologies (page 906)

NOTE This procedure is for drawing objects only. There is no equivalent for
geospatial feature data.

Creating, Editing, and Managing Topologies | 883

To add a polygon to a polygon topology using existing linework
1 Open the drawing where the polygon topology was created and load the
topology.
To add a polygon to a polygon topology, the current drawing must be
the drawing where the topology was created.
2 Do one of the following:
■

In Map Explorer, right-click the topology name. Click Add Polygon.

■

Type mapap on the command line.

3 In the map, select the border objects of the polygons to add.
4 Press Enter when you finish selecting polygons.
5 If you have blocks defined in the drawing, you are prompted to specify
a block to use for the centroid. Press Enter to use ACAD_POINT, or type
a block name and press Enter.
To add a polygon to a polygon topology by creating new linework
1 Open the drawing where the polygon topology was created and load the
topology.
2 On the command line, type MAPIL.
3 When prompted, specify the location for a new link. The link must define
a polygon.

Quick Reference
MAPAP
Adds a polygon to a polygon topology
Command Line

MAPAP

Task Pane

In Map Explorer, right-click a polygon
topology ➤ Add Polygon

MAPIL
Inserts a link in a topology

884 | Chapter 6 Creating and Editing Data

Command Line

MAPIL

Task Pane

In Map Explorer, right-click a network
topology ➤ Insert New Link

Creating Centroids for Polygons
If you have polygon objects or closed polylines with data attached to them,
you can create centroids and move the data to the centroid. This is useful:
■

After you import or digitize objects.

■

Before using editing commands such as Drawing Cleanup, Boundary Break,
or Boundary Trim.

■

When working with topology.

NOTE This functionality is for drawing objects only. There is no equivalent for
geospatial feature data.

Creating, Editing, and Managing Topologies | 885

Object data attached to closed polylines (above) and object data moved to centroids
(below).

AutoCAD Map 3D checks that the lines do not intersect each other, and that
the area is greater than 0. It then creates a centroid inside each selected polygon
or closed polyline and moves any object data or SQL link data to the centroid.
For an object shaped like a figure eight, AutoCAD Map 3D creates one centroid.
Centroids are created with a Z value of 0.
See also:
■

Overview of Creating Topologies (page 822)

■

Creating a Polygon Topology (page 833)

■

Loading or Unloading Topologies (page 906)

886 | Chapter 6 Creating and Editing Data

■

Importing Polygons (page 429)

■

Defining the Text Insertion Point (page 936)

NOTE This procedure is for drawing objects only. There is no equivalent for
geospatial feature data.
To create centroids for polygons and closed polylines

1 Click Create tab ➤ Drawing Object panel ➤ Create Centroids.
2 In the Create Centroids dialog box (page 1801), specify whether to create
centroids for all closed objects or only for selected closed objects. If only
for selected closed objects, select the polygons and closed polylines.
TIP Click the Quick Select tool to view and filter the object type as you select
objects.
3 Specify the layer on which the centroids should be created.
4 Specify the block to use for centroids, or use ACAD_POINT.
5 Click OK.

Quick Reference
MAPCREATECENTROIDS
Creates a centroid in a polygon and moves data to the centroid
Menu

Create menu ➤ Centroids

Icon
Create Centroids
Command Line

MAPCREATECENTROIDS

Dialog Box

Create Centroids dialog box

Creating, Editing, and Managing Topologies | 887

Deleting Links, Nodes, and Polygons
You can delete a node in a node, network, or polygon topology; a link in a
network or polygon topology; or a polygon in a polygon topology. When you
delete nodes, links, or polygons, object data and external database links may
be lost.
WARNING Both the topology information and associated objects are deleted.
NOTE This functionality is for drawing objects only. There is no equivalent for
geospatial feature data.
■

Deleting a node shared by two links joins the links together. First and last
point information on the resulting link is updated.

■

Deleting a dangling link deletes the dangling end node.

■

Deleting a link deletes any associated nodes, unless the link is also part of
another topology or the nodes are referenced by another link.

■

Deleting a polygon deletes the centroid and all references to it in
surrounding links, unless objects are part of another topology or are
referenced by another polygon.

888 | Chapter 6 Creating and Editing Data

When you remove a link, any nodes that are not connected to other links are also
removed.

See also:
■

Overview of Creating Topologies (page 822)

■

Loading or Unloading Topologies (page 906)

■

Adding a Node (page 877)

■

Adding a Link (page 880)

■

Editing a Node (page 859)

■

Editing a Link (page 861)

NOTE This procedure is for drawing objects only. There is no equivalent for
geospatial feature data.
To delete a link, node, or polygon
1 Open the drawing where the topology was created and load the topology.

Creating, Editing, and Managing Topologies | 889

2 Do one of the following:
■

To delete a node from a node topology, in Map Explorer, right-click
the topology. Click Delete Node. To delete a node from a network or
polygon topology, type MAPDN on the command line.

■

To delete a link from a network topology, in Map Explorer, right-click
the topology. Click Delete Links. To delete a link from a polygon
topology, type MAPDL on the command line.

■

To delete a polygon from a polygon topology, in Map Explorer,
right-click the topology. Click Delete Polygon.

3 Select the object(s) to delete. To select a polygon, click near its centroid.

Quick Reference
MAPDL
Deletes a link in a topology
Command Line

MAPDL

Task Pane

In Map Explorer, right-click a network
topology ➤ Delete Links

MAPDN
Deletes a node in a topology
Command Line

MAPDN

Task Pane

In Map Explorer, right-click a node topology ➤ Delete
Node

MAPDP
Deletes a polygon from a polygon topology
Command Line

MAPDP

Task Pane

In Map Explorer, right-click a polygon
topology ➤ Delete Polygon

PROPERTIES

890 | Chapter 6 Creating and Editing Data

Displays the Properties palette, which allows you to edit the properties of
objects
Menu

Analyze ➤ Properties

Icon
Properties
Command Line

PROPERTIES

Task Pane

Select object. Right-click in drawing area ➤ Properties

Updating a Topology
Objects in a topology have relationship data stored in an object data table. If
you modify the objects using the topology editing commands (page 852), the
topology data on the objects is updated. However, you must manually update
the topology data in the following circumstances:
■

If you modify the objects using standard AutoCAD commands, such as
Move.

■

If the object is referenced by more than one topology. (Only the selected
topology is updated when you modify the object. Use the Update option
to update the remaining topologies that reference the object.)

NOTE If the update options cannot restore integrity, try using Recreate. In Map
Explorer, right-click a topology ➤ Administration ➤ Recreate. When you recreate
a topology, the topology is completely recreated. Any editing changes you made
to the topology object data are erased.
NOTE This functionality is for drawing objects only. There is no equivalent for
geospatial feature data.
See also:
■

Overview of Creating Topologies (page 822)

■

Loading or Unloading Topologies (page 906)

NOTE This procedure is for drawing objects only. There is no equivalent for
geospatial feature data.

Creating, Editing, and Managing Topologies | 891

To update a topology
1 Verify that the topology containing the objects to update is loaded (page
907).
■

To update nodes in a node topology, in Map Explorer, right-click the
topology name. Click Update. To update nodes in a network or
polygon topology, type MAPNODUPD on the command line.

■

To update links in a network topology, in Map Explorer, right-click
the topology name. Click Update. To update links in a polygon
topology, type MAPLINKUPD on the command line.

■

To update polygons links in a polygon topology, in Map Explorer,
right-click the topology name. Click Update. You can also type
MAPPOLYUPD on the command line.

2 Select the objects to update. Press Enter
The topology data for the object is updated in the topology.
If you delete an object from one topology, and the object belongs to another
topology, the physical object is not removed from the drawing. The second
topology is not changed and no update is necessary for the deleted object.

Quick Reference
MAPLINKUPD
Updates links in a network topology
Command Line

MAPLINKUPD

Task Pane

In Map Explorer, right-click a topology ➤ Update

Dialog Box

MAPLINKUPD (Update Topology Link command)

MAPNODUPD
Updates nodes in a topology
Command Line

MAPNODUPD

Task Pane

In Map Explorer, right-click a topology ➤ Update

Dialog Box

MAPNODUPD (Update Topology Node command)

MAPPOLYUPD

892 | Chapter 6 Creating and Editing Data

Updates a polygon topology
Command Line

MAPPOLYUPD

Task Pane

In Map Explorer, right-click a topology ➤ Update

Dialog Box

MAPPOLYUPD (Update Topology Polygon command)

PROPERTIES
Displays the Properties palette, which allows you to edit the properties of
objects
Menu

Analyze ➤ Properties

Icon
Properties
Command Line

PROPERTIES

Task Pane

Select object. Right-click in drawing area ➤ Properties

Editing a Partial Topology
In general, when editing a topology, you should retrieve the entire topology.
However, if the topology is large, it may impair performance. With large
topologies, you can query in just a part of the topology.
NOTE This functionality is for drawing objects only. There is no equivalent for
geospatial feature data.
Topology editing tools (page 851) do not allow you to edit incomplete objects
at the edges of the queried area. Your query must retrieve enough of an area
around the edit area to ensure that the objects to be edited are complete.

Creating, Editing, and Managing Topologies | 893

Polygons at the edge of a queried polygon topology cannot be edited.

See also:
■

Correcting or Completing a Topology (page 918)

■

Overview of Creating Topologies (page 822)

■

Loading or Unloading Topologies (page 906)

NOTE This procedure is for drawing objects only. There is no equivalent for
geospatial feature data.
To retrieve objects to edit
1 Open a drawing, attach the source drawings that contain the topology
you wish to edit, and make those source drawings active. Zoom to the
extents of the active source drawings.
2 In Display Manager, click Data menu ➤ Add Drawing Data ➤ Query
Topology.
3 In the Topology Query dialog box (page 2008), click Load.
4 In the Topology Selection dialog box (page 2011), select the topology to
query. Click OK.

894 | Chapter 6 Creating and Editing Data

5 In the Load Topology From Source Drawing dialog box (page 1978), make
sure that both the Topology Objects options are not selected. Click OK.
6 In the Topology Query dialog box (page 2008), select or define a query.
■

To load an existing query, click Load Query and select the query.

■

To define a new query, click Define Query, and then define a query
(page 1353) to retrieve the topology geometry you require.

7 Select Draw mode and execute the query.
Now that the objects are in the current drawing, you can edit them.
To edit the objects
1 Unload (page 907) the topology from the source drawings. Load the
topology in the current drawing.
2 Make any edits to the topology with the editing topology tools (page 851).
3 Add the changes to the save set.
4 Save back the changes to the source drawings (page 754). Do not save the
current drawing.

Quick Reference
ADESAVEOBJS
Saves objects in the save set back to source drawings
Menu

In the Classic workspace, click File menu ➤ Save
Source Drawing Save Set

Icon
Save to Source Drawings
Command Line

ADESAVEOBJS

Dialog Box

Save Objects to Source Drawings dialog box

MAPTOPOLOAD
Loads a topology

Creating, Editing, and Managing Topologies | 895

Menu

Click Analyze ➤ More Topology Options ➤ Load
Topology.

Icon
Load Topology
Command Line

MAPTOPOLOAD

Task Pane

In Map Explorer, right-click a
topology ➤ Administration ➤ Load Topology

Dialog Box

Topology Selection dialog box

MAPTOPOQUERY
Queries topologies
Menu

Click Setup ➤ More DWG Options ➤ Define Topology
Query.

Icon
Query Topology
Command Line

MAPTOPOQUERY

Task Pane

In Map Explorer, right-click a
topology ➤ Analysis ➤ Topology Query

Dialog Box

Topology Query dialog box

MAPTOPOUNLOAD
Unloads a topology
Menu

Click Map ➤ Topology ➤ Administration ➤ Unload.

Icon
Unload Topology
Command Line

MAPTOPOUNLOAD

Task Pane

In Map Explorer, right-click a
topology ➤ Administration ➤ Unload Topology

Dialog Box

Topology Selection dialog box

PROPERTIES

896 | Chapter 6 Creating and Editing Data

Displays the Properties palette, which allows you to edit the properties of
objects
Menu

Analyze ➤ Properties

Icon
Properties
Command Line

PROPERTIES

Task Pane

Select object. Right-click in drawing area ➤ Properties

Creating Closed Polylines from a Polygon Topology
You can create closed polylines from a polygon topology. This is useful if you
want to give data to an AutoCAD user so the user can hatch polygonal areas.
NOTE This functionality is for drawing objects only. There is no equivalent for
geospatial feature data.
While creating closed polylines from polygon topology, you can create a group
containing all the elements of complex areas, such as islands. If the islands
themselves have nested islands or other polygons, these nested polygons will
form a separate grouping automatically, creating different levels of grouping.
If two or more inner polygons are not nested but share the same outer
boundary, they will be treated as one group.
You can manipulate grouped data with the GROUP command. For more
information, see GROUP in the AutoCAD Help.
You can also copy the object data and the external database links held in the
centroids to the closed polylines.
See also:
■

Overview of Creating Topologies (page 822)

■

Creating a Polygon Topology (page 833)

■

Loading or Unloading Topologies (page 906)

■

Exporting Polygons from a Polygon Topology (page 1457)

NOTE This procedure is for drawing objects only. There is no equivalent for
geospatial feature data.

Creating, Editing, and Managing Topologies | 897

To create closed polylines from a polygon topology

1 Click Create tab ➤ Topology panel ➤ Create Closed Polylines.
2 In the Create Closed Polylines dialog box (page 1953), click Load to load
the polygon topology or select from the Name list.
All polygons in the selected topology are automatically selected.
3 Under How To Close, specify the layer to create the polylines.
4 Select Group Complex Polygons if you want to create a group containing
all the elements of complex areas, such as islands.
5 Select Copy Object Data From Centroid To Pline and Copy Database
Links From Centroid To Pline if you want to copy the object data and
external database links held in the centroids to the closed polylines.
6 Click OK.

Quick Reference
MAPCLPLINE
Creates polylines from a polygon topology
Menu

Create menu ➤ Create Closed Polylines

Command Line

MAPCLPLINE

Dialog Box

Create Closed Polylines dialog box

Managing Topologies
■
■
■
■
■
■
■
■
■
■

Overview of Managing Topologies (page 899)
Loading or Unloading Topologies (page 906)
Highlighting and Identifying Topology (page 909)
Viewing Topology Data (page 913)
Viewing Topology Statistics (page 915)
Saving Topology to Source Drawings (page 916)
Correcting or Completing a Topology (page 918)
Saving and Loading Settings Using Profiles (page 922)
Renaming Topologies and Changing Their Descriptions (page 924)
Deleting Topologies (page 925)

898 | Chapter 6 Creating and Editing Data

NOTE These procedures are for drawing objects only. There are no equivalents
for geospatial feature data.
To manage topologies
■
■
■
■
■
■
■
■
■
■
■
■
■
■
■
■
■

To load a topology (page 907)
To unload a topology (page 908)
To highlight all objects in a selected topology (page 911)
To highlight and identify the topologies associated with an object (page
911)
To change the color used for highlighting (page 912)
To remove highlighting and restore objects to their original color (page
912)
To view topology object data (page 914)
To view and edit the properties of topology objects in the Properties palette
(page 914)
To view topology statistics (page 916)
To save topology to source drawings (page 917)
To audit, recreate, or complete a topology (page 920)
To test the integrity of a network topology (page 920)
To save topology analysis settings in a profile (page 922)
To load an existing topology profile (page 923)
To rename or delete profiles (page 923)
To change the name, description, or both of a topology (page 925)
To delete a topology (page 926)

Overview of Managing Topologies
Using topology administration tools, you can do the following:
■

Load or unload an existing topology

■

Rename or delete a topology

■

Audit or check the status of a topology to ensure its integrity

■

Recreate a topology that was edited with commands other than the
topology editing tools

■

Get statistics on the topologies in the current drawing

■

Highlight all objects in a topology, and all topologies for a selected object.

Creating, Editing, and Managing Topologies | 899

When you use these tools, all source drawings associated with a named
topology must be attached and active.
NOTE This functionality is for drawing objects only. There is no equivalent for
geospatial feature data.

Tell me more
■

Show me how to load a topology.

■

To manage topologies (page 899)

■

Create a network topology to show how
lines are connected.

■

Find the shortest path through a network.

■

Overview of Creating Topologies (page
822)

■

Saving Topology to Source Drawings
(page 916)

■

Editing Topologies (page 851)

■

Saving New Objects to Attached
Drawings (page 754)

Video

Procedure

GIS Skill

Related topics

NOTE This procedure is for drawing objects only. There is no equivalent for
geospatial feature data.
To do this...

Use this method...

Load an existing topology.

In Map Explorer, right-click the topology
name ➤ Administration ➤ Load Topology.
See Loading or Unloading Topologies
(page 906)

900 | Chapter 6 Creating and Editing Data

To do this...

Use this method...

Unload an existing topology.

In Map Explorer, right-click the topology
name ➤ Administration ➤ Unload Topology.
See Loading or Unloading Topologies
(page 906)

Rename a topology.

In Map Explorer, right-click the topology
name ➤ Administration ➤ Rename.
See Renaming Topologies and Changing
Their Descriptions (page 924)

Audit or recreate a topology

In Map Explorer, right-click the topology
name. Click an option from the Administration submenu.
See Correcting or Completing a Topology
(page 918)

Test the integrity of a topology

Click Analyze tab ➤ Drawing Object pan-

el ➤ Network Analysis.
See Correcting or Completing a Topology
(page 918)
Get statistics on the topologies in the current drawing

In Map Explorer, right-click the topology

View the properties of topology objects

Click View tab ➤ Palettes panel ➤
Properties. Select the object. In the Properties palette, under the Topo group, view
the topology properties.
See Viewing Topology Data (page 913)

View topology object data

Click Tools tab ➤ Map Edit panel ➤ Edit

name ➤ Statistics.
See Viewing Topology Statistics (page 915)

Object Data.
Select the object.
See Viewing Topology Data (page 913)

Creating, Editing, and Managing Topologies | 901

To do this...

Use this method...

Highlight all objects in a topology.

In Map Explorer, right-click the topology
name ➤ Show Geometry.
See Highlighting and Identifying Topology
(page 909)

Highlight the topologies associated with
an object.

In Map Explorer, right-click the Topologies

Delete a topology

In Map Explorer, right-click the topology

folder ➤ Show Topology. Click an object
in the map.
See Highlighting and Identifying Topology
(page 909)

name ➤ Administration ➤ Delete.
See Deleting Topologies (page 925)

Quick Reference
MAPTOPOLOAD
Loads a topology
Menu

Click Analyze ➤ More Topology Options ➤ Load
Topology.

Icon
Load Topology
Command Line

MAPTOPOLOAD

Task Pane

In Map Explorer, right-click a
topology ➤ Administration ➤ Load Topology

Dialog Box

Topology Selection dialog box

MAPTOPOUNLOAD
Unloads a topology
Menu

Click Map ➤ Topology ➤ Administration ➤ Unload.

Icon
Unload Topology

902 | Chapter 6 Creating and Editing Data

Command Line

MAPTOPOUNLOAD

Task Pane

In Map Explorer, right-click a
topology ➤ Administration ➤ Unload Topology

Dialog Box

Topology Selection dialog box

MAPSHOWGEOM
Highlights and identifies topologies for the selected object
Menu

At the Command prompt, enter mapshowgeom.

Icon
Show Geometry
Command Line

MAPSHOWGEOM

Task Pane

In Map Explorer, right-click Topologies ➤ Show
Geometry

MAPSHOWTOPO
Highlights objects in the selected topology
Menu

Click Map ➤ Topology ➤ Show Topology Geometry.

Icon
Show Topology
Command Line

MAPSHOWTOPO

Task Pane

In Map Explorer, right-click a topology ➤ Show
Topology

MAPTOPOSTATS
Displays detailed information about a topology
Menu

Click Map ➤ Topology ➤ Administration ➤ Statistics.

Command Line

MAPTOPOSTATS

Task Pane

In Map Explorer, right-click a topology ➤ Statistics

Dialog Box

Topology Statistics dialog box

ADESAVEOBJS
Saves objects in the save set back to source drawings

Creating, Editing, and Managing Topologies | 903

Menu

In the Classic workspace, click File menu ➤ Save
Source Drawing Save Set

Icon
Save to Source Drawings
Command Line

ADESAVEOBJS

Dialog Box

Save Objects to Source Drawings dialog box

ADESELOBJS
Creates a set of objects to be saved to source drawings
Menu

File menu ➤ Drawing Save Set Options ➤ Add Items
To Save Set

Icon
Add Objects to Save Set
Command Line

ADESELOBJS

Dialog Box

ADESELOBJS (Select Objects for Save Back command)

MAPTOPOAUDIT
Checks that a topology is complete and contains no errors
Menu

Click Map ➤ Topology ➤ Administration ➤ Audit.

Command Line

MAPTOPOAUDIT

Task Pane

In Map Explorer, right-click a
topology ➤ Administration ➤ Audit

MAPTOPOCOMP
Completes a network or polygon topology
Menu

Click Map ➤ Topology ➤ Administration ➤ Complete.

Icon
Complete Topology
Command Line

MAPTOPOCOMP

Task Pane

In Map Explorer, right-click a
topology ➤ Administration ➤ Complete

904 | Chapter 6 Creating and Editing Data

MAPTOPORECR
Reestablishes a topology that was edited with nontopology editing commands
such as STRETCH, PEDIT, and MOVE
Menu

Click Map ➤ Topology ➤ Administration ➤ Recreate.

Icon
Recreate Topology
Command Line

MAPTOPORECR

Task Pane

In Map Explorer, right-click a
topology ➤ Administration ➤ Recreate

Dialog Box

Topology Selection dialog box

MAPANOVERLAY
Overlays one topology with another, and creates a new topology
Menu

Click Map ➤ Topology ➤ Overlay.

Icon
Overlay Topology
Command Line

MAPANOVERLAY

Task Pane

In Map Explorer, right-click a
topology ➤ Analysis ➤ Overlay

Dialog Box

Topology Overlay Analysis - Analysis Type dialog box

MAPANTOPONET
Traces through a network topology (shortest path, best route, or flood trace)
Menu

Click Map ➤ Topology ➤ Network Analysis.

Icon
Network Analyze
Command Line

MAPANTOPONET

Task Pane

In Map Explorer, right-click a network
topology ➤ Analysis ➤ Network Analysis

Dialog Box

Network Topology Analysis - Select Method dialog
box

Creating, Editing, and Managing Topologies | 905

MAPTOPOREN
Changes the name and description of a topology
Menu

Click Map ➤ Topology ➤ Administration ➤ Rename.

Command Line

MAPTOPOREN

Task Pane

In Map Explorer, right-click a
topology ➤ Administration ➤ Rename

Dialog Box

Rename Topology dialog box

MAPTOPODEL
Removes topology data from objects and optionally deletes the objects
Menu

Click Map ➤ Topology ➤ Administration ➤ Delete.

Command Line

MAPTOPODEL

Task Pane

In Map Explorer, right-click a
topology ➤ Administration ➤ Delete

Dialog Box

Topology Selection dialog box

Loading or Unloading Topologies
When you load a topology, AutoCAD Map 3D loads topologies in the current
drawing and retrieves topologies from attached drawings into the current
drawing. If you save a drawing with a topology and later open the drawing,
reload the topology to use it.
NOTE This functionality is for drawing objects only. There is no equivalent for
geospatial feature data.
In Map Explorer, topologies with colorful icons are loaded. Topologies with
grayed-out icons are unloaded.
When loading a topology from a source drawing, select Create Objects When
Loaded to create the topology in the current drawing. Otherwise, the topology
is loaded without retrieving the topology geometry.

Tell me more
■
Video

906 | Chapter 6 Creating and Editing Data

Show me how to load a topology.

■

To load a topology (page 907)

■

Create a network topology to show how
lines are connected.

■

Find the shortest path through a network.

■

Overview of Creating Topologies (page
822)

■

Saving Topology to Source Drawings
(page 916)

■

Adding an Object to the Save Set
(page 750)

■

Saving New Objects to Attached
Drawings (page 754)

■

Saving Objects to the Current Drawing
(page 756)

Procedure

GIS Skill

Related topics

NOTE This procedure is for drawing objects only. There is no equivalent for
geospatial feature data.
To load a topology
1 In Map Explorer, right-click the topology name ➤ Administration ➤
Load Topology.
2 If the topology is stored in a source drawing, the Load Topology From
Source Drawing dialog box (page 1978) appears, where you can specify the
following:
■

Create Topology Objects When Loaded — Select this check box to
copy the topology objects into the current drawing as the topology
is loaded. If this option is not selected, the objects are loaded but are
not copied into the current drawing.

■

Select Topology Objects For Save Back — Select this option to add
objects in the current drawing to the save back set if they are
referenced by the selected topology. This means that the objects will
be saved back to their source drawings and replace the original objects.

Creating, Editing, and Managing Topologies | 907

■

Audit Geometry of Topology Objects — Select this option to verify
that objects for the selected topology are geometrically correct. Any
objects that are not correct are highlighted.

In Map Explorer, the icon for the topology becomes colorful, indicating
that the topology is loaded.
To unload a topology
➤

In Map Explorer, right-click the topology name ➤ Administration ➤
Unload Topology.
In Map Explorer, the icon for the topology is shaded to indicate it has
been unloaded.

Quick Reference
MAPTOPOLOAD
Loads a topology
Menu

Click Analyze ➤ More Topology Options ➤ Load
Topology.

Icon
Load Topology
Command Line

MAPTOPOLOAD

Task Pane

In Map Explorer, right-click a
topology ➤ Administration ➤ Load Topology

Dialog Box

Topology Selection dialog box

MAPTOPOUNLOAD
Unloads a topology
Menu

Click Map ➤ Topology ➤ Administration ➤ Unload.

Icon
Unload Topology
Command Line

MAPTOPOUNLOAD

908 | Chapter 6 Creating and Editing Data

Task Pane

In Map Explorer, right-click a
topology ➤ Administration ➤ Unload Topology

Dialog Box

Topology Selection dialog box

Highlighting and Identifying Topology
Using the topology highlighting and identification tools, you can do the
following:
■

Show Geometry–Highlight the objects in a topology.
Use Show Geometry to show the location and extent of a topology.

■

Show Topology–Identify and highlight the topologies associated with an
object.
Use Show Topology to show the location and extent of all the topologies
associated with an object. AutoCAD Map 3D identifies the topologies by
name on the command line.

The color used for highlighting is the Selected Grip Color, which you can
specify in the AutoCAD Options dialog box.
These tools work only with topologies that have been loaded in the current
drawing.
NOTE This functionality is for drawing objects only. There is no equivalent for
geospatial feature data.

Creating, Editing, and Managing Topologies | 909

Highlight objects in the selected topology.

Highlights and identifies topologies for the selected object.

910 | Chapter 6 Creating and Editing Data

See also:
■

Overview of Creating Topologies (page 822)

■

Loading or Unloading Topologies (page 906)

NOTE This procedure is for drawing objects only. There is no equivalent for
geospatial feature data.
■

To highlight all objects in a selected topology (page 911)

■

To highlight and identify the topologies associated with an object (page
911)

■

To change the color used for highlighting (page 912)

■

To remove highlighting and restore objects to their original color (page
912)

To highlight all objects in a selected topology
1 In Map Explorer, verify that the topology you want to highlight is loaded
(page 907). A topology must be loaded before it can be highlighted.
2 Right-click the topology name. Click Show Geometry.
In the drawing, AutoCAD Map 3D highlights all objects in the selected
topology. To return objects to their original color, press ESC.
To highlight and identify the topologies associated with an object
1 In Map Explorer, right-click the Topologies folder. Click Show Topology.
2 In the map, click the object.
If the object belongs to one or more topologies, AutoCAD Map 3D
highlights all objects that belong to those topologies and lists the topology
names on the command line. If the object does not belong to a topology,
AutoCAD Map 3D reports that on the command line.
NOTE Only topologies that are loaded are considered.
3 Select another object to highlight and identify, or press ESC to end the
command.

Creating, Editing, and Managing Topologies | 911

To change the color used for highlighting

1 Click

➤ Options.

2 In the Options dialog box, click the Selection tab.
3 From the Selected Grip Color list, select the color to use for highlighting
topologies.
4 Click OK.
To remove highlighting and restore objects to their original color
■

Press Esc.

Quick Reference
MAPSHOWGEOM
Highlights and identifies topologies for the selected object
Menu

At the Command prompt, enter mapshowgeom.

Icon
Show Geometry
Command Line

MAPSHOWGEOM

Task Pane

In Map Explorer, right-click Topologies ➤ Show
Geometry

MAPSHOWTOPO
Highlights objects in the selected topology
Menu

Click Map ➤ Topology ➤ Show Topology Geometry.

Icon
Show Topology
Command Line

MAPSHOWTOPO

Task Pane

In Map Explorer, right-click a topology ➤ Show
Topology

912 | Chapter 6 Creating and Editing Data

Viewing Topology Data
Information about each topology you create is stored in an object data table
in the current drawing as shown in this table.
NOTE This functionality is for drawing objects only. There is no equivalent for
geospatial feature data.
Topology Name

Object Data Table

Object Data Field

Information Stored

EXAMPLE

TPMDESC_EXAMPLE

TYPE

Topology type

TOLERANCE

Setting of VIEWRES when
created or edited

LINK_LAYER

Layer for links

LINK_COLOR

Color of links

CREATE_NODE

Nodes in topology; 0=No,
1=Yes

NODE_LAYER

Layer for nodes

NODE_TYPE

Type of nodes

NODE_BLOCK

Block used for nodes

CREATE_CNTR

Centroids in topology; 0=No,
1=Yes

CNTR_LAYER

Layer for centroids

CNTR_COLOR

Color of centroids

CNTR_TYPE

Type of centroids

CNTR_BLOCK

Block used for centroids

This information can be used in a topology query. Depending on the type of
topology, other object data tables are created and attached to the elements of
the topology.

Creating, Editing, and Managing Topologies | 913

You can also view and edit data associated with the objects in a topology using
the Properties palette. For example, for a link in a network topology, you can
view general information about the link, such as the ID of the start and end
nodes, and you can edit specific information such as the direction, direct
resistance, and reverse resistance of a link.
See also:
■

Overview of Creating Topologies (page 822)

■

Loading or Unloading Topologies (page 906)

■

Querying a Topology (page 1348)

■

Displaying and Editing Object Data for a Drawing Object (page 1068)

■

Viewing Properties and Attributes of Drawing Objects (page 1145)

■

Viewing Topology Statistics (page 915)

NOTE This procedure is for drawing objects only. There is no equivalent for
geospatial feature data.
To view topology object data

1 Click Tools tab ➤ Map Edit panel ➤ Edit Object Data.
2 Select the object.
3 In the Edit Object Data dialog box (page 1795), view the topology data.
If the topology data is not displayed, select a topology table from the
Table list. The topology tables start with the letters "TPM."
To view and edit the properties of topology objects in the Properties palette
1 Click View tab ➤ Palettes panel ➤ Properties.
2 Select the object.
3 In the Properties palette, under the Topo group, view the topology
properties.
For example, if you choose a link in a network topology, you can see the
type object you selected, information about the start and end nodes, flow
direction, direct resistance, and reverse resistance.

914 | Chapter 6 Creating and Editing Data

4 To view the properties of another object, select it in the map.

Quick Reference
ADEEDITDATA
Edits attached object data
Menu

Modify menu ➤ Edit Object Data

Icon
Edit Object Data
Command Line

ADEEDITDATA

Dialog Box

Edit Object Data dialog box

PROPERTIES
Displays the Properties palette, which allows you to edit the properties of
objects
Menu

Analyze ➤ Properties

Icon
Properties
Command Line

PROPERTIES

Task Pane

Select object. Right-click in drawing area ➤ Properties

Viewing Topology Statistics
You can view information about a topology, including:
■

Basic Information — name, description, and type (node, network, or
polygon).

■

Extents — coordinates of the lower-left corner and upper-right corner of
the bounding rectangle for the topology.

■

Object Counts — number of nodes, links, and polygons in the topology.

■

Details — about area, perimeter, and length, including totals, averages,
minimum values, maximum values, variance, and deviation. These apply
to network and polygon topologies only.

Creating, Editing, and Managing Topologies | 915

Variance is the average of the squares of any given area, perimeter, or
length minus the square of the average. Deviation is the square root of
variance.
NOTE This functionality is for drawing objects only. There is no equivalent for
geospatial feature data.
See also:
■

Overview of Creating Topologies (page 822)

■

Loading or Unloading Topologies (page 906)

■

Viewing Topology Data (page 913)

NOTE This procedure is for drawing objects only. There is no equivalent for
geospatial feature data.
To view topology statistics
1 In Map Explorer, right-click the topology name ➤ Statistics.
2 Review statistics in the Topology Statistics dialog box (page 2011).
3 Click OK.

Quick Reference
MAPTOPOSTATS
Displays detailed information about a topology
Menu

Click Map ➤ Topology ➤ Administration ➤ Statistics.

Command Line

MAPTOPOSTATS

Task Pane

In Map Explorer, right-click a topology ➤ Statistics

Dialog Box

Topology Statistics dialog box

Saving Topology to Source Drawings
You can save the topology in the current drawing or save it back to the attached
source drawings.

916 | Chapter 6 Creating and Editing Data

NOTE This functionality is for drawing objects only. There is no equivalent for
geospatial feature data.
If you retrieved data from source drawings, you can save back the topology
information to the source drawings, and also save the current drawing. Future
work with the topology should be done in the current drawing with the source
drawings active and attached. This method ensures that complete and correct
object data associated with the topology is available.
See also:
■

Loading or Unloading Topologies (page 906)

■

Adding an Object to the Save Set (page 750)

■

Saving New Objects to Attached Drawings (page 754)

■

Saving Objects to the Current Drawing (page 756)

NOTE This procedure is for drawing objects only. There is no equivalent for
geospatial feature data.
To save topology to source drawings

1 Click Home tab ➤ Data panel ➤

➤ Add To Save Set.

2 Use any selection method to add the topology objects to the save set.

3 Click Home tab ➤ Data panel ➤

➤ Save To Source.

4 In the Save Objects to Source Drawings dialog box (page 1887), under What
To Save, make sure Save Queried Objects is selected.
If you created new node or centroid objects, or if you added objects to a
topology, also select Save Newly Created Objects.
5 If you are saving new objects, select a save order.
6 Click OK.

Quick Reference
ADESAVEOBJS

Creating, Editing, and Managing Topologies | 917

Saves objects in the save set back to source drawings
Menu

In the Classic workspace, click File menu ➤ Save
Source Drawing Save Set

Icon
Save to Source Drawings
Command Line

ADESAVEOBJS

Dialog Box

Save Objects to Source Drawings dialog box

ADESELOBJS
Creates a set of objects to be saved to source drawings
Menu

File menu ➤ Drawing Save Set Options ➤ Add Items
To Save Set

Icon
Add Objects to Save Set
Command Line

ADESELOBJS

Dialog Box

ADESELOBJS (Select Objects for Save Back command)

Correcting or Completing a Topology
If parts of the topology are incomplete (not closed or only part of a polygon),
they are marked and excluded from editing. Two examples of incomplete
topologies created by queries are shown in the following illustration. The
outer polygons in the grid are incomplete because their outside links are parts
of polygons not included in the query.
NOTE This functionality is for drawing objects only. There is no equivalent for
geospatial feature data.

918 | Chapter 6 Creating and Editing Data

If you use a location query to retrieve polygons, make sure that you use a
Crossing window. If you are using data that is shared with other users, be sure
that you load the topology to ensure that you are using current data.

Completing a Topology
When you complete a topology, AutoCAD Map 3D looks at the objects and
object data in a drawing, and attempts to complete a network or polygon
topology by retrieving further drawing objects, such as links and centroids
referenced by the topology object data tables. Complex polygons, with one
or more islands, must be fully represented, and all internal islands referenced
by a polygon must be present for the option to work.
This option completes dangling edges in a network topology, and all
incomplete areas in polygon topologies; however, it might fill islands as well.

Auditing and Recreating a Topology
When you audit a topology, AutoCAD Map 3D checks that a topology is
complete and contains no errors. Any errors found are marked but are not
fixed. Errors in a node topology are not marked.
To reestablish a topology that was edited with nontopology editing commands
such as STRETCH and PEDIT, you recreate the topology; however, topology
data might be lost. You can only recreate a topology in the current drawing;
to recreate topology in an attached drawing, use a query to retrieve the
geometry first. Load the topology before using recreate.
To modify the geometry of a topology (the nodes, links, or polygons), use the
topology editing tools explained in Editing Topologies (page 851).
To create closed polylines for a non-AutoCAD Map 3D user, click Create tab
➤ Topology panel ➤ Create Closed Polylines (page 897). This also works

Creating, Editing, and Managing Topologies | 919

when you are exporting data to an external file format that does not support
topologies.
See also:
■

Overview of Analyzing Drawing Topologies (page 1319)

■

Querying a Topology (page 1348)

■

Creating a Network Topology (page 829)

■

Editing a Partial Topology (page 893)

■

Sliver Polygons (page 841)

NOTE This procedure is for drawing objects only. There is no equivalent for
geospatial feature data.
To audit, recreate, or complete a topology
➤

In Map Explorer, right-click the topology name. Click an option from
the Administration submenu.

To test the integrity of a network topology

1 Click Analyze tab ➤ Drawing Object panel ➤ Network Analysis.
2 Select the network the topology to test.
3 In the Network Topology Analysis - Select Method dialog box (page 1983),
click Flood Trace (page 1334). Click Next.
4 Select select a starting point for the analysis. Click Next.
5 Set the Maximum Resistance to a value so that all links will be flooded.
Click Next.
6 Select Highlight. Choose a color that is different from the color of the
links.
7 Click Finish.
If some links are not flooded, the topology may be incorrect. Use the topology
editing tools (page 852) to correct the topology.

920 | Chapter 6 Creating and Editing Data

Quick Reference
MAPTOPOAUDIT
Checks that a topology is complete and contains no errors
Menu

Click Map ➤ Topology ➤ Administration ➤ Audit.

Command Line

MAPTOPOAUDIT

Task Pane

In Map Explorer, right-click a
topology ➤ Administration ➤ Audit

MAPTOPOCOMP
Completes a network or polygon topology
Menu

Click Map ➤ Topology ➤ Administration ➤ Complete.

Icon
Complete Topology
Command Line

MAPTOPOCOMP

Task Pane

In Map Explorer, right-click a
topology ➤ Administration ➤ Complete

MAPTOPORECR
Reestablishes a topology that was edited with nontopology editing commands
such as STRETCH, PEDIT, and MOVE
Menu

Click Map ➤ Topology ➤ Administration ➤ Recreate.

Icon
Recreate Topology
Command Line

MAPTOPORECR

Task Pane

In Map Explorer, right-click a
topology ➤ Administration ➤ Recreate

Dialog Box

Topology Selection dialog box

Creating, Editing, and Managing Topologies | 921

Saving and Loading Settings Using Profiles
You can save your topology overlay analysis or network analysis (path trace,
best route analysis, or flood trace) settings in a profile and use them again
later. This can save time if you plan to use the same settings more than once.
Profiles are also useful when you automate topology analysis with scripts.
Topology profiles are saved as *.tpf files.
You can edit topology profiles in AutoCAD Map 3D and then save your
changes, choosing either to replace an existing profile or save it as a new
profile.
NOTE You cannot use profiles to save settings for creating topologies, buffering
topologies, or dissolving topologies. Topology profiles can be used to save topology
overlay analysis or network topology analysis (path trace, best route analysis, or
flood trace) settings only.
NOTE This functionality is for drawing objects only. There is no equivalent for
geospatial feature data.
WARNING Do not edit topology profiles outside of AutoCAD Map 3D. Doing so
may produce unexpected results.
See also:
■

Performing a Shortest Path Trace (page 1324)

■

Performing a Best Route Analysis (page 1328)

■

Performing a Flood Trace (page 1333)

■

Overlaying Two Topologies (page 1336)

NOTE This procedure is for drawing objects only. There is no equivalent for
geospatial feature data.
To save topology analysis settings in a profile
1 Do one of the following:
■

Click Analyze tab ➤ Drawing Object panel ➤ Object Overlay.

922 | Chapter 6 Creating and Editing Data

■

Click Analyze tab ➤ Drawing Object panel ➤ Network Analysis.

2 Specify the settings to save. For more information, see Analyzing Drawing
Topologies (page 1318).
3 Click Save.
4 In the Save Topology Profile dialog box, enter a name for the profile.
Click Save.
To load an existing topology profile
1 In any of the Topology Overlay Analysis or Network Topology Analysis
dialog boxes, click Load.
2 In the Select Topology Profile dialog box, select the profile to load.
Topology profiles are saved as *.tpf files.
3 Click Open.
The settings from the selected profile become current.
To rename or delete profiles
■

Right-click the profile in the Select Topology Profile or Save Topology
Profile dialog box. Click Rename or Delete.

Quick Reference
MAPANOVERLAY
Overlays one topology with another, and creates a new topology
Menu

Click Map ➤ Topology ➤ Overlay.

Icon
Overlay Topology
Command Line

MAPANOVERLAY

Task Pane

In Map Explorer, right-click a
topology ➤ Analysis ➤ Overlay

Dialog Box

Topology Overlay Analysis - Analysis Type dialog box

Creating, Editing, and Managing Topologies | 923

MAPANTOPONET
Traces through a network topology (shortest path, best route, or flood trace)
Menu

Click Map ➤ Topology ➤ Network Analysis.

Icon
Network Analyze
Command Line

MAPANTOPONET

Task Pane

In Map Explorer, right-click a network
topology ➤ Analysis ➤ Network Analysis

Dialog Box

Network Topology Analysis - Select Method dialog
box

Renaming Topologies and Changing Their Descriptions
You can change the name, description, or both of a complete, loaded topology.
When you rename a topology, AutoCAD Map 3D renames the object data
table containing the topology relationship data.
NOTE This functionality is for drawing objects only. There is no equivalent for
geospatial feature data.
Before you rename a topology or change its description, do the following:
■

Attach all source drawings that are referenced by the topology. If the source
drawings are not attached, you could corrupt your data set.

■

Load the topology from the current drawing.

■

To rename a topology or change its description without creating a backup
of an attached drawing, disable the Create Backup File Of Source Drawing
option of the Save Back tab of the AutoCAD Map Options dialog box.

NOTE You cannot undo this operation using the UNDO command.
See also:
■

Loading or Unloading Topologies (page 906)

■

Overview of Attaching Drawings (page 154)

■

Setting Save Back Options (page 763)

924 | Chapter 6 Creating and Editing Data

NOTE This procedure is for drawing objects only. There is no equivalent for
geospatial feature data.
To change the name, description, or both of a topology
1 In Map Explorer, right-click the topology name ➤ Administration ➤
Rename.
You can only rename topologies that are loaded and completely
represented.
2 In the Rename Topology dialog box (page 1988), edit the name or
description. Click OK.
Names can contain letters, numbers, and the underscore and hyphen
characters. Names cannot contain spaces.

Quick Reference
MAPTOPOREN
Changes the name and description of a topology
Menu

Click Map ➤ Topology ➤ Administration ➤ Rename.

Command Line

MAPTOPOREN

Task Pane

In Map Explorer, right-click a
topology ➤ Administration ➤ Rename

Dialog Box

Rename Topology dialog box

Deleting Topologies
When you delete a topology, the topology relationship data (object data) is
deleted from objects referenced by the selected topology. You can choose to
delete the referenced objects as well.
NOTE This functionality is for drawing objects only. There is no equivalent for
geospatial feature data.
Load a topology and verify that it is completely represented before deleting
it. This ensures that all pieces of the topology are deleted, including pieces in
attached source drawings. If you delete an incomplete topology, the corrupt
topology still exists in the source drawings that were not attached.

Creating, Editing, and Managing Topologies | 925

See also:
■

Loading or Unloading Topologies (page 906)

■

Overview of Creating Topologies (page 822)

NOTE This procedure is for drawing objects only. There is no equivalent for
geospatial feature data.
To delete a topology
1 In Map Explorer, right-click the topology name ➤ Administration ➤
Delete.
NOTE Load a topology and verify that it is completely represented before
deleting it.
2 In the Delete Topology dialog box (page 1971), select Delete Geometry to
delete the referenced objects from the current drawing. The topology
relationship data is automatically deleted when you delete a topology.
3 Click OK to delete the topology.

Quick Reference
MAPTOPODEL
Removes topology data from objects and optionally deletes the objects
Menu

Click Map ➤ Topology ➤ Administration ➤ Delete.

Command Line

MAPTOPODEL

Task Pane

In Map Explorer, right-click a
topology ➤ Administration ➤ Delete

Dialog Box

Topology Selection dialog box

Using Map Editing Tools
You can use the AutoCAD Map 3D editing tools to edit your maps and spatial
data. For information about editing objects and design data, see the AutoCAD
Help.

926 | Chapter 6 Creating and Editing Data

To use Map editing tools
■
■
■
■
■
■
■
■
■
■
■
■
■
■

To use the AutoCAD Map 3D editing tools (page 928)
To move, rotate, or scale an object (page 931)
To rubber sheet two maps (page 935)
To define text location (page 937)
To fill a closed polyline with a solid-looking hatch (page 939)
To break objects at a boundary (page 941)
To save the data back to the source drawings after a boundary break (page
942)
To create an enlarged map section (page 943)
To trim objects inside a boundary (page 945)
To use grips (page 947)
To create centroids for polygons and closed polylines (page 950)
To match map edges (page 951)
To save the edited objects back to the source drawings (page 952)
To digitize points using coordinates (page 953)

Overview of Using the Map Editing Tools
AutoCAD Map 3D provides special editing tools for editing maps and spatial
data, as well as AutoCAD editing tools for editing drawing objects and design
data.
Examples: Stretching a new subdivision map into a preexisting parcel map
and aligning the two maps geographically, breaking a large city map into three
tiled sections, or creating a seamless join across two or more maps.
WARNING If you use these methods on a topology, they can make it invalid and
impossible to re-create. Use topology editing commands (page 851) instead.
NOTE These commands work on drawing objects only. For information about
editing geospatial feature data, see Using Feature Editing Commands (page 704)
and Using AutoCAD Commands on Features (page 713). For information about
AutoCAD commands, see the AutoCAD Help.

Tell me more
■
Video

Show me how to georeference parcels
by rubbersheeting.

Using Map Editing Tools | 927

■

To use Map editing tools (page 927)

■

Find and Edit Objects in Attached
Drawings

■

Georeference parcels by rubbersheeting.

■

Overview of Bringing in Drawing Data
From DWG Files (page 351)

■

Editing Topologies (page 851)

Procedure

Workflow

GIS Skill

Related topics

NOTE These commands work on drawing objects only. For information about
editing geospatial feature data, see Using Feature Editing Commands (page 704)
and Using AutoCAD Commands on Features (page 713). For information about
AutoCAD commands, see the AutoCAD Help.
To use the AutoCAD Map 3D editing tools
1 Open the drawing containing the objects you want to edit or query the
objects into the current drawing.
2 Use one or more of the following AutoCAD Map 3D editing commands:
■

Transform (page 931)

■

Rubber Sheet (page 935)

■

Define Text Location (page 937)

■

Fill Closed Polylines (page 939)

■

Fill Polygons (page 963)

■

Boundary Break (page 941)

■

Create an Enlarged Map Section (page 942)

■

Boundary Trim (page 945)

■

Manually Edit (page 947)

■

Creating Centroids for Polylines (page 948)

928 | Chapter 6 Creating and Editing Data

■

Match Map Edges (page 951)

Notes and Warnings
■

To perform general and object-specific editing operations, use the AutoCAD
editing commands. For more information, see the AutoCAD Help.

■

Do not use any of the methods described above to edit topologies; you
might not be able to recreate the topology. Use the topology editing
commands (page 851) instead.

Quick Reference
ADEFILLPOLYG
Fills a selected polygon
Command Line

ADEFILLPOLYG

Dialog Box

ADEFILLPOLYG (Fill Closed Polyline command)

ADERSHEET
Performs rubber sheeting on selected objects
Menu

Modify menu ➤ Rubber Sheet

Command Line

ADERSHEET

Dialog Box

ADERSHEET (Rubber Sheet command)

ADETEXTLOC
Specifies a new label point for an object
Menu

Create menu ➤ Map Labelpoint Location

Icon
Map Labelpoint Location
Command Line

ADETEXTLOC

Dialog Box

ADETEXTLOC (Map Labelpoint Location command)

ADETRANSFORM

Using Map Editing Tools | 929

Moves, scales, and rotates a set of objects
Menu

Modify menu ➤ Transform

Command Line

ADETRANSFORM

Dialog Box

ADETRANSFORM (Transform command)

MAPBREAK
Breaks objects along a selected or defined boundary
Menu

Modify menu ➤ Boundary Break

Icon
Boundary Break
Command Line

MAPBREAK

Dialog Box

Break Objects at Boundary dialog box

MAPCREATECENTROIDS
Creates a centroid in a polygon and moves data to the centroid
Menu

Create menu ➤ Centroids

Icon
Create Centroids
Command Line

MAPCREATECENTROIDS

Dialog Box

Create Centroids dialog box

MAPTRIM
Trims objects to a set of edges
Menu

Modify menu ➤ Boundary Trim

Icon
Boundary Trim
Command Line

MAPTRIM

Dialog Box

Trim Objects At Boundary dialog box

930 | Chapter 6 Creating and Editing Data

Moving, Rotating, and Scaling an Object
You can simultaneously move, rotate, and scale a group of objects using the
Transform editing tool.
NOTE This command works on drawing objects only. For information about
editing geospatial feature data, see Using Feature Editing Commands (page 704)
and Using AutoCAD Commands on Features (page 713). For information about
AutoCAD commands, see the AutoCAD Help.

Differences From Simple Transformation Settings
The Transform editing tool works very differently from the Simple
Transformation settings (page 167) in the Drawing Settings dialog box (page
1923). The Simple Transformation settings temporarily adjust the position of
objects as they are retrieved during the query process. AutoCAD Map 3D
reverses these transformations during save back. The Transform editing tool
permanently scales, moves, and rotates objects within the current drawing.
See also:
■

ADETRANSFORM (Transform command) (page 1649)

NOTE This command works on drawing objects only. For information about
editing geospatial feature data, see Using Feature Editing Commands (page 704)
and Using AutoCAD Commands on Features (page 713). For information about
AutoCAD commands, see the AutoCAD Help.
To move, rotate, or scale an object

1 Click Tools tab ➤ Map Edit panel ➤ Transform.
2 At the ADETRANSFORM (Transform command) (page 1649) prompt, specify
whether you want to select objects or use all objects on a specified layer.
3 Select the objects you want to transform, or select a layer.
4 Define the base point.
The rotation and scaling occur around this point.
5 Specify a base rotation and scale, separated by a comma. For a simple
transformation, set the base rotation to 0 and the base scale to 1.
6 Define a new zero point.

Using Map Editing Tools | 931

Selected objects are offset by the difference between the original base
point and the new point.
7 Define a new rotation and scale, separated by a comma.
Selected objects are rotated the difference between the new rotation and
the old rotation. They are scaled based on the ratio of the new scale to
the old scale.

Quick Reference
ADETRANSFORM
Moves, scales, and rotates a set of objects
Menu

Modify menu ➤ Transform

Command Line

ADETRANSFORM

Dialog Box

ADETRANSFORM (Transform command)

Rubber Sheeting Two Maps
Rubber sheeting is a nonuniform adjustment of a data set based on the
movement of known control points to new locations. For example, data
collected by aerial survey may be inaccurate because of flight alignment and
camera inaccuracies. By comparing this data with accurate ground survey data,
the aerial data can be stretched or rubber sheeted over the accurate data using
control points and monuments common to both data sets.
NOTE This command works on drawing objects only. For information about
editing geospatial feature data, see Using Feature Editing Commands (page 704)
and Using AutoCAD Commands on Features (page 713). For information about
AutoCAD commands, see the AutoCAD Help.
Use rubber sheeting when you want two or more different data sets from
different sources to align geographically: for example, when stretching a new
subdivision map into a preexisting parcel map.

932 | Chapter 6 Creating and Editing Data

The reference map is correct, but the map with new details is severely distorted. By
running the Rubber Sheeting command and selecting common control points, the
two maps can be correctly aligned.

When selecting points for rubber sheeting, select points in order around the
perimeter of the object or region to be rubber sheeted.

correct

incorrect

The selected points are treated as the vertices of a polygon, so you will get
better results if you select the points sequentially around the perimeter.
Objects that have a given shape, such as circles, arcs, and ellipses, retain their
original shape.
WARNING Use rubber sheeting only when absolutely necessary because it can
severely compromise the accuracy of your data.

Using Map Editing Tools | 933

Because rubber sheeting is not a linear transformation, it is difficult to reverse
the effects of the transformation and return a drawing to its original state.
You should save your drawing before you perform a rubber sheeting operation.

Changing Scale
Do not rubber sheet two maps drawn at different scales. If you do, the
command matches objects and changes the original scaling of text and blocks
to match the new scaling, which can change data significantly. You should
use rubber sheeting as a last resort after exhausting other methods of object
editing and coordinate adjustment.
If you are working with two maps that have different scales and coordinate
systems, first decide which coordinate system to use for the reference map.
Then set the coordinate systems for the current and source maps.

Tell me more
■

Show me how to georeference parcels
by rubbersheeting.

■

To rubber sheet two maps (page 935)

■

Find and Edit Objects in Attached
Drawings

■

Georeference parcels by rubbersheeting.

■

ADERSHEET (Rubber Sheet command)
(page 1648)

■

Overview of Coordinate Systems (page
143)

Video

Procedure

Workflow

GIS Skill

Related topics

Rubber sheet the less accurate data to fit the more accurate data. Perform a
query to bring in the source drawing and apply rubber sheeting to the two
maps. If you have set up a system of control points, or monuments, use this
data as the reference to which you rubber sheet other maps.

934 | Chapter 6 Creating and Editing Data

NOTE This command works on drawing objects only. For information about
editing geospatial feature data, see Using Feature Editing Commands (page 704)
and Using AutoCAD Commands on Features (page 713). For information about
AutoCAD commands, see the AutoCAD Help.
To rubber sheet two maps

1 Click Tools tab ➤ Map Edit panel ➤ Rubber Sheet.
2 At the ADERSHEET (Rubber Sheet command) (page 1648) prompt, for Base
point 1, specify the first common feature on map 2, the warped map.
3 When prompted on the command line for Reference point 1, specify the
corresponding feature on map 1, the accurate map.
4 Follow the prompts on the command line and continue specifying base
and reference points. When you are done, press Enter.
The order in which you select the points and the spread of the points
will affect the results. For complex curved figures, the more vertices you
enter, the more accurate the proportionate stretching.
5 Select the objects to rubber sheet. Enter a to select objects by area, or s
to select objects individually. If you queried all objects in the warped
map onto their own layer, select that layer.
6 Press Enter to complete the process.

Quick Reference
ADERSHEET
Performs rubber sheeting on selected objects
Menu

Modify menu ➤ Rubber Sheet

Command Line

ADERSHEET

Dialog Box

ADERSHEET (Rubber Sheet command)

Using Map Editing Tools | 935

Defining the Text Insertion Point
You can add text to objects using the Alter Properties feature in the Define
Query dialog box (page 1838). By default, AutoCAD Map 3D positions the text
at the centroid of the object.
NOTE This command works on drawing objects only. For information about
editing geospatial feature data, see Using Feature Editing Commands (page 704)
and Using AutoCAD Commands on Features (page 713). For information about
AutoCAD commands, see the AutoCAD Help.

The text position relative to the object is called the label point. You can redefine
the label point using the Map Labelpoint Location option.
To use the label point, choose the .LABELPT dot variable in the Define Text
dialog box (page 1846) when you create the Property Alteration definition in
the Define Query dialog box (page 1838).

936 | Chapter 6 Creating and Editing Data

See also:
■

Adding Text to Queried Drawing Objects (page 1276)

■

Dot Variables (page 1546)

NOTE This command works on drawing objects only. For information about
editing geospatial feature data, see Using Feature Editing Commands (page 704)
and Using AutoCAD Commands on Features (page 713). For information about
AutoCAD commands, see the AutoCAD Help.
The label point of an object specifies the starting point for text added during
a query property alteration. To define the label point for an object, do the
following:
To define text location
1 Click Annotate tab ➤ Map Annotation panel ➤ Define Text Location.

2 Select the object.
3 Click the place on the object where you want the label point to be located.
To use this label point as the text insertion point during a property alteration
(page 1278), choose LABELPT as the insert point.

Quick Reference
ADETEXTLOC
Specifies a new label point for an object
Menu

Create menu ➤ Map Labelpoint Location

Icon
Map Labelpoint Location
Command Line

ADETEXTLOC

Dialog Box

ADETEXTLOC (Map Labelpoint Location command)

Using Map Editing Tools | 937

Filling a Closed Polyline
You can fill closed polylines in your drawing with solid fills and hatch patterns.
For example, you can use one color to show counties with a population over
10,000 and another color to show counties under 10,000.

Filling closed polylines

NOTE This command works on drawing objects only. For information about
editing geospatial feature data, see Using Feature Editing Commands (page 704)
and Using AutoCAD Commands on Features (page 713). For information about
AutoCAD commands, see the AutoCAD Help.
The ADEFILLPOLYG command always creates a hatch object with the solid
fill hatch style.
You can also use the BHATCH command to fill closed polylines. Use the
MPFILL command to fill polygon objects.
NOTE If you move closed polylines that you filled using ADEFILLPOLYG, you must
move the hatch object as well. AutoCAD Map 3D considers the closed polyline
and the hatch object as separate objects.

938 | Chapter 6 Creating and Editing Data

To fill closed polylines automatically with hatch patterns or solid fills when
performing queries, use the Alter Properties feature in the Define Query dialog
box (page 1838).
If you set the Create Associative Hatch Objects option on the Query tab of
the AutoCAD Map Options dialog box (page 1908), AutoCAD Map 3D creates
associative hatch objects for hatch objects created by the ADEFILLPOLYG
command, the ADEQUERY command (using Alter Properties), and the
MAPTHEMATIC command (using a fill).
See also:
■

Using Associative Hatch (page 246)

■

Altering the Properties of Queried Drawing Objects (page 1259)

■

Modifying Polygon Objects (page 962)

■

Altering the Properties of Queried Drawing Objects (page 1259)

NOTE This command works on drawing objects only. For information about
editing geospatial feature data, see Using Feature Editing Commands (page 704)
and Using AutoCAD Commands on Features (page 713). For information about
AutoCAD commands, see the AutoCAD Help.
To fill a closed polyline with a solid-looking hatch
1 On the command line, enter adefillpolyg.
2 At the ADEFILLPOLYG (Fill Closed Polyline command) (page 1647) prompt,
specify whether you want to select objects or fill all objects on a specified
layer.
3 Select the objects or specify a layer.
4 Specify the color for the fill.

Quick Reference
ADEFILLPOLYG
Fills a selected polygon
Command Line

ADEFILLPOLYG

Dialog Box

ADEFILLPOLYG (Fill Closed Polyline command)

Using Map Editing Tools | 939

Breaking Objects at a Closed Boundary
Using the Boundary Break option, you can break any objects that cross a given
line. This capability lets you save maps back to source drawings with clean
edges or plot maps without overlapping borders. It functions like the AutoCAD
BREAK command for a selected set of objects and a polyline boundary.
NOTE This command works on drawing objects only. For information about
editing geospatial feature data, see Using Feature Editing Commands (page 704)
and Using AutoCAD Commands on Features (page 713). For information about
AutoCAD commands, see the AutoCAD Help.

The text Thonon-les-Bains remains in the central map because the text has a
MiddleCenter justification and insertion point.
The Boundary Break option
■

Breaks vectors and edge objects with start and end points that straddle a
cutting edge.

■

Does not break objects such as blocks, text, hatch patterns, and other
objects with a single insertion point that do not form edges; the insertion
point determines which map contains the object.

Specifying the Boundary Edge
When breaking objects, you can draw a boundary, choose one or more existing
objects that form a closed boundary, or use the save back extents of the active

940 | Chapter 6 Creating and Editing Data

source drawings as the boundary. Using save back extents combines the extents
of all active source drawings as the boundary.
The edges of the boundary do not have to form a rectilinear shape. If you are
breaking using lines of latitude and longitude, the edges form a trapezoidal
shape.

Retaining Object Data
You can also choose to retain existing attached object data and links to external
database records on the objects created by the break.
Once the objects are broken, you can save the data back to the source drawings.
See also:
■

Editing and Saving Objects in Attached Drawings (page 737)

■

Defining the Text Insertion Point (page 936)

■

Overview of Polygons (page 955)

NOTE This command works on drawing objects only. For information about
editing geospatial feature data, see Using Feature Editing Commands (page 704)
and Using AutoCAD Commands on Features (page 713). For information about
AutoCAD commands, see the AutoCAD Help.
To break objects at a boundary
1 Open a drawing and attach the maps you want.
2 Define and execute a query to retrieve the objects to break.

3 Click Tools tab ➤ Map Edit panel ➤ Boundary Break.
4 In the Break Objects at Boundary dialog box (page 1666), under Boundaries,
choose how to specify the boundaries for breaking:
■

Use Save Back Extents Of Active Source Drawings — Uses the combined
extents of all active source drawings as the boundary.

■

Select Boundaries — Allows you to choose existing objects in the
current drawing. These objects need to form a closed area but do not
need to be single objects. Click Select and select the objects to use.

■

Define Boundary — Allows you to draw a single closed boundary on
screen. Click Define and specify the boundary.

Using Map Editing Tools | 941

5 Under Objects To Break, specify whether to select objects manually or
automatically, and whether to use only objects on selected layers.
6 Under Break Method, specify whether to exclude topology objects, and
whether to retain object data on the objects.
7 Click OK.
8 In the Confirm Save Back dialog box, click Yes.
The objects are broken according to the location of the save back extents.
To save the data back to the source drawings after a boundary break

1 Click Home tab ➤ Data panel ➤

➤ Save To Source.

2 Under What To Save, make sure that both Save Queried Objects and Save
Newly Created Object are selected.
3 Under Save Order For Newly Created Objects, select Area. Click OK.

Quick Reference
MAPBREAK
Breaks objects along a selected or defined boundary
Menu

Modify menu ➤ Boundary Break

Icon
Boundary Break
Command Line

MAPBREAK

Dialog Box

Break Objects at Boundary dialog box

Creating an Enlarged Map Section
You can use Boundary Break to show an enlargement of a selected area.

942 | Chapter 6 Creating and Editing Data

NOTE This command works on drawing objects only. For information about
editing geospatial feature data, see Using Feature Editing Commands (page 704)
and Using AutoCAD Commands on Features (page 713). For information about
AutoCAD commands, see the AutoCAD Help.

Use Boundary Break to isolate an area, then move and scale up the selected area. This
is useful for map inserts.

Adding an inset to a map communicates the focus of the map better.
See also:
■

Breaking Objects at a Closed Boundary (page 940)

■

Trimming Objects at a Boundary (page 944)

NOTE This command works on drawing objects only. For information about
editing geospatial feature data, see Using Feature Editing Commands (page 704)
and Using AutoCAD Commands on Features (page 713). For information about
AutoCAD commands, see the AutoCAD Help.
To create an enlarged map section
1 Draw a rectangle around the area you want to enlarge.
2 Break the boundaries (page 941) inside the rectangle.
3 Copy objects from the rectangle to a new location.
4 Rescale the objects to a larger size.

Using Map Editing Tools | 943

Quick Reference
MAPBREAK
Breaks objects along a selected or defined boundary
Menu

Modify menu ➤ Boundary Break

Icon
Boundary Break
Command Line

MAPBREAK

Dialog Box

Break Objects at Boundary dialog box

Trimming Objects at a Boundary
Using the Boundary Trim command, you can specify a closed boundary as a
trimming edge for a selected set of objects. You can use this option to trim
objects inside or outside a boundary. Use Boundary Trim to quickly clear a
circular or rectilinear area in a complex map in order to insert a legend or
label.
NOTE This command works on drawing objects only. For information about
editing geospatial feature data, see Using Feature Editing Commands (page 704)
and Using AutoCAD Commands on Features (page 713). For information about
AutoCAD commands, see the AutoCAD Help.
You can use this command to enhance plotted maps. After trimming objects
inside an area, you can add text that will not be obscured.

You can use a boundary to trim all objects inside the boundary or outside the boundary.

944 | Chapter 6 Creating and Editing Data

See also:
■

Overview of Creating Topologies (page 822)

■

Overview of Polygons (page 955)

NOTE This command works on drawing objects only. For information about
editing geospatial feature data, see Using Feature Editing Commands (page 704)
and Using AutoCAD Commands on Features (page 713). For information about
AutoCAD commands, see the AutoCAD Help.
To trim objects inside a boundary
1 Open a drawing and attach the maps you want.
2 Define and execute a query to retrieve the objects to trim.

3 Click Tools tab ➤ Map Edit panel ➤ Boundary Trim.
4 In the Trim Objects At Boundary dialog box (page 1672), under Boundary,
select how to specify the boundary:
■

Reference Last Query Boundary — Use the boundary you used in the
last query.

■

Select Boundary — Use an object in the current drawing as the
boundary. Click Select and select the object to use. The object needs
to form a closed area.

■

Define Boundary — Use a boundary you define. Click Define and
specify the boundary.

Using Map Editing Tools | 945

5 Under Objects To Trim, specify whether to select objects manually or
automatically, and whether to use only objects on selected layers.
6 Under Trim Method, specify whether to trim inside or outside the
boundary. Specify whether to exclude topology objects, and whether to
retain object data on the objects.
If you select Retain Object Data, object data and external link data is
duplicated on each piece of a trimmed object. If data is not retained, it
remains attached only to the original location.
7 Under Objects That Cannot Be Trimmed, specify what to do with text,
hatch patterns, and blocks that cross the boundary.
8 Click OK.
9 To save the trim with your topology, save your changes back to the source
drawings.
To save the trim results without modifying the original topology, save
the changes to a new drawing.

Quick Reference
MAPTRIM
Trims objects to a set of edges
Menu

Modify menu ➤ Boundary Trim

Icon
Boundary Trim
Command Line

MAPTRIM

Dialog Box

Trim Objects At Boundary dialog box

Manually Editing Objects
Although the automatic AutoCAD Map 3D editing tools can correct many
problems, you may need to edit a drawing manually. Use commands such as
FILLET, TRIM, and EXTEND to correct situations like those shown in the
following illustration.

946 | Chapter 6 Creating and Editing Data

WARNING Using these editing commands to edit a topology can corrupt the
topology. Instead, use the Editing topologies (page 851) commands.
NOTE This command works on drawing objects only. For information about
editing geospatial feature data, see Using Feature Editing Commands (page 704)
and Using AutoCAD Commands on Features (page 713). For information about
AutoCAD commands, see the AutoCAD Help.
You can also use object grips to correct errors. Using grips, you can quickly
correct overlaps of coincident boundaries, such as county lines and roads or
geological boundaries and fault lines.
See also:
■

Overview of Editing a Topology (page 852)

NOTE This command works on drawing objects only. For information about
editing geospatial feature data, see Using Feature Editing Commands (page 704)
and Using AutoCAD Commands on Features (page 713). For information about
AutoCAD commands, see the AutoCAD Help.
To use grips
1 Click

➤ Options. Click the Selection tab.

2 Make sure that Enable Grips is selected and click OK.
You can also edit the size and color of the grips. Once grips are enabled,
squares appear on objects when you select them without starting a
command. These squares are the object grips.
3 Select an object so its grips appear.
4 Select an object grip.

Using Map Editing Tools | 947

To select more than one grip, hold down the Shift key as you select each
grip.
5 Select a new point. The grip you selected is relocated to the selected point,
stretching the rest of the objects associated with that grip.
As you move the cursor, it snaps or locks onto an object grip when it
moves into the square zone representing the grip. You can use this feature
instead of using an object snap such as Endpoint or Midpoint.

Quick Reference
OPTIONS
Customizes the AutoCAD settings
Menu

Setup menu ➤ AutoCAD Options

Command Line

OPTIONS

Task Pane

Right-click in the drawing area ➤ Options

Creating Centroids for Polylines
If you have polygon objects or closed polylines with data attached to them,
you can create centroids and move the data to the centroid.
NOTE This command works on drawing objects only. For information about
editing geospatial feature data, see Using Feature Editing Commands (page 704)
and Using AutoCAD Commands on Features (page 713). For information about
AutoCAD commands, see the AutoCAD Help.
This is useful in the following situations:
■

After you import or digitize objects.

■

Before using editing commands such as Drawing Cleanup, Boundary Break,
or Boundary Trim.

■

When working with topology.

948 | Chapter 6 Creating and Editing Data

Object data attached to closed polylines (above) and object data moved to centroids
(below).

AutoCAD Map 3D checks that the lines do not intersect each other, and that
the area is greater than 0. It then creates a centroid inside each selected polygon
or closed polyline and moves any object data or SQL link data to the centroid.
For an object shaped like a figure eight, AutoCAD Map 3D creates one centroid.
Centroids are created with a Z value of 0.
See also:
■

Creating a Polygon Topology (page 833)

■

Creating Centroids for Polygons (page 885)

Using Map Editing Tools | 949

NOTE This command works on drawing objects only. For information about
editing geospatial feature data, see Using Feature Editing Commands (page 704)
and Using AutoCAD Commands on Features (page 713). For information about
AutoCAD commands, see the AutoCAD Help.
To create centroids for polygons and closed polylines

1 Click Create tab ➤ Drawing Object panel ➤ Create Centroids.
2 In the Create Centroids dialog box (page 1801), specify whether to create
centroids for all closed objects or only for selected closed objects. If only
for selected closed objects, select the polygons and closed polylines.
TIP Click the Quick Select tool to view and filter the object type as you select
objects.
3 Specify the layer on which the centroids should be created.
4 Specify the block to use for centroids, or use ACAD_POINT.
5 Click OK.

Quick Reference
MAPCREATECENTROIDS
Creates a centroid in a polygon and moves data to the centroid
Menu

Create menu ➤ Centroids

Icon
Create Centroids
Command Line

MAPCREATECENTROIDS

Dialog Box

Create Centroids dialog box

Matching Map Edges
Maps that are digitized at different times or that use different coordinate
systems can appear distorted at their edges. Edge matching creates a seamless
join across two or more maps.

950 | Chapter 6 Creating and Editing Data

NOTE This command works on drawing objects only. For information about
editing geospatial feature data, see Using Feature Editing Commands (page 704)
and Using AutoCAD Commands on Features (page 713). For information about
AutoCAD commands, see the AutoCAD Help.
Use the edge-matching process on one layer at a time. You might edge match
the roads on the two maps first.
You can avoid using edge matching by digitizing a complete map in one
session, rather than breaking the map into smaller sections. If you must digitize
a map in sections, allow a 3-5% overlap along the edges of a map tile and
digitize both linear and point features on each tile that are common to both
tiles of the map.
See also:
■

Overview of Digitizing Maps (page 1073)

■

Digitizing Points Using Coordinates (page 953)

NOTE This command works on drawing objects only. For information about
editing geospatial feature data, see Using Feature Editing Commands (page 704)
and Using AutoCAD Commands on Features (page 713). For information about
AutoCAD commands, see the AutoCAD Help.
To match map edges
1 Open a drawing and attach the maps you want to match at edges.
2 Define a query to retrieve the objects to match:
■

Click Home tab ➤ Data panel ➤ Define Query.

■

Define a location condition with a buffer fence option. When defining
the buffer fence, select the edge to match and specify a suitable buffer
fence width.

■

You can also add a property condition to select objects on a specific
layer.

3 Click Tools tab ➤ Map Edit panel ➤ Clean Up.

Using Map Editing Tools | 951

4 On the Drawing Cleanup - Select Objects Page (page 1595), click Select All.
You can specify the layer(s) you want to use, for example, the layer
containing road data, and anchor objects as needed. Click Next.
5 On the Select Actions Page (page 1588), in the Cleanup Actions list, click
Snap Clustered Nodes and then click Add.
6 In the Selected Actions list, click Snap Clustered Nodes. Under Cleanup
Parameters, set Tolerance to a value just greater than the offset distance
between objects. You can type a value in the Tolerance box or click Pick
to specify the tolerance in the drawing.
7 Under Options, choose Automatically. Click Next.
8 In the Cleanup Methods Page, under Cleanup Method, select Modify
Original Objects.
9 You can save your settings in a profile (page 781) to use again later.
10 Click Finish to start the drawing cleanup operation.
11 In the Confirm Save Back dialog box, click Yes.
The objects are now contiguous across the map edges. Repeat steps 4 11 for all other layers and objects in the edge matching part of the maps.
To save the edited objects back to the source drawings

1 Click Home tab ➤ Data panel ➤

➤ Save To Source.

2 Under What To Save, make sure Save Queried Objects is selected. Click
OK.
All the objects are now matched at their edges.

Quick Reference
MAPCLEAN
Performs drawing cleanup operations
Menu

Modify menu ➤ Drawing Cleanup

Icon
Drawing Cleanup

952 | Chapter 6 Creating and Editing Data

Command Line

MAPCLEAN

Dialog Box

Drawing Cleanup

Digitizing Points Using Coordinates
You can digitize new points in existing maps with precision by using the Track
Coordinates feature to specify the exact coordinates of the points.
NOTE This command works on drawing objects only. For information about
editing geospatial feature data, see Using Feature Editing Commands (page 704)
and Using AutoCAD Commands on Features (page 713). For information about
AutoCAD commands, see the AutoCAD Help.
See also:
■

Tracking Coordinates (page 1149)

■

Matching Map Edges (page 950)

NOTE This command works on drawing objects only. For information about
editing geospatial feature data, see Using Feature Editing Commands (page 704)
and Using AutoCAD Commands on Features (page 713). For information about
AutoCAD commands, see the AutoCAD Help.
To digitize points using coordinates
1 In Map Explorer, right-click the current drawing. Click Track Coordinates.
2 In the Track Coordinates pane, click Select Coordinate System.
3 In the Assign Global Coordinate System dialog box (page 1598), choose the
coordinate system.
4 Click OK.
The Track Coordinates pane displays the code and description of the
coordinate system you chose.
5 Start the command for which you want to enter coordinates.
6 In the X and Y text boxes, type the coordinates of the point to digitize.
7 Do one of the following:
■

Click Digitize.

Using Map Editing Tools | 953

■

Press Enter.

The appropriate coordinates are entered on the command line. You can
continue to enter coordinates.

Quick Reference
MAPTRACKCS
Tracks the coordinates of the cursor in any coordinate system
Menu

Analyze menu ➤ Track Coordinate Sytem.

Icon
Track Coordinates
Command Line

MAPTRACKCS

Task Pane

In Map Explorer, right-click Current Drawing ➤ Track
Coordinates

Working with Polygon Objects
A polygon is a closed area that stores information about its inner and outer
boundaries, and about other polygons nested or grouped with it. The polygon
object (called the mpolygon) allows accurate translation of data between
AutoCAD Map 3D and other GIS packages.
NOTE This functionality is for drawing objects only. For information about
polygonal geospatial feature data, see Overview of Editing Features (page 701)and
Creating New Polygon and MultiPolygon Features (page 689).
NOTE This procedure is for drawing objects only. For information about polygonal
geospatial feature data, see Overview of Editing Features (page 701)and Creating
New Polygon and MultiPolygon Features (page 689).
To work with polygon objects
■
■
■
■

To work with polygons (page 957)
To create a polygon object (page 960)
To set the Fill property for polygon objects (page 961)
To add boundaries (page 963)

954 | Chapter 6 Creating and Editing Data

■
■
■
■
■
■
■
■
■
■
■
■
■
■
■

To delete boundaries (page 964)
To move boundaries (page 964)
To edit nodes on a boundary (page 965)
To change the boundary type (page 965)
To rebalance the polygon object (page 965)
To edit the fill property for the polygon object (page 966)
To specify a different color for the polygon fill and outline (page 967)
To set the default fill pattern for polygons (page 967)
To split a polygon object (page 969)
To convert polylines to polygons (page 971)
To convert a polygon topology to polygons (page 974)
To create centroids for polygons and closed polylines (page 977)
To change the default setting for importing polygons (page 978)
To change the default fill for polygons (page 978)
To change the display of polygon edges (page 979)

Overview of Polygons
A polygon is an object type with closed boundaries. Polygons store information
about their inner and outer boundaries, and about other polygons nested
within them or grouped with them.
NOTE This functionality is for drawing objects only. For information about
polygonal geospatial feature data, see Overview of Editing Features (page 701) and
Creating New Polygon and MultiPolygon Features (page 689).
Polygons can represent areas such as city limits, county boundaries, state
borders, buildings, and parcels, as well as more complex objects, such as islands.
Example: A state map could be composed of a single polygon with an outer
boundary representing the state, interior boundaries representing lakes, and
boundaries within those boundaries representing islands. A country map could
be composed of individual polygons representing each state.
The following table defines common terms used to describe the structure of
polygons.
Term

Definition

Boundaries

Closed boundaries that make up a polygon. Polygons can have
multiple non-intersecting boundaries, or boundaries nested
within boundaries.

Working with Polygon Objects | 955

Term

Definition

Balancing

Process of recalculating which boundaries are outer or inner.
Nested boundaries are alternately classified as outer and inner.
That is, the outermost boundary is classified as an outer
boundary. A boundary nested within this boundary is an inner
boundary. A boundary nested within the inner boundary is
classified as an outer boundary.

Inner boundary

Nested boundary that is totally within an outer boundary.

Outer boundary

The outermost boundary for any discreet set of boundaries that
define the polygon, or a boundary residing within an inner
boundary. A polygon can have several unnested outer boundaries
and several nested outer boundaries.

Understanding Boundaries
The figure below shows two polygon objects, each with three boundaries. The
one on the left has two discrete outer boundaries and one inner boundary.
The inner boundary is nested within the second discrete outer boundary. The
polygon on the right also has two outer boundaries and one inner boundary.
However, the second outer boundary is nested within the inner boundary.

Polygon objects maintain a tree structure to keep track of the boundaries and
identify nesting levels. The illustration below shows the different tree structures
for the two objects shown above. The first polygon tree contains two branches,
while the second polygon tree contains a single branch.

956 | Chapter 6 Creating and Editing Data

In addition to outer and inner boundaries, there is an Annotation boundary
type. This boundary has the characteristics of an inner boundary, but only
affects the display of the pattern fill and is ignored when calculating the area
or interior of the polygon object. Its primary purpose is to allow you to
annotate your drawings without the fill pattern of the polygon obscuring the
annotations. The annotation will typically consist of text or blocks.
See also:
■

Creating Polygon Objects (page 960)

■

Modifying Polygon Objects (page 962)

■

Setting Polygon Options (page 977)

NOTE This procedure is for drawing objects only. For information about polygonal
geospatial feature data, see Overview of Editing Features (page 701)and Creating
New Polygon and MultiPolygon Features (page 689).
To work with polygons
■

To create a polygon object (page 960)

■

To add boundaries (page 963)

■

To convert polylines to polygons (page 971)

■

To convert a polygon topology to polygons (page 974)

■

To create centroids for polygons and closed polylines (page 977)

■

To change the default setting for importing polygons (page 978)

Quick Reference
MAPCREATECENTROIDS

Working with Polygon Objects | 957

Creates a centroid in a polygon and moves data to the centroid
Menu

Create menu ➤ Centroids

Icon
Create Centroids
Command Line

MAPCREATECENTROIDS

Dialog Box

Create Centroids dialog box

MAPPOLYLINETOPOLYGON
Converts closed polylines to polygons
Menu

At the Command prompt, enter
mappolylinetopolygon.

Icon
Convert Polylines to Polygons
Command Line

MAPPOLYLINETOPOLYGON

MAPTOPOLOGYTOPOLYGONS
Converts an existing polygon topology to polygons
Menu

At the Command prompt, enter
maptopologytopolygons.

Icon
Convert Topology to Polygons
Command Line

MAPTOPOLOGYTOPOLYGONS

Dialog Box

Create Polygons From Topology dialog box

MAPUSEMPOLYGON
Turns on and off the ability to use mapping polygons
Command Line

MAPUSEMPOLYGON

Dialog Box

MAPUSEMPOLYGON

MAPMPEDIT
Edits polygons

958 | Chapter 6 Creating and Editing Data

Menu

Click Modify ➤ Edit MPolygon.

Icon
Edit Polygon
Command Line

MAPMPEDIT

Dialog Box

MAPMPEDIT (Edit Polygon command)

MPFILL
Sets the default fill for polygons
Menu

At the Command prompt, enter mpfill.

Icon
Polygon Fill Settings
Command Line

MPFILL

Dialog Box

Polygon Fill Properties dialog box

MPOLYGON
Create polygon
Menu

Create ➤ Mpolygon

Icon
MPolygon
Command Line

MPOLYGON

MPSPLIT
Splits an existing polygon into two new polygons
Menu

At the Command prompt, enter mpsplit.

Icon
Split Polygon
Command Line

MPSPLIT

Dialog Box

MPSPLIT (Split Polygon command)

Working with Polygon Objects | 959

Creating Polygon Objects
Create polygon objects by selecting existing closed polyline objects and circles,
or by specifying points.
NOTE This functionality is for drawing objects only. For information about
polygonal geospatial feature data, see Creating New Polygon and MultiPolygon
Features (page 689).
The boundaries of a polygon object can overlap or touch, but they cannot
cross. When you pick points to draw a boundary, a point will be rejected if it
causes the boundary to cross itself or if it crosses a previous boundary created
by the command.
You select the fill color and pattern used to fill polygon objects. For color, you
can choose from a variety of colors including true colors and colors from
imported color books. For pattern, you can choose a predefined hatch pattern,
a simple line pattern of your own design, a more complex hatch pattern, or
a solid color. You can also create a gradient fill, which uses a transition between
shades of one color or between two colors. Gradient fills can be used to give
the appearance of light reflecting on an object.
See also:
■

Converting Polylines to Polygons (page 970)

■

Converting Polygon Topology to Polygons (page 972)

■

Modifying Polygon Objects (page 962)

■

Setting Polygon Options (page 977)

NOTE This procedure is for drawing objects only. For information about polygonal
geospatial feature data, see Creating New Polygon and MultiPolygon Features
(page 689).
To create a polygon object
1 Click Home tab ➤ Draw panel ➤ Creates Polygons.
2 Click in the drawing to specify a start point, or select an existing object
to include in the polygon.
3 Optionally, enter a to draw an arc as part of the polygon.
4 Repeat Step 2 to add objects or specify more points.

960 | Chapter 6 Creating and Editing Data

5 Enter c to close the polygon.
To set the Fill property for polygon objects
1 On the command line, enter mpfill. Press Enter.
2 Enter f.
3 In the Polygon Fill Properties dialog box (page 1824), set the polygon fill
properties.
These properties are applied to the polygon that you are drawing and all
new polygons you create or convert.
To fill with...

Do this in the Polygon Fill Properties dialog
box...

Solid

■

Click the Hatch tab.

■

For Pattern Type, select Predefined.

■

For Pattern Name, select Solid.

■

For Fill Color, select the fill color. Click Select Color
to select from a large palette of colors.

■

Click the Hatch tab.

■

For Pattern Type, select Predefined.

■

For Pattern Name, select a pattern.

■

Click the Hatch tab.

■

For Pattern Type, select User Defined.

■

Specify the angle and spacing of the hatch pattern.

■

Click the Gradient tab.

■

Select the number of colors to use for the gradient
fill.

■

Select the colors.

■

Use the Shade/Tint slider to adjust the color.

■

Click a pattern.

■

Select Center to create a symmetrical fill, or clear
Center to move the "highlight" up and to the left.

■

Specify an angle for the "highlighted" area.

Predefined hatch pattern

User defined hatch pattern

One or two color gradient

Working with Polygon Objects | 961

4 Continue creating the polygon by following the steps in the previous
procedure.

Quick Reference
MPOLYGON
Create polygon
Menu

Create ➤ Mpolygon

Icon
MPolygon
Command Line

MPOLYGON

Modifying Polygon Objects
You can edit a polygon by editing its boundaries (adding, deleting, moving,
or disconnecting them), changing its fill properties, moving nodes in a
boundary, changing individual boundary types to Inner or Outer, or
rebalancing the polygon. For explanations of these terms, see Overview of
Polygons (page 955).
NOTE This functionality is for drawing objects only. For information about editing
polygonal geospatial feature data, see MAPPOLYGONEDIT (page 1665).

Rebalancing Polygons
If you add or delete boundaries, be sure to rebalance the polygon. A polygon
becomes unbalanced when it does not have correct information about which
is an inner boundary and which is an outer boundary. When you rebalance
the polygon, the nesting order follows an alternating outer/inner/outer order.

Area of a Polygon
The area between an inner and outer boundary is filled or not filled in an
alternating manner. In a balanced polygon, the filled area represents the total
area of the polygon object. The total area of the polygon is calculated by
subtracting the sum of the area of all inner boundaries from the sum of the
area of all outer boundaries.

962 | Chapter 6 Creating and Editing Data

Filling a Polygon
You can change the default fill color and pattern assigned to polygons. For
color, you can choose from a variety of colors including true colors and colors
from imported color books. For fill pattern, you can select a predefined hatch
pattern, define your own hatch pattern, choose a solid color, or define a oneor two-color gradient fill.
To style polygons to use one color for the fill and a different color for the
outline, create a Display Manager layer for the polygons. For that layer, create
both a hatch style and an entity style. The hatch style will control the polygon
fill; the entity style will control the polygon outline. However, the entity style
must appear above the hatch style in Display Manager for the polygon to
appear correctly in the drawing.
See also:
■

Creating Polygon Objects (page 960)

■

Setting Polygon Options (page 977)

■

Overview of Polygons (page 955)

NOTE This procedure is for drawing objects only. For information about editing
polygonal geospatial feature data, see To edit a feature using feature editing
commands (page 705).
■

To add boundaries (page 963)

■

To delete boundaries (page 964)

■

To move boundaries (page 964)

■

To edit nodes on a boundary (page 965)

■

To change the boundary type (page 965)

■

To rebalance the polygon object (page 965)

■

To edit the fill property for the polygon object (page 966)

■

To specify a different color for the polygon fill and outline (page 966)

■

To set the default fill pattern for polygons (page 967)

To add boundaries
1 At the Command prompt, enter mapmpedit (page 1818).

Working with Polygon Objects | 963

2 In the drawing area, select the polygon to edit.
3 Enter a.
4 Select the polygon or closed polyline to add to the polygon.
The boundary is added to the polygon and assigned an inner or outer
boundary type based on its relationship to the rest of the object
5 Repeat Step 2 to add any other boundaries.
6 When the selection is completed, you can rebalance the polygon by
entering r.
To delete boundaries
1 At the Command prompt, enter mapmpedit (page 1818).
2 Select the polygon to edit.
3 Enter d to delete the boundary, or enter c to delete the boundary from
the polygon but preserve it as an object.
4 Click a boundary object to delete from the polygon.
The boundary is removed from the polygon.
5 Repeat Step 2 to delete any other boundaries.
6 When the selection is completed, you can enter r to rebalance the
polygon.
To move boundaries
1 At the Command prompt, enter mapmpedit (page 1818).
2 Select the polygon to edit.
3 Enter m.
4 Click a boundary object to move within the polygon.
Any nested boundaries within the boundary are also selected.
5 Click in the drawing to specify the base point.
6 Click in the drawing to specify the displacement point.
7 Repeat these steps to move any other boundaries.

964 | Chapter 6 Creating and Editing Data

To edit nodes on a boundary
1 At the Command prompt, enter mapmpedit (page 1818).
2 Select the polygon to edit.
3 Enter e.
4 Click a boundary object to edit.
5 Click the node to edit.
TIP Press the Spacebar to move to the next node.
Enter r to remove the node, m to move the node, or i to insert a new
node.
You can not modify the boundary in a way that would make it cross
another boundary in the polygon. For example, you cannot delete a node
if that would make the current boundary cross an inner boundary.
6 When you finish editing nodes, press x to exit node-editing mode.
To change the boundary type
1 At the Command prompt, enter mapmpedit (page 1818).
2 Select the polygon to edit.
3 Enter b.
4 Click the boundary object for which you want to change the type.
5 Enter o, i, or a (Outer/Inner/Annotation).
Annotation boundaries behave the same as inner boundaries, but have
no effect on area calculations.
To rebalance the polygon object
1 At the Command prompt, enter mapmpedit (page 1818).
2 Select the polygon to edit.
3 Enter r.
The Rebalance option recalculates the polygon tree and reassigns the
Inner/Outer property of all the boundaries based on their nesting level.

Working with Polygon Objects | 965

To edit the fill property for the polygon object
1 At the Command prompt, enter mapmpedit (page 1818).
2 Select the polygon to edit.
3 Enter f.
4 In the Polygon Fill Properties dialog box (page 1824), edit the polygon fill
properties. These properties are applied to the polygon that you are
editing.
To fill with...

Do this in the Polygon Fill Properties dialog box...

Solid

■

Click the Hatch tab.

■

For Pattern Type, select Predefined.

■

For Pattern Name, select Solid.

■

For Fill Color, select the fill color. Click Select Color
to select from a large palette of colors.

■

Click the Hatch tab.

■

For Pattern Type, select Predefined.

■

For Pattern Name, select a pattern.

■

Click the Hatch tab.

■

For Pattern Type, select User Defined.

■

Specify the angle and spacing of the hatch pattern.

■

Click the Gradient tab.

■

Select the number of colors to use for your gradient
fill.

■

Select the colors.

■

Use the Shade/Tint slider to adjust the color.

■

Click a pattern.

■

Select Center to create a symmetrical fill, or clear
Center to move the "highlight" up and to the left.

■

Specify an angle for the "highlighted" area.

Predefined hatch pattern

User defined hatch pattern

One or two color gradient

966 | Chapter 6 Creating and Editing Data

To specify a different color for the polygon fill and outline
1 Create a Display Manager layer for the polygons. In Display Manager,
click Data ➤ Add Drawing Data ➤ Drawing Layer.
2 Right-click the new layer and click Add Style ➤ Entity.
3 Right-click the Entity Style entry and click Properties.
4 Change the Color for the Entity to the desired outline color.
5 Right-click the layer again and click Add Style ➤ Hatch.
6 Right-click the Hatch Style entry and click Properties.
7 Change the Color for the Hatch to the desired fill color.
8 At the Command prompt, enter Regen.
To set the default fill pattern for polygons
1 At the Command prompt, enter mpfill. Press Enter.
2 Select the fill pattern and properties.
All polygons you create or convert will use the new default fill.
Editing Using Grips
In addition to the options described above, you can edit a polygon object
using grips in the same way that you edit a polyline object (stretch a vertex,
move, rotate, scale, and so on).

Quick Reference
MAPMPEDIT
Edits polygons
Menu

Click Modify ➤ Edit MPolygon.

Icon
Edit Polygon
Command Line

MAPMPEDIT

Dialog Box

MAPMPEDIT (Edit Polygon command)

Working with Polygon Objects | 967

MPFILL
Sets the default fill for polygons
Menu

At the Command prompt, enter mpfill.

Icon
Polygon Fill Settings
Command Line

MPFILL

Dialog Box

Polygon Fill Properties dialog box

Splitting Polygon Objects
You can split an existing polygon into two new polygons. The existing polygon
is deleted.
NOTE This functionality is for drawing objects only. For information about splitting
polygonal geospatial feature data, see Splitting Features (page 705).
Example: If a parcel is subdivided, you can split the existing parcel.
When you split a polygon, the split line cannot cross itself or cross an internal
boundary of the polygon.

This split is allowed.

This split is not allowed because
it crosses an internal boundary.

This split is not allowed because it
touches one of the vertices of the
internal boundary.

When you split the polygon, you can choose to copy any existing data from
the original polygon to both of the new polygons.

968 | Chapter 6 Creating and Editing Data

See also:
■

Modifying Polygon Objects (page 962)

■

Setting Polygon Options (page 977)

NOTE This procedure is for drawing objects only. For information about splitting
polygonal geospatial feature data, see To split a feature (page 708).
To split a polygon object
1 On the command line, enter mpsplit (page 1821). Press Enter.
2 Select the polygon to split.
3 Specify the line to split the polygon:
■

To split the polygon by drawing a line, enter d.
Click in the drawing to specify the first point for the line.
Click to specify the next point, or enter a to draw an arc. For more
information on drawing arcs, see ARC in the AutoCAD Help.

■

To split the polygon by using an existing line, enter s. Select the line
or lines.

4 To copy attached data from the original polygon to the two new polygons,
enter y.
Otherwise, the data is deleted.

Quick Reference
MPSPLIT
Splits an existing polygon into two new polygons
Menu

At the Command prompt, enter mpsplit.

Icon
Split Polygon
Command Line

MPSPLIT

Dialog Box

MPSPLIT (Split Polygon command)

Working with Polygon Objects | 969

Converting Polylines to Polygons
You can convert all, or a selection of, the closed polylines in an existing
drawing to polygon objects. When you convert a closed polyline, the original
polyline is erased and is replaced with a polygon object.
NOTE This functionality is for drawing objects only. For information about
converting polygonal geospatial feature data to polygons, see Importing Polygons
(page 429).
When exporting objects to other formats, use polygons to preserve information
about islands, holes, or discontinuous polygons.
Here are some typical situations in which you may want to convert polylines
to polygons.

Converting Polylines to Polygons

This illustration shows a map made of polylines. Every closed polyline is converted to
a polygon.

970 | Chapter 6 Creating and Editing Data

Converting Nested Polylines to Polygons

This illustration shows a state with lakes as closed polylines.

To create a complex polygon with islands, holes, or discontinuous polygons,
first use the GROUP command to group the objects that you want to include
in the polygon. Then use the MAPPOLYLINETOPOLYGON command.
WARNING When you group objects, only the data from the outermost boundary
is maintained. The data from nested objects is lost.
To preserve nested data, you may want to convert your polylines in steps. For
example, in the illustration above, you could first query in the state and lake
boundaries, group all these objects, and create a polygon. The resulting polygon
will show the state with holes for the lakes, and will maintain only the state
data. Next, query in the lake polylines, do not group them, and then convert
the lake polylines to polygons. Each of the polygons representing the lakes
will have its data attached.
See also:
■

Converting Polygon Topology to Polygons (page 972)

■

Overview of Polygons (page 955)

■

Setting Polygon Options (page 977)

NOTE This procedure is for drawing objects only. For information about converting
polygonal geospatial feature data to polygons, see To import polygons (page 430).
To convert polylines to polygons
1 Set the PROXYGRAPHICS system variable to 0.

Working with Polygon Objects | 971

2 On the command line, enter mappolylinetopolygon (page 1817). Press
Enter.
3 If you already had a selection set, the selected closed polylines are
converted. If you did not have a selection set, select the polylines to
convert. Press Enter.
Each closed polyline in the selection set is converted. If the polyline
belongs to a group, only the first (outermost) polyline is converted. Other
polylines in the group are copied into the polygon as additional
boundaries and the polygon is rebalanced.
When objects are converted to polygons, they use the color or hatch set by
the MPFILL command (page 978).

Quick Reference
MAPPOLYLINETOPOLYGON
Converts closed polylines to polygons
Menu

At the Command prompt, enter
mappolylinetopolygon.

Icon
Convert Polylines to Polygons
Command Line

MAPPOLYLINETOPOLYGON

Converting Polygon Topology to Polygons
You can create polygons from a polygon topology. The polygon topology is
not changed.
NOTE This functionality is for drawing objects. There is no equivalent for geospatial
feature data.
When exporting objects to other formats, use polygons to preserve information
about islands, holes, or discontinuous polygons.
Here are some typical situations in which you may want to create polygons
from a polygon topology.

972 | Chapter 6 Creating and Editing Data

This illustration shows a polygon topology. You can create polygons for each polygon
in the polygon topology, which is useful when exporting to other formats.

This illustration shows lakes as part of a state topology. To create a polygon for the
state with "holes" in it for the lakes, select the Group Complex Polygons option.

Converting Polygon Topology with Nested Boundaries
When you have nested polygons in your topology, you have several options
on how to convert them.
If you select the Group Complex Polygons option and all the polygons have
centroids, AutoCAD Map 3D will create a single balanced polygon.
If you do not select the Group Complex Polygons option, AutoCAD Map 3D
will create separate polygons, one for each centroid.
To create a single polygon from polygons nested within each other, each
nested polygon must have a centroid. For example, if you have three polygons
nested one within another, and the middle polygon does not have a centroid,
AutoCAD Map 3D will create separate polygons for the inner polygon and the
outer polygon.

Working with Polygon Objects | 973

See also:
■

Converting Polylines to Polygons (page 970)

■

Overview of Polygons (page 955)

■

Setting Polygon Options (page 977)

NOTE This procedure is for drawing objects. There is no equivalent for geospatial
feature data.
To convert a polygon topology to polygons
1 On the command line, enter maptopologytopolygons. Press Enter.
2 In the Create Polygons From Topology dialog box (page 1823), for Name,
select the topology to convert.
Click Load Topology to select and load the topology.
3 For Layer, select the layer on which you want to place the converted
polygons.
Click Layer Settings to create a new layer and set its properties.
4 Optionally, select Group Complex Polygons to create a single polygon
from nested polygons in the topology.
If one polygon is inside another, they both become boundaries in the
resulting polygon object. There is no specific limit to the nesting level of
polygons grouped with this option, but in some conditions the resulting
inner/outer type of individual boundaries may not be what you
anticipated. You can use the MAPMPEDIT (page 963) command to correct
this.
5 Optionally, select Copy Object Data From Centroid to copy object data
from the polygons to the new polygon objects.
If you selected Group Complex Polygons, the object data is copied only
from the outermost polygon.
6 Optionally, select Copy Database Links From Centroid to copy database
links from the polygons to the new polygon objects.
If you selected Group Complex Polygons, the database links are copied
only from the outermost polygon.
7 Click OK.

974 | Chapter 6 Creating and Editing Data

When objects are converted to polygons, they use the color or hatch set by
the MPFILL command (page 978).

Quick Reference
MAPTOPOLOGYTOPOLYGONS
Converts an existing polygon topology to polygons
Menu

At the Command prompt, enter
maptopologytopolygons.

Icon
Convert Topology to Polygons
Command Line

MAPTOPOLOGYTOPOLYGONS

Dialog Box

Create Polygons From Topology dialog box

Creating Centroids for Polygons
If you have data attached to polygon objects or closed polylines, you can
create centroids for the polygons or closed polylines and move the data to the
centroid.
NOTE This functionality is for drawing objects only. For information about
converting polygonal geospatial feature data to polygons and creating centroids
for them, see Importing Polygons (page 429).
This is useful after you import or digitize objects, before using editing
commands such as Drawing Cleanup, Map Break, or Map Trim, or when
working with topology.

Working with Polygon Objects | 975

Object data attached to closed polylines (above) and object data moved to centroids
(below).

When you use this feature, AutoCAD Map 3D checks that the selected polygons
or closed polylines are clean; that is, that the lines do not intersect each other,
and that the area is greater than 0.
It creates a centroid inside each selected polygon or closed polyline and moves
any object data or SQL link data to the centroid. For a 'figure eight' object,
AutoCAD Map 3D creates one centroid.
Centroids are created with a Z value of 0.
See also:
■

Creating Polygon Objects (page 960)

976 | Chapter 6 Creating and Editing Data

■

Overview of Polygons (page 955)

NOTE This functionality is for drawing objects only. For information about
converting polygonal geospatial feature data to polygons and creating centroids
for them, see To import polygons (page 430).
To create centroids for polygons and closed polylines

1 Click Create tab ➤ Drawing Object panel ➤ Create Centroids.
2 In the Create Centroids dialog box (page 1801), specify whether to create
centroids for all closed objects or only for selected closed objects. If only
for selected closed objects, select those polygons and closed polylines.
TIP Use Quick Select to view and filter the object type as you select objects.
3 Specify the layer on which the centroids should be created.
4 Specify the block to use for centroids, or use ACAD_POINT.
5 Click OK.

Quick Reference
MAPCREATECENTROIDS
Creates a centroid in a polygon and moves data to the centroid
Menu

Create menu ➤ Centroids

Icon
Create Centroids
Command Line

MAPCREATECENTROIDS

Dialog Box

Create Centroids dialog box

Setting Polygon Options
AutoCAD Map 3D uses polygons by default for import and export. If you do
not want to use polygons, for example, for compatibility with an older drawing,

Working with Polygon Objects | 977

you can select the option to import polygons as polylines. You can also change
the default setting for this option.
When objects are imported as polygons, they use the default fill color and
pattern set by the MPFILL command. Boundaries come in as usual, using the
default layer color unless another color is specified in the imported file.
You can change the default fill color and pattern assigned to polygons. For
color, you can choose from a variety of colors including true colors and colors
from imported color books. For fill pattern, you can select a predefined hatch
pattern, define your own hatch pattern, choose a solid color, or define a oneor two-color gradient fill.
You can also change the display of polygon boundaries to display just the
edges, just the fill, or both.
See also:
■

Importing Polygons (page 429)

■

Creating Polygon Objects (page 960)

■

Overview of Polygons (page 955)

■

To change the default setting for importing polygons (page 978)

■

To change the default fill for polygons (page 978)

■

To change the display of polygon edges (page 979)

To change the default setting for importing polygons
1 On the command line, enter MAPUSEMPOLYGON (page 1818).
You are asked whether you want to use polygons.
2 Type off or on. Press Enter.
If you turn off mpolygons, AutoCAD Map 3D creates closed polylines for
polygon objects that it imports.
To change the default fill for polygons
1 On the command line, enter mpfill. Press Enter.

978 | Chapter 6 Creating and Editing Data

2 In the Polygon Fill Properties dialog box (page 1824), select the polygon
fill properties.
To fill with...

Do this in the Polygon Fill Properties dialog box...

Solid

■

Click the Hatch tab.

■

For Pattern Type, select Predefined.

■

For Pattern Name, select Solid.

■

For Fill Color, select the fill color. Click Select Color to
select from a large palette of colors.

■

Click the Hatch tab.

■

For Pattern Type, select Predefined.

■

For Pattern Name, select a pattern.

■

Click the Hatch tab.

■

For Pattern Type, select User Defined.

■

Specify the angle and spacing of the hatch pattern.

■

Click the Gradient tab.

■

Select the number of colors to use for your gradient
fill.

■

Select the colors.

■

Use the Shade/Tint slider to adjust the color.

■

Click a pattern.

■

Select Center to create a symmetrical fill, or clear
Center to move the "highlight" up and to the left.

■

Specify an angle for the "highlighted" area.

Predefined hatch pattern

User defined hatch pattern

One or two color gradient

All polygons you create or convert will use the new default fill. You can change
the fill for an existing polygon with MAPMPEDIT (Edit Polygon command)
(page 1818).
To change the display of polygon edges
1 On the command line, enter polydisplay.

Working with Polygon Objects | 979

2 Enter e to view edges only, f to view fill only, or b to view both edges
and fill.
3 On the command line, enter regen.

Quick Reference
MAPUSEMPOLYGON
Turns on and off the ability to use mapping polygons
Command Line

MAPUSEMPOLYGON

Dialog Box

MAPUSEMPOLYGON

MPFILL
Sets the default fill for polygons
Menu

At the Command prompt, enter mpfill.

Icon
Polygon Fill Settings
Command Line

MPFILL

Dialog Box

Polygon Fill Properties dialog box

POLYDISPLAY
Specifies whether to display edges only, fill only, or both for polygons
Menu

At the Command prompt, enter polydisplay.

Icon
Polygon Display Mode
Command Line

POLYDISPLAY

Adding and Deleting Annotation
Use annotation to quickly and easily label objects with their attribute values,
display properties, and geometric values. For more information see Annotating
Drawing Objects (page 1100).

980 | Chapter 6 Creating and Editing Data

Using Object Classification
Use object classification to organize drawing objects in your map based on
the real-world objects that they represent. When you create an object using
object classification, the object automatically has properties and values assigned
to it based on its classification.
NOTE This functionality applies to drawing objects only. For information about
the classification systems used by geospatial feature data, see About Geospatial
Feature Classes, Data Stores, and Schemas (page 551).
■
■
■
■
■
■

Overview of Object Classification (page 981)
Creating Classified Drawing Objects (page 987)
Assigning an Object Class (page 988)
Editing Object Class Data (page 991)
Selecting Objects by Object Class (page 992)
Attaching an Object Class Definition File (page 995)

See also:
■

Overview of Object Classification (page 981)

■

Setting Up Object Classification (page 116)

To use object classification
■
■
■
■
■
■
■
■

To use object classification (page 983)
To create a classified drawing object (page 988)
To assign an object class to an existing object (page 989)
To unclassify an object (page 990)
To edit object class data for an object (page 991)
To select objects in your current map, based on their object class (page 993)
To select objects in source drawings, based on their object class (page 993)
To attach an object class definition file (page 995)

Overview of Object Classification
Object classification helps organize and select objects in your drawings.
NOTE This functionality applies to drawing objects only. For information about
the classification systems used by geospatial feature data, see About Geospatial
Feature Classes, Data Stores, and Schemas (page 551).

Using Object Classification | 981

Use object classification to organize objects in your drawing based on the
real-world features that they represent, for example, roads or manholes. When
you create an object using object classification, the object automatically has
properties and values assigned to it based on its object classification. In
addition, you can find or select all objects in an object class.

Setting Up Object Classification
■

Start by determining the standard objects you use in your organization.
For example, if your organization produces road maps, you may want a
set of standard road objects, such as Primary Road and Secondary Road.

■

Determine the set of properties and data for each standard object type. For
each one, define an object class that specifies the properties and data for
that object type. All object class definitions are stored in an object class
definition file.
For example, you may want all Primary Roads to be use a polyline with a
thick line weight, be on the Primary Roads layer, and have object data
associated with them that lists values for speed limit and number of lanes.
Similarly, Secondary Roads might go on the Secondary Roads layer, use a
thin line weight, and include information on surface type.

■

Use object class definitions to create objects with a standard set of properties
and data assigned to them.
For example, if you use the Create Classified Object command to create a
Primary Road, it is created with a polyline, a thick line weight, on the
Primary Roads layer, and with object data that lists values for speed limit
and number of lanes. When you create a secondary road, it is on the
Secondary Roads layer, with a thinner line weight, and different values for
surface type and number of lanes.

When you select an object that was created using object classification, the
properties that are associated with that object class are displayed on the Object
Class tab of the Properties palette. For example, when you select a road, the
Properties palette shows you the layer, line weight, surface type, and number
of lanes. Edit properties by entering new values in the window.

982 | Chapter 6 Creating and Editing Data

When you select a road in your drawing, the Object Class tab shows all the properties
associated with the object class Road. Edit a value by clicking in the box and selecting
an item from the list.

Tell me more
■

To set up object classification (page
118)

■

To use object classification (page 981)

■

Tutorial: Classifying Drawing Objects

■

Set Up Your DWG Data

■

Move CAD Data to GIS

■

Setting Up Object Classification (page
116)

■

Checking Out Features (page 695)

Procedure

Tutorial

Workflow

Related topics

NOTE This functionality applies to drawing objects only. For information about
the classification systems used by geospatial feature data, see About Geospatial
Feature Classes, Data Stores, and Schemas (page 551).
To use object classification
1 Attach an object class definition file (page 995).

Using Object Classification | 983

2 Define an object class (page 120).
This step is often performed by the CAD Manager in your organization.
3 Use object classification to standardize the objects in your drawings.
■

Create new objects using object classification (page 987).
These new objects are created using the standard properties specified
for the object class.

■

Assign an object class to an existing object (page 989).
The properties and data associated with the object are changed to
match the standards specified for the object class.

Once you have drawing objects in your drawing, you can do the following:
■

Edit object class data for an object (page 991).

■

Select objects by object class (page 993).

■

Query objects from source drawings by object class name (page 1244).

■

Query objects from source drawings by object class properties (page 1248).

■

Modify objects based on their object class (page 1267).

■

Add text to objects based on object class values (page 1278).

■

Create a report that lists the object class properties of selected objects (page
1477).

■

View information about attached drawings (page 172).

Quick Reference
PROPERTIES
Displays the Properties palette, which allows you to edit the properties of
objects
Menu

Analyze ➤ Properties

Icon
Properties
Command Line

PROPERTIES

Task Pane

Select object. Right-click in drawing area ➤ Properties

984 | Chapter 6 Creating and Editing Data

CLASSIFY
Classifies existing objects
Menu

Click Map ➤ Feature Classification ➤ Classify Objects.

Icon
Classify Objects
Command Line

CLASSIFY

Task Pane

In Map Explorer, under Current Drawing, right-click
Object Classes ➤ Select Classified Objects

Dialog Box

Classify dialog box

Create Classified Object
Creates a new object based on the object classification definition
Task Pane

In Map Explorer, under Current Drawing, right-click
an object class ➤ Create Classified Object

FEATUREDEF
Defines a new object class based on an example in thecurrent drawing
Menu

Click Setup ➤ Classification Tools ➤ Define Object
Class.

Icon
Define Object Class
Command Line

FEATUREDEF

Task Pane

In Map Explorer, under Current Drawing, right-click
Object Classes ➤ Define Object Class

Dialog Box

Define Object Classification dialog box

MAPSELECTCLASSIFIED
Selects all classified objects
Menu

Click Map ➤ Feature Classification ➤ Select Features.

Icon
Select Classified Objects

Using Object Classification | 985

Command Line

MAPSELECTCLASSIFIED

Task Pane

In Map Explorer, under Current Drawing,
right-clickObject Classes ➤ Select Classified Objects

Dialog Box

MAPSELECTCLASSIFIED (Select Classified Objects
command)

MAPSELECTUNCLASSIFIED
Selects all objects that have no classification assigned to them
Menu

Click Map ➤ Feature Classification ➤ Select
Unclassified.

Command Line

MAPSELECTUNCLASSIFIED

Task Pane

In Map Explorer, under Current Drawing, right-click
Object Classes ➤ Select Unclassified

Dialog Box

MAPSELECTUNCLASSIFIED (Select Unclassified
Objects command)

MAPSELECTUNDEFINED
Selects all objects whose classification is not defined in the current object
class definition file
Menu

Click Map ➤ Feature Classification ➤ Select
Undefined.

Command Line

MAPSELECTUNDEFINED

Task Pane

In Map Explorer, under Current Drawing, right-click
Object Classes ➤ Select Undefined

Dialog Box

MAPSELECTUNDEFINED (Select Undefined Objects
command)

NEWDEF
Creates a new object class definition file
Menu

Click Setup ➤ Classification Tools ➤ New Definition
File.

Command Line

NEWDEF

Task Pane

In Map Explorer, under Current Drawing, right-click
Object Classes ➤ New Definition File

986 | Chapter 6 Creating and Editing Data

Dialog Box

New Object Class Definition File dialog box

UNCLASSIFY
Removes classification from an object
Menu

Click Modify ➤ Unclassify Objects.

Icon
Unclassify Objects
Command Line

UNCLASSIFY

Task Pane

In Map Explorer, under Current Drawing, right-click
Object Classes ➤ Select Classified Objects

Creating Classified Drawing Objects
Use object classes to create new objects with a predefined set of properties and
values.
NOTE This functionality applies to drawing objects only. For information about
the classification systems used by geospatial feature data, see About Geospatial
Feature Classes, Data Stores, and Schemas (page 551).
When you create a drawing object using object classification, properties are
set to allowable values and data is attached. In addition, the object is tagged
with the name of its object class.
For example, if you create a road using a Road object class, you are prompted
to create a normal polyline. The polyline is created on the Roads layer, has
the default properties for a road, and has the data values specified for a road
feature.
After you create a classified object, you can use the Object Class tab of the
Properties palette to edit the data associated with the object class.
To create classified objects, you must have an object class definition file
attached to your drawing. For information on the location of the object class
definition file, consult your CAD Manager.
NOTE If an object class was defined with a create method of None, or if it was
defined as a base class only, you cannot create an object using that object class.

Using Object Classification | 987

See also:
■

Overview of Object Classification (page 981)

■

Editing Object Class Data (page 991)

■

Attaching an Object Class Definition File (page 995)

NOTE This functionality applies to drawing objects only. For information about
the classification systems used by geospatial feature data, see About Geospatial
Feature Classes, Data Stores, and Schemas (page 551).
To create a classified drawing object
1 In Map Explorer, right-click an object class. Click Create Classified Object.
If no object classes are listed in Map Explorer, attach an object class
definition file (page 995). For information on the location of the object
class definition file, consult your CAD Manager.
2 Create the object as prompted.
When you create the object, object data, external data, and topology data
are attached. Other properties included in the object class definition are
set to the current drawing setting. If this setting is not within the range
of allowable values for this property, the default value is used.
3 If necessary, edit the properties (page 991) for this object.

Quick Reference
Create Classified Object
Creates a new object based on the object classification definition
Task Pane

In Map Explorer, under Current Drawing, right-click
an object class ➤ Create Classified Object

Assigning an Object Class
Classify existing objects by assigning object classes to them. When you classify
an object, the properties and data of the selected object class (page 2069) are
assigned to the object.

988 | Chapter 6 Creating and Editing Data

NOTE This functionality applies to drawing objects only. For information about
the classification systems used by geospatial feature data, see About Geospatial
Feature Classes, Data Stores, and Schemas (page 551).
Before you assign an object class, make sure that the properties specified in
the object class definition are available in the drawing. For example, if the
object class definition specifies a linetype, make sure the specified linetype is
loaded into the drawing. Any properties that are not available are not updated
for the classified objects.
To classify objects, you must have an object class definition file attached to
your drawing. For information on the location of the object class definition
file, consult your CAD Manager.
See also:
■

Attaching an Object Class Definition File (page 995)

■

Overview of Object Classification (page 981)

NOTE This functionality applies to drawing objects only. For information about
the classification systems used by geospatial feature data, see About Geospatial
Feature Classes, Data Stores, and Schemas (page 551).
To assign an object class to an existing object
1 In Map Explorer, right-click the object class to assign to the object. Click
Classify Objects.
If no object classes are listed in Map Explorer, attach an object class
definition file (page 995). For information on the location of the object
class definition file, consult your CAD Manager.
2 In the Classify Objects dialog box (page 1783), select the options you want
and click OK.
■

Select Include Objects to classify objects even if the values for
properties associated with the object class are not within the range of
allowable values specified for the feature.
For these objects, the values that are outside the allowable range will
be reset to the default value.

■

Select Exclude Objects to ensure that you do not overwrite an object
class already assigned to an object.

3 Select the objects to classify.

Using Object Classification | 989

If objects do not match the object type of the object class, they are filtered
out of the selection set and are not classified.
To unclassify an object
1 In Map Explorer, right-click Object Classes. Click Unclassify Objects.
2 Select the objects to unclassify.
3 When you finish selecting objects, press Enter.
The object classification tag is removed from the selected objects.

Quick Reference
CLASSIFY
Classifies existing objects
Menu

Click Map ➤ Feature Classification ➤ Classify Objects.

Icon
Classify Objects
Command Line

CLASSIFY

Task Pane

In Map Explorer, under Current Drawing, right-click
Object Classes ➤ Select Classified Objects

Dialog Box

Classify dialog box

UNCLASSIFY
Removes classification from an object
Menu

Click Modify ➤ Unclassify Objects.

Icon
Unclassify Objects
Command Line

UNCLASSIFY

Task Pane

In Map Explorer, under Current Drawing, right-click
Object Classes ➤ Select Classified Objects

990 | Chapter 6 Creating and Editing Data

Editing Object Class Data
Edit object class (page 2069) data for the selected object from the Object Class
tab of the Properties palette.
NOTE This functionality applies to drawing objects only. For information about
the classification systems used by geospatial feature data, see About Geospatial
Feature Classes, Data Stores, and Schemas (page 551).
If you enter values on the Object Class tab that are outside the allowable range
for this property, the value resets to the default value. If you edit this data
elsewhere, such as on the Categories tab of the Properties palette, you can
enter values that are outside the range.
See also:
■

Assigning an Object Class (page 988)

■

Creating Classified Drawing Objects (page 987)

■

Overview of Object Classification (page 981)

NOTE This functionality applies to drawing objects only. For information about
the classification systems used by geospatial feature data, see About Geospatial
Feature Classes, Data Stores, and Schemas (page 551).
To edit object class data for an object
1 Select the object.
2 If the Properties palette is not already displayed, right-click the object.
Click Properties.
3 In the Properties palette, select the Object Class tab.
4 Review and edit any information.
You must enter a value that is within the allowable range for this object
class.

Quick Reference
PROPERTIES

Using Object Classification | 991

Displays the Properties palette, which allows you to edit the properties of
objects
Menu

Analyze ➤ Properties

Icon
Properties
Command Line

PROPERTIES

Task Pane

Select object. Right-click in drawing area ➤ Properties

Selecting Objects by Object Class
In your current map, you can create a selection set of objects, based on their
object class (page 2069). For example, you could select all Roads.
NOTE This functionality applies to drawing objects only. For information about
the classification systems used by geospatial feature data, see About Geospatial
Feature Classes, Data Stores, and Schemas (page 551).
When you select all objects in a base class, objects in object classes based on
that class are also selected.
You can use Quick Select to select objects with specific properties, such as all
two-line roads. You can also select all objects that have not been assigned to
any object class
In addition, you can use queries to select objects by object class in your source
drawing and query them into the current drawing.
See also:
■

Assigning an Object Class (page 988)

■

Creating Classified Drawing Objects (page 987)

■

Editing Object Class Data (page 991)

■

Using Object Classification (page 981)

NOTE This functionality applies to drawing objects only. For information about
the classification systems used by geospatial feature data, see About Geospatial
Feature Classes, Data Stores, and Schemas (page 551).

992 | Chapter 6 Creating and Editing Data

To select objects in your current map, based on their object class
To select this...

Use this method...

Objects assigned to a specific object class

In Map Explorer, right-click the object class
name ➤ Select Classified Objects
(MAPSELECTCLASSIFIED (page 1779)).

Objects assigned to any object class (all
classified objects)

In Map Explorer, right-click Object Classes

Objects that have not been assigned to
any object class (all unclassified objects)

In Map Explorer, right-click Object Classes

All undefined objects
An undefined object was assigned to an
object class, but that object class is not
defined in the definition file attached to
the drawing.

In Map Explorer, right-click Object Classes

Objects based on a property value

➤ Select Classified Objects (MAPSELECTCLASSIFIED (page 1779)).

➤ Select Unclassified (MAPSELECTUNCLASSIFIED (page 1780)).

➤ Select Undefined ((MAPSELECTUNDEFINED (page 1780)).

1 Right-click in the map.
2 Click Quick Select.
3 In the Quick Select dialog box, under
Object Type, select the object class.

4 Under Properties, select the object
class property.

5 Select an operator and a value.

To select objects in source drawings, based on their object class
To select this...

See...

Objects in source drawings based on the
object class name or a specific value of an
object class property

To retrieve drawing objects based on their
properties (page 1244)

Objects in source drawings based on the
value of specific object class data

To retrieve drawing objects based on their
object data (page 1248)

Using Object Classification | 993

Quick Reference
MAPSELECTCLASSIFIED
Selects all classified objects
Menu

Click Map ➤ Feature Classification ➤ Select Features.

Icon
Select Classified Objects
Command Line

MAPSELECTCLASSIFIED

Task Pane

In Map Explorer, under Current Drawing,
right-clickObject Classes ➤ Select Classified Objects

Dialog Box

MAPSELECTCLASSIFIED (Select Classified Objects
command)

MAPSELECTUNCLASSIFIED
Selects all objects that have no classification assigned to them
Menu

Click Map ➤ Feature Classification ➤ Select
Unclassified.

Command Line

MAPSELECTUNCLASSIFIED

Task Pane

In Map Explorer, under Current Drawing, right-click
Object Classes ➤ Select Unclassified

Dialog Box

MAPSELECTUNCLASSIFIED (Select Unclassified
Objects command)

MAPSELECTUNDEFINED
Selects all objects whose classification is not defined in the current object
class definition file
Menu

Click Map ➤ Feature Classification ➤ Select
Undefined.

Command Line

MAPSELECTUNDEFINED

Task Pane

In Map Explorer, under Current Drawing, right-click
Object Classes ➤ Select Undefined

Dialog Box

MAPSELECTUNDEFINED (Select Undefined Objects
command)

994 | Chapter 6 Creating and Editing Data

Attaching an Object Class Definition File
The object class definition (page 2069) file includes information on how to create
each object class you have defined. You can change the object class definition
file that is associated with the current map. Only definitions in the associated
definition file can be assigned to objects or used to create new features.
NOTE For information on the location of the object class definition file, consult
your CAD Manager.
NOTE This functionality applies to drawing objects only. For information about
the classification systems used by geospatial feature data, see About Geospatial
Feature Classes, Data Stores, and Schemas (page 551).
See also:
■

Overview of Object Classification (page 981)

■

Creating an Object Classification File (page 128)

NOTE This functionality applies to drawing objects only. For information about
the classification systems used by geospatial feature data, see About Geospatial
Feature Classes, Data Stores, and Schemas (page 551).
To attach an object class definition file
1 In Map Explorer, right-click Object Class Definition ➤ Attach Object
Class Definition File.
2 Select the object class definition file. Click Open.

Quick Reference
ATTACHDEF
Changes the current feature definition file
Menu

Click Setup ➤ Classification Tools ➤ Attach Definition
File.

Command Line

ATTACHDEF

Task Pane

In Map Explorer, under Current Drawing, right-click
Object Classes ➤ Attach Definition File

Using Object Classification | 995

Dialog Box

Attach Object Class Definition File dialog box

Working with Survey Data
■
■
■
■
■
■
■

Overview of Working with Survey Data (page 997)
Working with Survey Data Stores (page 999)
Working with Projects (page 1001)
Working with Surveys (page 1002)
Working with Point Groups (page 1004)
Working with Survey Points (page 1005)
Creating Surfaces From Survey Data (page 1009)

NOTE Survey data is a particular type of geospatial data. You cannot use survey
functionality for drawing objects.
To work with survey data
■
■
■
■
■
■
■
■
■
■
■
■
■
■
■
■
■
■
■
■
■
■
■
■
■

To create a survey data store (page 1000)
To connect to a survey data store (page 1000)
To view points in the active data store only (page 1000)
To add a point group to a project (page 1001)
To rename a project (page 1002)
To remove a project from a survey data store (page 1002)
To view or edit project properties (page 1002)
To add a point group to a survey (page 1003)
To remove a point group from a survey (page 1003)
To rename a survey (page 1003)
To remove a survey from a project (page 1003)
To view or edit survey properties (page 1004)
To rename a point group (page 1004)
To remove a point group from a project or survey (page 1005)
To view or edit point group properties (page 1005)
To create survey points (page 1006)
To create survey points using coordinate geometry (page 1006)
To move points from one point group to another (page 1006)
To remove points from a point group (page 1007)
To delete survey points (page 1007)
To view and edit survey point data in the Point Table (page 1008)
To zoom to survey points on the map (page 1008)
To create geospatial features from survey points (page 1008)
To create a surface from a source file (page 1009)
To create a surface from a data connection (page 1010)

996 | Chapter 6 Creating and Editing Data

■

To create a surface from points in your drawing (page 1011)

Overview of Working with Survey Data

You can manage survey data on the Survey tab of the Task Pane

AutoCAD Map 3D allows you to manage survey point data.
NOTE Survey data is a particular type of geospatial data. You cannot use survey
functionality for drawing objects.
You can do the following with survey data:
■

Import survey points in LandXML or ASCII format

■

View point data in the Point Table (a survey-point specific version of the
Data Table (page 1613))

■

Edit survey points

■

Add points using coordinate geometry commands

Overview of Working with Survey Data | 997

■

Export points to LandXML format

■

Use the Bulk Copy feature to export points to another data store to create
geospatial features.
For example, if each survey point represents a telephone pole, you can
export the points to an SDF file called Telephone_poles.sdf. You can then
add Telephone_poles.sdf to your map using Data Connect and work with
the point data as geospatial features.

Survey data is kept in a dedicated SDF data store. You can add new properties
and classes to the survey data store schema, but be careful not to alter or
remove the existing properties and classes.
Points in a survey data store are in read-only mode until you click Edit at the
top of the Task Pane. Clicking Edit puts AutoCAD Map 3D into direct edit
mode, which means that any changes you make to the points in AutoCAD
Map 3D are immediately applied to the data store. You can reorganize survey
points without entering Edit mode (for example, you can move points between
point groups).
When working with survey data, you must work online. If you work offline,
AutoCAD Map 3D disconnects from the survey data store, and the survey tree
disappears.
NOTE Survey data is a particular type of geospatial data. You cannot use survey
functionality for drawing objects.
Use the following methods to work with survey data.
To do this...

Use this method...

Create or connect to a new survey data
store.

■

Create a Survey Data Store (page 1000)

■

Connect to a Survey Data Store (page
1000)

Bring in survey point data.

■

Bring in LandXML Data. (page 371)

■

Bring in ASCII Point Data. (page 373)

■

Create Survey Points (page 1006)

■

Create Survey Points Using Coordinate
Geometry (page 1006)

Manage survey point data.

998 | Chapter 6 Creating and Editing Data

To do this...

Use this method...
■

View and Edit Survey Point Data in the
Point Table (page 1008)

Create geospatial features from survey
points.

Create Geospatial Features from Survey
Points (page 1008)

Export survey point data to LandXML.

Export Survey Points to LandXML (page
1471)

Working with Survey Data Stores
Survey data is kept in a dedicated SDF data store. You can add new properties
and classes to the survey data store schema, but be careful not to alter or
remove the existing properties and classes. Within a survey data store, survey
points are organized into projects, surveys, point groups, and unclassified
points. Before you import any survey data, you must connect to or create a
survey data store.
NOTE Survey data is a particular type of geospatial data. You cannot use survey
functionality for drawing objects.
NOTE If you connect to two separate survey data stores with different coordinate
systems, you may not be able to view the survey points contained in both data
stores. AutoCAD Map 3D transforms the coordinate systems of the data stores to
the coordinate system of the map for display. If the coordinate systems of the data
stores are incompatible with the coordinate system of the map, AutoCAD Map
3D cannot display both data stores. For example, AutoCAD Map 3D is not able
to display a data store in a New York state plane coordinate system and a California
state plane coordinate system in a single drawing. If you use data stores with such
disparate coordinate systems, best practice dictates that you use separate drawings
for each data store.

Working with Ungrouped Points
All points that do not fall into one of the survey data store categories (project,
survey, or point group) are grouped together in the Ungrouped Points node
under the Data Store node. You can edit, delete, or move ungrouped points
to other point groups. For more information on working with ungrouped
points, see Working with Survey Points (page 1005).

Working with Survey Data Stores | 999

NOTE Survey data is a particular type of geospatial data. You cannot use survey
functionality for drawing objects.
To create a survey data store
1 On the Survey tab of the Task Pane, click Data ➤ New Survey Data Store.
2 In theNew Data Store dialog box (page 1891) , click
section.

in the File Location

3 In the Create New Survey Data Store dialog box, enter a name for and
select a location to which to save your file, then click Save.
4 In the New Data Store dialog box, enter a coordinate system for your
survey data store in the Coordinate System assignment section. To select

a coordinate system from a list, click

.

5 Click OK.
To connect to a survey data store
1 On the Survey tab of the Task Pane, click Data ➤ Connect to Survey Data
Store.
2 In the Connect to Survey Data Store dialog box, browse to and select the
desired survey data store.
3 Click Open.
To view points in the active data store only
You can view only the points for the active data store by clicking the Display
button in the Survey Task Pane toolstrip. When you click Display, AutoCAD
Map 3D hides the objects and features in all other Display Manager layers.
1 Select the survey data store for which you would like to view points from
the Current Data Store drop-down list.
2 Click the Display button on the Survey Task Pane toolstrip.

1000 | Chapter 6 Creating and Editing Data

Quick Reference
Survey Data Store
Store survey point data in an SDF file.
Task Pane

On the Survey tab, click Data ➤ New Survey Data
Store to create a new data store. Click Data ➤ Connect
to Survey Data Store to connect to an existing survey
data store.

Dialog Box

New Data Store dialog box

Working with Projects
When you import a LandXML file into AutoCAD Map 3D, it appears in the
Survey Tree as a Project. Projects are the primary organizational group within
a survey data store.
NOTE Survey data is a particular type of geospatial data. You cannot use survey
functionality for drawing objects.
Projects contain point groups and surveys. Any points that are not assigned
to a point group appear in the Unclassified Points group. For more information
on working with ungrouped points, see Working with Survey Points (page
1005).
You can add a new point group to a project, rename a project, or remove a
project from a survey data store. You can also view and edit project properties
in the Project Properties dialog box (page 1892).
NOTE Survey data is a particular type of geospatial data. You cannot use survey
functionality for drawing objects.
To add a point group to a project
1 Right-click a project in the survey data store.
2 Select New Point Group. The new point group appears in the survey data
tree.
3 Enter a name for the new point group.

Working with Projects | 1001

To rename a project
1 Right-click the project you want to rename.
2 Select Rename Project.
3 Enter the new name for the project, then press Enter.
To remove a project from a survey data store
1 Right-click the project you want to remove.
2 Select Remove Project.
3 Click Yes in the Confirm Remove Project message box to remove the
project from the survey data store.
To view or edit project properties
1 Right-click the project and select Properties. The Project Properties dialog
box (page 1892) appears.
2 To edit project properties, click the field you wish to edit and enter your
data. Fields with constrained values will display a drop-down list.

Quick Reference
Survey Project Properties
View or edit survey project properties.
Task Pane

On the Survey tab, right-click a project ➤ Properties.

Dialog Box

Project Properties dialog box

Working with Surveys
Surveys are organizational groups within a project. Surveys contain point
groups.
NOTE Survey data is a particular type of geospatial data. You cannot use survey
functionality for drawing objects.

1002 | Chapter 6 Creating and Editing Data

Any points that are not assigned to a point group appear in the Unclassified
Points group. For more information on working with ungrouped points, see
Working with Survey Points (page 1005).
You can add a new point group to a survey, remove a point group from a
survey, rename a survey, or remove a survey from a project. You can also view
and edit survey properties in the Survey Properties dialog box (page 1893). You
cannot create a new survey in AutoCAD Map 3D. Surveys are created by
external surveying hardware and software, and must be imported to your
survey data store in a LandXML file.
NOTE Survey data is a particular type of geospatial data. You cannot use survey
functionality for drawing objects.
To add a point group to a survey
1 Right-click a survey in the project.
2 Select New Point Group. The new point group appears in the survey data
tree.
3 Enter a name for the new point group.
To remove a point group from a survey
➤

Right-click the point group you wish to remove, then select Remove Point
Group.

To rename a survey
1 Right-click the survey you want to rename.
2 Select Rename Survey.
3 Enter the new name for the survey, then press Enter.
To remove a survey from a project
1 Right-click the survey you want to remove.
2 Select Remove Survey.
3 Click Yes in the Confirm Remove Survey message box to remove the
survey from the project.

Working with Surveys | 1003

To view or edit survey properties
1 Right-click the survey and select Properties. The Survey Properties dialog
box (page 1893) appears.
2 To edit survey properties, click the field to edit and enter your data in
the Field Note Editor (page 1894). Fields with constrained values will display
a drop-down list.

Quick Reference
Survey Properties
View or edit survey properties.
Task Pane

On the Survey tab, right-click a survey ➤ Properties.

Dialog Box

Survey Properties dialog box

Working with Point Groups
Point groups are included in projects and surveys. Point groups contain survey
points. Groups typically define some common set of survey points, such as a
road centerline.
You can rename point groups or remove them from the survey data store. You
can also view and edit point group properties in the Point Group Properties
dialog box (page 1894)
NOTE Survey data is a particular type of geospatial data. You cannot use survey
functionality for drawing objects.
NOTE Survey data is a particular type of geospatial data. You cannot use survey
functionality for drawing objects.
To rename a point group
1 Right-click the point group you want to rename.
2 Select Rename Point Group.
3 Enter the new name for the point group, then press Enter.

1004 | Chapter 6 Creating and Editing Data

To remove a point group from a project or survey
1 Right-click the point group you want to remove.
2 Select Remove Point Group.
3 Click Yes in the Confirm Remove Point Group message box to remove
the point group from the project.
To view or edit point group properties
1 Right-click the point group and select Properties. The Point Group
Properties dialog box (page 1894) appears.
2 To edit point group properties, click the field you wish to edit and enter
your data. Fields with constrained values will display a drop-down list.

Quick Reference
Survey Point Group Properties
View or edit survey point group properties.
Task Pane

On the Survey tab, right-click a point group ➤
Properties.

Dialog Box

Point Group Properties dialog box

Working with Survey Points
AutoCAD Map 3D allows you to create, manage, export, and migrate survey
points. You can view and edit survey point data in the drawing window and
Point Table, export survey points to LandXML, and create geospatial features
from survey points using Bulk Copy.
NOTE Survey data is a particular type of geospatial data. You cannot use survey
functionality for drawing objects.
To create, edit, or delete survey points, you must first click the Edit button on
the Survey Task Pane toolstrip. When you click Edit, AutoCAD Map 3D enters
direct edit mode. In direct edit mode, all changes you make in AutoCAD Map
3D are immediately made to the source data in the survey data store.

Working with Survey Points | 1005

For information on exporting survey points to a LandXML file, see Exporting
Survey Points to a LandXML File (page 1471).
NOTE Survey data is a particular type of geospatial data. You cannot use survey
functionality for drawing objects.
To create survey points
1 Click Edit in the Survey Task Pane toolstrip.
2 Right-click the project, survey, or point group to which you want to add
a point.
3 Select Create New Point.
4 Specify the location of the new point on the map.
5 AutoCAD Map 3D creates the point and displays the Point Table.
To create survey points using coordinate geometry
1 Click Edit in the Survey Task Pane toolstrip.
2 Right-click the project, survey, or point group to which you want to add
a point.
3 Select Create COGO Point. The COGO Input dialog box (page 1668) appears.
4 Select the desired coordinate geometry routine and enter the appropriate
information. For more information on entering coordinate geometry, see
Overview of Coordinate Geometry Commands (page 1027).
5 Click Create Point.
To move points from one point group to another
You can move points between point groups with standard copy and paste
commands. You can also CTRL-Drag points from one group to another. Note
that when you copy points from one group to another, you are not duplicating
those points. Rather, you are creating references to those points and adding
them to the new point group. You can move points between point groups
without entering direct edit mode.
1 Right-click the Points node in the point group you want to move.
2 Select Copy.

1006 | Chapter 6 Creating and Editing Data

3 Right-click the Points node in the point group to which you want to
move the copied points.
4 Select Paste.
You can also copy and paste individual points, or a selection of points, using
the Point Table.
1 In the Point Table, select the rows containing the points you wish to
copy.
2 Right-click the row header (the grey row selection button to the left of
the object ID number) for that data and select Copy Points.
3 In the Data drop-down list, select the node to which you wish to paste
the copied points.
4 Right-click any row header in the Data Table and select Paste Points. If
you are pasting points to an empty point group, right-click the left-most
column header (the Sort row header) and select Paste Points.
To remove points from a point group
You can remove selected points from a point group using the Point Table.
When you remove a point from a point group, you are not deleting the point
data. Rather, you are removing the reference to that point from the point
group.
1 In the Point Table, select the rows containing the points you wish to
remove.
2 Right-click the row header (the grey row selection button to the left of
the object ID number) for the selected points and select Remove Points.
3 In the Confirm Remove Points dialog box, click Yes.
To delete survey points
You can delete survey points from your survey data store. You must work in
direct edit mode to delete survey points. Deleting survey points removes them
from your survey data store and from the connected data source.
1 Click Edit in the Survey Task Pane toolstrip.
2 Right-click the points node and select Delete Points.
3 In the Confirm Delete All Points dialog box, click Yes.

Working with Survey Points | 1007

You can also delete selected points from a point group using the Point Table.
1 Click Edit in the Survey Task Pane toolstrip.
2 In the Point Table, select the rows containing the points you wish to
delete.
3 Right-click the row header (the grey row selection button to the left of
the object ID number) for the selected points and select Delete Points.
4 In the Confirm Delete Points dialog box, click Yes.
To view and edit survey point data in the Point Table
1 Click Edit in the Survey Task Pane toolstrip if you want to edit the point
data. You do not need to enter direct edit mode if you only want to view
the data in the Point Table.
2 Select the project, survey, or point group you want to view or edit, then
click Table in the Survey Task Pane toolstrip. The Point Table appears.
3 View the survey point data in the Point Table. To edit data, click the
desired field and edit the data as appropriate. Fields with constrained
values will display a drop-down list. Uneditable fields will be shaded.
To zoom to survey points on the map
You can zoom to any collection of points in the survey data store.
1 Right-click the Survey Data Store, Project, Survey, or Point Group for
which you want to view points.
2 Select Zoom to... to zoom to the selected points.
To create geospatial features from survey points
1 Right-click the project, survey, or point group from which you want to
create geospatial features.
2 Select Export Points. The Bulk Copy (page 1744) dialog box appears.
3 Follow the instructions for Migrating GIS Data (Bulk Copy) (page 617) to
create point features from your survey points.

1008 | Chapter 6 Creating and Editing Data

Creating Surfaces From Survey Data
AutoCAD Map 3D 2011 allows you to create GeoTIFF raster surfaces from
point data. You can enter point data in a variety of text formats as well as
from AcDb point data and block references in your drawing. AutoCAD Map
3Dalso supports LandXML data sources that include a surface element; you
cannot use a LandXML data source that contains only points.
If you are adding data from an ASCII point file and your text file contains
lines that do not represent point data, enter a # character at the beginning of
such lines. AutoCAD Map 3D ignores all text lines that begin with the #
character.
AutoCAD Map 3D creates a raster surface in GeoTIFF format from the data
you enter and adds it to your map as a feature layer. You can then style your
surface using all of the visualization and styling tools of the Display Manager.
You will also see a new Raster connection in the Data Connect window.
To create a surface from a source file

1 In the Tool-based Ribbon Workspace, click Create tab > Surface panel >
3D Surface or enter MAPCREATESURFACE at the command line.

Creating Surfaces From Survey Data | 1009

2 In the Create Surface dialog box (page 1895), click

and select File.

3 In the Select a Point File dialog box, select the file format and navigate
to your point file.
4 Click Open.
5 In the Formatting section, specify the formatting and vertical (Z) unit of
your data file.
6 In the Output File Name field, click
and enter a file name and save
location. If you do not specify a save location, the raster file will be saved
to My Documents.
7 In the Layer Name field, enter a name for the new Display Manager raster
layer.
8 In the Coordinate System Assignment section, specify the coordinate
system of the source data. You can either enter the code in the text field,
or click to choose from a list. You must specify the coordinate system for
each data source you use.
9 Click OK. AutoCAD Map 3D generates a raster surface in GeoTIFF format
and adds it to a new feature layer in your map. You can also see the new
raster connection in Data Connect.
To create a surface from a data connection
You can create a surface using point data stored in a database or geospatial
file format (such as Autodesk SDF).
1 If you are using an ODBC data source, specify the coordinate columns
and add the data to your map as a vector layer before creating a surface.
2 In the Tool-based Ribbon Workspace, click Create tab > Surface panel >
3D Surface or enter MAPCREATESURFACE at the command line.

3 In the Create Surface dialog box (page 1895), click
Connection.

and select

4 In the Source Data dialog box (page 1897), select the data source.
5 Click OK.

1010 | Chapter 6 Creating and Editing Data

6 In the Output File Name field, click
and enter a file name and save
location. If you do not specify a save location, the raster file will be saved
to My Documents.
7 In the Layer Name field, enter a name for the new Display Manager raster
layer.
8 In the Coordinate System Assignment section, specify the coordinate
system of the source data. You can either enter the code in the text field,
or click
to choose from a list. You must specify the coordinate
system for each data source you use.
9 Click OK. AutoCAD Map 3D generates a raster surface in GeoTIFF format
and adds it to a new feature layer in your map. You can also see the new
raster connection in Data Connect.
To create a surface from points in your drawing
1 In the Tool-based Ribbon Workspace, click Create tab > Surface panel >
3D Surface or enter MAPCREATESURFACE at the command line.

2 In the Create Surface dialog box (page 1895), click
In Drawing.

and select Points

3 Select the points in your drawing from which to create the surface. These
points must include elevation data.
4 In the Output File Name field, click
and enter a file name and save
location. If you do not specify a save location, the raster file will be saved
to My Documents.
5 In the Layer Name field, enter a name for the new Display Manager raster
layer.
6 Click OK. AutoCAD Map 3D generates a raster surface in GeoTIFF format
and adds it to a new feature layer in your map. You can also see the new
raster connection in Data Connect.

Quick Reference
MAPCREATESURFACE

Creating Surfaces From Survey Data | 1011

Creates a 3D raster surface from point data.
Command Line

MAPCREATESURFACE

Dialog Box

Create Surface dialog box

Working With Point Cloud Data
The following sections describe how to work with point cloud data.

Overview of Point Clouds
Point clouds (page 2071) are large data sets composed of 3D point data. Aerial
LiDAR (page 2066) (Light Detection And Ranging) laser scanners are the most
common instruments used to collect geographic point cloud data.
AutoCAD Map 3D 2011 includes features for working with point cloud data.
You can create highly accurate digital elevation models (DEM (page 2059)s) using
point cloud data. Because point cloud data sets are so large (commonly
containing millions, and occasionally billions, of points), AutoCAD Map 3D
must create an indexed point cloud data store before it can effectively work
with the data. Once the data is indexed, AutoCAD Map 3D brings the point
cloud into your map as an AutoCAD drawing object (AcDb entity) and adds
a point cloud layer to the Display Manager. You can filter the indexed point
cloud data by classification, elevation, intensity, or location on your map.
You can also group and style you point cloud data using the Display Manager.
To create a raster-based surface from your point cloud data, use the Surface
Manager (page 1898).

Overview of LiDAR Data
Geographic LiDAR data is most commonly available in LAS (page 2066)(LiDAR
Aerial Survey) or ASCII (.xyz) format. LAS is an industry standard file format
defined by the American Society of Photogrammetry and Remote Sensing that
includes a system of point classification. A processed LAS file may have points
classified as bare earth, high or low vegetation, building, and so on.
Because LAS files are produced from aerial surveys, they tend to contain long
swaths or strips of terrain data. The survey planes generally fly a long distance
in one direction collecting data, then fly back collecting data along a parallel
path. This process is often repeated many times. You may need to combine

1012 | Chapter 6 Creating and Editing Data

these survey swaths and filter them by location to get the point cloud data
relevant to your map.
To use LiDAR data
■

Bring in LiDAR data (page 374)

■

Manage LiDAR data (page 1015)

■

Use LiDAR data to create a point cloud data store (page 1019)

Quick Reference
MAPPOINTCLOUDMANAGER
Creates and manages indexed point cloud data stores.
Command Line

MAPPOINTCLOUDMANAGER

Dialog Box

Point Cloud Manager

MAPSURFACEMANAGER
Creates a 3D raster surface from point cloud data.
Command Line

MAPSURFACEMANAGER

Dialog Box

Surface Manager

Overview of Point Cloud Files and Objects
AutoCAD Map 3D uses the data contained in point cloud data stores to create
point clouds. These point clouds are standard AutoCAD drawing objects (AcDb
entities). Point clouds appear in the Display Manager as drawing object layers.
Most commands for working with point clouds are available on the right click
menu in the Display Manager as well as on the contextual Point Cloud ribbon
tab. To view the Point Cloud ribbon tab, select a point cloud layer in the
Display Manager. This guide primarily documents the right-click menu options.
You can filter and style point clouds, use them to create surfaces, and export
them to LAS, ASCII, or SDF format.
To use point clouds in your map
■

Bring point cloud data into your map (page 375)

Overview of Point Cloud Files and Objects | 1013

■

Filter point cloud data (page 1024)

■

Create surfaces from point cloud data (page 1021)

■

Style point cloud data (page 675)

■

Export point cloud data (page 1451)

Quick Reference
MAPPOINTCLOUDMANAGER
Creates and manages indexed point cloud data stores.
Command Line

MAPPOINTCLOUDMANAGER

Dialog Box

Point Cloud Manager

MAPSURFACEMANAGER
Creates a 3D raster surface from point cloud data.
Command Line

MAPSURFACEMANAGER

Dialog Box

Surface Manager

1014 | Chapter 6 Creating and Editing Data

Managing LiDAR Data

The Point Cloud Manager

After you have brought files into the Point Cloud Manager (page 1897), you can
gather them into merge groups, specify coordinate systems for your point
cloud data store files, and apply filters to control what data will be included
in their associated point cloud data store.
When you create a Merge Group, AutoCAD Map 3D assigns several LiDAR
source files to a single point cloud data store. You might want to create a
merge group to apply a spatial filter across several source files, for example.
You can also create a group of point clouds in Display Manager that uses
separate point cloud data stores for each LiDAR source file.
AutoCAD Map 3D assigns a default name and save location for the point cloud
data store index file. You can view the default output name and location in
the Output field in the Point Cloud Manager.
In most cases, AutoCAD Map 3D automatically determines the coordinate
system of your LiDAR data based on information in the LAS file and displays
it in the Coordinate System field of the Point Cloud Manager. When you
create a point cloud data store, AutoCAD Map 3D assigns the source coordinate
system to it by default. If you are using an ASCII data source, or if AutoCAD
Map 3D cannot determine the appropriate coordinate system, you can specify
the coordinate system for your point cloud data store in this field.

Managing LiDAR Data | 1015

When you remove a merge group from the Point Cloud Manager, the files
contained within the group remain. To remove files from the Point Cloud
Manager, select the file and click Remove File. All files added to the Point
Cloud Manager appear there until you explicitly remove them.
You can apply a filter to your LiDAR source data to control what points are
included in your point cloud data store. You can also filter point cloud data
after it has been added to your map. If you are considering creating a filtered
point cloud data store from your LiDAR data, try filtering the point cloud data
in Display Manager first. This allows you to experiment with various filters
before applying them to your source files.
See also:
■

Overview of Point Clouds (page 1012)

■

Overview of LiDAR Data (page 1012)

■

Overview of Point Cloud Files and Objects (page 1013)

■

Bringing in LiDAR Data (page 374)

■

Using LiDAR Data to Create a Point Cloud Data Store (page 1019)

■

Creating Surfaces From Point Cloud Data (page 1021)

■

Filtering Point Cloud Data (page 1024)

■

Exporting Point Cloud Data (page 1451)

To specify a coordinate system for your point cloud data store
1 In the Point Cloud Manager (page 1897), click the Coordinate System field.
2 Do one of the following:
■

If you know the coordinate system code, enter it into the Coordinate
System field.

■

To choose the coordinate code from a list, click
. Select the
appropriate coordinate system from the list, then click OK.

To specify an output file name and save location
1 Click the Output field in the Point Cloud Manager (page 1897), then click
. The Save As dialog box appears.

1016 | Chapter 6 Creating and Editing Data

2 Enter a new file name and save location, then click Save.
To create a merge group
1 In the Point Cloud Manager (page 1897), click Create Group.
A new merge group appears in the Point Cloud Manager.
2 To rename the merge group, click in the Source field and enter a new
name.
3 Shift-click or control-click to select the source files in the Point Cloud
Manager, then drag them into the merge group.
4 To specify an output file name and save location other than the one
assigned by default, click the Output field, then click

.

5 In the Save As dialog box, enter the file name and save location, then
click Save.
6 To add another file to a merge group, click the file in the Point Cloud
Manager and drag it into the merge group.
You can also right click the merge group and select Add Files to bring in
additional files from your LiDAR data repository.
7 To remove files from a merge group, select the file or files, then click
Remove From Group in the Point Cloud Manager.
When you remove files from a merge group, they remain in the Point
Cloud Manager. To remove files from the Point Cloud Manager, select
the file or files and click Remove File.
To remove a merge group from the Point Cloud Manager
1 Select the merge group in the Point Cloud Manager (page 1897).
2 Click Remove Group.
To filter LiDAR data
1 In the Point Cloud Manager (page 1897), click the Filter field. appears.

Managing LiDAR Data | 1017

2 In the Filter Point Cloud dialog box (page 1900)in the Filter By drop-down
box, select one of the following filters:
■

Classification: if your LiDAR data has been classified, you can select
which point classes to include in your point cloud data store.
Shift-click or control-click to select multiple classes.

■

Elevation: type the elevation ranges you want to include in your point
cloud data store. Use hyphens to define ranges and commas to separate
them; for example, 150-200, 350-400, 1200-2000.

■

Intensity: you can use LiDAR intensity values to filter data. Use
hyphens to define ranges and commas to separate them; for example,
0.25-2.00, 3.50-4.00, 120.00-200.00.

■

Spatial: click the Locate on Map button to apply a spatial filter for
your point cloud data store. You can make a spatial selection using a
circle, rectangle, polygon, or proximity to an object on your map.

Click Apply Filter.
AutoCAD Map 3D displays the filter type in the Filter field.
To remove a filter from your LiDAR data
1 In the Point Cloud Manager (page 1897), click the Filter field. The Filter
Point Cloud dialog box (page 1900)appears.
2 In the Filter By drop-down box, select the filter type you want to remove.
3 Click Clear Filter.
To remove a file from the Point Cloud Manager
1 Select the file in the Point Cloud Manager (page 1897).
2 Click Remove File.

Quick Reference
MAPPOINTCLOUDMANAGER
Creates and manages indexed point cloud data stores.
Command Line

MAPPOINTCLOUDMANAGER

Dialog Box

Point Cloud Manager

1018 | Chapter 6 Creating and Editing Data

Using LiDAR Data to Create a Point Cloud Data Store
Once you have brought your LiDAR data into the Point Cloud Manager (page
1897), you are ready to create a point cloud data store. A point cloud data store
is an index file (.ISD) that AutoCAD Map 3D refers to when it creates point
cloud objects. These index files can be very large, up to ten times as large as
their LAS source files. AutoCAD Map 3D may take a long time to generate
these index files, and you must ensure that you have sufficient disk space to
store them.
NOTE You can also create a point cloud index file using AutoCAD commands.
Point cloud index files created using AutoCAD commands have the .PCG file
extension. For information on creating point cloud index files using AutoCAD
commands, see the AutoCAD Help.
See also:
■

Overview of Point Clouds (page 1012)

■

Overview of LiDAR Data (page 1012)

■

Overview of Point Cloud Files and Objects (page 1013)

■

Bringing in LiDAR Data (page 374)

■

Creating Surfaces From Point Cloud Data (page 1021)

■

Managing LiDAR Data (page 1015)

■

Filtering Point Cloud Data (page 1024)

■

Exporting Point Cloud Data (page 1451)

To create a point cloud data store
1 In the Point Cloud Manager (page 1897), select the source file or merge
group for which you want to create a point cloud data store.
2 Check the Output field to confirm the file name and save location of
your index file.
3 Click Generate Index.
4 To cancel the indexing process, click Cancel Processing.

Using LiDAR Data to Create a Point Cloud Data Store | 1019

5 When AutoCAD Map 3D is done creating the index file, a green check
mark appears next to the file or merge group name. You can now take
one of the following actions:
■

To add the point cloud to your map, click Add to Map. AutoCAD Map
3D adds the point cloud drawing object to your map, and adds a point
cloud layer to the Display Manager.

■

To add a group of point clouds to your map, shift-click or control-click
to select a group of files, then click Add to Map.
AutoCAD Map 3D adds the point cloud drawing object to your map,
and adds a point cloud layer to the Display Manager.
NOTE You can also create a group of point clouds in the Display Manager.
Right-click in Display Manager and select Data ➤ New Group, then click
and drag point cloud layers into the new group.

See also:
■

Overview of Point Cloud Files and Objects (page 1013)

■

Bringing in LiDAR Data (page 374)

■

Creating Surfaces From Point Cloud Data (page 1021)

■

Managing LiDAR Data (page 1015)

■

Filtering Point Cloud Data (page 1024)

■

Exporting Point Cloud Data (page 1451)

Quick Reference
MAPPOINTCLOUDMANAGER
Creates and manages indexed point cloud data stores.
Command Line

MAPPOINTCLOUDMANAGER

Dialog Box

Point Cloud Manager

1020 | Chapter 6 Creating and Editing Data

Creating Surfaces From Point Cloud Data

The Surface Manager

You can create a raster-based surface (page 2076) from point cloud data in either
GeoTIFF or ESRI ASC format. After you have created your surface, you can
view, theme, and analyze it like any other raster-based surface in AutoCAD
Map 3D. For more information on working with raster-based surfaces, see
Adding Rasters and Surfaces (page 437), Analyzing Raster-Based Surfaces (page
1186), and Styling Raster Images (page 671).
The Surface Manager (page 1898) also allows you to assign multiple input files
to a single surface file using merge groups. You might want to create a merge
group in order to apply a spatial filter across several input files, for example.
The source files for a merge group must use the same coordinate system.
Before you create a surface from point cloud data, ensure that the data is
projected in a local coordinate system that uses feet or meters for vertical
units. If the source data is not in a local coordinate system, you can either
assign a local system to it in the Point Cloud Manager (page 1897), or assign a
local system to your drawing. Assigning a local coordinate system to the point
cloud data using the Point Cloud Manager will give you better performance.
NOTE AutoCAD Map 3D automatically resamples the raster-based surfaces when
you zoom in and out in your map. However, surfaces do not display well at some
zoom levels, especially at small view scales. To improve the appearance of the
surface in your map, you can resample the raster image by right-clicking the raster
layer in the Display Manager and selecting Resample Raster. If resampling the
surface does not improve the image quality, view the grid at a larger view scale.

Creating Surfaces From Point Cloud Data | 1021

See also:
■

Overview of Point Clouds (page 1012)

■

Overview of LiDAR Data (page 1012)

■

Overview of Point Cloud Files and Objects (page 1013)

■

Bringing in LiDAR Data (page 374)

■

Using LiDAR Data to Create a Point Cloud Data Store (page 1019)

■

Managing LiDAR Data (page 1015)

■

Filtering Point Cloud Data (page 1024)

■

Exporting Point Cloud Data (page 1451)

To create a surface from a point cloud
1 In the Display Manager, right-click a point cloud layer and select Create
Surface. The Surface Manager (page 1898) appears.
2 To create a merge group, click Create Group in the Create Surface dialog
box (page 1895), then shift-click or control-click and drag the desired source
files into the group.
3 To filter the points used to create the surface, click the Filter field. The
Filter Point Cloud dialog box (page 1900) appears.
4 In the Filter By drop-down box, select one of the following filters:
■

Classification: if your point cloud data has been classified, you can
select which point classes to use when creating the surface. Shift-click
or control-click to select multiple classes.

■

Elevation: type the elevation ranges you want to use to create the
surface. Use hyphens to define ranges and commas to separate them;
for example, 150-200, 350-400, 1200-2000.

■

Intensity: you can use LiDAR intensity values to filter data. Use
hyphens to define ranges and commas to separate them; for example,
0.25-2.00, 3.50-4.00, 120.00-200.00.

■

Spatial: click the Locate on Map button to apply a spatial filter to your
point cloud. You can make a spatial selection using a circle, rectangle,
polygon, or proximity to an object on your map.

1022 | Chapter 6 Creating and Editing Data

5 To specify what type of surface to create, click the Parameters field. The
Grid Parameters dialog box (page 1901) appears. You can:
■

Specify a GeoTIFF or ESRI ASC surface.

■

Specify a file name and save location for the grid file.

■

Specify parameters for cell size, cell units (meters, US feet, Survey feet,
International feet), and search radius. These settings affect the
resolution of the grid file only.

■

Fill gaps: when you check the Fill Gaps check box, you can select how
AutoCAD Map 3D fills gaps in your surface. Choose a fill method from
the drop-down list: Nearest Neighbor, Normal Distribution, Normal
Distribution Smooth, Square Distance, or Square Distance Smooth.

6 To specify an output file name and save location other than the one
assigned by default, click the Output field, then click
. The Save As
dialog box appears. Enter the file name and save location, then click Save.
7 Click Generate Surface. AutoCAD Map 3D begins to create the surface.
8 To cancel the surface creation process, click Cancel Processing.
9 When AutoCAD Map 3D is done creating the surface, a green check mark
appears next to the file or merge group name. Do one of the following:
■

To add the surface to your map, click Add to Map. AutoCAD Map 3D
adds the surface to your map, and a raster layer to the Display
Manager. It also creates a raster connection in Data Connect.

■

To add a surface group to your map, shift-click or control-click to
select a group of files, then click Add to Map. AutoCAD Map 3D adds
a new raster connection to Data Connect. Select the new raster
connection, then select the surfaces you would like to include and
click Add to Map. If your surfaces are all the same file type, you can
select Combine Into One Layer and specify a layer name.

NOTE You can also connect to surfaces created from point cloud data using
Data Connect as you would for any other raster data. For more information
on connecting to raster data through Data Connect, see Adding Raster-Based
Surfaces to Your Map (page 441).

Creating Surfaces From Point Cloud Data | 1023

Quick Reference
MAPSURFACEMANAGER
Creates a 3D raster surface from point cloud data.
Command Line

MAPSURFACEMANAGER

Dialog Box

Surface Manager

Filtering Point Cloud Data
You can filter point clouds by point classification, elevation, LiDAR intensity,
and location on your map. You can also create a new point cloud data store
from your filtered point cloud data.
Filters applied in the Display Manager or Point Cloud Ribbon only control
the display of points in your map. They do not remove any of the points from
the point cloud. To create a new point cloud containing a subset of your source
data, use the filter in the Point Cloud Manager. For more information on
filtering point cloud data, see Lesson 4: Work with Point Cloud Data.
NOTE If you are working with a point cloud created using AutoCAD commands
(.PCG file), you can only filter by elevation and location on map.
See also:
■

Overview of Point Clouds (page 1012)

■

Overview of LiDAR Data (page 1012)

■

Overview of Point Cloud Files and Objects (page 1013)

■

Bringing in LiDAR Data (page 374)

■

Using LiDAR Data to Create a Point Cloud Data Store (page 1019)

■

Creating Surfaces From Point Cloud Data (page 1021)

■

Managing LiDAR Data (page 1015)

■

Exporting Point Cloud Data (page 1451)

1024 | Chapter 6 Creating and Editing Data

To filter point cloud data
1 In the Display Manager, right-click a point cloud layer and select Filter
Point Cloud.
2 In the Filter Point Cloud dialog box (page 1900), in the Filter By drop-down
box, select one of the following filters:
■

Classification: if your point cloud data has been classified, you can
select which point classes to display. Shift-click or control-click to
select multiple classes.

■

Elevation: type the elevation ranges you want to display in your map.
Use hyphens to define ranges and commas to separate them; for
example, 150-200, 350-400, 1200-2000.

■

Intensity: you can use LiDAR intensity values to filter data. Use
hyphens to define ranges and commas to separate them; for example,
0.25-2.00, 3.50-4.00, 120.00-200.00.

■

Spatial: click the Locate on Map button to apply a spatial filter to your
point cloud. You can make a spatial selection using a circle, rectangle,
polygon, or proximity to an object on your map.

3 Click Apply Filter.
The filtered points are displayed in your map.
To create a new point cloud data store from filtered point cloud data
1 In the Display Manager, right-click the filtered point cloud layer from
which you want to create a new point cloud data store, then select Data
➤ Add Point Cloud Data ➤ Create New Index.
The Point Cloud Manager (page 1897) appears with a row for your new
point cloud data store highlighted, and with the filter type displayed in
the Filter field.
NOTE You cannot create a new index from an AutoCAD point cloud index
(.PCG file).
2 In the Point Cloud Manager, select a file name and save location for your
new point cloud data store, then click Generate Index.
AutoCAD Map 3D begins to create the index file.

Filtering Point Cloud Data | 1025

NOTE By default, AutoCAD Map 3D gives the new index file the same name
as the source file. Be sure that you specify a new name for your filtered point
cloud data store to avoid overwriting your source file.
3 To cancel the indexing process, click Cancel Processing.
4 When AutoCAD Map 3D is done creating the index file, a green check
mark appears next to the file or merge group name. Do one of the
following: To add the point cloud to your map, click Add to Map.
AutoCAD Map 3D adds the point cloud drawing object to your map, and
adds a point cloud layer to the Display Manager.
To remove a filter from your point cloud data
1 In the Display Manager, right-click a point cloud layer and select Filter
Point Cloud.
2 In the Filter Point Cloud dialog box (page 1900), in the Filter By drop-down
box, select the filter type you want to remove.
3 Click Clear Filter.

Quick Reference
MAPPOINTCLOUDMANAGER
Creates and manages indexed point cloud data stores.
Command Line

MAPPOINTCLOUDMANAGER

Dialog Box

Point Cloud Manager

Entering Coordinate Geometry
Use coordinate geometry to enter accurate geometry when creating objects.
For example, you can create parcel boundaries from legal documents or survey
data.
To enter coordinate geometry
■

To create a point using the COGO Input dialog box (page 1028)

1026 | Chapter 6 Creating and Editing Data

■
■
■
■
■
■
■
■
■
■

To create a point using the COGO Input dialog box transparently (page
1028)
To use COGO commands (page 1029)
To specify a point using angle and distance (page 1032)
To specify a point using bearing and distance (page 1034)
To specify a point using bearings from two existing points (page 1036)
To specify a point using a deflection angle and a distance (page 1038)
To specify a point using distances from two existing points (page 1040)
To specify a point using azimuth and distance (page 1042)
To specify a point using distance and offset from a line (page 1044)
To create an inverse report (page 1046)

Overview of Coordinate Geometry Commands
Use the coordinate geometry (COGO) input commands to enter accurate
geometry when creating objects. For example, you can create parcel boundaries
from legal documents or survey data.
You can access COGO commands from the COGO Input dialog box (page
1668). The COGO Input dialog box is available on the ribbon as well as on the
tool bar of the Task Pane Survey tab. You can also enter COGO data
“transparently” (while running other commands) by entering ‘mapcogo at
the command prompt.
For example, start the Polyline (PLINE) command. When prompted for the
next point in the polyline, enter ‘mapcogo. The COGO Input dialog box
appears. Select a COGO routine, and enter the COGO data to calculate the
new point. When you finish specifying the point, the Polyline command
prompts you to enter the next point. You can enter the point normally, or
you can start another transparent command to specify the point.
NOTE You can still access most COGO commands transparently by typing an
apostrophe (‘) plus the command name (AD, BB, BD, DD, DDIST, ZD).
Orthogonal/Offset and Inverse Report are only available from the COGO Input
dialog box.
It can be very helpful to enable node object snapping when specifying points
using coordinate geometry. Node object snapping allows you to snap to point
objects in the drawing window, which makes selecting points much easier.You
can enable this option in the AutoCAD Drafting Settings dialog box. See the
AutoCAD help for more information.

Overview of Coordinate Geometry Commands | 1027

See also:
■

Using Angle and Distance to Specify a Point (page 1032)

■

Using Bearing and Distance to Specify a Point (page 1034)

■

Using Bearings from Two Points to Specify a Point (page 1036)

■

Using Deflection and Distance to Specify a Point (page 1037)

■

Using Distances from Two Points to Specify a Point (page 1040)

■

Using Azimuth and Distance to Specify a Point (page 1042)

■

Using Distance and Offset from a Line to Specify a Point (page 1044)

■

Creating an Inverse Report (page 1045)

■

Setting Coordinate Geometry Options (page 233)

■

Tutorial: Working with Survey Data

To create a point using the COGO Input dialog box
1 Click Home tab ➤ Draw panel ➤ COGO drop-down ➤ COGO Input.
2 In the COGO Input dialog box (page 1668), select the routine to use.
3 Enter the appropriate data in the Input section.
4 Click Calculate. AutoCAD Map 3D calculates the new point, and previews
it on your map. Click Pan to pan to the new point.
5 Click Create Point.
To create a point using the COGO Input dialog box transparently
1 Start a command, such as PLINE.
2 When prompted for input, instead of specifying the input, enter ‘mapcogo
at the command prompt.
3 In the COGO Input dialog box (page 1668), select the routine you want to
use.
4 Enter the appropriate data in the Input section.
5 Click Calculate. AutoCAD Map 3D calculates the new point, and previews
it on your map. Click the Pan button to pan to the new point.
6 Click Create Point.

1028 | Chapter 6 Creating and Editing Data

7 When the transparent command finishes, continue responding to the
prompts for the original command.
To use COGO commands
To do this...

Use this method...

Use an angle and a distance from another
point to create an object.

Use COGO to enter angle and distance to
specify a point. (page 1032)

Use a bearing and a distance from another
point to create an object.

Use COGO to enter bearing and distance
to specify a point. (page 1034)

Use bearings from two points to create a
point.

Use COGO to enter two bearings to specify
a point. (page 1036)

Use a deflection angle and a distance from
another point to create an object.

Use COGO to enter deflection angle and
distance to specify a point. (page 1038)

Use distances from two points to create a
point.

Use COGO to enter two distances to specify a point. (page 1040)

Use azimuth and distance from another
point to create an object.

Use COGO to enter azimuth and distance
to specify a point. (page 1042)

Use an offset distance from a line to create
a point.

Use COGO to enter distance and offset to
specify a point. (page 1044)

Generate an inverse report to determine
the relationship between two points.

Use COGO to create an inverse report.
(page 1045)

Quick Reference
MAPCOGO
Specifies data for coordinate geometry calculations and reports
Menu

Click Home tab ➤ Draw panel ➤ COGO
Drop-down ➤ COGO Input.

Command Line

MAPCOGO

Dialog Box

COGO Input dialog box

Overview of Coordinate Geometry Commands | 1029

AD
Specifies a point based on angle and distance from a given point
Icon
Angle/Distance
Command Line

'AD

Dialog Box

COGO Input dialog box

BB
Specifies a coordinate geometry point using two points and two bearings
Menu

Click Home tab ➤ Draw panel ➤ COGO
Drop-down ➤ COGO Input.

Icon
Bearing/Bearing
Command Line

'BB

Dialog Box

COGO Input dialog box

BD
Specifies a point based on bearing and distance from a given point
Menu

Click Home tab ➤ Draw panel ➤ COGO
Drop-down ➤ COGO Input.

Icon
Bearing/Distance
Command Line

'BD

Dialog Box

COGO Input dialog box

DD
Specifies a point based on deflection and distance from a given point
Menu

Click Home tab ➤ Draw panel ➤ COGO
Drop-down ➤ COGO Input.

1030 | Chapter 6 Creating and Editing Data

Icon
Deflection/Distance
Command Line

'DD

Dialog Box

COGO Input dialog box

DDIST
Specifies a coordinate geometry point using two points and two distances
Menu

Click Home tab ➤ Draw panel ➤ COGO
Drop-down ➤ COGO Input.

Icon
Distance/Distance
Command Line

'DDIST

Dialog Box

COGO Input dialog box

ZD
Specifies a point based on azimuth and distance from a given point
Menu

Click Home tab ➤ Draw panel ➤ COGO
Drop-down ➤ COGO Input.

Icon
Azimuth Distance
Command Line

'ZD

Dialog Box

COGO Input dialog box

MAPCGSETUP
Specifies coordinate geometry settings
Menu

At the Command prompt, enter mapcgsetup.

Icon
COGO Options
Command Line

MAPCGSETUP

Dialog Box

Setting Coordinate Geometry Options

Overview of Coordinate Geometry Commands | 1031

Using Angle and Distance to Specify a Point
When creating an object, such as a line or an arc, you can specify a point by
specifying an angle and a distance from another point.

Select the line from which to measure the
angle by selecting an existing line in your
drawing, or by specifying a starting and
ending point (1 and 2) for the line. Then
specify the angle (3) and the distance from
the starting point (4).

See also:
■

Overview of Coordinate Geometry Commands (page 1027)

To specify a point using angle and distance
1 Click Home tab ➤ Draw panel ➤ COGO drop-down ➤ COGO Input.
■

To use the Angle/Distance routine transparently, start a command,
such as PLINE or ARC, then enter ‘mapcogo.

2 In the COGO Input dialog box (page 1668), select the Angle/Distance
routine.

3 Specify the line to use to measure the angle. Click
line on the map.
■

to select the

For the first point of an object, specify a starting point and ending
point for the line, or select an existing line in the drawing.

1032 | Chapter 6 Creating and Editing Data

■

For a later point in the object, specify just the ending point for the
line. The previous point of the object is the starting point of the line.

4 Enter the angle from the line you just specified to the line that specifies
the new point. Click

to select the angle on the map.

5 Enter the distance from the starting point to the new point. Click
to select the distance on the map.
6 Click Calculate. AutoCAD Map 3D calculates the new point, and previews
it on your map. Click the Pan button to pan to the new point.
NOTE If you turn on the Prompt For 3D Data Input option in the Coordinate
Geometry Setup dialog box (page 1917), you can enter an elevation value in
the Result section of the COGO Input dialog box (page 1668).
7 Click Create Point.

Quick Reference
MAPCOGO
Specifies data for coordinate geometry calculations and reports
Menu

Click Home tab ➤ Draw panel ➤ COGO
Drop-down ➤ COGO Input.

Command Line

MAPCOGO

Dialog Box

COGO Input dialog box

AD
Specifies a point based on angle and distance from a given point
Icon
Angle/Distance
Command Line

'AD

Dialog Box

COGO Input dialog box

Using Angle and Distance to Specify a Point | 1033

Using Bearing and Distance to Specify a Point
When creating an object, such as a line or an arc, you can specify a point by
specifying a bearing and a distance from another point.

Select a starting point (1) and a
quadrant (2). Then specify the bearing
angle (3) and the distance from the
starting point (4).

See also:
■

Overview of Coordinate Geometry Commands (page 1027)

To specify a point using bearing and distance
1 Click Home tab ➤ Draw panel ➤ COGO drop-down ➤ COGO Input.
■

To use the Bearing/Distance routine transparently, start a command,
such as PLINE or ARC, then enter ‘mapcogo.

2 In the COGO Input dialog box (page 1668), select the Bearing/Distance
routine.
3 For the first point of an object, specify a starting point. For a later point
in the object, the previous point for the object is the starting point. Click
to select the point on the map.
4 Enter the quadrant (NE, SE, SW, NW). If you are entering surveyor’s units,
quadrant entry will be disabled.

5 Enter the angle. Click

to specify the angle on the map.

1034 | Chapter 6 Creating and Editing Data

Use the current angular units setting, decimal values, such as 45.1111,
or surveyor’s units, such as N 45d3'55" E.

6 Enter the distance from the starting point. Click
distance on the map.

to select the

7 Click Calculate. AutoCAD Map 3D calculates the new point, and previews
it on your map. Click the Pan button to pan to the new point.
NOTE If you turn on the Prompt For 3D Data Input option in the Coordinate
Geometry Setup dialog box (page 1917), you can enter an elevation value in
the Result section of the COGO Input dialog box (page 1668).
8 Click Create Point.

Quick Reference
MAPCOGO
Specifies data for coordinate geometry calculations and reports
Menu

Click Home tab ➤ Draw panel ➤ COGO
Drop-down ➤ COGO Input.

Command Line

MAPCOGO

Dialog Box

COGO Input dialog box

BD
Specifies a point based on bearing and distance from a given point
Menu

Click Home tab ➤ Draw panel ➤ COGO
Drop-down ➤ COGO Input.

Icon
Bearing/Distance
Command Line

'BD

Dialog Box

COGO Input dialog box

Using Bearing and Distance to Specify a Point | 1035

Using Bearings from Two Points to Specify a Point
The bearing/bearing command allows you to specify a point using the
projections from two existing lines or points and two bearings.You can also
enter the data in segments (point, bearing).

Specify the two points and bearings
from those points to calculate the
location of a third point.

See also:
■

Overview of Coordinate Geometry Commands (page 1027)

■

Tutorial: Working with Survey Data

To specify a point using bearings from two existing points
1 Click Home tab ➤ Draw panel ➤ COGO drop-down ➤ COGO Input.
■

To use the Bearing/Bearing routine transparently, start a command,
such as PLINE or ARC, then enter ‘mapcogo.

2 In the COGO Input dialog box (page 1668), select the Bearing/Bearing
routine.

3 Enter the coordinates for the first point, or click
on the map or in the data table.

to select the point

4 Select the quadrant for the bearing, then specify the bearing direction in
degrees. Click

to specify the bearing on the map.

1036 | Chapter 6 Creating and Editing Data

5 Repeat steps 3-5 for the second point and bearing.
6 Click Calculate. AutoCAD Map 3D calculates the new point, and previews
it on your map. Click the Pan button to pan to the new point.
NOTE If you turn on the Prompt For 3D Data Input option in the Coordinate
Geometry Setup dialog box (page 1917), you can enter an elevation value in
the Result section of the COGO Input dialog box (page 1668).
7 Click Create Point.

Quick Reference
MAPCOGO
Specifies data for coordinate geometry calculations and reports
Menu

Click Home tab ➤ Draw panel ➤ COGO
Drop-down ➤ COGO Input.

Command Line

MAPCOGO

Dialog Box

COGO Input dialog box

BB
Specifies a coordinate geometry point using two points and two bearings
Menu

Click Home tab ➤ Draw panel ➤ COGO
Drop-down ➤ COGO Input.

Icon
Bearing/Bearing
Command Line

'BB

Dialog Box

COGO Input dialog box

Using Deflection and Distance to Specify a Point
When creating an object, such as a line or an arc, you can specify a point by
specifying a deflection angle and a distance from another point.

Using Deflection and Distance to Specify a Point | 1037

Select the line from which to measure the deflection
angle by either selecting an existing line in your
drawing, or by specifying a starting and ending point
(1 and 2) for the line. Then specify the deflection angle
(3) and the distance from the starting point (4).

See also:
■

Overview of Coordinate Geometry Commands (page 1027)

To specify a point using a deflection angle and a distance
1 Click Home tab ➤ Draw panel ➤ COGO drop-down ➤ COGO Input.
■

To use the Deflection/Distance routine transparently, start a command,
such as PLINE or ARC, then enter ‘mapcogo.

2 In the COGO Input dialog box (page 1668), select the Deflection/Distance
routine.

3 Specify the line to use to measure the angle. Click
line on the map.

to select the

■

For the first point of an object, specify a starting point and ending
point for the line, or select an existing line in the drawing.

■

For a later point in the object, specify just the ending point for the
line. The previous point of the object is the starting point of the line.

4 Enter the deflection angle from the line you just specified to the line of
the new direction. Click

1038 | Chapter 6 Creating and Editing Data

to specify the angle on the map.

Use the current angular units setting, decimal values, such as 45.1111,
or surveyor’s units, such as N 45d3'55" E.

5 Enter the distance from the starting point. Click
distance on the map.

to select the

6 Click Calculate. AutoCAD Map 3D calculates the new point, and previews
it on your map. Click the Pan button to pan to the new point.
NOTE If you turn on the Prompt For 3D Data Input option in the Coordinate
Geometry Setup dialog box (page 1917), you can enter an elevation value in
the Result section of the COGO Input dialog box (page 1668).
7 Click Create Point.

Quick Reference
MAPCOGO
Specifies data for coordinate geometry calculations and reports
Menu

Click Home tab ➤ Draw panel ➤ COGO
Drop-down ➤ COGO Input.

Command Line

MAPCOGO

Dialog Box

COGO Input dialog box

DD
Specifies a point based on deflection and distance from a given point
Menu

Click Home tab ➤ Draw panel ➤ COGO
Drop-down ➤ COGO Input.

Icon
Deflection/Distance
Command Line

'DD

Dialog Box

COGO Input dialog box

Using Deflection and Distance to Specify a Point | 1039

Using Distances from Two Points to Specify a Point
The distance/distance command allows you to calculated a new point using
two points and two distances to the new point. You can only select one of
the calculated points.

Select the first point and distance, then the
second point and distance. Choose one of
the two intersections to create your new
point.

See also:
■

Overview of Coordinate Geometry Commands (page 1027)

■

Tutorial: Working with Survey Data

To specify a point using distances from two existing points
1 Click Home tab ➤ Draw panel ➤ COGO drop-down ➤ COGO Input.
■

To use the Distance/Distance routine transparently, start a command,
such as PLINE or ARC, then enter ‘mapcogo.

2 In the COGO Input dialog box (page 1668), select the Distance/Distance
routine.

3 Enter the coordinates for the first point, or click
on the map or in the data table.

1040 | Chapter 6 Creating and Editing Data

to select the point

4 Select the distance from the first point. Click
distance on the map.

to specify the

5 Repeat steps 3-5 for the second point and distance.
6 Click Calculate. AutoCAD Map 3D calculates the new point, and previews
it on your map. Click the Pan button to pan to the new point. If there is
no intersection, the Result box will be shaded, and will display “No
intersection found!”
NOTE If you turn on the Prompt For 3D Data Input option in the Coordinate
Geometry Setup dialog box (page 1917), you can enter an elevation value in
the Result section of the COGO Input dialog box (page 1668).
7 Select the intersection you want, then click Create Point.

Quick Reference
MAPCOGO
Specifies data for coordinate geometry calculations and reports
Menu

Click Home tab ➤ Draw panel ➤ COGO
Drop-down ➤ COGO Input.

Command Line

MAPCOGO

Dialog Box

COGO Input dialog box

DDIST
Specifies a coordinate geometry point using two points and two distances
Menu

Click Home tab ➤ Draw panel ➤ COGO
Drop-down ➤ COGO Input.

Icon
Distance/Distance
Command Line

'DDIST

Dialog Box

COGO Input dialog box

Using Distances from Two Points to Specify a Point | 1041

Using Azimuth and Distance to Specify a Point
When creating an object, such as a line or an arc, you can specify a point by
specifying azimuth and distance from another point. Azimuth is the clockwise
angle from the North (or South) meridian.

Select a starting point (1). Then specify the azimuth
angle (2) and the distance from the starting point
(3).

See also:
■

Overview of Coordinate Geometry Commands (page 1027)

To specify a point using azimuth and distance
1 Click Home tab ➤ Draw panel ➤ COGO drop-down ➤ COGO Input.
■

To use the Azimuth/Distance routine transparently, start a command,
such as PLINE or ARC, then enter ‘mapcogo.

2 In the COGO Input dialog box (page 1668), select the Azimuth/Distance
routine.
3 For the first point of an object, specify a starting point for the
measurement. For a later point in the object, the previous point you
specified for the object is the starting point. Click
on the map.

1042 | Chapter 6 Creating and Editing Data

to select a point

4 Enter the azimuth, which is the clockwise angle from the North (or South)
meridian to the line of the new direction. Click
on the map.

to specify the angle

Enter the angle using the current angular units setting, decimal values,
such as 45.1111, or surveyor’s units, such as N 45d3'55" E.

5 Enter the distance from the starting point to the new point. Click
to select the distance on the map.
6 Click Calculate. AutoCAD Map 3D calculates the new point, and previews
it on your map. Click the Pan button to pan to the new point.
NOTE If you turn on the Prompt For 3D Data Input option in the Coordinate
Geometry Setup dialog box (page 1917), you can enter an elevation value in
the Result section of the COGO Input dialog box (page 1668).
7 Click Create Point.

Quick Reference
MAPCOGO
Specifies data for coordinate geometry calculations and reports
Menu

Click Home tab ➤ Draw panel ➤ COGO
Drop-down ➤ COGO Input.

Command Line

MAPCOGO

Dialog Box

COGO Input dialog box

ZD
Specifies a point based on azimuth and distance from a given point
Menu

Click Home tab ➤ Draw panel ➤ COGO
Drop-down ➤ COGO Input.

Icon
Azimuth Distance

Using Azimuth and Distance to Specify a Point | 1043

Command Line

'ZD

Dialog Box

COGO Input dialog box

Using Distance and Offset from a Line to Specify a Point
You can specify a point using distance and offset from an existing line. You
select the line, enter a distance from the start point, and an offset on either
side of the line. This command is called Orthogonal/Offset, and it is accessible
only from the COGO Input dialog box (page 1668).

Select a line, a distance from the start point of
the line, and an offset distance.

See also:
■

Overview of Coordinate Geometry Commands (page 1027)

To specify a point using distance and offset from a line
The Orthogonal/Offset command does not work as a transparent command.
It is only accessible from the COGO Input dialog box (page 1668).
1 Click Home tab ➤ Draw panel ➤ COGO drop-down ➤ COGO Input.
■

To use the Orthogonal/Offset routine transparently, start a command,
such as PLINE or ARC, then enter ‘mapcogo.

2 In the COGO Input dialog box (page 1668), select the Orthogonal/Offset
routine.

1044 | Chapter 6 Creating and Editing Data

3 Enter the coordinates for the start and end points of the line, or click
to select the line on the map.

4 Enter the distance from the start point, or click
distance on the map.

to specify the

5 Repeat steps 3-4 for the second point and distance.
6 Click Calculate. AutoCAD Map 3D calculates the new point, and previews
it on your map. Click the Pan button to pan to the new point.
NOTE If you turn on the Prompt For 3D Data Input option in the Coordinate
Geometry Setup dialog box (page 1917), you can enter an elevation value in
the Result section of the COGO Input dialog box (page 1668).
7 Click Create Point.

Quick Reference
MAPCOGO
Specifies data for coordinate geometry calculations and reports
Menu

Click Home tab ➤ Draw panel ➤ COGO
Drop-down ➤ COGO Input.

Command Line

MAPCOGO

Dialog Box

COGO Input dialog box

Creating an Inverse Report
An inverse report gives you information about the relationship between two
points. The inverse report command is only accessible from the COGO Input
dialog box (page 1668).
The inverse report gives you the following information about the relationship
between the two points:
■

Bearing

Creating an Inverse Report | 1045

■

Quadrant

■

Horizontal Distance

■

Vertical Distance

■

Slope Distance

■

Vertical Angle

■

Percent Slope

See also:
■

Overview of Coordinate Geometry Commands (page 1027)

To create an inverse report
1 Click Home tab ➤ Draw panel ➤ COGO drop-down ➤ COGO Input.
2 In the COGO Input dialog box (page 1668), select the Inverse Report routine.

3 Enter the coordinates for the first point, or click
on the map or in the data table.

to select the point

4 Enter the coordinates for the second point, or click
point on the map or in the data table.

to select the

5 View the report in the Report area of the COGO Input dialog box (page
1668).

Quick Reference
MAPCOGO
Specifies data for coordinate geometry calculations and reports
Menu

Click Home tab ➤ Draw panel ➤ COGO
Drop-down ➤ COGO Input.

Command Line

MAPCOGO

Dialog Box

COGO Input dialog box

1046 | Chapter 6 Creating and Editing Data

Working with Attribute Data and Object Data
To use attribute data and object data
■
■

To use the Data View (page 1047)
To enter and edit object data (page 1061)

Viewing External Data Sources for Drawing Object Data
Use the Data View to view and edit external database tables that are linked to
drawing objects. If you have joined data to geospatial features (page 507), use
the Data Table to view that information.
■
■
■
■
■

Overview of Viewing External Data Sources for Drawing Objects (page 1048)
Opening a Database Table (page 1052)
Editing a Database (page 1055)
Changing the Look of the Data View (page 1057)
Freezing and Hiding Data View Columns (page 1059)

See also:
■

Finding Records in a Database Linked to Drawing Objects (page 1221)

■

Editing Features using the Data Table (page 711)

NOTE This procedure is for drawing objects only. If you have joined data to
geospatial features (page 507), use the Data Table to view that information.
To use the Data View
■
■
■
■
■
■
■
■
■

To use the Data View to view and edit external database tables (page 1048)
To open a table using the Task Pane (page 1053)
To edit a database record that is linked to a drawing object (page 1056)
To turn off AutoCommit (page 1056)
To save changes manually when AutoCommit is off (page 1056)
To change the width of a column in Data View (page 1058)
To change the formatting of cells in a column in Data View (page 1058)
To freeze columns in the Data View (page 1059)
To hide columns in the Data View (page 1060)

Working with Attribute Data and Object Data | 1047

Overview of Viewing External Data Sources for Drawing Objects
Use the Data View to view and edit external database tables that are linked to
drawing objects.

The Data View shows records in an attached database table.

Using the Data View, you can sort and filter the records in the table. In
addition, if you open the table in Edit mode, you can edit the data in the
database table.
NOTE This functionality is for drawing objects only. If you have joined data to
geospatial features (page 507), use the Data Table to view that information.
See also:
■

Finding Records in a Database Linked to Drawing Objects (page 1221)

■

Overview of the Data Table (page 1125)

NOTE This procedure is for drawing objects only. If you have joined data to
geospatial features (page 507), use the Data Table to view that information.
To use the Data View to view and edit external database tables
■

To open a table using the Task Pane (page 1053)

■

To edit a database record that is linked to a drawing object (page 1056)

■

To find a database record in the Data View (page 1225)

1048 | Chapter 6 Creating and Editing Data

■

To print a database table (page 1475)

Quick Reference
AutoCommit
Automatically saves database changes when the cursor leaves the record
Task Pane

In Map Explorer, right-click a data source ➤ Auto
Commit

Commit
Manually saves changes when AutoCommit is turned off
Task Pane

In Map Explorer, right-click a data source ➤ Commit

(Data View) Append
Adds a new, blank record to the bottom of a database table
Menu

In the Data View: Records ➤ Append

Icon
Append Record

(Data View) Find
Finds specified text
Menu

In the Data View:Edit ➤ Find

(Data View) Format Column
Changes the formatting of cells in a column
Menu

In the Data View: Format ➤ Column

Dialog Box

Column dialog box

(Data View) Freeze Column
Freezes the selected column to the left of the Data View window
Menu

In the Data View: View ➤ Freeze Column

Viewing External Data Sources for Drawing Object Data | 1049

(Data View) Header and Footer
Specifies header and footer for printing in the Data View
Menu

In the Data View: File ➤ Header and Footer

Dialog Box

Header/Footer dialog box

(Data View) Format Column
Changes the formatting of cells in a column
Menu

In the Data View: Format ➤ Column

Dialog Box

Column dialog box

(Data View) Page Setup
Sets the print options for Data View
Menu

In the Data View: File ➤ Page Setup

Dialog Box

Page Setup dialog box

(Data View) Print
Prints the current view of the database table
Menu
Icon

In the Data View: File ➤ Print
Print

(Data View) Sort
Sorts records in ascending or descending order based on the selected column,
or specifies a sort order based on more than one column
Menu

In the Data View: View ➤ Sort ➤ Multiple Columns

(Data View) Undo
Reverses the most recent operation
Menu

In the Data View:Edit ➤ Undo

(Data View) Unfreeze All Columns

1050 | Chapter 6 Creating and Editing Data

Unfreezes all columns
Menu

In the Data View: View ➤ Unfreeze All Columns

(Data View) Unfreeze All Columns
Unfreezes all columns
Menu

In the Data View: View ➤ Unfreeze All Columns

MAPBROWSELINK
Opens a database table associated with a specific link template to edit in the
Data View
Menu

Click Map ➤ Database ➤ View Data ➤ Edit Linked
Table.

Command Line

MAPBROWSELINK

Task Pane

Double-click a link template

Dialog Box

Select Link Template dialog box

MAPBROWSETBL
Opens a database table to edit in the Data View
Menu

Click Map ➤ Database ➤ View Data ➤ Edit Table.

Command Line

MAPBROWSETBL

Task Pane

Double-click a table

Dialog Box

Select Table dialog box (MAPBROWSETBL)

MAPOPTIONS
Sets AutoCAD Map 3D options
Menu

Setup menu ➤ Autodesk Map Options

Icon
Options
Command Line

MAPOPTIONS

Task Pane

In Map Explorer, right-click Current
Drawing ➤ Options

Dialog Box

AutoCAD Map Options dialog box

Viewing External Data Sources for Drawing Object Data | 1051

MAPRUNDBQUERY
Runs a database query and opens a database table displaying the results of
the query in the Data View
Menu

Click Map ➤ Database ➤ View Data ➤ Execute Query.

Command Line

MAPRUNDBQUERY

Task Pane

Double-click the database query.

Dialog Box

Select Query dialog box

MAPVIEWLINK
Opens a database table associated with a specific link template to view in the
Data View
Menu

Click Map ➤ Database ➤ View Data ➤ View Linked
Table.

Command Line

MAPVIEWLINK

Task Pane

In Map Explorer, right-click a link template ➤ View
Linked Table

Dialog Box

Select Link Template dialog box

MAPVIEWTBL
Opens a database table to view in the Data View
Menu

Click Map ➤ Database ➤ View Data ➤ View Table.

Command Line

MAPVIEWTBL

Task Pane

Right-click a table ➤ View Table

Dialog Box

Select Table dialog box (MAPBROWSETBL)

Opening a Database Table
The Data View (which displays external data linked to drawing objects)
provides two modes for opening tables:
■

View mode: You can change the way the table looks on screen by
formatting columns, sorting records, or filtering records, and you can create
links between the data and objects in your drawing. You cannot edit the
contents of the database table.

1052 | Chapter 6 Creating and Editing Data

■

Edit mode: In addition to formatting the table on screen, you can edit the
data in the table and add or delete records.

Database queries or views are always opened in View mode.
NOTE This functionality is for drawing objects only. If you have joined data to
geospatial features (page 507), use the Data Table to view that information.
See also:
■

Viewing External Data Linked to Drawing Objects (page 1146)

■

Overview of Linking Database Records to Objects (page 522)

■

Creating a Link Template (page 525)

■

Overview of Attaching Data Sources to Drawings (page 205)

NOTE This procedure is for drawing objects only. If you have joined data to
geospatial features (page 507), use the Data Table to view that information.
To open a table using the Task Pane
■

To view or edit a table, double-click it in Map Explorer.

■

To create or edit links to a table, double-click its link template.

■

To run a query, double-click the database query name.

The table opens in either Edit mode or View mode, depending on the setting
on the Data Source (page 1914) tab of the AutoCAD Map Options dialog box
(page 1908). If the table is write-protected, it opens in View mode. Queries always
open in View mode.

Quick Reference
MAPBROWSELINK
Opens a database table associated with a specific link template to edit in the
Data View
Menu

Click Map ➤ Database ➤ View Data ➤ Edit Linked
Table.

Viewing External Data Sources for Drawing Object Data | 1053

Command Line

MAPBROWSELINK

Task Pane

Double-click a link template

Dialog Box

Select Link Template dialog box

MAPBROWSETBL
Opens a database table to edit in the Data View
Menu

Click Map ➤ Database ➤ View Data ➤ Edit Table.

Command Line

MAPBROWSETBL

Task Pane

Double-click a table

Dialog Box

Select Table dialog box (MAPBROWSETBL)

MAPRUNDBQUERY
Runs a database query and opens a database table displaying the results of
the query in the Data View
Menu

Click Map ➤ Database ➤ View Data ➤ Execute Query.

Command Line

MAPRUNDBQUERY

Task Pane

Double-click the database query.

Dialog Box

Select Query dialog box

MAPVIEWLINK
Opens a database table associated with a specific link template to view in the
Data View
Menu

Click Map ➤ Database ➤ View Data ➤ View Linked
Table.

Command Line

MAPVIEWLINK

Task Pane

In Map Explorer, right-click a link template ➤ View
Linked Table

Dialog Box

Select Link Template dialog box

MAPVIEWTBL
Opens a database table to view in the Data View
Menu

Click Map ➤ Database ➤ View Data ➤ View Table.

1054 | Chapter 6 Creating and Editing Data

Command Line

MAPVIEWTBL

Task Pane

Right-click a table ➤ View Table

Dialog Box

Select Table dialog box (MAPBROWSETBL)

Editing a Database
Data View displays external data linked to drawing objects. You can edit a
table in the Data View as you would any database table. You can add or delete
records, or edit a record's values. You can also search a particular column for
occurrences of a specific value.
NOTE This functionality is for drawing objects only. If you have joined data to
geospatial features (page 507), use the Data Table to view that information.
To edit values in a table in Data View, you must have the proper user
authorizations, and you must open the table in Edit mode. See Opening a
Database Table (page 1052).
You can add records only to the end of a table. You cannot insert a record
elsewhere in a table.

Undoing an Edit
While you are still in the record, use Undo and Redo to affect the last change
you made to the current record.
WARNING Be careful when deleting records. Undo does not restore a deleted
record. Your data is deleted permanently.

AutoCommit
AutoCAD Map 3D automatically saves (commits) your changes to the database
as soon as your cursor leaves the record.
If you do not want edits saved automatically, turn off AutoCommit for this
data source.
When AutoCommit is off, you can manually commit your changes. If you do
not manually commit your changes, AutoCAD Map 3D commits the changes
when you close all Data View windows for that data source or disconnect the
data source.
To use Replace, you must open the table in Edit mode and turn AutoCommit
off.

Viewing External Data Sources for Drawing Object Data | 1055

The AutoCommit setting applies to all tables in the selected data source.
See also:
■

Viewing External Data Linked to Drawing Objects (page 1146)

■

Overview of Linking Database Records to Objects (page 522)

■

Creating a Link Template (page 525)

■

Overview of Attaching Data Sources to Drawings (page 205)

■

Setting Up Users and Assigning Rights (page 82)

NOTE This procedure is for drawing objects only. If you have joined data to
geospatial features (page 507), use the Data Table to view that information.
To edit a database record that is linked to a drawing object
1 Open a database table in the Data View in Edit mode.
2 Click the data to edit.
3 Type the new value.
You can undo changes to the current cell. In the Data View, click Edit
menu ➤ Undo. To undo all changes to a record, before leaving the record,
choose Undo Record.
To paste text from the Windows clipboard into a cell, click in the cell where
you want to paste the text. In the Data View, click Edit menu ➤ Paste.
WARNING You cannot use Undo Record after you move off the record you're
editing.
To turn off AutoCommit
■

In Map Explorer, right-click a data source. Click AutoCommit.
If the command is not on the menu, you may have clicked a single table
or you may have clicked the data sources node. Be sure to right-click a data
source.

To save changes manually when AutoCommit is off
■

In Map Explorer, right-click a data source. Click Commit.

1056 | Chapter 6 Creating and Editing Data

Quick Reference
AutoCommit
Automatically saves database changes when the cursor leaves the record
Task Pane

In Map Explorer, right-click a data source ➤ Auto
Commit

Commit
Manually saves changes when AutoCommit is turned off
Task Pane

In Map Explorer, right-click a data source ➤ Commit

(Data View) Append
Adds a new, blank record to the bottom of a database table
Menu

In the Data View: Records ➤ Append

Icon

Append Record

(Data View) Sort
Sorts records in ascending or descending order based on the selected column,
or specifies a sort order based on more than one column
Menu

In the Data View: View ➤ Sort ➤ Multiple Columns

(Data View) Undo
Reverses the most recent operation
Menu

In the Data View:Edit ➤ Undo

Changing the Look of the Data View
Data View displays external data linked to drawing objects. You can change
Data View, for example, to make a column narrower to fit better on your
screen or to widen a column to display all the text.
You can change the font, color, and alignment of text in the column. You
can also change the width and color of the column borders.

Viewing External Data Sources for Drawing Object Data | 1057

NOTE To preserve your formatting changes, be sure the Save Format And Style
Changes With Drawing option is selected on the Data Source tab of the AutoCAD
Map Options dialog box (page 1908). If this option is not selected, formatting
information for the table is removed from the current drawing when you close
the Data View.
When you detach a data source, AutoCAD Map 3D erases Data View formatting
information for all tables in that data source.
NOTE This functionality is for drawing objects only. If you have joined data to
geospatial features (page 507), use the Data Table to view that information.
See also:
■

Viewing External Data Linked to Drawing Objects (page 1146)

■

Overview of Linking Database Records to Objects (page 522)

■

Creating a Link Template (page 525)

■

Overview of Attaching Data Sources to Drawings (page 205)

NOTE This procedure is for drawing objects only. If you have joined data to
geospatial features (page 507), use the Data Table to view that information.
To change the width of a column in Data View
1 Move the cursor to the divider line next to the title of the column.
2 When the cursor becomes the double arrow, click and drag the column
to the desired width.
To change the formatting of cells in a column in Data View
1 Click the title of the column to select the column.
2 In the Data View, click Format menu ➤ Column.
3 In the Column dialog box (page 1676), select the font, cell colors, text
colors, border, and alignment options you want.
4 Click OK.

1058 | Chapter 6 Creating and Editing Data

Quick Reference
(Data View) Format Column
Changes the formatting of cells in a column
Menu

In the Data View: Format ➤ Column

Dialog Box

Column dialog box

Freezing and Hiding Data View Columns
You can freeze and hide columns in the Data View.
■

Freeze columns to make them visible at all times. The selected columns
become the left-most columns in the Data View. They are frozen in that
position and do not scroll off the screen. For example, freeze the parcel
owner's name to have it remain on screen as you scroll through the rest
of the record.

■

Hide columns that you do not want to display or print. The columns
remain part of the database, and you can redisplay them at any time. For
example, hide maintenance comments when you print the table.

NOTE This functionality is for drawing objects only. If you have joined data to
geospatial features (page 507), use the Data Table to view that information.
See also:
■

Viewing External Data Linked to Drawing Objects (page 1146)

■

Overview of Linking Database Records to Objects (page 522)

■

Creating a Link Template (page 525)

■

Overview of Attaching Data Sources to Drawings (page 205)

NOTE This procedure is for drawing objects only. If you have joined data to
geospatial features (page 507), use the Data Table to view that information.
To freeze columns in the Data View
1 Open the database table in the Data View.

Viewing External Data Sources for Drawing Object Data | 1059

2 Select one or more columns.
3 In the Data View, click View menu ➤ Freeze Column.
To release frozen columns, in the Data View, select the columns and click
View menu ➤ Unfreeze All Columns.
To hide columns in the Data View
1 In the Data View, select the column header of the column that you want
to hide.
2 Right-click the column header. Click Hide.
To redisplay all hidden columns, right-click the grid header in the Data View.
Click Unhide All.

Quick Reference
(Data View) Format Column
Changes the formatting of cells in a column
Menu

In the Data View: Format ➤ Column

Dialog Box

Column dialog box

(Data View) Format Column
Changes the formatting of cells in a column
Menu

In the Data View: Format ➤ Column

Dialog Box

Column dialog box

(Data View) Unfreeze All Columns
Unfreezes all columns
Menu

In the Data View: View ➤ Unfreeze All Columns

(Data View) Unfreeze All Columns
Unfreezes all columns
Menu

In the Data View: View ➤ Unfreeze All Columns

1060 | Chapter 6 Creating and Editing Data

Entering and Editing Object Data
To enter and edit object data
■
■
■
■
■
■

To attach data to an object (page 1064)
To attach multiple records to an object (page 1066)
To attach data to objects automatically (page 1067)
To display and edit data for a drawing object (page 1069)
To delete object data from a drawing object (page 1069)
To convert object data to a linked database table (page 1071)

Overview of Entering and Editing Object Data
Object data is attribute data that is attached to individual objects and stored
in tables in the drawing. Object data tables store text and numerical
information related to an object.
NOTE This functionality is for drawing objects only. To view attribute data for
geospatial features, use the Data Table (page 711).
To use object data, first define the format for the table, and then create each
record as you attach it to an object.
After you define an object data table, you can associate it with one or more
drawing objects. When you attach object data to a drawing object, AutoCAD
Map 3D creates a new record in the selected table and attaches the record to
the object. You can create more than one record for each object, and you can
attach records from more than one table to an object.
NOTE This procedure is for drawing objects only. To view attribute data for
geospatial features, use the Data Table (page 711).
To do this...

Use this method...

Create an object data table.

At the Command prompt, type adedefdata.
See Creating an Object Data Table (page
200).

Attach object data to objects

Do any of the following:
■

Attach object data manually to selected objects (page 1064) by specifying
the data values for each object.

Entering and Editing Object Data | 1061

To do this...

Use this method...
■

Automatically create and attach object
data (page 1066) based on existing block
attributes or text.

■

Attach object data as you digitize objects (page 1082).

See Specifying Object Data for a Drawing
Object (page 1063)
View or edit object data.

Right-click the object ➤ Properties.
See Displaying and Editing Object Data for
a Drawing Object (page 1068)

Delete object data.

Click Tools tab ➤ Map Edit panel ➤ Edit

Object Data.
See Displaying and Editing Object Data for
a Drawing Object (page 1068)
Convert object data to a linked database
table.

At the Command prompt, enter mapod2ase.
See Converting Object Data to a Linked
Database Table (page 1070)

Quick Reference
ADEATTACHDATA
Attaches object data to objects
Menu

Create menu ➤ Attach/Detach Object Data

Icon
Attach/Detach Object Data
Command Line

ADEATTACHDATA

Dialog Box

Attach/Detach Object Data dialog box

ADEEDITDATA

1062 | Chapter 6 Creating and Editing Data

Edits attached object data
Menu

Modify menu ➤ Edit Object Data

Icon
Edit Object Data
Command Line

ADEEDITDATA

Dialog Box

Edit Object Data dialog box

ADEGENLINK
Automatically links objects to object data or external database records
Menu

In the Classic workspace, click Setup menu ➤ More
Link Template Options ➤ Generate Links

Command Line

ADEGENLINK

Task Pane

In Map Explorer, right-click a link
template ➤ Generate Links

Dialog Box

Generate Data Links dialog box

MAPOD2ASE
Converts object data tables to linked external database tables
Menu

Click Setup ➤ Convert Object Data to Database Links.

Command Line

MAPOD2ASE

Dialog Box

Convert Object Data to Database Links dialog box

Specifying Object Data for a Drawing Object
After you define an object data table, you can associate it with one or more
drawing objects. When you attach object data to a drawing object, AutoCAD
Map 3D creates a new record in the selected table and attaches the record to
the object. You can create more than one record for each object, and you can
attach records from more than one table to an object.
NOTE This functionality is for drawing objects only. To view attribute data for
geospatial features, use the Data Table (page 711).

Entering and Editing Object Data | 1063

You can attach object data in these ways:
■

Attach object data manually to selected objects (page 1064) by specifying
the data values for each object.

■

Automatically create and attach object data (page 1066) based on existing
block attributes or text.

■

Attach object data as you digitize objects (page 1082).

When you attach object data to queried objects, AutoCAD Map 3D prompts
you to add the object to the save set.
See also:
■

Creating an Object Data Table (page 200)

■

Running a Drawing Query in Draw Mode (page 1290)

Before you attach data to objects, create the object data table and execute a
Draw mode query to copy the objects into the current drawing.
NOTE You cannot attach data to geospatial features, but you can join external
data to geospatial features. (page 507)
To attach data to an object
1 Click Create tab ➤ Drawing Object panel ➤ Attach/Detach Object Data.

2 In the Attach/Detach Object Data dialog box (page 1794), select a table.
3 To change the value for a field in the table, select the data field and type
a new value in the Value box. Press Enter.
4 To overwrite any values for this table already attached to the object, select
Overwrite.
If cleared, the object will have both the old and the new values attached.
5 Click Attach To Objects.
6 Select the objects.

1064 | Chapter 6 Creating and Editing Data

NOTE If you are attaching data to a polygon and plan to use the data with
topology functions, be sure to attach the data to the centroid of the polygon.
Topology functions do not use data attached to the polygon border.

A record with the specified values is attached to each selected object.

Quick Reference
ADEATTACHDATA
Attaches object data to objects
Menu

Create menu ➤ Attach/Detach Object Data

Icon
Attach/Detach Object Data
Command Line

ADEATTACHDATA

Dialog Box

Attach/Detach Object Data dialog box

Specifying Multiple Records for an Object
By adding multiple records to the same object, you can keep track of historical
information related to the object. For example, if you have a table called
PipeMaintenance, with fields called Inspector, InspectionDate, and Condition,
you might attach a record to a pipe object each time the pipe is inspected.
NOTE You cannot attach data to geospatial features, but you can join external
data to geospatial features. (page 507)
See also:
■

Creating an Object Data Table (page 200)

■

Entering and Editing Object Data (page 1061)

NOTE You cannot attach data to geospatial features, but you can join external
data to geospatial features. (page 507)

Entering and Editing Object Data | 1065

To attach multiple records to an object

1 Click Tools tab ➤ Map Edit panel ➤ Edit Object Data.
2 Select the object to which you want to add a record.
3 In the Edit Object Data dialog box (page 1795), select the attached table to
which you want to add a record.
4 Click Insert Record.
Record # changes from 1 of 1 to 2 of 2 as AutoCAD Map 3D advances to
the newly created record.
5 For each field in the record, update the value as necessary.
Select the field in the object data field list. Enter the new value in the
Value box. Press Enter. Repeat this process for each field in the record.
6 Click OK.
The new record is attached to the selected object.

Quick Reference
ADEEDITDATA
Edits attached object data
Menu

Modify menu ➤ Edit Object Data

Icon
Edit Object Data
Command Line

ADEEDITDATA

Dialog Box

Edit Object Data dialog box

Automatically Specifying Object Data for Objects
You can automatically attach object data records to objects in a drawing. For
example, you can convert block attribute data to object data and attach it to
objects in one operation.

1066 | Chapter 6 Creating and Editing Data

First, you must create the object data table to use for the new data. Then when
you perform the Generate Links operation, AutoCAD Map 3D automatically
records the existing data in the new object data table.
NOTE You cannot create links to objects on layers that are locked, frozen, or
turned off.
NOTE You cannot attach data to geospatial features, but you can join external
data to geospatial features. (page 507)
See also:
■

Creating an Object Data Table (page 200)

■

Entering and Editing Object Data (page 1061)

NOTE You cannot attach data to geospatial features, but you can join external
data to geospatial features. (page 507)
NOTE Create the object data table before you begin this procedure.
To attach data to objects automatically
1 Click Map Setup tab ➤ Attribute Data panel ➤

➤ Generate Links.

2 In the Generate Data Links dialog box (page 1807), select a linkage type:
■

Blocks — Create links from block attribute data. The records are
attached to the blocks themselves.

■

Text — Create links from text. The records are attached to the text
objects.

■

Enclosed Blocks — Create links from block attribute data. The records
are attached to the polyline that encloses the block. Blocks that are
not enclosed by a polyline are not linked.

■

Enclosed Text — Create links from text that lies within a closed
polyline. The records are attached to the closed polyline that encloses
the text. Text that is not enclosed by a polyline is not linked.

3 Under Data Links, select Create Object Data Records.

Entering and Editing Object Data | 1067

4 Select a table.
If you are creating links for enclosed text, select a table that has only one
field.
5 If you are creating links for blocks or enclosed blocks, select the name of
the block.
6 Click OK.
7 Enter s to select blocks or text objects, or enter a to use all blocks with
the specified name or all text objects.

Quick Reference
ADEGENLINK
Automatically links objects to object data or external database records
Menu

In the Classic workspace, click Setup menu ➤ More
Link Template Options ➤ Generate Links

Command Line

ADEGENLINK

Task Pane

In Map Explorer, right-click a link
template ➤ Generate Links

Dialog Box

Generate Data Links dialog box

Displaying and Editing Object Data for a Drawing Object
After you attach object data to a drawing object, you can edit the object data
record or delete a record from an object. You must have Edit Drawing privilege
to edit object data.
For information on changing user privileges, see Setting Up Users and Assigning
Rights (page 82).
NOTE This functionality is for drawing objects only. To display and edit the
attribute data for a geospatial feature, see Editing Features using the Data Table
(page 711).
See also:
■

Creating an Object Data Table (page 200)

1068 | Chapter 6 Creating and Editing Data

■

Entering and Editing Object Data (page 1061)

NOTE This procedure is for drawing objects only. To display and edit the attribute
data for a geospatial feature, see Editing Features using the Data Table (page 711).
To display and edit data for a drawing object
1 Select the object in your drawing.
TIP If the drawing contains more than one object in the same location, press
Ctrl while you select the object. This turns on the AutoCAD Map 3D cycle
feature, which allows you to select each object at that location, one by one,
as you click. Click until you select the object you want. Press Enter.
2 If the Properties palette is not open, right-click the object. Click Properties.
3 In the Properties palette, scroll to view the object data information.
4 To edit data, click the data to change and enter the new data.
NOTE If the object is a member of an object class, select the Object Class
tab in the Properties palette and see if the object data is listed on that tab. If
it is, edit the data using the Object Class tab. This tab checks that the values
you enter to make sure they meet the standards set for the object class.

To delete object data from a drawing object

1 Click Tools tab ➤ Map Edit panel ➤ Edit Object Data.
2 Select the object in your drawing.
3 To delete the current record from the selected object, click Delete Record.
4 If the object has more than one record from the selected table, click Next
or Last to view a different record. If the object has records attached from
more than one table, select a table from the Table list to view object data
from that table. To delete object data for a different object, click Select
Object and select the object.

Entering and Editing Object Data | 1069

Quick Reference
ADEEDITDATA
Edits attached object data
Menu

Modify menu ➤ Edit Object Data

Icon
Edit Object Data
Command Line

ADEEDITDATA

Dialog Box

Edit Object Data dialog box

Converting Object Data to a Linked Database Table
Object data is an efficient method for storing small amounts of attribute data
that you want to associate with drawing objects, but external databases store
larger amounts of data more efficiently, and allow for more complex queries.
NOTE You cannot attach data to geospatial features, but you can join external
data to geospatial features. (page 507)
With AutoCAD Map 3D, you can convert object data into a linked database
table that has the same data structure as the object data table. For each object
containing object data in the specified table, AutoCAD Map 3D does the
following:
■

Reads the object data

■

Creates a new record in the external database table

■

Attaches link data to the object that links the object to the record

When AutoCAD Map 3D converts the data, it creates a new table in an existing
data source. It also creates a link template for the new table. In the link
template, you can choose to use an existing field as the key field, or you can
have AutoCAD Map 3D create a new field and assign a unique value to each
record.

1070 | Chapter 6 Creating and Editing Data

Field Names in the New Table
By default, the fields in the new database table have the same names as the
fields in the object data table. AutoCAD Map 3D resolves any conflicts in the
following ways:
■

Truncates fields that are too long and adds an incremental digit to the
resulting duplicate field names

■

Replaces unsupported characters in a field name with an underscore (_)

■

Converts unsupported field types to character

■

Converts point fields to a character string and separates coordinates with
commas

See also:
■

Creating an Object Data Table (page 200)

■

Entering and Editing Object Data (page 1061)

■

Overview of Attaching Data Sources to Drawings (page 205)

■

Overview of Linking Database Records to Objects (page 522)

NOTE You cannot attach data to geospatial features, but you can join external
data to geospatial features. (page 507)
This procedure creates a new table in an existing data source. Make sure that
the appropriate data source is attached.
NOTE During the conversion, field names in the object data table become field
names in the database table. Make sure that the field names in your object data
table are not SQL reserved words such as DATE, SELECT, or CURRENT. If necessary,
rename the fields in your object data table before you convert it.
To convert object data to a linked database table
1 At the Command prompt, enter mapod2ase.
2 In the Convert Object Data to Database Links dialog box (page 1680), under
Source Object Data Table, select an object data table.
3 Select Remove Data From Objects Processed to delete the object data after
creating the link.

Entering and Editing Object Data | 1071

4 Under Target Link Template, click Define to specify the link template.
5 In the Define Link Template dialog box (MAPOD2ASE) (page 1682), select
an available data source. Click Connect.
6 Enter a table name.
7 Specify the fields to use as key fields (columns). To enter more than one
field name, separate names with a comma.
To select from a list of field names in the object data table, or to rename
the fields, click Select to display the Select Link Template Key(s) dialog
box.
You can use an existing object data field as the key column or create a
new field. If you select Generate Key Field, specify a name for the field
in the Generate Key area. AutoCAD Map 3D sets the first record in the
database table to 1, and increments each subsequent record by 1. Click
OK to close the Select Link Template Key(s) dialog box.
8 In the Define Link Template dialog box, enter a name for the link template
and click OK.
The link template stores the address of the database table and the name
of the key field. Accept the default or enter a new unique name.
9 In the Convert Object Data to Database Links dialog box (page 1680), specify
how to select objects with attached object data.
You can select objects automatically or manually, and you can use a filter
to restrict selection to specified layers.
10 Click Proceed.
AutoCAD Map 3D converts the object data into linked database tables.

Quick Reference
MAPOD2ASE
Converts object data tables to linked external database tables
Menu

Click Setup ➤ Convert Object Data to Database Links.

Command Line

MAPOD2ASE

Dialog Box

Convert Object Data to Database Links dialog box

1072 | Chapter 6 Creating and Editing Data

Digitizing Objects
To attach attribute data to objects as you digitize them, use the MAPDIGITIZE
command.
■
■
■
■
■

Overview of Digitizing Maps (page 1073)
Overview of Digitizing Objects (page 1079)
Digitizing Using MAPDIGITIZE (page 1081)
Attaching Object Data As You Digitize (page 1082)
Linking Database (SQL) Records as You Digitize (page 1084)

See also:
■

Overview of Digitizing Maps (page 1073)

■

Setting Up for Digitizing (page 130)

■

Cleaning Up Maps (page 767)

■

Converting Data From Other Formats to Drawing Objects (page 377)

To digitize objects
■
■
■
■
■

To digitize a map (page 1078)
To digitize the objects (page 1080)
To digitize links and nodes (page 1081)
To attach object data as you digitize (page 1083)
To link database records as you digitize (page 1085)

Overview of Digitizing Maps
Digitizing is the process of converting paper-based graphical information into
a digital format. When you digitize a map, you use drawing commands to
trace data from the paper map into a DWG file.
NOTE This process creates drawing objects. To convert the drawing objects into
geospatial feature data, see Overview of Publishing and Sharing (page 1357).

Digitizing Objects | 1073

1074 | Chapter 6 Creating and Editing Data

Planning for Digitizing
Before you begin to digitize, consider the following:
■

Suitability of source maps

■

Global coordinate system

■

Tiling maps

■

Layer organization

■

Data storage: internal or external

Overview of Digitizing Maps | 1075

■

Representation of node, network, and polygon topologies

If possible, plan on completing all digitizing for one map in one session because
the map media may distort over time.

Digitizing Linear Objects
Linear objects are objects such as lines, arcs, and polylines.
■

If you plan to use topography later to generate 3D views from digital terrain
models, place linear objects at the elevations (Z- values) they represent.

■

If you use the SKETCH command to trace an irregular line, make sure the
variable SKETCHINC is set to a reasonable value, because each line segment
ends at the interval set by SKETCHINC. The SKETCH command can create
huge files for one small line when SKETCHINC is set to a small value.

■

When digitizing irregular curves with PLINE or MAPDIGITIZE (page 1081),
the spacing of the selected vertex points should depend on the curvature
of the line. Straighter segments require fewer points.

Examples of digitized curves

■

However accurately you work, you lose data when you digitize a curve.
You need to digitize more points when you create sharp curves to ensure
that the line is as accurate as possible; however, while you reduce the data
loss, you increase file size and complexity. If you know the parameters
used to define a regular curve, such as the radius or length, use the Arc
option of the PLINE and MAPDIGITIZE (page 1081) commands for digitizing.
Irregular lines, such as topography contours, should be continuous
polylines. They can be smoothed with the Fit option of PEDIT if necessary.
Set the PLINEGEN system variable to 1 (on) before digitizing, so that any
dashed linetypes are evaluated correctly.

1076 | Chapter 6 Creating and Editing Data

■

When you finish digitizing a segment, mark it on the paper map so you
do not repeat the digitizing. Double digitizing increases file size.

Digitizing Topology
When digitizing data that will be used to create a topology, follow these
principles to achieve the most accurate results.
■

Boundaries (or other polylines) should be completed with the Near,
Intersection, or Endpoint object snaps to ensure that closed areas such as
parcels, buildings, and water bodies are in fact complete polygons.

■

Line segments should be snapped to existing end points where they
intersect.

■

When you are digitizing data for network topology, do not duplicate
objects. For example, do not double-digitize boundary lines separating
adjacent polygons. It's better to digitize adjacent polygons on the same
layer with common lines defining common boundaries. If one edge serves
two or more purposes, digitize the line once, then use the COPY and
CHPROP commands to put a duplicate line on a different layer.

After you digitize the linear elements that form the basis of the topology, you
should clean up any problems (page 767) before you create the topology.

Digitizing Control Data Points and Monuments
When you are trying to match digitized maps with existing digital maps, you
can use some known-to-be-accurate points common to both maps.
■

Control Data Points — A system of geodetic control points covers the
entire United States. The latitude and longitude, and often elevation, are
established for these points. Similar systems exist for other countries, such
as Bench Marks and Trigonometry Points throughout the United Kingdom.

■

Monuments — If you are working with maps for a city or county, points
used for establishing locations for all maps probably already exist: these
points can include features such as public buildings, hill summits, and
parts of highways.

When you are digitizing a map, use the following procedures to establish
known control points:
■

Create a layer called REFERENCE. On it, digitize at least four points
corresponding to real-world coordinates such as the coordinate intersections

Overview of Digitizing Maps | 1077

of latitude and longitude lines. These points should either appear at the
corners of your map sheet or surround the map features to be digitized.
Be careful to note on the drawing the location of these reference points
and their real-world coordinates. Use these points to register the map with
the TABLET command, as described in Registering the Map (page 133).
■

To ensure accuracy, you can also digitize other points such as control
points and monument locations that have known positions. Digitizing
more control points is important for Matching Map Edges (page 950) or
Rubber Sheeting Two Maps (page 932) operations.

Placing Annotation
While you are digitizing, you can add text to indicate nodes or important
locations on a map. Use the STYLE command to define a text style that uses
a simple font, such as isocp.shx, with a fixed text height so that you do not
have to enter a text height each time you enter text. You can modify the text
style and height when you finish digitizing.
Use the TEXT command to enter text as you digitize. Text should be single-line
entries on the same layer as the feature it describes. If required, enter complex
or lengthy text with the MTEXT command after you finish digitizing. For
more information, look up "text" in the Help index.
Try to avoid overlaying the insertion point of the text and end points of the
objects you are annotating.
See also:
■

Setting Up for Digitizing (page 130)

■

Digitizing Objects (page 1073)

NOTE This process creates drawing objects. To convert the drawing objects into
geospatial feature data, see Overview of Publishing and Sharing (page 1357).
To digitize a map
1 Set up for digitizing (page 131).
2 Digitize the objects (page 1081).

1078 | Chapter 6 Creating and Editing Data

Quick Reference
OPTIONS
Customizes the AutoCAD settings
Menu

Setup menu ➤ AutoCAD Options

Command Line

OPTIONS

Task Pane

Right-click in the drawing area ➤ Options

MAPDIGISETUP
Sets up user options for digitizing nodes and linear objects
Menu

Click Map ➤ Data Entry ➤ Digitize Setup.

Command Line

MAPDIGISETUP

Dialog Box

Digitize Setup dialog box

MAPDIGITIZE
Digitizes nodes and linear objects with settings from mapdigisetup
Menu

Click Map ➤ Data Entry ➤ Digitize.

Command Line

MAPDIGITIZE

Dialog Box

MAPDIGITIZE (Digitize command)

Overview of Digitizing Objects
To digitize objects, use one of the following methods:
■

To attach attribute data as you digitize objects, use the MAPDIGITIZE
command. You can also specify the label point, layer, block or linetype,
rotation and scale, 2D or 3D, and snap options.

■

To digitize objects without attaching attribute data or specifying other
settings as you digitize, use the drawing commands.

NOTE These processes create drawing objects. To convert the drawing objects
into geospatial feature data, see Overview of Publishing and Sharing (page 1357).

Overview of Digitizing Objects | 1079

Digitizing Using the MAPDIGITIZE Command
Use the MAPDIGITIZE command if you want to use the special options it
provides, such as attaching object data as you digitize.
NOTE Before you begin digitizing, be sure that you have configured the digitizer,
registered the map, and set the digitizing specifications. See Setting Up for
Digitizing (page 130).
For detailed information on digitizing linear objects, topologies, and control
points, or on placing annotations, see Overview of Digitizing Maps (page 1073).

Digitizing Using Drawing Commands
You can also digitize using drawing commands. However, you should avoid
commands such as CIRCLE, RECTANGLE, and 3DFACE. Instead, use ARC,
LINE, and PLINE to represent map features in the simplest possible forms.
This usage simplifies map cleanup.
See also:
■

Overview of Digitizing Maps (page 1073)

■

Setting Up for Digitizing (page 130)

■

Converting Data From Other Formats to Drawing Objects (page 377)

NOTE Before you begin digitizing, be sure you have configured your digitizer
(page 132) and registered your map (page 136).
To digitize the objects
1 Check that TABLET is enabled in the status line. If not, double-click
TABLET to enable Tablet mode.
2 To use the MAPDIGITIZE command, set the digitizing options (page 130).
3 Digitize lines by starting the LINE, PLINE, or MAPDIGITIZE (page 1081)
command as appropriate.
Press F12 to access menus and dialog boxes in the floating screen area
you defined.
4 Continue to add lines and arc segments until you are done. Press Enter.
When you finish digitizing, use Drawing Cleanup (page 765) to clean the
linework and fix errors.

1080 | Chapter 6 Creating and Editing Data

NOTE These processes create drawing objects. To convert the drawing objects
into geospatial feature data, see Overview of Publishing and Sharing (page 1357).

Quick Reference
MAPDIGITIZE
Digitizes nodes and linear objects with settings from mapdigisetup
Menu

Click Map ➤ Data Entry ➤ Digitize.

Command Line

MAPDIGITIZE

Dialog Box

MAPDIGITIZE (Digitize command)

Digitizing Using MAPDIGITIZE
The MAPDIGITIZE command lets you attach object data or external data as
you digitize.
NOTE Before you begin digitizing, be sure that you have configured the digitizer,
registered the map, and set the digitizing specifications. See Setting Up for
Digitizing (page 130).
Press F12 for access to the menus and any dialog boxes in the floating screen
area you defined.
NOTE These processes create drawing objects. To convert the drawing objects
into geospatial feature data, see Overview of Publishing and Sharing (page 1357).
See also:
■

Attaching Object Data As You Digitize (page 1082)

■

Linking Database (SQL) Records as You Digitize (page 1084)

Before you use the MAPDIGITIZE command, set the digitizing specifications
(page 138).
To digitize links and nodes
1 On the command line, enter MAPDIGITIZE. Press Enter.

Digitizing Using MAPDIGITIZE | 1081

2 At the MAPDIGITIZE (Digitize command) (page 1615) prompt, specify the
first point or polyline to digitize.
3 If you selected Attach Data in the Digitize Setup dialog box (page 1617),
enter object data for the new object.
4 If you selected Prompt For Label Point in the Digitize Setup dialog box
(page 1617), specify a label point for the new object.
5 If you selected Prompt For Rotation, enter the rotation in degrees for the
node block. If you selected Prompt For Scale, enter the change in scale.
For example, enter 90 to rotate the block 90 degrees. Enter 2 to double
the size of the block.
6 Continue to specify points or polylines.
Data created by digitizing is not complete until you have cleaned up and
verified the data. See Overview of Cleaning Up Maps (page 767).
NOTE These processes create drawing objects. To convert the drawing objects
into geospatial feature data, see Overview of Publishing and Sharing (page 1357).

Quick Reference
MAPDIGITIZE
Digitizes nodes and linear objects with settings from mapdigisetup
Menu

Click Map ➤ Data Entry ➤ Digitize.

Command Line

MAPDIGITIZE

Dialog Box

MAPDIGITIZE (Digitize command)

Attaching Object Data As You Digitize
You can attach object data to nodes and links (linear objects) as you digitize
them. You can specify one object data table for nodes and another for links.
See also:
■

Linking Database (SQL) Records as You Digitize (page 1084)

■

Overview of Digitizing Maps (page 1073)

1082 | Chapter 6 Creating and Editing Data

Before you set up for digitizing, the object data table must already exist. See
Creating an Object Data Table (page 200).
To attach object data as you digitize
1 On the command line, enter MAPDIGISETUP. Press Enter.
2 Under Object Type, select the object type to digitize.
3 Select Attach Data. Click Data To Attach.
4 In the Data to Attach dialog box (page 1616), select the object data table
to use. Click OK.
5 For information on completing the other options in the Digitize Setup
dialog box (page 1617), see To set digitizing specifications (page 138).
6 Click OK.
7 On the command line, enter MAPDIGITIZE to begin digitizing.
As you digitize each object, AutoCAD Map 3D prompts you to enter object
data values for each field in the selected object data table.

Quick Reference
ADEDEFDATA
Defines object data
Menu

Setup menu ➤ Define Object Data

Icon
Define Object Data
Command Line

ADEDEFDATA

Dialog Box

Define Object Data dialog box

MAPDIGISETUP
Sets up user options for digitizing nodes and linear objects
Menu

Click Map ➤ Data Entry ➤ Digitize Setup.

Command Line

MAPDIGISETUP

Dialog Box

Digitize Setup dialog box

Attaching Object Data As You Digitize | 1083

MAPDIGITIZE
Digitizes nodes and linear objects with settings from mapdigisetup
Menu

Click Map ➤ Data Entry ➤ Digitize.

Command Line

MAPDIGITIZE

Dialog Box

MAPDIGITIZE (Digitize command)

Linking Database (SQL) Records as You Digitize
You can attach data in an external database to objects as you digitize. You can
select one link template for nodes and another for links (linear objects). Before
you begin this process, be sure that the link templates already exist.

1084 | Chapter 6 Creating and Editing Data

NOTE These processes create drawing objects. To convert the drawing objects
into geospatial feature data, see Overview of Publishing and Sharing (page 1357).
See also:
■

Attaching Object Data As You Digitize (page 1082)

■

Overview of Digitizing Maps (page 1073)

To link database records as you digitize
1 On the command line, enter MAPDIGISETUP. Press Enter.
2 Under Object Type, select the object type to digitize.
3 Select Attach Data. Click Data To Attach.
4 In the Data to Attach dialog box (page 1616), under Object Data Type, select
Database Link.
5 For Link Template, select the link template to use.
6 Specify a Record Validation method. Click OK.
7 For information on completing the other options in the Digitize Setup
dialog box (page 1617), see To set digitizing specifications (page 138).

Linking Database (SQL) Records as You Digitize | 1085

8 Click OK.
9 On the command line, enter MAPDIGITIZE to begin digitizing.
AutoCAD Map 3D prompts you for a key value for each object. The database
validation option you select here determines what happens as you enter a
value for each digitized object:
■

Validate —AutoCAD Map 3D checks whether the value you enter exists
in the database table. If the value exists, the link data is attached to the
object; if the value does not exist, AutoCAD Map 3D requests a new value.
Use this option to link each object to an existing record in the table.

■

Validate and Create —AutoCAD Map 3D checks whether the value you
enter exists in the database table. If the value exists, the link data is attached
to the object; if the value does not exist, AutoCAD Map 3D creates a new
record in the database table with this value in the key column, and attaches
the link data to the object. Use the Link Template Data Entry dialog box
(page 1619) to enter values for the other columns in the new record.

■

No Validation —AutoCAD Map 3D attaches the link data to the object
without checking that the value exists in the table. Use this option if you
do not have a corresponding database record and do not want to create
one at this time.

NOTE These processes create drawing objects. To convert the drawing objects
into geospatial feature data, see Overview of Publishing and Sharing (page 1357).

Quick Reference
MAPDEFINELT
Defines a link template for a database table
Menu

Click Setup ➤ More Link Template Options ➤ Delete
Link Template.

Icon
Define Link Template
Command Line

MAPDEFINELT

Task Pane

In Map Explorer, right-click a data source table or
query ➤ Define Link Template

1086 | Chapter 6 Creating and Editing Data

Dialog Box

Define Link Template dialog box (MAPDEFINELT)

MAPDIGISETUP
Sets up user options for digitizing nodes and linear objects
Menu

Click Map ➤ Data Entry ➤ Digitize Setup.

Command Line

MAPDIGISETUP

Dialog Box

Digitize Setup dialog box

MAPDIGITIZE
Digitizes nodes and linear objects with settings from mapdigisetup
Menu

Click Map ➤ Data Entry ➤ Digitize.

Command Line

MAPDIGITIZE

Dialog Box

MAPDIGITIZE (Digitize command)

Linking Database (SQL) Records as You Digitize | 1087

1088

7

Annotating Maps

Overview of Annotating Maps

Dynamic labels and drawing object annotations are placed automatically next to each
feature or drawing object on the related layer. Use Mtext or annotation layers to add
text that is not linked to a feature or object.

Annotations are notes or other types of explanatory symbols or objects that are
commonly used to add information to your map. The following types of
annotation can be added to your map:
Annotation Type

Works with Description

More Information

Labels

Individual
Features

Adding Labels (page
1091)

Displays selected properties
on each feature

1089

Annotation Type

Works with Description

More Information

Drawing
object annotation

Drawing
objects

Displays selected properties,
object data, or linked data on
each drawing object

Annotating Drawing
Objects (page 1100)

Annotation
layers

Maps with
feature layers

Displays freestanding text
features (not related to a
specific feature) and is stored
in a data table

Creating Text Layers
(page 1109)

AutoCAD
text objects

Any map

Displays freestanding objects
(not related to a specific object) created with the TEXT
and MTEXTcommands

Annotating with AutoCAD Text Objects
(page 1119)

Legends

Maps with
feature layers

Provides a key to feature
styles in your map

Adding a Legend (page
1116)

Tell me more

Video

Procedure

Tutorial

1090 | Chapter 7 Annotating Maps

■

Show me how to label features.

■

Show me how to label features with
automatic resizing.

■

Show me how to place a legend in the
map and specify its contents.

■

Show me how to edit the table style for
a legend.

■

To label features (page 1093)

■

To insert annotation (page 1103)

■

To create a legend (page 1118)

■

Tutorial: Annotating Your Map

■

Exercise 3: Add labels

■

Lesson 6: Create a Legend

■

Style and Label a Linear Feature

■

Label features and optimize placement.

■

Create and edit a legend.

■

Styling Features (page 639)

■

Setting Up Annotation Templates
(page 185)

Workflow

GIS Skill

Related topics

Adding Labels
Labels mark each feature in the specified Display Manager feature layer. They
are defined as part of the feature layer style.
NOTE This functionality is for geospatial features only. To label drawing objects,
see Annotating Drawing Objects (page 1100).
You can specify a property to display in the label. For example, you can label
roads with their names. You can also use expressions in labels. For example,
you can label parcels with an expression that determines the net value of the
property, or use an expression to concatenate two properties, such as address
and street name.
See also:
■

Theming Features (page 1165)

■

Styling Features (page 639)

Adding Labels to Features
Add labels to features on feature layers.
NOTE This functionality is for geospatial features only. To label drawing objects,
see Annotating Drawing Objects (page 1100).

Adding Labels | 1091

For linear features (such as roads or rivers), you can specify one of the
following:
■

Multiline (Specifies that the label can have multiple lines of text, but no
advanced placement functionality.)

■

Advanced placement (specifies a single-line label which follows a path and
shrinks to fit. A single label is used for feature segments that have the same
property value.)

Multiline labels

Advanced placement labels

If a feature does not have linear geometry, only multiline labels are available.
For all features, you can specify the label text, font, size, format, color,
background style and color, alignment, and rotation. These settings affect the
entire label. For example, if you specify a color, all lines in the label use that
color.
For polyline features, you can specify horizontal and vertical label placement.
For point features, you can specify a fixed location for the label (page 1098).
If a feature label obscures another label, it is not displayed. Feature labels are
drawn on top of point symbols, lines, and polygons. By default, feature labels

1092 | Chapter 7 Annotating Maps

do not obscure point symbols. You can allow feature labels to obscure point
symbols (page 1096).
NOTE For performance reasons, the maximum number of labels drawn is 2000.
If there are so many labels that geometry would be obscured if they were drawn,
AutoCAD Map 3D does not draw them.

Tell me more

Video

Procedure

Tutorial

■

Show me how to label features.

■

Show me how to label features with
automatic resizing.

■

To label features (page 1093)

■

To use expressions in labels

■

Tutorial: Annotating Your Map

■

Exercise 3: Add labels

■

Style and Label a Linear Feature

■

Label features and optimize placement.

■

Displaying Fixed Labels at Point Locations (page 1098)

■

Allowing Labels to Obscure Points
(page 1096)

Workflow

GIS Skill

Related topics

NOTE This procedure is for geospatial features only. To label drawing objects, see
Annotating Drawing Objects (page 1100).
To label features
1 In Display Manager (page 2060) right-click the feature layer to label.
2 Click Edit Style.

Adding Labels to Features | 1093

3 In the Style Editor, under Scale Ranges, select the scale range to style.
For more information about scale ranges, see Defining Scale Ranges (page
643).
4 In the geometry styling area for the selected scale range, click the box
under Feature Label.
5 In the Style Label dialog box (page 1634), make sure the Create A Label
check box is selected.
6 For linear features, select Multiline or Advanced Placement. (For all other
feature geometries, these choices are grayed and Multiline is used.)
Multiline specifies that the label can have multiple lines of text, but no
advanced placement functionality.
Advanced Placement specifies a single-line label which follows a path
and shrinks to fit. A single label is used for linear feature segments that
have the same property value.
7 For Property To Display, do one of the following:
■

Select a property.

■

Select Expression (at the bottom of the list) to use an expression to
specify label text.

For more information, see the Using Expressions to Label Features.
8 For Font, select a font from the list.
9 For Size Context, specify the type of units and then select the appropriate
Units:
■

Select Device Space to specify symbol widths and heights in screen
units. Available units are Points, Inches, Millimeters, Centimeters, or
Meters.

■

Select Map Space to specify symbol widths and heights in Mapping
Coordinate System (MCS) units. Available units are Inches, Feet, Yards,
Miles, Millimeters, Centimeters, Meters, and Kilometers.

10 For Size, enter the text size or specify the size using a number expression.
For more information, see the Creating Numeric Expressions.
11 To apply bold, italic, or underlining, click one or more of the Format
options.
12 For Text Color, click a color.

1094 | Chapter 7 Annotating Maps

13 From the Background Style list, select one of the following:
■

Ghosted: Draws an opaque border around each character. Use
Background Color to specify a color for the outline.

■

Opaque: Draws a background behind the labels. They are displayed
as rectangles with text inside. Use Background Color to specify a color
for the rectangles.

■

Transparent: No background is applied to the labels, which are
displayed only as text on the map.

14 Specify the label’s horizontal and vertical position, relative to the feature.
You can select one of the available positions or select a layer property
that contains alignment information for each feature. Your options
depend on the type of geometry you are styling.
Geometry

Alignment Options

Points that display fixed labels instead of
symbols. For more information, see Displaying Fixed Labels at Point Locations (page
1098).

Horizontal and Vertical

Other points

None

Line

Vertical only

Polygon (area)

None

15 For Rotation, do one of the following:
■

Select a value from the list.

■

Click Any Angle. Specify the angle using the slider or enter an angle
in the box. Click OK.

■

Click Expression. Specify the rotation using a numeric expression. See
Creating Numeric Expressions.

16 Click OK in the Style Label dialog box and close the Style Editor to see
the results.

Adding Labels to Features | 1095

Allowing Labels to Obscure Points
By default, AutoCAD Map 3D does not draw a label (page 1091) if doing so would
block a point symbol on another layer. The appearance of the label is evaluated
each time you change the zoom level. When you zoom in far enough to allow
sufficient space for the label, it is displayed.
NOTE This functionality is for geospatial features only. To label drawing objects,
see Annotating Drawing Objects (page 1100).

You can specify that labels for a different layer
obscure points on the current layer.

If you specify that labels cannot
obscure points, AutoCAD Map 3D
moves the labels out of the way.

You can specify that labels on other layers be allowed to obscure points on
the selected layer, regardless of the zoom level.

1096 | Chapter 7 Annotating Maps

Tell me more

Video

■

Show me how to label features.

■

Show me how to label features with
automatic resizing.

■

To allow labels to obscure points on
the selected layer (page 1097)

■

To use expressions in labels

■

Tutorial: Annotating Your Map

■

Exercise 3: Add labels

■

Style and Label a Linear Feature

■

Label features and optimize placement.

■

Displaying Fixed Labels at Point Locations (page 1098)

■

Adding Labels to Features (page 1091)

Procedure

Tutorial

Workflow

GIS Skill

Related topics

NOTE This procedure is for geospatial features only. To label drawing objects, see
Annotating Drawing Objects (page 1100).
To allow labels to obscure points on the selected layer
1 In the Display Manager (page 2060), select the point layer. Click the Style
button.
2 In the Style Editor, click Allow Other Labels To Obscure Feature Symbols
On This Layer.

Allowing Labels to Obscure Points | 1097

Displaying Fixed Labels at Point Locations
If exact placement of labels is important for a point layer, disable the point
layer style and place fixed labels at feature locations.
NOTE Fixed labels are always displayed, even if they obscure other labels or
features. While feature labels are drawn after all layer features have been drawn,
fixed labels are drawn according to the draw order of their layer within a map,
and may be obscured by features from other layers.
NOTE This functionality is for geospatial features only. To label drawing objects,
see Annotating Drawing Objects (page 1100).

Tell me more

Video

■

Show me how to label features.

■

Show me how to label features with
automatic resizing.

■

To place fixed labels at points (page
1099)

■

To use expressions in labels

■

Tutorial: Annotating Your Map

■

Exercise 3: Add labels

■

Style and Label a Linear Feature

■

Label features and optimize placement.

■

Defining Scale Ranges (page 643)

■

Styling Point Features (page 645)

■

Adding Labels to Features (page 1091)

■

Allowing Labels to Obscure Points
(page 1096)

Procedure

Tutorial

Workflow

GIS Skill

Related topics

1098 | Chapter 7 Annotating Maps

NOTE This procedure is for geospatial features only. To label drawing objects, see
Annotating Drawing Objects (page 1100).
To place fixed labels at points
1 In Display Manager, right-click the point layer to label and click Edit
Style.
2 In the Style Editor, under Scale Ranges, select the scale range to style.
For more information about scale ranges, see Defining Scale Ranges (page
643).
3 Select the Labels Are Fixed (Not Dynamic) check box.
4 In the style geometry area for the selected scale range, click the box under
Style.
5 To remove the point symbol, at the top of the Style Point dialog box
(page 1637), clear the Style a Point Symbol check box. Click OK.
6 In the style geometry area for the selected scale range, click the box under
Feature Label.
7 To turn on and style the label, in the Style Label dialog box, select the
Create A Label check box.
8 Specify the label text and style.
For more information about feature labels, see Adding Labels to Features
(page 1091).
9 Use the Horizontal Alignment and Vertical Alignment lists to specify the
position of the label relative to the feature.
You can select one of the available positions or select a layer property
that contains alignment information for each feature. The alignment
values in the property must be specified as follows:
■

Horizontal: Left, Center, or Right.

■

Vertical: Baseline, Bottom, Capline, Halfline, or Top.

10 Click OK and close the Style Editor to see the results.

Displaying Fixed Labels at Point Locations | 1099

Annotating Drawing Objects
Use annotation to label drawing objects with their properties and geometric
values. If you have created object data (page 2070) for the objects, or linked
external data (page 2062) to them, you can display these attributes in annotation
as well.
NOTE This functionality is for drawing objects only. To label geospatial features,
see Adding Labels to Features (page 1091).
See also:
■

Setting Up Annotation Templates (page 185)

■

Theming Drawing Data (page 1176)

NOTE This procedure is for drawing objects only. To label geospatial features, see
Adding Labels to Features (page 1091).
To add and delete annotation
■
■
■
■
■

To use annotation (page 1101)
To insert annotation (page 1103)
To refresh annotation based on a specific template (page 1105)
To update annotation based on a specific template (page 1107)
To delete all annotation based on a selected annotation template (page
1108)

Overview of Annotation
Use annotation to display related values on a drawing object.
NOTE This functionality is for drawing objects only. To label geospatial features,
see Adding Labels to Features (page 1091).
Annotation can include the following:
Type of information

Example

Attributes

Object data or linked data in an external
database

Display properties

Line weight, line type, etc.

1100 | Chapter 7 Annotating Maps

Type of information

Example

Geometric values

Dimensions, line direction, etc.

Graphics

Arrows, static text, or other geometry

You define the contents of annotation in an annotation template (page 2055).
You can specify values, link them to data sources (such as object data tables
or link templates) or define them with expressions. The actual values defined
by expressions are determined when the annotation is inserted.
When you add or remove elements in an annotation template, or change its
properties or expressions, existing annotations based on that template do not
refresh automatically. Use the Refresh (page 1105) or the Update (page 1106)
command to see those changes.
See also:
■

Overview of Annotation Templates (page 186)

■

Setting Up Annotation Templates (page 185)

NOTE This procedure is for drawing objects only. To label geospatial features, see
Adding Labels to Features (page 1091).
To use annotation
■

Define an annotation template (page 190)

■

Attach annotation to objects (page 1103)

■

Refresh annotation (page 1105)

■

Update annotation (page 1106)

■

Delete annotation from drawings (page 1108)

■

Delete annotation templates (page 197)

Quick Reference
MAPANNDELETE
Deletes all annotation based on the selected template

Overview of Annotation | 1101

Menu

Setup menu ➤ More Annotation Options ➤ Delete

Icon
Delete
Command Line

MAPANNDELETE

Dialog Box

Annotation Delete dialog box

MAPANNINSERT
Adds annotation to objects based on the selected annotation template
Menu

Create menu ➤ Insert Annotation

Icon
Insert Annotation
Command Line

MAPANNINSERT

Dialog Box

Insert Annotation dialog box

MAPANNREFRESH
Refreshes existing annotation
Menu

Setup menu ➤ More Annotation Options ➤ Refresh

Icon
Refresh
Command Line

MAPANNREFRESH

Dialog Box

Annotation Refresh dialog box

MAPANNTEMPLATE
Defines and modifies annotation templates
Menu

Click Setup ➤ Define Annotation Template‚Ķ.

Icon
Define Annotation Template
Command Line

MAPANNTEMPLATE

Dialog Box

Define Annotation Template dialog box

MAPANNTEXT

1102 | Chapter 7 Annotating Maps

Creates and edits annotation text
Icon
Edit Annotation Text
Command Line

MAPANNTEXT

Dialog Box

Annotation Text dialog box

MAPANNUPDATE
Updates existing annotation
Menu

Setup menu ➤ More Annotation Options ➤ Update

Icon
Update
Command Line

MAPANNUPDATE

Dialog Box

Annotation Update dialog box

Attaching Annotation to Objects
After you have defined an annotation template (page 2055), use the
MAPANNINSERT command to attach annotation to selected objects in your
drawing.
NOTE This functionality is for drawing objects only. To label geospatial features,
see Adding Labels to Features (page 1091).
See also:
■

Defining Annotation Templates (page 190)

■

Changing Annotation Templates (page 194)

NOTE This procedure is for drawing objects only. To label geospatial features, see
Adding Labels to Features (page 1091).
To insert annotation

1 Click Annotate tab ➤ Map Annotation panel ➤ Insert.

Attaching Annotation to Objects | 1103

2 In the Insert Annotation dialog box (page 1574), select the check box for
the annotation template (page 2055) to use.
To insert annotations based on multiple templates, select the check box
for each template.
3 Optionally, click Advanced to change the default options and properties
for the annotation.
The information from the Advanced section is applied only to the
highlighted template.
NOTE If you subsequently update (page 1107) this annotation template, select
the Retain option to maintain these settings.
4 Click Insert.
5 Select the objects to annotate. Press Enter.

Quick Reference
MAPANNINSERT
Adds annotation to objects based on the selected annotation template
Menu

Create menu ➤ Insert Annotation

Icon
Insert Annotation
Command Line

MAPANNINSERT

Dialog Box

Insert Annotation dialog box

MAPANNTEMPLATE
Defines and modifies annotation templates
Menu

Click Setup ➤ Define Annotation Template‚Ķ.

Icon
Define Annotation Template
Command Line

MAPANNTEMPLATE

Dialog Box

Define Annotation Template dialog box

1104 | Chapter 7 Annotating Maps

Refreshing Annotation
When you change the expressions in an annotation template (page 2055), you
can refresh all existing annotations using that annotation template to apply
those changes. The expressions in existing annotations do not update
automatically.
When you refresh the annotations, you can choose whether to update the
string values only or whether to update all properties of the annotation (for
example, its position and layer location).
NOTE This functionality is for drawing objects only. To label geospatial features,
see Adding Labels to Features (page 1091).
See also:
■

Attaching Annotation to Objects (page 1103)

■

Defining Annotation Templates (page 190)

■

Changing Annotation Templates (page 194)

NOTE This procedure is for drawing objects only. To label geospatial features, see
Adding Labels to Features (page 1091).
To refresh annotation based on a specific template

1 Click Annotate tab ➤ Map Annotation panel ➤ Refresh Annotation.
2 In the Annotation Refresh dialog box (page 1569), select an annotation
template and click OK.
TIP You can select more than one template at a time.
3 On the command line, select Full Annotation or Strings Only.
■

Strings Only — Reevaluates only the expression-based text in the
annotation, but changes nothing else.
For example, if you use the expression .AREA as the value of the
annotation text, the annotation displays the area of the circle. If you
change the diameter of the circle, and refresh the annotation with
the Strings Only option, the text changes to reflect the new area of
the circle.

Refreshing Annotation | 1105

■

Full Annotation — Reevaluates any expression-based text, as well as
other properties of the annotation (for example, the insertion point
and the layer on which the annotation resides).
For example, if you use the expression .CENTER to specify the insertion
point of the text, the annotation is displayed in the center of the
circle. If you resize and move the circle, the Strings Only option
changes the text to reflect the new size, but does not change the
position of the text. The annotation text is longer centered in the
circle. The Full Annotation option updates the text to reflect the new
size and moves the annotation to the center of the relocated, resized
circle.

4 Press Enter.

Quick Reference
MAPANNREFRESH
Refreshes existing annotation
Menu

Setup menu ➤ More Annotation Options ➤ Refresh

Icon
Refresh
Command Line

MAPANNREFRESH

Dialog Box

Annotation Refresh dialog box

Updating Annotation
When you add or remove text in an annotation template (page 2055), you can
update all existing annotations using that annotation template to apply those
changes. The text in existing annotations does not update automatically.
The Update command completely erases and regenerates all annotation based
on a specified annotation template.
When you update the annotations, you can choose whether to retain or discard
any advanceds settings you specified when you inserted the original
annotation.

1106 | Chapter 7 Annotating Maps

NOTE This functionality is for drawing objects only. To label geospatial features,
see Adding Labels to Features (page 1091).
See also:
■

Attaching Annotation to Objects (page 1103)

■

Defining Annotation Templates (page 190)

■

Changing Annotation Templates (page 194)

NOTE This procedure is for drawing objects only. To label geospatial features, see
Adding Labels to Features (page 1091).
To update annotation based on a specific template

1 Click Annotate tab ➤ Map Annotation panel ➤ Update Annotation.
2 In the Annotation Update dialog box (page 1571), select an annotation
template (page 2055), and click OK.
TIP You can select more than one template at a time.
3 On the command line, choose Retain or Discard.
■

Retain — Regenerates all annotation that uses the selected template,
maintaining any advanced settings from the original annotation. Text
you added or removed in the annotation template is changed in the
existing annotations, and any modifications you made to specific
annotations remain.
For example, if you changed the insert point or rotation in the Insert
Annotation dialog box (page 1574) when you created the annotations,
the Retain option regenerates them using those overrides.

■

Discard — Regenerates all annotation that uses the selected template,
using the default values in the template. Text you added or removed
in the annotation template is changed in the existing annotations,
but any overrides are lost.
For example, if you changed the insert point or rotation when you
created the annotations, the Discard option regenerates the annotation
using the annotation template values for these settings, instead of
your overrides.

4 Press Enter.

Updating Annotation | 1107

Quick Reference
MAPANNUPDATE
Updates existing annotation
Menu

Setup menu ➤ More Annotation Options ➤ Update

Icon
Update
Command Line

MAPANNUPDATE

Dialog Box

Annotation Update dialog box

Deleting Annotation from Drawings
You can delete all annotation based on a selected annotation template (page
2055).
NOTE This functionality is for drawing objects only. To label geospatial features,
see Adding Labels to Features (page 1091).
See also:
■

Attaching Annotation to Objects (page 1103)

■

Defining Annotation Templates (page 190)

■

Changing Annotation Templates (page 194)

NOTE This procedure is for drawing objects only. To label geospatial features, see
Adding Labels to Features (page 1091).
To delete all annotation based on a selected annotation template

1 Click Annotate tab ➤ Map Annotation panel ➤ Delete Annotation.
2 In the Annotation Delete dialog box (page 1569), select an annotation
template (page 2055).
TIP You can select more than one template at a time.

1108 | Chapter 7 Annotating Maps

3 Click OK.

Quick Reference
MAPANNDELETE
Deletes all annotation based on the selected template
Menu

Setup menu ➤ More Annotation Options ➤ Delete

Icon
Delete
Command Line

MAPANNDELETE

Dialog Box

Annotation Delete dialog box

Working with Text Layers
Creating Text Layers
Text layers allow you to control the placement and appearance of text very
precisely. The labels that are generated automatically for features on the map
(page 1091) are placed dynamically and shift position as you zoom in and out.
This is useful for maps that are intended for viewing on the web using Autodesk
MapGuide (page 1376). For plotted or printed map sheets, text layers may be
more appropriate.
Each text layer is its own feature class, and is stored in its own SDF file in a
particular coordinate system. A single text layer can contain multiple text
features. For example, you might create features that represent individual lines
in a map title.
Once you add and check in text features, you can use the text again in another
map. You connect to a text layer SDF file as you would to any SDF file.
You can edit existing text features to change their contents or style. Text layer
style settings (which apply to the entire layer) are stored with the layer. Style
overrides (which apply only to a specific text feature) are stored with that
feature in the SDF file.

Working with Text Layers | 1109

NOTE The text layer uses expressions to generate text features from corresponding
entries in the data store (which you can view using the Data Table (page 2059)).
Most users need not modify these expressions, though they offer advanced
capabilities for specific uses.

Tell me more
■

Show me how to create a text layer and
add text.

■

Show me how to edit text on a text layer.

■

Show me how to rotate text.

■

To create a text layer (page 1110)

■

To add text to a text layer (page 1114)

■

To style a text layer (page 1112)

■

Add a text layer and edit text

■

Tutorial: Annotating Your Map

■

Annotating with AutoCAD Text Objects (page 1119)

■

Adding Labels to Features (page 1091)

■

Annotating Drawing Objects (page 1100)

Video

Procedure

GIS Skill

Tutorial

Related topics

To create a text layer
1 In the Display Manager (page 2060), click Data ➤ New Text Layer.
2 In the Choose Spatial Database File dialog box, provide a name and
location for the SDF file that will store the layer information. Click Save.
NOTE If you specify an existing file, the new layer overwrites the existing
layer.

1110 | Chapter 7 Annotating Maps

3 In the Specify Coordinate System dialog box, set the coordinate system
for the layer. Click OK.
The new text layer is added to the Display Manager. The default layer
name is Annotation, but you can select that name and type a new one.

Quick Reference
MAPTEXTLAYERCREATE
Creates an annotation layer for freestanding text features
Command Line

MAPTEXTLAYERCREATE

Task Pane

In the Display Manager, click Data ➤ New Text Layer

Styling a Text Layer
After you have added the text layer, specify the text style. The layer style is
the base style for any text features you add, but you can override the styling
for any feature, or for individual characters within features.

Tell me more
■

Show me how to create a text layer and
add text.

■

Show me how to edit text on a text layer.

■

Show me how to rotate text.

■

To create a text layer (page 1110)

■

To add text to a text layer (page 1114)

■

To style a text layer (page 1112)

■

Add a text layer and edit text.

■

Tutorial: Annotating Your Map

Video

Procedure

GIS Skill

Tutorial

Styling a Text Layer | 1111

■

Annotating with AutoCAD Text Objects (page 1119)

■

Adding Labels to Features (page 1091)

■

Annotating Drawing Objects (page 1100)

Related topics

To style a text layer
1 In the Display Manager (page 2060), select the text layer.

2 Click Style

.

3 In the Style Editor, under Style click

.

4 In the Style Text Layer dialog box (page 1640), for Size Context, specify the
type of units and then select the appropriate Units.
■

Select Device to specify symbol widths and heights in screen units.
Available units are Points, Inches, Millimeters, or Centimeters.

■

Select Map to specify symbol widths and heights in Mapping
Coordinate System (MCS) units. Available units are Inches, Feet, Miles,
Millimeters, Centimeters, Meters, and Kilometers.

5 For Text Type, select one of the following:
■

Plain—Formats text uniformly, using the settings specified in this
dialog box. The text has no formatting information itself.

■

Mtext—Formats text as multiline. The settings you specify in this
dialog box are used by default, but you can override them when you
insert individual text features.

The Edit Expression button lets you specify an expression for this setting
for advanced use cases. We recommend that you do not use expressions
for Text Type.
6 For Text, leave the "LABEL_TEXT" value unchanged.
This is the name of a property in the feature class. It specifies that the
text for each text feature is whatever you specify in the Edit Text Instance
dialog box (page 1627) when you create the text feature. The Delete
Expression button lets you replace this expression for advanced use cases.

1112 | Chapter 7 Annotating Maps

For more information on inserting text features, see Adding Text to a
Text Layer (page 1113).
7 For Font Name, specify the font to use on the text layer.
The Edit Expression button lets you specify an expression for this setting
for advanced use cases.
8 For Font Size, leave the "NullValue(SIZE,number)" expression.
The initial setting for font height is in mapping units and is based on the
existing view. We recommend that you try the suggested height and
adjust the number as needed. If individual instances require a different
height, adjust the value in the SIZE column in the Data Table after you
insert the text instances.
9 Specify other font styling using the drop downs.
If you select MText for Text Type, you can override some of these settings
using controls in the Edit Text Instance dialog box (page 1627) when you
insert the text features.
10 For Horizontal Alignment, Vertical Alignment, and Rotation, leave the
"HORIZONTAL_ALIGNMENT", "VERTICAL_ALIGNMENT", and
"ORIENTATION" expression values unchanged. These are the names of
properties in the feature class.
The Delete Expression buttons let you replace the expressions for these
settings for advanced use cases. If necessary, you can modify these values
in the Data Table after you insert the text features.
11 Click OK and close the Style Editor.

Adding Text to a Text Layer
After you have created the text layer (page 1109) and specified its style settings
(page 1111), you can add specific text instances.

Tell me more
■

Show me how to create a text layer and
add text.

■

Show me how to edit text on a text layer.

■

Show me how to rotate text.

Video

Adding Text to a Text Layer | 1113

Procedure

■

To create a text layer (page 1110)

■

To add text to a text layer (page 1114)

■

To style a text layer (page 1112)

■

Add a text layer and edit text.

■

Tutorial: Annotating Your Map

■

Annotating with AutoCAD Text Objects (page 1119)

■

Adding Labels to Features (page 1091)

■

Annotating Drawing Objects (page 1100)

GIS Skill

Tutorial

Related topics

To add text to a text layer
1 In the Display Manager (page 2060), right-click the text layer. Click Create
➤ Create New Annotation.
2 Click in the map to specify a location for the text feature.
3 In the Edit Text Instance dialog box (page 1627), enter the desired text.
4 To change the appearance of the text, select the characters to change and
specify a different font, style, or size.
Style overrides to apply to this particular text instance only. If you do
not specify overrides, the style you assigned to the layer (page 1112) is
applied.
NOTE You cannot undo style overrides, but you can reset the attributes to
match the base style.
5 Click OK.
6 Deselect the text feature to see the styling changes.
7 When you have finished adding text features, click Check-in Features.

1114 | Chapter 7 Annotating Maps

Quick Reference
MAPTEXTCREATE
Adds text features to an annotation layer
Command Line

MAPTEXTCREATE

Task Pane

In the Display Manager, right-click an annotation
layer, and click Create ➤ Create New Annotation

Dialog Box

Edit Text Instance dialog box

Editing an Instance on a Text Layer
Each text instance is a feature. Check out text features to modify them. Check
in text features when you are finished editing.

Tell me more
■

Show me how to create a text layer and
add text.

■

Show me how to edit text on a text layer.

■

Show me how to rotate text.

■

To create a text layer (page 1110)

■

To add text to a text layer (page 1114)

■

To style a text layer (page 1112)

■

Tutorial: Annotating Your Map

■

Add a text layer and edit text.

■

Annotating with AutoCAD Text Objects (page 1119)

■

Adding Labels to Features (page 1091)

■

Annotating Drawing Objects (page 1100)

Video

Procedure

Tutorial

GIS Skill

Related topics

Editing an Instance on a Text Layer | 1115

To edit a text instance
1 Right-click the text instance and click Edit Text Instance.
2 In the Edit Text Instance dialog box (page 1627), select the text to modify.
3 Change the text or apply different styles to the selected characters.
4 Click OK.

Quick Reference
MAPTEXTEDIT
Allows you to edit text features on an annotation layer
Command Line

MAPTEXTCREATE

Dialog Box

Edit Text Instance dialog box

Adding a Legend
A legend lists the styles in your map.

The legend helps viewers
understand the color-coding
in a map.

The legend includes all visible layers in the Display Manager (both drawing
layers and geospatial feature layers). To show the ranges for a theme, make

1116 | Chapter 7 Annotating Maps

sure that the layer with the theme is expanded so that the ranges are visible.
To ensure that a layer does not appear in the legend, clear its check box before
generating the legend.
The legend is always placed in the model view. To include a legend in a layout
view for plotting or publishing, create a viewport for the legend and place it
at the appropriate location in your layout

Legend Style
The legend is displayed in a table. By default, legends use the Legend table
style. You can modify the Legend table style, or define and apply a different
table style, using the TABLESTYLE command. The Table Style Editor is the
standard AutoCAD dialog box, which links to the Text Style Editor. For more
information, see the AutoCAD Help.

Tell me more
■

Show me how to place a legend in the
map and specify its contents.

■

Show me how to edit the table style for
a legend.

■

To create a legend (page 1118)

■

Lesson 6: Create a Legend

■

Use Themes to Reveal Patterns in Data

■

Create and edit a legend.

■

Overview of the Display Manager
(page 634)

■

Getting Help with AutoCAD (page 58)

Video

Procedure

Tutorial

Workflow

GIS Skill

Related topics

To create and modify the legend, do any of the following operations.
■

To create a legend (page 1118)

Adding a Legend | 1117

■

To change the icon used for thumbnails (page 1118)

■

To edit titles or text in the legend (page 1118)

■

To edit the Legend table style (page 1119)

■

To update the Legend (page 1119)

To create a legend
1 Zoom the drawing to the desired scale threshold.
The default legend size is based on the window size when the legend is
created.
2 In the Display Manager (page 2060), click Groups ➤ Draw Order.
3 Drag the Display Manager layers into the order in which you want them
to appear in the legend.
4 Clear the check box for any layer that should not appear in the legend.
For example, if there are no objects on the Base Layer, clear its check box.
5 In Display Manager, click Tools ➤ Create Legend.
6 Click a spot in the drawing to place the legend.
To change the icon used for thumbnails
1 In the Display Manager (page 2060), right-click a drawing layer. Click
Properties.
NOTE You can change the thumbnail for drawing layers only, not feature
layers.
2 On the Display tab of the Properties palette, next to Thumbnail Preview,
select the style of thumbnail to use.
For example, select the polyline icon to display an icon of a wavy line,
or choose the polygon icon to display hatch or fill.
The thumbnail settings affect both the legend and the Display Manager.
To edit titles or text in the legend
1 To change the titles for layers in the legend, select the layer names in the
Display Manager and enter new ones.

1118 | Chapter 7 Annotating Maps

2 In the Display Manager (page 2060), click Tools ➤ Update Legend.
3 To change text in the legend itself (for example, the legend title),
double-click the cell containing the text to change and enter new text.
NOTE Your changes are discarded if you update the legend again.

To edit the Legend table style
1 At the Command prompt, enter tablestyle.
2 In the Table Style dialog box, do one of the following:
■

Select the Legend style and click Modify.

■

Click New to create a table style and specify a name for the style.

3 In the Modify Table Style dialog box, specify the settings.
To update the Legend
➤

In the Display Manager (page 2060), click Tools ➤ Update Legend.

Quick Reference
Display Manager Legend
Creates a Display Manager legend
Task Pane

In Display Manager, click Tools ➤ Create Legend

Annotating with AutoCAD Text Objects
You can create and modify several types of AutoCAD text objects. You can
control most text style settings by defining text styles. For more information
see Overview of Creating Textand Overview of Text Styles.
For more information about all types of AutoCAD annotation, see Annotate
Drawings.

Annotating with AutoCAD Text Objects | 1119

1120

Analyzing Data

8

Overview of Analyzing Data

This map shows some of the various types of analysis available for raster surfaces and
features.

The analysis tools in AutoCAD Map 3D help turn your raw map data into useful
information that can help you answer questions, support decisions, test
hypotheses, and reveal patterns that may not be immediately obvious.

1121

Tools and methods for analysis vary, depending on whether you are using
drawing data or geospatial feature data.
For Drawing Objects

For Features

Description

View object properties and attributes. (page 1145)
View external data linked to objects. (page 1146)

View feature source and attribute
data. (page 1125)
View native data and data joined
to features from a separate source.
(page 1134)

Drill down to get detailed information about features and
objects you want to focus on.

Find, search, filter and query
drawing data (page 1218)

Find and select features (page 1206)
Use buffers to filter data. (page
1306)

Find the data you need.
Create buffers around features
based on distance and identify
features within that bufffer to
see how areas are affected by
conditions. For example, find
parcels within a certain distance
from planned construction, or
roads close to flood plains.

Track coordinates and measure
geodetic distances. (page 1147)

Track coordinates and measure
geodetic distances. (page 1147)

Take real-world measurements
based on coordinate geometry

Add distances, display continuous
distance, display angles between
points in the map, display coordinate geometry for lines and
arcs, and determine slope and
grade (page 1153).

Use themes to analyze height,
slope, and aspect. (page 1202)

Use inquiry commands to extract geometric information
from drawing objects such as
lines, curves, closed polylines,
and polygons.
For supported raster formats,
analyze surface slope, aspect,
and elevation.

Theme drawing data. (page 1176) Theme geospatial features. (page
1165)

Use themes to highlight data
distribution and patterns.

Analyze topology (page 1318)

For drawing objects, use topology to analyze spatial relationships between drawing objects.
For supported raster formats,
view data in 3D for more realworld analysis, including walkthroughs and recorded anima-

Drape 2D data onto 3D surfaces
(page 1192)
Add contour lines. (page 1189)
Analyze features bgy proximity,
using buffers (page 1306)
Overlay feature sources (page 1309)

1122 | Chapter 8 Analyzing Data

For Drawing Objects

For Features

Description
tions. Use contour lines to help
you analyze terrain.
Compare features that are related spatially using buffer zones
and overlays.

Tell me more
■

Show me how to join attribute data to
features.

■

Show me how to color surfaces based on
elevation.

■

Show me how to view and navigate in
3D.

■

Show me how to theme a parcels layer.

■

Show me how to create a network topology.

■

Show me how to create a buffer zone
around a parcel.

■

To get information about features and
objects (page 1125)

■

To measure and track coordinates
(page 1147)

■

To create themes (page 1163)

■

To analyze raster-based surfaces (page
1186)

■

To find, filter, and query data (page
1206)

■

To analyze drawing topologies (page
1319)

■

Tutorial: Analyzing Data

Video

Procedures

Tutorial

Overview of Analyzing Data | 1123

■

Analyze Data

■

Join attribute data to features.

■

Color a surface by elevation and adjust
hillshading.

■

Change the elevation ranges for a surface.

■

View a site in 3D.

■

Drape vector and raster layers over a
surface.

■

Analyze the slope and aspect of a site.

■

Create a network topology to show how
lines are connected.

■

Select features by location using a buffer.

■

Styling Features (page 639)

Workflow

GIS Skills

Related topics

Getting Information About Features and Objects
Information about features and drawing objects can be stored within the
feature or object source, as well as in an external source, such as a spreadsheet
application.
For geospatial features, attribute data is part of the feature itself. Additionally,
you can join external data to any feature. Using the Data Table, you can view
and edit all the feature source data included in your map.
For drawing objects, you can create object tables within the drawing itself to
store object attribute data. You can also link to external data using link
templates. You view and edit attribute or object class data using the Properties
palette or the Display Manager.
See also:
■

Joining Data to GIS Features (page 507)

■

Storing Attribute Data in the Drawing (Object Data) (page 521)

1124 | Chapter 8 Analyzing Data

■

Overview of Linking Database Records to Objects (page 522)

To get information about features and objects
■
■

To get information about features (page 1125)
To get information about drawing objects (page 1143)

Getting Information about Features
To get information about features
■
■
■
■
■
■
■
■
■
■
■
■

To access the Data Table (page 1127)
To search to select data (page 1131)
To create a calculated property (page 1133)
To view data for a selected layer (page 1135)
To view joined data (page 1135)
To view unfiltered feature class data (page 1135)
To view non-spatial data (page 1136)
To highlight features using the Data Table (page 1137)
To remove highlighting (page 1138)
To highlight rows of data (page 1139)
To zoom to a view (page 1141)
To export from the Data Table (page 1142)

Overview of the Data Table
Use the Data Table to access, view and edit data for multiple feature sources
in a single window. The Data Table displays the data for all the features you
have added to your map.
NOTE The Data Table displays attribute data for geospatial features only. To
display attribute data for drawing objects, see Overview of Drawing Object
Information. (page 1144)
NOTE Before you can access the Data Table, you must connect to the feature
sources you want to view or edit and add the data to the map.
You can isolate layers of data, sort, zoom to and edit data directly while
connected to a “live” feature source, or view, attach and edit attribute data
by linking to a spreadsheet application.

Getting Information about Features | 1125

Some data fields are “constrained” to allow only certain values. When you
enter values for constrained fields, you are prompted to enter only valid values.
For example, the prompt might tell you to enter only values between 1 and
10.
You can join attribute data from a separate data source to a layer in the Data
Table. You can use native and joined data to form the basis of the new,
calculated field. Calculated fields are available only within AutoCAD Map 3D.
They are not saved back to the original data store.
NOTE The Data Table uses your system’s default decimal separator for both display
and exporting to CSV files. You can specify the default decimal separator in your
Regional and Language Options in the Windows Control Panel.

Tell me more
■

Show me how to make the Data Table
transparent.

■

Show me how automatic zoom works.

■

Show me how automatic scroll works.

■

Show me how to create a calculated
field.

■

To access the Data Table (page 1127)

■

To search to select data (page 1131)

■

To view data for a selected layer (page
1135)

■

To highlight features using the Data
Table (page 1137)

■

To create a calculated property (page
1133)

■

To export from the Data Table (page
1142)

■

Lesson 5: Find and Edit Features

■

Lesson 2: Analyze Data With External
Information Using Joins

Video

Procedures

Tutorial

1126 | Chapter 8 Analyzing Data

■

Edit Features in a Geospatial Feature
Source

■

Join Attribute Data to a Geospatial
Feature

■

Zoom to features by selecting rows in
the Data Table (and vice-versa).

■

Calculate fields in the Data Table.

■

Generate a report by exporting records
to a spreadsheet.

■

Theme based on individual values.

■

Editing Features using the Data Table
(page 711)

■

Viewing Data for a Selected Layer, Join,
Unfiltered Feature Class, or Non-Spatial
Data Table (page 1134)

■

Joining Data to GIS Features (page 507)

■

Setting Up Constraints in the Schema
Editor (page 599)

■

Creating Calculated Properties (page
1132)

Workflow

GIS Skills

Related topics

To access the Data Table
1 Connect (page 303) to the geospatial data to view or edit.
2 In the Display Manager (page 2060), select the layer whose data you want
to view.
3 Click

.

Getting Information about Features | 1127

4 The Data Table window displays the properties for the layer you selected.
To do this...
View data for a feature in
your map.

Use this method...
1 Select a layer in Display
Manager.

2 Click

View non-spatial data

Viewing Data for a Selected
Layer, Join, Unfiltered Feature
Class, or Non-Spatial Data
Table (page 1134)

.

1 In the Data Table, click
the Data menu.

2 Select the non-spatial
table to view.

Dock the Data Table

For more information,
see...

1 Right-click the Data
Table title bar and select Allow Docking.

Viewing Data for a Selected
Layer, Join, Unfiltered Feature
Class, or Non-Spatial Data
Table (page 1134)

Data Table Dialog Box (page
1613)

2 Drag the Data Table by
its title bar to the top or
bottom of the application window.

Make the Data Table
transparent.

1 Right-click the title bar
of the Data Table and
choose Transparency.

2 In the Transparency
dialog box, adjust the
transparency level and
click OK.

Minimize the Data Table
automatically when you
click outside it.

Right-click the title bar of the
Data Table and choose AutoHide.

Find data that meets conditions that you specify.

Click Search to Select at the
bottom of the Data Table.

1128 | Chapter 8 Analyzing Data

Using Expressions to Select
Feature Data (page 1130)

To do this...

Use this method...

For more information,
see...

Highlight areas in your
map.

In the Data Table, select the
row or rows of data to highlight.

Viewing Data for a Selected
Layer, Join, Unfiltered Feature
Class, or Non-Spatial Data
Table (page 1134)

Remove highlighting

From the Options list in the
Data Table, select Select
None.

Highlighting Features Using
the Data Table (page 1136)

Zoom to related areas in
your map.

1 In the Data Table, click
Auto-Zoom (unless it is
already on).

Zooming to a View Using the
Data Table (page 1140)

2 Select the rows of data
to view.

Edit information in the
Data Table

1 Select and edit cells in
the Data Table.

Editing Features using the
Data Table (page 711)

2 Check in the feature
when you are finished.

Export information from
the Data Table.

1 Select the rows of data
to export.

Exporting from the Data
Table (page 1473)

2 From the Options list in
the Data Table, select
Export.

3 Specify a name and
location for the exported .csv file.

Quick Reference
MAPDATATABLE
Allows you to view, edit, and filter feature data
Menu

Click Edit ➤ Data Table.

Getting Information about Features | 1129

Icon
Table
Command Line

MAPDATATABLE

Task Pane

In Map Explorer or Display Manager, click the Table
button

Dialog Box

Data Table Dialog Box

Using Expressions to Select Feature Data
You can use the Data Table to find geospatial feature data that meets conditions
that you specify. For example, you can search for all parcels with an area
greater than five acres. When AutoCAD Map 3D completes the search, it
highlights the data rows in the Data Table and the associated features on your
map.
NOTE The Data Table displays attribute data for geospatial features only. To
display attribute data for drawing objects, see Overview of Drawing Object
Information. (page 1144)
NOTE To search multiple layers at one time, use Home tab ➤ Data panel ➤
Search.

Tell me more

Video

■

Show me how automatic zoom works.

■

Show me how automatic scroll works.

■

To search to select data (page 1131)

■

Lesson 5: Find and Edit Features

■

Edit Features in a Geospatial Feature
Source

■

Zoom to features by selecting rows in
the Data Table (and vice-versa).

Procedures

Tutorial

Workflow

GIS Skills

1130 | Chapter 8 Analyzing Data

■

Searching For and Selecting Features
(page 1214)

■

Viewing Data for a Selected Layer, Join,
Unfiltered Feature Class, or Non-Spatial
Data Table (page 1134)

■

Highlighting Features Using the Data
Table (page 1136)

■

Highlighting Data Table Rows Using
the Map (page 1138)

■

Zooming to a View Using the Data
Table (page 1140)

■

Creating Expressions - Reference

Related topics

To search to select data
1 Select the geospatial feature layer in Display Manager that contains the
data to view.
2 To select data based on its location in the map, zoom the drawing window
to the extents of the selected feature class.
3 Click

on the toolstrip to open the Data Table window.

4 Click Search to Select at the bottom of the Data Table.
5 Create the expression for your search:
■

Locate On Map — Selects all features in a location you specify. You
can specify whether to select features completely within the selection
area, within or crossing the selection area, or within a specified
distance of the selection area. See Filtering by Location.
For example, use a location condition to find all manholes in one
section of town, or all parcels that touch a road, or all water pipes
within 100 meters of a road.

■

Property Evaluation — Selects all features that have the property value
you specify. Insert a property, an operator, and a value. See Evaluating
Properties.
For example, to select all pipes with a diameter greater than 10, specify
Diameter > 10.
You can view and insert available values for a property from a list.

Getting Information about Features | 1131

6 To create a complex property evaluation, insert an AND or OR operator,
and then insert another property, operator, and value combination.
Every operator must be preceded by a property. For example, to find
parcels whose last purchase date is after 1990 and before 2005, the
expression must look like this:
Purchase_Date > 1990 AND Purchase_Date < 2005

7 Validate your expression.
8 To reuse your expression in the future, from the Options list in the Data
Table, select Save Expression.
9 When the expression is complete and valid, click OK.
AutoCAD Map 3D highlights both the selected rows in the Data Table
and the associated features on your map.

Quick Reference
MAPDATATABLE
Allows you to view, edit, and filter feature data
Menu

Click Edit ➤ Data Table.

Icon
Table
Command Line

MAPDATATABLE

Task Pane

In Map Explorer or Display Manager, click the Table
button

Dialog Box

Data Table Dialog Box

Creating Calculated Properties
You can calculate a new property for any feature, based on its existing native
properties and any joined data for that feature layer. You can use the resulting
property to filter or select data. For example, you can calculate the area of
parcels and then select parcels whose areas are above a certain area value.
You can store the resulting calculation as a new property in the Data Table.
It will be available whenever you open the map in which you created it, but

1132 | Chapter 8 Analyzing Data

it is not saved back to the original data store. Calculated properties are gray
in the Data Table, because you cannot edit them.
NOTE The Data Table displays attribute data for geospatial features only. To
display attribute data for drawing objects, see Overview of Drawing Object
Information. (page 1144)
There are two special calculations you can perform: finding the area of a
polygon and finding the length of a linear feature (or the perimeter of a
polygon feature).

Tell me more
■

Show me how to create a calculated
field.

■

To create a calculated property (page
1133)

■

Lesson 2: Analyze Data With External
Information Using Joins

■

Calculate fields in the Data Table.

■

Creating a Calculation

■

Creating Expressions - Reference

Video

Procedures

Tutorial

GIS Skills

Related topics

To create a calculated property
1 In the Display Manager, right-click the feature layer for which you want
to create a calculated property. Click Create A Calculation.
NOTE Once you create a calculation, this menu command changes to
Manage Calculations and displays the Manage Layer Data dialog box (page
1607). In that dialog box, you can add, edit, or delete calculations.

Getting Information about Features | 1133

NOTE You can also create a calculated property from within the Data Table
by clicking Options ➤ Create A Calculation. Once you create a calculation,
click Options ➤ Manage Calculations to add, edit, or delete calculations.
2 Create the calculation.

3 Click

on the toolstrip to open the Data Table window.

The column representing the calculated property appears at the far right
side of the Data Table.

Quick Reference
MAPDATATABLE
Allows you to view, edit, and filter feature data
Menu

Click Edit ➤ Data Table.

Icon
Table
Command Line

MAPDATATABLE

Task Pane

In Map Explorer or Display Manager, click the Table
button

Dialog Box

Data Table Dialog Box

Viewing Data for a Selected Layer, Join, Unfiltered Feature Class,
or Non-Spatial Data Table
You can use the Data Table to view data for selected layers, joins, unfiltered
feature classes, or non-spatial data tables.
NOTE The Data Table displays attribute data for geospatial features only. To
display attribute data for drawing objects, see Overview of Drawing Object
Information. (page 1144)

1134 | Chapter 8 Analyzing Data

See also:
■

Zooming to a View Using the Data Table (page 1140).

■

Highlighting Features Using the Data Table (page 1136)

■

Highlighting Data Table Rows Using the Map (page 1138)

■

To view data for a selected layer (page 1135)

■

To view joined data (page 1135)

■

To view unfiltered feature class data (page 1135)

■

To view non-spatial data (page 1136)

To view data for a selected layer
1 Select the layer in Display Manager that contains the geospatial feature
class data to display.
2 Click

on the toolstrip to open the Data Table window.

3 Select the row or rows of data to view in your map.
Specific areas of your map are highlighted based on the data you select.
To view joined data
1 Select the layer in Display Manager that contains the geospatial feature
class data to view.
2 Click

to open the Data Table.

The Data Table displays the data in joined tables in read-only format:
you cannot edit data in joined tables from the primary table. For more
information about joins, see Overview of Joins (page 507)
To view unfiltered feature class data
1 Select the layer in Display Manager that contains the geospatial feature
class data you want to view.
2 Click

to open the Data Table window.

3 From the Data drop-down list, select the Feature Class data source.

Getting Information about Features | 1135

Selecting the Feature Class data source displays all records, including any
that are not associated with feature attributes. The selection and
highlighting options are not available when viewing this table.
To view non-spatial data
1 On the top toolbar, click

to open the Data Table window.

2 In the Data drop-down list, select the non-spatial table you want to view.
The Data drop-down list will display all non-spatial data for a given
connected data source.

Quick Reference
MAPDATATABLE
Allows you to view, edit, and filter feature data
Menu

Click Edit ➤ Data Table.

Icon
Table
Command Line

MAPDATATABLE

Task Pane

In Map Explorer or Display Manager, click the Table
button

Dialog Box

Data Table Dialog Box

Highlighting Features Using the Data Table
You can select specific features in the Data Table and highlight them
automatically in your map. For example, you can select the Data Table rows
that represent parcels on one or two streets to see those parcels highlighted
in the map. If Auto-Zoom is on, the map will also zoom to the extents of the
selected features.
NOTE The Data Table displays attribute data for geospatial features only. To
display attribute data for drawing objects, see Overview of Drawing Object
Information. (page 1144)

1136 | Chapter 8 Analyzing Data

Tell me more

Video

■

Show me how automatic zoom works.

■

Show me how automatic scroll works.

■

To highlight features using the Data
Table (page 1137)

■

Lesson 5: Find and Edit Features

■

Edit Features in a Geospatial Feature
Source

■

Zoom to features by selecting rows in
the Data Table (and vice-versa).

■

Searching For and Selecting Features
(page 1214)

■

Highlighting Data Table Rows Using
the Map (page 1138)

■

Zooming to a View Using the Data
Table (page 1140)

■

Viewing Data for a Selected Layer, Join,
Unfiltered Feature Class, or Non-Spatial
Data Table (page 1134)

Procedures

Tutorial

Workflow

GIS Skills

Related topics

To highlight features using the Data Table
1 In Display Manager, select the layer containing the geospatial feature set
to view.
2 Click

to open the Data Table window.

3 Select a row or rows of data to highlight the corresponding features in
your map.

Getting Information about Features | 1137

To remove highlighting
➤

From the Options list in the Data Table, select Select None.
The highlighting is removed from the Data Table and your map.

Quick Reference
MAPDATATABLE
Allows you to view, edit, and filter feature data
Menu

Click Edit ➤ Data Table.

Icon
Table
Command Line

MAPDATATABLE

Task Pane

In Map Explorer or Display Manager, click the Table
button

Dialog Box

Data Table Dialog Box

Highlighting Data Table Rows Using the Map
You can select features in your map to highlight the corresponding rows of
data in the Data Table.
NOTE The Data Table displays attribute data for geospatial features only. To
display attribute data for drawing objects, see Overview of Drawing Object
Information. (page 1144)

Tell me more

Video

■

Show me how automatic zoom works.

■

Show me how automatic scroll works.

■

To highlight rows of data (page 1139)

■

Lesson 5: Find and Edit Features

Procedures

Tutorial

1138 | Chapter 8 Analyzing Data

■

Edit Features in a Geospatial Feature
Source

■

Zoom to features by selecting rows in
the Data Table (and vice-versa).

■

Searching For and Selecting Features
(page 1214)

■

Highlighting Data Table Rows Using
the Map (page 1138)

■

Highlighting Features Using the Data
Table (page 1136)

■

Zooming to a View Using the Data
Table (page 1140)

■

Viewing Data for a Selected Layer, Join,
Unfiltered Feature Class, or Non-Spatial
Data Table (page 1134)

Workflow

GIS Skills

Related topics

To highlight rows of data
1 In Display Manager, select the layer containing the geospatial feature set
to view.
2 Click

to open the Data Table window.

3 Click Auto-Scroll (if it is not already on) to turn on the automatic scroll
feature in the Data Table.
4 Select any area or feature in your map.
The Data Table scrolls and highlights the corresponding rows of data.

Quick Reference
MAPDATATABLE
Allows you to view, edit, and filter feature data
Menu

Click Edit ➤ Data Table.

Getting Information about Features | 1139

Icon
Table
Command Line

MAPDATATABLE

Task Pane

In Map Explorer or Display Manager, click the Table
button

Dialog Box

Data Table Dialog Box

Zooming to a View Using the Data Table
You can select rows of data in the Data Table to zoom in directly to data in
your map.
NOTE The Data Table displays attribute data for geospatial features only. To
display attribute data for drawing objects, see Overview of Drawing Object
Information. (page 1144)

Tell me more

Video

■

Show me how automatic zoom works.

■

Show me how automatic scroll works.

■

To zoom to a view (page 1141)

■

Lesson 5: Find and Edit Features

■

Edit Features in a Geospatial Feature
Source

■

Zoom to features by selecting rows in
the Data Table (and vice-versa).

■

Searching For and Selecting Features
(page 1214)

■

Highlighting Features Using the Data
Table (page 1136)

Procedures

Tutorial

Workflow

GIS Skills

Related topics

1140 | Chapter 8 Analyzing Data

■

Highlighting Data Table Rows Using
the Map (page 1138)

■

Viewing Data for a Selected Layer, Join,
Unfiltered Feature Class, or Non-Spatial
Data Table (page 1134)

To zoom to a view
1 In Display Manager, select the layer containing the geospatial feature set
to view.
2 Click

to open the Data Table window.

3 In the Data Table, click Auto-Zoom (unless it is already on).
4 Select the rows of data to view. AutoCAD Map 3D automatically zooms
to the corresponding data.

Quick Reference
MAPDATATABLE
Allows you to view, edit, and filter feature data
Menu

Click Edit ➤ Data Table.

Icon
Table
Command Line

MAPDATATABLE

Task Pane

In Map Explorer or Display Manager, click the Table
button

Dialog Box

Data Table Dialog Box

Exporting Data from the Data Table
You can export the data in the Data Table to a .csv (comma-separated text file)
that can be opened in most spreadsheet applications.

Getting Information about Features | 1141

NOTE The Data Table displays attribute data for geospatial features only. To
display attribute data for drawing objects, see Overview of Drawing Object
Information. (page 1144)

Tell me more
■

Show me how to export records for selected features.

■

To export from the Data Table (page
1142)

■

Exercise 5: Export the data to CSV for
use in a report

■

Generate a report by exporting records
to a spreadsheet.

■

Editing Features using the Data Table
(page 711)

■

Overview of the Data Table (page 1125)

■

Exporting and Printing Attribute Data
(page 1472).

Video

Procedure

Tutorial

GIS Skills

Related topics

To export from the Data Table
1 In the Data Table, select the rows of data to export.
2 From the Options list in the Data Table, select Export.
3 Save the .csv file to the specified name and folder.

Quick Reference
MAPDATATABLE
Allows you to view, edit, and filter feature data

1142 | Chapter 8 Analyzing Data

Menu

Click Edit ➤ Data Table.

Icon
Table
Command Line

MAPDATATABLE

Task Pane

In Map Explorer or Display Manager, click the Table
button

Dialog Box

Data Table Dialog Box

Getting Information About Drawing Objects
You can store information about drawing objects in object data tables or in
linked external sources.
NOTE Object data and linked external sources are available for drawing objects
only. For information about storing information for geospatial features, see
Overview of the Data Table (page 1125).
See also:
■

Storing Attribute Data in the Drawing (Object Data) (page 521)

■

Overview of Linking Database Records to Objects (page 522)

To get information about drawing objects
■
■

To view properties and attributes for a drawing object (page 1146)
To view external data linked to drawing objects (page 1147)

Overview of Drawing Object Information
You can associate drawing objects with properties and attributes contained
in your map, as well as data contained in common spreadsheet application
databases. Within your map, you can view and edit this data.
NOTE Object data and linked external sources are available for drawing objects
only. For information about storing information for geospatial features, see
Overview of the Data Table (page 1125).

Getting Information About Drawing Objects | 1143

You can get information about drawing objects in the following ways.
To do this...
View and edit object data

Use this method...
1 Right-click a drawing
object in the map.

2 Click Properties.

View and edit object class
data.

1 Right-click a classified
drawing object in the
map.

For more information,
see...
Displaying and Editing Object Data for a Drawing Object (page 1068)

Editing Object Class Data
(page 991)

2 Click Properties.
3 Click the Object Class
tab.

Edit external data linked
to drawing objects

1 Open a database table

Editing a Database (page 1055)

in the Data View.

2 Click the data to edit.
3 Enter the new value.

Find data in the Data
View.

1 Open a database table
in the Data View.

2 Position the cursor in

Finding Records in a Database Linked to Drawing Objects (page 1221)

the column to search.

3 In the Data View window, click Edit menu
➤ Find.

4 Enter the characters to
find.

5 Click Find Next.

Highlight drawing objects
in your map that are
linked to a database record.

1 Open a linked database
table in the Data View.

2 In the Data View window, select a record.

1144 | Chapter 8 Analyzing Data

Highlighting Drawing Objects Linked to a Database
Record (page 1225)

To do this...

Use this method...

For more information,
see...

3 In the Data View, click
Highlight menu ➤
Highlight Objects.

Remove highlighting

Highlight records linked
to a selected drawing object

At the Command prompt,
enter regen.

1 Open a linked database
table in the Data View.

2 In the Data View, click

Highlighting Drawing Objects Linked to a Database
Record (page 1225)
Highlighting Records Linked
to a Selected Object (page
1228)

Highlight menu ➤
Highlight Records ➤
Select Object. Select the
objects in your drawing.

3 Press Enter.

Print information from the
Data View.

1 In the Data View, specify print options,
header, footer, or filters.

Printing from the Data View
(page 1474)

2 In the Data View, click
File menu ➤ Print.

3 Click OK.

Viewing Properties and Attributes of Drawing Objects
View object data and object class data for drawing objects in the Properties
palette.
NOTE Object data is available for drawing objects only. To view information for
geospatial features, see Overview of the Data Table (page 1125).
See also:
■

Entering and Editing Object Data (page 1061)

Getting Information About Drawing Objects | 1145

■

Editing Object Class Data (page 991)

To view properties and attributes for a drawing object
■

Right-click an object and click Properties.
The Properties palette opens showing all the information contained in the
object data of your drawing layer.
NOTE Object data is available for drawing objects only. To view information
for geospatial features, see Overview of the Data Table (page 1125).

Quick Reference
PROPERTIES
Displays the Properties palette, which allows you to edit the properties of
objects
Menu

Analyze ➤ Properties

Icon
Properties
Command Line

PROPERTIES

Task Pane

Select object. Right-click in drawing area ➤ Properties

Viewing External Data Linked to Drawing Objects
You can view the external data contained in your map by linking to an external
database, usually a common spreadsheet application.
NOTE Linked external data is available for drawing objects only. To link geospatial
features to external data sources, see Overview of Joins (page 507).
See also:
■

Overview of Linking Database Records to Objects (page 522)

■

Viewing External Data Sources for Drawing Object Data (page 1047)

1146 | Chapter 8 Analyzing Data

To view external data linked to drawing objects
1 In Map Explorer (page 2068), expand Link Templates and right-click a link
template.
2 Click View Linked Table.
The Data View window opens.
3 Click the Highlight Linked Objects icon.
4 In your map, select the objects whose data you want to view and press
Enter.
The Data View window reappears. The records that are linked to the
selected objects are highlighted.
5 Use the navigation buttons to move between highlighted records.

Quick Reference
(Data View) Highlight Objects
Highlights objects linked to the selected records
Menu
Icon

In the Data View: Highlight ➤ Highlight Objects
Highlight Objects

Measuring and Tracking Coordinates
To measure and track coordinates
To track coordinates (page 1150)
To add a coordinate tracker to the Track Coordinates pane (page 1150)
The new coordinate tracker displays the code and description of the
coordinate system you selected. (page 1151)
■ To create a feature using the coordinate tracker (page 1151)
■ To measure geodetic distance (page 1153)
■ To measure coordinate geometry (page 1154)
■
■
■

Measuring and Tracking Coordinates | 1147

Overview of Measuring and Tracking
Once you have assigned coordinate systems to your map, you can locate
specific coordinate points and measure the geodetic distance between points.
For example, you can determine the coordinates of a maintainance hole or
the centerline of a new road.
For drawing objects in your map, there are additional coordinate geometry
commands you can use to do the following:
■

Add the distances between multiple points

■

Determine the total distance between a series of points

■

Display angle information for points or intersecting lines

■

Display coordinate geometry for lines and arcs

■

Determine the slope, grade, and horizontal distance between two points

In addition, you can use AutoCAD commands, such as DIST, AREA,
PROPERTIES, and PERIMETER, to obtain information about drawing objects,
which can help you do useful calculations. For more information, refer to the
AutoCAD Help.
See also:
■

Overview of Coordinate Systems (page 143)

■

Assigning a Coordinate System to the Current Drawing (page 147)

■

Theming Surfaces to Analyze Height, Slope, and Aspect (page 1202)

Use the following methods to measure and track coordinates.
For all map objects For drawing objects only Description
Tracking Coordinates
(page 1149)

As you move the cursor around in a
drawing window, display the cursor
location in a specific coordinate system.

Measuring Geodetic
Distance (page 1152)

Measure the geodetic distance (which
takes into account the curvature of
the Earth) between points in your
map.

1148 | Chapter 8 Analyzing Data

For all map objects For drawing objects only Description
Adding Distances (page 1156) Calculate the total of several disjunct
distances between points in your
map.
Displaying Continuous Distance (page 1158)

Add and display the distance between
one point and several other points,
or between a series of points. in a
drawing.

Displaying Angle Information
(page 1160)

Display the acute and obtuse angle
between points or intersecting lines.

Displaying COGO Information for Lines and Arcs (page
1161)

Display coordinate geometry for lines
and arcs, including line and curve
details, area, and coordinates.

Displaying Slope (page 1161) Display the slope, grade, and horizontal distance between two points.

Tracking Coordinates
As you move the cursor around in a drawing window, you can display the
cursor location in the coordinate systems you choose.
For example, if an attached drawing uses one coordinate system and the
current drawing uses another, you can track the source drawing's coordinates
as you move the cursor around in the current drawing. You can track multiple
coordinate systems in the Track Coordinates pane.
The coordinate tracker automatically converts coordinate data from the
coordinate system of the map to any coordinate system you select. If you
move your cursor outside the extents of the converted coordinate system, you
will see null values in the tracker. However, if you are tracking coordinates
using the same coordinate system as your map, the tracker will continue to
display coordinates even beyond the boundaries of the coordinate system.
Because you are tracking coordinates in the same coordinate system as the
map, no conversion in performed, and AutoCAD Map 3D will always return
coordinate values.
You can also use the coordinate tracker to create features using the Digitize
button.

Tracking Coordinates | 1149

Track Coordinates pane

See also:
■

Overview of Coordinate Systems (page 143)

■

Attaching Drawings (page 154)

■

Setting Coordinate Tracker Options (page 232)

To track coordinates
1 Click Analyze tab ➤ Geo Tools panel ➤ Coordinate Track.The Track
Coordinates pane appears.
2 Click the coordinate tracker toolbar.
3 Choose the coordinate system to track in the coordinate tracker
drop-down list. If you know the code of the coordinate system you want,
you can type the code.
4 The Track Coordinates pane displays the code and description of the
coordinate system.
As you move the cursor over the drawing window, the coordinate tracker
updates the cursor's coordinates in the selected coordinate system.
To add a coordinate tracker to the Track Coordinates pane
1 In the coordinate tracker toolbar, click
appears in the Track Coordinates pane.
2 Click the coordinate tracker toolbar.

1150 | Chapter 8 Analyzing Data

. A new coordinate tracker

3 Choose the coordinate system to track in the coordinate tracker
drop-down list. If you know the code of the coordinate system you want,
you can type the code. The new coordinate tracker displays the code and
description of the coordinate system you selected.
4 Repeat steps 1-3 to add more coordinate trackers to the Track Coordinates
pane.
The new coordinate tracker displays the code and description of the coordinate
system you selected.
■

In the coordinate tracker toolbar, click
. The selected coordinate tracker
is removed from the Track Coordinates pane.

To create a feature using the coordinate tracker
1 Start a command, such as LINE or MPOLYGON.
2 Enter the coordinates for the geometric point in the coordinate tracker,
then click

.

3 Continue as appropriate for the feature you are creating.
Tips
■

If the coordinate tracker remains empty as you move the cursor in the
drawing window, either there is no coordinate system assigned to the
current drawing or the cursor is in a region of the window that is not valid
for the specified coordinate system. You cannot track coordinates in layout
space.

■

You can track coordinates using the coordinate system of a specific attached
drawing. In Map Explorer, right-click the attached drawing ➤ Track
Drawing's Coordinates. The Track Coordinates pane opens, preset to the
specified attached drawing's coordinate system. If Track Drawing's
Coordinates is not available, there is no coordinate system assigned to the
attached drawing.

Quick Reference
MAPTRACKCS

Tracking Coordinates | 1151

Tracks the coordinates of the cursor in any coordinate system
Menu

Analyze menu ➤ Track Coordinate Sytem.

Icon
Track Coordinates
Command Line

MAPTRACKCS

Task Pane

In Map Explorer, right-click Current Drawing ➤ Track
Coordinates

Measuring Geodetic Distance
You can measure the geodetic distance between points in your map. Geodetic
distance takes into account the curvature of the Earth. Therefore, the geodetic
distance between any two points is longer than the straight line distance
between the same two points.

Measure geodetic distance between points in your map

See also:
■

Measuring and Tracking Coordinates (page 1147)

■

Overview of Coordinate Systems (page 143)

■

To track coordinates (page 1150)

1152 | Chapter 8 Analyzing Data

To measure geodetic distance

1 Click Analyze tab ➤ Geo Tools panel ➤ Geo Distance.
2 At the MAPDIST (page 1597) prompt, specify the starting point by clicking
in the map or typing the coordinates of the point.
3 At the second prompt, specify the end point by clicking in the map or
typing the coordinates of the point.
The results of the calculation are displayed on the command line. If you
do not see the command line, press Ctrl + 9 to display it.
Notes
■

If the map file does not have an assigned coordinate system (page 147), the
result is a simple straight line distance calculation.

■

You can change the units (page 1150)in which the distance is displayed.

Quick Reference
MAPDIST
Measures the geodetic distance between points
Menu

Analyze menu ➤ Geodetic Distance

Icon
Geodetic Distance
Command Line

MAPDIST

Dialog Box

MAPDIST

Measuring Coordinate Geometry
Use the inquiry commands to extract geometric information from drawing
objects.
NOTE You cannot use these commands for geospatial features.

Measuring Coordinate Geometry | 1153

To measure coordinate geometry
■
■
■
■
■

To add distances (page 1157)
To display the distance between points (page 1159)
To display angle information (page 1160)
To display COGO information for lines and arcs (page 1161)
To display the slope between two points (page 1162)

Overview of Measuring Coordinate Geometry
Use the inquiry commands to extract geometric information from drawing
objects such as lines, curves, closed polylines, and polygons. This can help
you verify the accuracy of your data, or send the data to the field.
NOTE Inquiry commands are specific to drawing objects. They do not work on
geospatial features.
NOTE The COGO inquiry commands use the World Coordinate System (WCS)
and ignore current User Coordinate System (UCS) settings. Therefore, north is
always considered to point along the WCS positive Y axis, and inquiry results are
reported in WCS coordinates.
See also:
■

Measuring and Tracking Coordinates (page 1147)

■

Setting Coordinate Geometry Options (page 233)

■

Overview of Coordinate Systems (page 143)

NOTE You cannot use these commands for geospatial features.
To do this...

Use this method...

Add distances.

Click Analyze tab ➤ Inquiry panel ➤ Add

Distances.
See Adding Distances (page 1156)

1154 | Chapter 8 Analyzing Data

To do this...

Use this method...

Display the distance between points.

Click Analyze tab ➤ Inquiry panel ➤ Con-

tinuous Distance.
See Displaying Continuous Distance (page
1158)
Display angle information.

Click Analyze tab ➤ Inquiry panel ➤ Angle

Information.
See Displaying Angle Information (page
1160)
Display coordinate geometry information
for lines and arcs.

Click Analyze tab ➤ Inquiry panel ➤ Line

& Arc Information.
See Displaying COGO Information for Lines
and Arcs (page 1161)
Display the slope between points.

Click Analyze tab ➤ Inquiry panel ➤ List

Slope.
See Displaying Slope (page 1161)

Quick Reference
MAPCGADIST
Adds the distances between points
Menu

Analyze menu ➤ Inquiry ➤ Add Distances

Icon
Add Distances
Command Line

MAPCGADIST

MAPCGCDIST

Measuring Coordinate Geometry | 1155

Displays the distance between points
Menu

Analyze menu ➤ Inquiry ➤ Continuous Distance

Icon
Continuous Distance
Command Line

MAPCGCDIST

MAPCGANG
Displays the angle between lines or points
Menu

Analyze menu ➤ Inquiry ➤ Angle Information

Icon
Angle Information
Command Line

MAPCGANG

MAPCGLIST
Displays coordinate geometry information for lines and arcs
Menu

Analyze menu ➤ Inquiry ➤ Line and Arc
Information

Icon
Line and Arc Information
Command Line

MAPCGLIST

Adding Distances
You can calculate the total of several disjunct distances by selecting points in
your map, entering distances on the command line, or selecting numeric text,
such as measurements, in your map.
NOTE You can perform this operation only on drawing objects. It is not available
for geospatial features.

1156 | Chapter 8 Analyzing Data

You are prompted to enter a number, specify a distance, or select text. Select
all the distances you want to add. You can select numeric text in your drawing,
click the start and end points of the distance you want to measure, or enter
the number directly on the command line. When you press Enter, AutoCAD
Map 3D displays the total of all the distances.
See also:
■

Measuring and Tracking Coordinates (page 1147)

■

Setting Coordinate Geometry Options (page 233)

■

Overview of Coordinate Systems (page 143)

■

Displaying Continuous Distance (page 1158)

To add distances

1 Click Analyze tab ➤ Inquiry panel ➤ Add Distances.
2 Specify the first distance by doing one of the following:
■

Enter the distance on the command line.

■

Select two locations in the map.

■

Enter s. Select numeric text in the map, such as a measurement.

3 Enter as many additional distances as you want.
4 When you finish selecting distances, press Enter to view the total of the
distances.
The results of the calculation are displayed on the command line. If you
do not see the command line, press Ctrl + 9 to display it.

Measuring Coordinate Geometry | 1157

Quick Reference
MAPCGADIST
Adds the distances between points
Menu

Analyze menu ➤ Inquiry ➤ Add Distances

Icon
Add Distances
Command Line

MAPCGADIST

Displaying Continuous Distance
You can add and display the distance between one point and several other
points, or between a series of points in a drawing.
NOTE You can perform this operation only on drawing objects. It is not available
for geospatial features.

The Base option measures the distance from
the starting point to each of the points you
select, like the spokes of a wheel.

The Continuous option measures the distance from the starting point to the next
point and from that point to the next point,
in a continuous line.

See also:
■

Adding Distances (page 1156)

■

Measuring and Tracking Coordinates (page 1147)

1158 | Chapter 8 Analyzing Data

■

Setting Coordinate Geometry Options (page 233)

■

Overview of Coordinate Systems (page 143)

To display the distance between points

1 Click Analyze tab ➤ Inquiry panel ➤ Continuous Distance.
2 Select Base or Continuous.
■

Base: Always measures the distance from the first point you select to
each of the additional points you select.

■

Continuous: Measures the distance from one point to the next.

3 Select two points to display the distance between the points.
4 Select another point. If you selected Base, AutoCAD Map 3D displays the
distance from first (or base) point to the new point. If you selected
Continuous, AutoCAD Map 3D displays the distance from the last point
to the new point.
5 When you finish selecting points, press Enter to view the total of the
distances.
The results of the calculation are displayed on the command line. If you
do not see the command line, press Ctrl + 9 to display it.

Quick Reference
MAPCGCDIST
Displays the distance between points
Menu

Analyze menu ➤ Inquiry ➤ Continuous Distance

Icon
Continuous Distance
Command Line

MAPCGCDIST

Measuring Coordinate Geometry | 1159

Displaying Angle Information
You can display the acute and obtuse angle between points or intersecting
lines in a drawing.
NOTE You can perform this operation only on drawing objects. It is not available
for geospatial features.
See also:
■

Measuring and Tracking Coordinates (page 1147)

■

Setting Coordinate Geometry Options (page 233)

■

Overview of Coordinate Systems (page 143)

■

Displaying Continuous Distance (page 1158)

To display angle information

1 Click Analyze tab ➤ Inquiry panel ➤ Angle Information.
2 Select two lines, or enter p to specify points.
3 If you entered p, specify a starting point, a vertex, and an ending point.
The results of the calculation are displayed on the command line. If you
do not see the command line, press Ctrl + 9 to display it.

Quick Reference
MAPCGANG
Displays the angle between lines or points
Menu

Analyze menu ➤ Inquiry ➤ Angle Information

Icon
Angle Information
Command Line

1160 | Chapter 8 Analyzing Data

MAPCGANG

Displaying COGO Information for Lines and Arcs
You can display coordinate geometry for lines and arcs. This information
includes line and curve details, area, and coordinates.
NOTE You can perform this operation only on drawing objects. It is not available
for geospatial features.
See also:
■

Setting Coordinate Geometry Options (page 233)

■

Overview of Coordinate Systems (page 143)

To display COGO information for lines and arcs

1 Click Analyze tab ➤ Inquiry panel ➤ Line & Arc Information.
2 Select the line or arc, or enter p to specify the points for a line.
3 If you entered p, specify a starting point and an ending point for the line.
The results of the calculation are displayed on the command line. If you
do not see the command line, press Ctrl + 9 to display it.

Quick Reference
MAPCGLIST
Displays coordinate geometry information for lines and arcs
Menu

Analyze menu ➤ Inquiry ➤ Line and Arc
Information

Icon
Line and Arc Information
Command Line

MAPCGLIST

Displaying Slope
You can display the slope, grade, and horizontal distance between two points.

Measuring Coordinate Geometry | 1161

NOTE You can perform this operation only on drawing objects. It is not available
for geospatial features.
See also:
■

Setting Coordinate Geometry Options (page 233)

■

Overview of Coordinate Systems (page 143)

■

Theming Surfaces to Analyze Height, Slope, and Aspect (page 1202)

To display the slope between two points

1 Click Analyze tab ➤ Inquiry panel ➤ List Slope.
2 Select a line or an arc, or enter p to specify points.
3 If you entered p, specify a starting point and an ending point for the line.
The results of the calculation are displayed on the command line. If you
do not see the command line, press Ctrl + 9 to display it.

Quick Reference
MAPCGSLIST
Displays the slope between points
Menu

Analyze menu ➤ Inquiry ➤ List Slope

Icon
List Slope
Command Line

MAPCGSLIST

Creating Themes
Themes vary the display of your data based on properties or attributes of the
data. For example, instead of styling the lakes so they are all the same shade
of blue, you can create a theme to vary the color based on the depth of the
lake.

1162 | Chapter 8 Analyzing Data

To create themes
■
■

To create a theme for a feature layer (page 1168)
To theme drawing data (page 1176)

Overview of Creating Themes
A theme varies the display of data based on properties or attributes of the data,
for example area, length, pavement type, assessed value, temperature, or land
use.
You can use themes to change colors, line types, symbols, text, or other
properties that can help you present map information and tell a story. Themes
can help make information more visible, illustrate how data is distributed,
make data easier to analyze and interpret, and reveal patterns.
For example, you can use darker colors for areas with more rainfall, a larger
dot to display cities with a larger population, or a wider line to draw roads
with high traffic volume.

A theme showing counties by area

You can theme on specific values or a range of values. For example, an
agricultural theme might show different crops in different colors. Each crop
is a specific value. Temperature, however, can be any number along a
continuum. When you display this type of data, you define ranges for the
values. For example, you could divide temperature values into three ranges:
below 30, 30 - 60, and over 60.

Overview of Creating Themes | 1163

You can add labels to a theme to label features or drawing objects. You can
also add a legend that lists the conditions of the theme and explains the colors,
symbols, line patterns, shadings, and annotation used.

Tell me more

Video

Procedures

■

Show me how to theme a parcels layer.

■

Show me how to manually adjust the
ranges of a theme.

■

Show me how to theme based on individual values.

■

To create themes (page 1163)

■

To create a theme for a feature layer
(page 1168)

■

To create a theme for a drawing layer
(page 1181)

■

Lesson 2: Style Map Features

■

Analyze Data

■

Choose the right type of theme to suit
your data.

■

Manually adjust the ranges of a theme.

■

Theme based on individual values.

■

Styling Features (page 639)

■

Overview of Creating and Editing Data
(page 681)

■

Adding Labels to Features (page 1091)

■

Adding a Legend (page 1116)

■

Defining Scale Ranges (page 643)

Tutorial

Workflow

GIS Skills

Related topics

1164 | Chapter 8 Analyzing Data

The method you use to theme data depends on the type of layer on which
the data is stored.
To theme this type See...
of data...

Description

Feature layers

Theming Features (page
1165)

Display Manager layers from feature
sources such as SDF or Oracle that have
been added using Data Connect.

Drawing layers

Theming Drawing Data
(page 1176)

AutoCAD layers containing drawing objects
from DWG files.

Surface layers

Theming Surfaces to
Analyze Height, Slope,
and Aspect (page 1202)

Raster-based surfaces, such Digital Elevation Models (DEMs), ESRI Grid files, and
Digital Terrain Elevation Data (DTED) that
have been added using Data Connect.

Theming Features
You can use the theming tool to create themes for layers from feature sources
such as SDF, SHP, Oracle Spatial, or ArcSDE. Themes vary the display of features
on the feature layer based on properties or attributes associated with that layer.
For example, a theme for a point layer might display retail store locations with
a different symbol for each type of store. A polygon layer theme might display
each land use classification with a different color or shading.

Theming Features | 1165

A theme showing roads themed by type

NOTE For information about theming drawing objects, see Overview of Theming
Drawing Data (page 1178).

Theme Rules
A theme for a feature layer has a set of scale ranges and a rule that corresponds
to each one. For example, if you are theming by parcel size, the scale ranges
would indicate different parcel sizes. The first range might comprise parcels
between 1000 square feet and 5000 square feet, the second range might
comprise parcels 5001 square feet to 10,000 square feet, and so on. The first
rule would describe how the first range appears on the map. For example, the
smallest parcels might be lightest in color, and the colors might get darker as
the parcel size goes up.
Rules can include a visual style, a legend label, and a feature label.
■

Visual style options vary, depending on the type of geometry on the layer.
Polygon style options include fill and border options; line style options
include line thickness, color, and pattern; point style options include a
symbol, size specifications, and color.

■

Legend labels can provide a description of the condition of a rule. For
example, you can edit the default legend label so it reads “Small parcels,”
instead of “1000...2000.”

1166 | Chapter 8 Analyzing Data

■

Feature labels display the values of a property. For example, you can label
parcels with their address or area values.

As a layer is drawn, each feature is compared to the rules in the order that
they are listed. The first rule for which the feature meets the condition is used
to specify the style and legend label for that feature. A default or empty
condition applies to all features and defines the style for features that do not
meet any of the preceding rules. A well-constructed theme contains only one
default rule and it is last in the list.

Distribution Methods
When you create a range of conditions for a feature theme, you must specify
the distribution method. The following methods are available:
Method

Description

Equal

The difference between the high and low values is the
same for every range. This method is easy to interpret
and is useful for showing continuous data such as rainfall.

Standard Deviation

Features are placed in ranges based on how much their
values vary from the mean. AutoCAD Map 3D calculates
the mean and then adds or subtracts the standard deviation to or from the mean to create the ranges.

Quantile

Each range contains an equal number of features. This
method is useful for showing data in which values are
evenly distributed.

Jenks (Natural Breaks)

Ranges are based on natural groupings of data values.
Features with similar values are grouped. This method
shows the natural groupings in the data.

Individual Values

Features are not grouped. This distribution is useful if
values are not continuous, there is a fixed number of
values, and many features have the same value.

Tell me more

Video

■

Show me how to theme a parcels layer.

■

Show me how to manually adjust the
ranges of a theme.

Theming Features | 1167

■

Show me how to theme based on individual values.

■

To create a theme for a feature layer
(page 1168)

■

Lesson 2: Style Map Features

■

Analyze Data

■

Choose the right type of theme to suit
your data.

■

Manually adjust the ranges of a theme.

■

Theme based on individual values.

■

Styling Features (page 639)

■

Adding Labels to Features (page 1091)

■

Overview of Creating and Editing Data
(page 681)

■

Creating Themes for Drawing Layers
(page 1178)

■

Theming Surfaces to Analyze Height,
Slope, and Aspect (page 1202)

■

Adding a Legend (page 1116)

■

Defining Scale Ranges (page 643)

Procedure

Tutorial

Workflow

GIS Skills

Related topics

NOTE For information about theming drawing objects, see Overview of Theming
Drawing Data (page 1178).
To create a theme for a feature layer
1 In Display Manager (page 2060), select a feature layer. Click the Style icon
in the toolstrip.
For information about creating a new feature layer, see Bringing in GIS
Features (page 303).

1168 | Chapter 8 Analyzing Data

2 In the Style Editor, under Scale Ranges, select the scale range to theme.
For more information about scale ranges, see Defining Scale Ranges (page
643).
3 In the Polygon Style, Point Style, or Line Style area, click New Theme.
4 To analyze features based on values that fall into various numerical ranges,
do the following in the Theme dialog box (page 1645):
■

For Property, select the property on which to base the theme.

■

For properties with numeric values, specify the Minimum Value and
Maximum Value for the range.

■

For properties with numeric values, select a Distribution method. For
more information about distribution methods, see the Concepts tab
of this topic.
The first rule includes the Minimum Value and the last rule includes
the Maximum Value. Styles are interpolated across the range.
You can specify the number of rules to create if Distribution method
is Equal, Quantile, or Jenks (Natural Breaks). Properties containing
strings use an Individual Values distribution that does not allow the
number of rules to be edited. Adjust the number of rules to control
the granularity of the theme.

■

If you are editing an existing theme, you can replace any existing
rules by selecting Replace existing rules.

5 The default Style Range shows the styles that will be used for each rule.
Your options depend on the type of geometry stored on this feature layer.
■

For polygon features, see To set styling options for polygon features
(page 1172).

■

For line features, see To set styling options for line features (page 1174).

■

For point features, see To set styling options for point features (page
1175).

6 To add labels to features in the theme, do the following:
■

Select the Create Feature Labels check box.

■

Next to Label Ramp, click

■

Select Create A Label and specify the criteria for the labels.

Theming Features | 1169

For more information about creating feature labels, see Adding Labels
to Features (page 1091). To use expressions for labels, see Using
Expressions to Label Features.
7 To create legend labels for the theme, do the following:
■

Select the Create Legend Labels check box.

■

For Legend Text, enter the text to appear next to each rule in the
legend.
For example, if you are theming by size, you could change the legend
text to “Square Acreage.”

■

For Label Format, specify how to display the legend label.
If you theme a layer on a property that contained area information
and you used the label text Area:, the label formats might look like
the following examples:

Source Exif Data:
File Type                       : PDF
File Type Extension             : pdf
MIME Type                       : application/pdf
PDF Version                     : 1.4
Linearized                      : No
Title                           : Untitled
Creator                         : Unknown
Author                          : Unknown
Producer                        : XEP 4.4 build 20050610
Trapped                         : False
Create Date                     : 2010:02:17 15:43:04
Modify Date                     : 2010:02:17 15:43:04
Page Count                      : 2180
Page Mode                       : UseOutlines
EXIF Metadata provided by EXIF.tools

Navigation menu