AcMapClassificationManager::GetClassifiedProperties Method

Land Desktop Development ARX CPP SDK

AcMapClassificationManager:: GetClassifiedProperties Method
 

Lists all the classified properties and their values of an entity.

AcMapObjClass::EErrCode GetClassifiedProperties(
    AcArray<AcMapObjClassProperty*>& aProperties, 
    AcArray<VARIANT>* paValues, 
    const AcDbObjectId& entId, 
    const ACHAR* pszClassName
) 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 caller must free this object.  
entId 
Input ID of the entity to examine.  
pszClassName 
Input name of the feature class. 
Returns

Returns AcMapObjClass::EErrCode eOk if successful. Returns AcMapObjClass::EErrCode eClassNameInvalid if the class name is invalid. Returns AcMapObjClass::EErrCode eClassNameTooLong if the class name is too long. Returns AcMapObjClass::EErrCode eNoSchemaFileAttached if no feature-definition file is attached to the current drawing. Returns AcMapObjClass::EErrCode eEntityNotClassified if the entity is unclassified. Returns AcMapObjClass::EErrCode eClassNotFound if the entity is classified but the class is not in the feature-definition file. Returns AcMapObjClass::EErrCode eFailed if the process failed for some other reason.

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].