AcMapClassificationManager::GetClassifiedEntities Method

Land Desktop Development ARX CPP SDK

AcMapClassificationManager:: GetClassifiedEntities Method
 

Lists all the classified entities in the current drawing for a feature class name.

bool GetClassifiedEntities(
    AcDbObjectIdArray& aEntIds, 
    const ACHAR* pszClassName, 
    bool bReturnMachingDerivedClassToo
) const;
Parameters 
Description 
aEntIds 
Output IDs of classified entities.  
pszClassName 
Input name of the feature class.  
bReturnMachingDerivedClassToo 
Input true to also retrieve entities classified with classes derived from pszClassName, or false to ignore derived classes. Derived-class functionality is available only if a feature-definition file is attached to the current drawing. (The feature-definition file stores the class hierarchy; only the class name resides on the entity.)  
Returns

Returns true if at least one entity ID is returned; otherwise, returns false if no entity ID is returned or the process failed.

Remarks

An entity is considered to be classified even if the corresponding feature class definition is not in the attached feature-definition file.

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