API Reference > Classes > Database Classes > OdBmMaterialElem Class > OdBmMaterialElem Methods > OdBmMaterialElem::isNameUnique Method
OdBmMaterialElem::isNameUnique Method
Syntax
C++
static bool isNameUnique(OdBmDatabase * pDb, const OdString & name);
Parameters 
Description 
OdBmDatabase * pDb 
[in] Database where material name will be tested for uniqueness.  
const OdString & name 
[in] Material element name for test.  

False if the name is used for a material element or True in other case.

Checks whether the material element name is unique in the database. 

 

Copyright (c) 2002-2021. Open Design Alliance. All rights reserved.