Share

acdbGetObjectId

C++

Acad::ErrorStatus acdbGetObjectId(
    AcDbObjectId& objId, 
    const ads_name objName
);

File

dbmain.h

Description

This function fills in objId with the object ID that corresponds to the objNameads_name.

Returns Acad::eOk if successful. If objName is invalid, then Acad::eInvalidAdsName is returned.

Parameters

Parameters Description
objId Output object ID
objName Input ads_name

Was this information helpful?