Close

Relief for ODA Team in Ukraine

Learn more
ODA Drawings SDK
OdDgEditorReactor::xrefSubcommandAttachItem Method
Syntax
C++
virtual void xrefSubcommandAttachItem(int activity, const OdString& xrefPath);

Notification function called during an Xref Attach operation. 

 

Parameters
Description
activity
[in] Attach activity.
xrefPath
[in] Xref path.

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

activity must be one of the following: 

 

Name
Value
Description
kStart
0
The Attach has started. xrefPath is undefined.
kStartItem
2
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
3
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
4
The Attach has completed successfully. xrefPath is undefined.
kAborted
6
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.

  • xrefSubcommandBindItem
  • xrefSubcommandDetachItem
  • xrefSubcommandOverlayItem
  • xrefSubcommandPathItem
  • xrefSubcommandReloadItem
  • xrefSubcommandUnloadItem
Copyright © 2002-2022. Open Design Alliance All rights reserved.