AcMapDMDisplayManagement:: GetEntityIdForFeatureOnLayer Function
This function will search the current Map in the provided database to see if there is a FeautureEntity for a given GWS FeatureId currently in existence.
Acad::ErrorStatus GetEntityIdForFeatureOnLayer( AcDbObjectId& entId, AcDbDatabase* pDb, const TCHAR* layerSourceName, int featureId );
File
DmDisplayManagement.h
Parameters |
Description |
entId |
Output the FeatureEntity id. May be kNull. |
pDb |
The database to search. |
layerSourceName |
The name of the GWS LayerSource in which the featureId resides. |
featureId |
The featureId of the GWS feature instance. This should be a GWS 'cache id'. |
Returns
Returns Acad::eOk if successful, otherwise, returns a different error code.
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].