Share

AcDbSymbolUtilities::getLayerId

Description

Retrieves the AcDbObjectId for a symbol record given name, the name of the symbol, and pDb, a pointer to the database that contains the layer table. If the function succeeds, it returns the AcDbObjectId in objId and returns Acad::eOk.

This function opens the table and looks for the specified record. If successive calls are necessary, open the table directly instead of incurring the overhead of repeatedly opening and closing the table using this function.

Parameters

Parameters Description
objId Output AcDbObjectId of found symbol record
name Input pointer to symbol name to find
pDb Input pointer to database to access

Was this information helpful?