API Reference > OdDb Classes > OdDbDatabase Class > OdDbDatabase Methods > OdDbDatabase::getMaterialDictionaryId Method
OdDbDatabase::getMaterialDictionaryId Method
Syntax
C++
OdDbObjectId getMaterialDictionaryId(bool createIfNotFound = true) const;
Parameters 
Description 
bool createIfNotFound = true 
[in] Controls the creation of the object if it does not exist. 

Returns the object ID of the Material dictionary of this database object.

Copyright © 2002–2020. Open Design Alliance. All rights reserved.