API Reference > Other Classes > OdEditorReactor Class > OdEditorReactor Methods > OdEditorReactor::xrefSubcommandAttachItem Method
OdEditorReactor::xrefSubcommandAttachItem Method
Syntax
C++
virtual void xrefSubcommandAttachItem(int activity, const OdString& xrefPath);
Parameters 
Description 
int activity 
[in] Attach activity.  
const OdString& xrefPath 
[in] Xref path. 

Notification function called during an Xref Attach operation. 

 

This function will called multiple times as an Xrefs are attached. 

activity must be one of the following: 

 

Name 
Value 
Description 
kStart 
The Attach has started. xrefPath is undefined. 
kStartItem 
The Attach of the Xref with the specified path has been started. 
 
 
Notification will be made for the 
 
 
original Xref and any dependent Xrefs. 
kEndItem 
The Attach of the Xref with the specified path has been successfully completed. 
 
 
Notification will be made for the 
 
 
original Xref and any dependent Xrefs. 
kEnd 
The Attach has completed successfully. xrefPath is undefined. 
kAborted 
The Attach has failed to complete for the Xref with the specified filename. 

 

This function can be triggered by any action that results in the resolution of Xrefs. This includes plot, IGES and DXF input, block redefinition, and Xref Reload operations.

  • xrefSubcommandBindItem
  • xrefSubcommandDetachItem
  • xrefSubcommandOverlayItem
  • xrefSubcommandPathItem
  • xrefSubcommandReloadItem
  • xrefSubcommandUnloadItem

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