Share

setMaterial Method

Overload List

Method Description
AcDbEntity::setMaterial (AcDbObjectId, Adesk::Boolean) This method sets the material reference to the specified material. The specified AcDbObjectId must refer to an AcDbMaterial.Returns Acad::eOk when successful.
AcDbEntity::setMaterial (ACHAR*, Adesk::Boolean) This method sets the material reference to the specified material. The specified name must correspond to an existing AcDbMaterial object.Returns Acad::eOk when successful

Was this information helpful?