Close
Relief for ODA Team in Ukraine
Learn more
ODA BimRv SDK
API Reference
>
Classes
>
Database Classes
>
OdBmMaterialElem Class
>
OdBmMaterialElem Methods
>
OdBmMaterialElem::getMaterialIdByName Method
OdBmMaterialElem::getMaterialIdByName Method
Syntax
C++
static
OdBmObjectId
getMaterialIdByName
(
OdBmDatabase
*
pDb
,
const
OdString&
name
);
Description
Returns the material ID by name. If the material does not exist, then returns OdBmObjectId::kNull.
Parameters
Parameters
Description
pDb
[in] Database that will be searched for the material.
name
[in] Input material name.
Links
OdBmMaterialElem Class
Was this documentation helpful?
We are sorry. Please tell us what we can improve.
*
Great! Please provide additional feedback.
(Optional)
Thank you for your feedback!
Please wait...
Something went wrong!