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

Notification function called during an Xref Detach operation. 

 

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

activity must be one of the following: 

 

Name 
Value 
Description 
kStart 
The Detach has started. blockId is undefined. 
kStartItem 
The Detach of the Xref with the specified blockId has been started. 
 
 
Notification will be made for the 
 
 
original Xref and any dependent Xrefs. 
kEndItem 
The Detach 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 Detach has completed successfully. blockId is undefined. 
kAborted 
The Detach has failed to complete for the Xref with the specified blockId. 

  • xrefSubcommandAttachItem
  • xrefSubcommandBindItem
  • xrefSubcommandOverlayItem
  • xrefSubcommandPathItem
  • xrefSubcommandReloadItem
  • xrefSubcommandUnloadItem

Copyright © 2002–2020. Open Design Alliance. All rights reserved.