What's New in 2004

AutoCAD Map 3D SDK

 
What's New in 2004
 
 

Note The product name for SDK releases 2007 and earlier was Autodesk Map 3D ObjectARX.

The following features were new or changed in the 2004 release.

AcDbMPolygon Moved

The AcDbMPolygon class has been moved from the Autodesk Map 3D ObjectARX API to the Autodesk ObjectARX API and is now documented in the Autodesk ObjectARX Reference.

True Color

Most Autodesk Map 3D color situations, including querying and property alteration, now support true-color formatted strings in addition to color indexes.

For example, you can use true colors in situations associated with the following API components.

  • In the AcMap::EAlterationType enumeration, which identifies property alteration types, the kAlterationColor enumerator.
  • In the AcMap::EPropertyType enumeration, which identifies the property type on which a property condition is based, the AcMap::kColor enumerator.
  • In the AcMap::EErrCode enumeration, which specifies a set of return codes, the AcMap::kErrInvalidColor (1806) enumerator and the AcMap::kErrTopInvalidColor (2019) enumerator.
  • The AcMapQueryCondition subclasses, AcMapDataCondition, AcMapLocationCondition, AcMapPropertyCondition, and AcMapSQLCondition, which represent the four types of query condition, with their condition-defining functions for conditions that can involve color.
  • The AcMapPropertyAlteration class, which represents simple property alterations such as color changes. Text and hatch alterations, which add text labels and apply hatch patterns to queried objects, are represented by two AcMapPropertyAlteration subclasses: AcMapTextAlteration and AcMapHatchAlteration. A property alteration definition can contain any of the three.
  • The Get and SetOptionValue functions of the AcMapProject class, with their pcName arguments, ColorForAdd and ColorForRemove, which are listed under Query Options in the Project Options topic.

Property and Data Queries Involving Feature Classes

To let you specify, when querying feature class objects, whether to include subclasses of the target feature class, an optional Flag parameter has been added to the AcMapDataCondition and AcMapPropertyCondition constructors. To let you view or change the Flag setting of a data or property condition, two functions, Flag() and SetFlag(), have been added to the AcMapDataCondition and AcMapPropertyCondition classes.

Microsoft Visual C++ Version 7.0 Required

Autodesk Map 3D ObjectARX requires Microsoft Visual C++ version 7.0. Microsoft Visual C++ .NET 2003, a component of Visual Studio .NET 2003, code-named Everett, is not supported.