Share

AcDbDictUtil::getMaterialId

Description

Retrieves the object ID of the AcDbMaterial whose name is name.

Returns Acad::eOk on success. Returns eKeyNotFound if the item does not exist.

Parameters

Parameters Description
id Output object ID of the AcDbMaterial object
name Input name of desired material
pDb Input pointer to the database from which to retrieve the object ID

Was this information helpful?