Description
The following are some dictionary utility functions similar to those defined for symbol tables in dbsymutl.h.
Notes
These utils have the same usage guidelines as the symbol table versions. That is, these functions are very handy for quick one-time access to the name or ID of a dictionary entry. On the other hand; if you need to make multiple accesses to a given dictionary, then avoid the overhead of these functions and open the dictionary directly.
Functions
Function | Description |
---|---|
![]() | Gets the ID of an item.Returns Acad::eOk if successful. |
AcDbDictUtil::getColorName | Retrieves the name of an AcDbColor object specified by itemId. Returns Acad::eOk on success. |
AcDbDictUtil::getGroupId | Retrieves the object ID of the AcDbGroup whose name is name. Returns Acad::eOk on success. Returns eKeyNotFound if the... more |
AcDbDictUtil::getGroupName | Retrieves the name of an AcDbGroup object specified by itemId. Returns Acad::eOk on success. |
AcDbDictUtil::getLayoutId | Retrieves the object ID of the AcDbLayout whose name is name. Returns Acad::eOk on success. Returns eKeyNotFound if the... more |
AcDbDictUtil::getLayoutName | Retrieves the name of an AcDbLayout object specified by itemId. Returns Acad::eOk on success. |
AcDbDictUtil::getMaterialId | Retrieves the object ID of the AcDbMaterial whose name is name. Returns Acad::eOk on success. Returns eKeyNotFound if the... more |
AcDbDictUtil::getMaterialName | Retrieves the name of an AcDbMaterial object specified by itemId. Returns Acad::eOk on success. |
AcDbDictUtil::getMLStyleId | Retrieves the object ID of the AcDbMlineStyle whose name is name. Returns Acad::eOk on success. Returns eKeyNotFound if the... more |
AcDbDictUtil::getMLStyleName | Retrieves the name of an AcDbMlineStyle object specified by itemId. Returns Acad::eOk on success. |
AcDbDictUtil::getPlotSettingsId | Retrieves the object ID of the AcDbPlotSettings whose name is name. Returns Acad::eOk on success. Returns eKeyNotFound if the... more |
AcDbDictUtil::getPlotSettingsName | Retrieves the name of an AcDbPlotSettings object specified by itemId. Returns Acad::eOk on success. |
AcDbDictUtil::getPlotStyleNameId | Retrieves the object ID of the AcDbPlaceHolder whose name is name. Returns Acad::eOk on success. Returns eKeyNotFound if the... more |
AcDbDictUtil::getPlotStyleNameName | Retrieves the name of an AcDbPlaceHolder object specified by itemId. Returns Acad::eOk on success. |
AcDbDictUtil::getTableStyleId | Retrieves the object ID of the AcDbTableStyle whose name is name. Returns Acad::eOk on success. Returns eKeyNotFound if the... more |
AcDbDictUtil::getTableStyleName | Retrieves the name of an AcDbTableStyle object specified by itemId. Returns Acad::eOk on success. |
AcDbDictUtil::getVisualStyleId | Retrieves the object ID of the AcDbVisualStyle whose name is name. Returns Acad::eOk on success. Returns eKeyNotFound if the... more |
AcDbDictUtil::getVisualStyleName | Retrieves the name of an AcDbVisualStyle object specified by itemId. Returns Acad::eOk on success. |
AcDbDictUtil::hasColor | Returns true if an AcDbColor object with the specified name exists in the provided database. |
AcDbDictUtil::hasGroup | Returns true if an AcDbGroup object with the specified name exists in the provided database. |
AcDbDictUtil::hasLayout | Returns true if an AcDbLayout object with the specified name exists in the provided database. |
AcDbDictUtil::hasMaterial | Returns true if an AcDbMaterial object with the specified name exists in the provided database. |
AcDbDictUtil::hasMLStyle | Returns true if an AcDbMlineStyle object with the specified name exists in the provided database. |
AcDbDictUtil::hasPlotSettings | Returns true if an AcDbPlotSettings object with the specified name exists in the provided database. |
AcDbDictUtil::hasPlotStyleName | Returns true if an AcDbPlaceHolder object with the specified name exists in the provided database. |
AcDbDictUtil::hasTableStyle | Returns true if an AcDbTableStyle object with the specified name exists in the provided database. |
AcDbDictUtil::hasVisualStyle | Returns true if an AcDbVisualStyle object with the specified name exists in the provided database. |
dictionaryNameAt |