Share

acdbResurrectMeNow

C++

Acad::ErrorStatus acdbResurrectMeNow(
    const AcDbObjectId& id
);

File

dbmain.h

Description

If id represents a proxy object, and the application that defines the class of the object within the proxy is currently loaded, then this function resurrects the proxy by replacing it with the object it contains.

Normally, resurrection occurs automatically during drawing loading or ObjectARX application loading, but this automatic resurrection occurs in database order. Thus, if there are objects with interdependencies, the object that is resurrected first can use this function to force concurrent resurrection of its interdependent objects.

If the object represented by id is successfully resurrected, or if it is not a proxy when this function is called, this function returns Acad::eOk. Otherwise, an appropriate Acad::ErrorStatus value is returned to indicate what went wrong.

Parameters

Parameters Description
id Input object ID of object to be resurrected

Was this information helpful?