AcMapClassificationManager::GetProperties Method

Land Desktop Development ARX CPP SDK

AcMapClassificationManager:: GetProperties Method
 

Lists all the properties and their values of an entity.

AcMapObjClass::EErrCode GetProperties(
    AcArray<AcMapObjClassProperty*>& aProperties, 
    AcArray<VARIANT>* paValues, 
    const AcDbEntity * pEntity
) const;
Parameters 
Description 
aProperties 
Output array of AcMapObjClassPropertyproperties. The caller must free this object.  
paValues 
Output array of property values, or NULL if not needed by the caller. The array index of each property value matches the index of each corresponding property in aProperties. The name, category, and type properties echo the entity's current state. The default value is set to the property's current value. The read-only property is set to false. The visibility property is set to true. The range property is not set. The caller must free this object.  
pEntity 
Input entity to examine.  
Returns

Returns AcMapObjClass::EErrCode eOk if successful. Returns AcMapObjClass::EErrCode eFailed if the process failed for some other reason.

Remarks

Use this function to find all properties of a specific entity and decide which one to classify in the corresponding feature class definition. If you are not using the properties to update a feature class definition, this function can run without classification requirements (such as a feature-definition file or class name).

Created with a commercial version of Doc-O-Matic. In order to make this message disappear you need to register this software. If you have problems registering this software please contact us at [email protected].