API Reference > Other Classes > OdDgEditorReactor Class > OdDgEditorReactor Methods > OdDgEditorReactor::comandeered Method
OdDgEditorReactor::comandeered Method
Syntax
C++
virtual void comandeered(OdDgDatabase* pToDb, OdDgElementId id, OdDgDatabase* pFromDb);
Parameters 
Description 
OdDgDatabase* pToDb 
[in] Host database.  
OdDgDatabase* pFromDb 
[in] Xref database.  
objectId 
[in] Object ID of the comandeered object. 

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

 

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–2021. Open Design Alliance. All rights reserved.