Close

Relief for ODA Team in Ukraine

Learn more
ODA Drawings SDK
OdDgEditorReactor::comandeered Method
Syntax
C++
virtual void comandeered(OdDgDatabase* pToDb, OdDgElementId id, OdDgDatabase* 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 element to the host database, the Element ID of the element 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.