AcMapDMDisplayManagement::GetVectorElementIdForFeatureLayer Function

Land Desktop Development ARX CPP SDK

AcMapDMDisplayManagement:: GetVectorElementIdForFeatureLayer Function
 

This function will search the current Map in the provided database to see if there is a VectorElement for the given Layer name.

Acad::ErrorStatus GetVectorElementIdForFeatureLayer(
    AcDbObjectId& elementId, 
    AcDbDatabase* pDb, 
    const TCHAR* layerSourceName
);
File

DmDisplayManagement.h

Parameters 
Description 
pDb 
The database to search.  
layerSourceName 
The name of the GWS LayerSource in which the featureId resides.  
entId 
Output the VectorElement id. May be kNull.  
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].