Close

Relief for ODA Team in Ukraine

Learn more
ODA BimRv SDK
OdBmMaterialElem::getMaterialIdByName Method
Syntax
C++
static OdBmObjectId getMaterialIdByName(OdBmDatabase * pDb, const OdString& name);

Returns the material ID by name. If the material does not exist, then returns OdBmObjectId::kNull. 

 

Parameters
Description
pDb
[in] Database that will be searched for the material.
name
[in] Input material name.
Copyright © 2002-2022. Open Design Alliance All rights reserved.