API Reference > Other Classes > OdDgEditorReactor Class > OdDgEditorReactor Methods > OdDgEditorReactor::xrefSubcommandUnloadItem Method
OdDgEditorReactor::xrefSubcommandUnloadItem Method
Syntax
C++
virtual void xrefSubcommandUnloadItem(int activity, OdDgElementId blockId);
Parameters 
Description 
int activity 
[in] Reload activity.  
OdDgElementId blockId 
[in] Element ID of the Xref. 

Notification function called during an Xref Unload operation. 

 

This function will be called multiple times as an Xrefs are unloaded. 

activity must be one of the following: 

 

Name 
Value 
Description 
kStart 
The Unload has started. blockId is undefined. 
kStartItem 
The Unload of the Xref with the specified blockId has been started. 
 
 
Notification will be made for the 
 
 
original Xref and any dependent Xrefs. 
kEndItem 
The Unload of the Xref with the specified blockId has been successfully completed. 
 
 
Notification will be made for the 
 
 
original Xref and any dependent Xrefs. 
kEnd 
The Unload has completed successfully. blockId is undefined. 
kAborted 
The Unload has failed to complete for the Xref with the specified blockId. 
Copyright © 2002–2020. Open Design Alliance. All rights reserved.