C++
virtual ACDBCORE2D_PORT Acad::ErrorStatus setOwnerId( AcDbObjectId objId );
Description
Sets the ownerId data member of the object to be objId, thus establishing a "backpointer." This backpointer is used by WBLOCK to be sure all necessary objects are written out.
Returns Acad::eOk if successful.
Note
This function does not establish ownership! It only lets the owned object know who the owner is--it does not let the owner know what it owns.
Parameters
Parameters | Description |
---|---|
objId | Input objectId of the owner of the object |