Close

Relief for ODA Team in Ukraine

Learn more
ODA Drawings SDK
OdEditorReactor::comandeered Method
Syntax
C++
virtual void comandeered(OdDbDatabase* pToDb, OdDbObjectId id, OdDbDatabase* pFromDb);

Notification function called whenever an object in an Xref database has been comandeered. 

 

Parameters
Description
pToDb
[in] Host database.
pFromDb
[in] Xref database.
objectId
[in] Object ID of the comandeered object.

Rather than copy an Xref dependent object to the host database, the Object ID of the object is merely appended to the host database symbol table with the name of the Xref prepended to it. 

Thus, the block BAR in the xrefed database FOO, becomes FOO|BAR in the host database.

Copyright © 2002-2022. Open Design Alliance All rights reserved.