API Reference > OdDb Classes > OdDbMaterial Class > OdDbMaterial Methods > OdDbMaterial::setName Method
OdDbMaterial::setName Method
Syntax
C++
virtual OdResult setName(const OdString& name);
Parameters 
Description 
const OdString& name 
[in] Name. 

Returns eOk if successful, or an appropriate error code if not.

Sets the name of this Material object. 

 

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