Professional Documents
Culture Documents
Introduction
The AutoCAD Map 3D 2009 Geospatial Platform API is used for managing
geospatial data in a map. It shares many classes and methods with Autodesk
MapGuide Enterprise and MapGuide Open Source, so applications written for
one product can work in another with minimal modification.
The Geospatial Platform API is not the same as the AutoCAD Map 3D ObjectARX
.NET API. For details about this API see the ObjectARX .NET Developers Guide
and the ObjectARX .NET API Reference.
Relationship to MapGuide
Many parts of the Geospatial Platform API are shared between AutoCAD Map
3D and MapGuide Web Server Extensions. There are differences in the products,
though, that affect how the API is used.
The MapGuide API is designed to be used in a web server environment, and is
available in PHP, Java, and .NET. AutoCAD Map 3D is designed to be used in a
desktop environment and exposes only a .NET API.
AutoCAD Map 3D stores some resource information directly in the DWG file,
while MapGuide uses an external repository. This is explained in more detail
in Resources on page 5. The MapGuide repository is structured like a file system,
with a hierarchy of folders. To ensure as much consistency between the products
as possible, AutoCAD Map 3D uses a similar structure for its internal repository.
Some methods in the Geospatial Platform API are not valid in AutoCAD Map
3D, and will throw an exception if called. Generally these will be methods that
EditMode
HighlightMode
AutoCAD Map 3D also includes event handling, which is not a part of the
Geospatial Platform API. For more details see the Geospatial Platform
Supplement Reference.
2 | Chapter 1 Overview