C++
Acad::ErrorStatus setCmaterial( AcDbObjectId objId );
Description
This function sets the current material and provides a default material for new entities. The specified Id must correspond to a valid AcDbMaterial object.
Returns Acad::eOk if successful.
Parameters
Parameters | Description |
---|---|
objId | Input object id of the AcDbMaterial |