API Reference > Classes > Database Classes > OdBmGenSweep Class > OdBmGenSweep Methods > OdBmGenSweep::setMaterialId Method
OdBmGenSweep::setMaterialId Method
Syntax
C++
OdResult setMaterialId(const OdBmObjectId& materialId);
Parameters 
Description 
const OdBmObjectId& materialId 
[in] Input material ID.  

Returns eOk if successful or an appropriate error code in the other case.

Sets material ID for GenSweep.

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