C++
void xrefSubcommandPathItem( int, AcDbObjectId, const ACHAR* ) override;
Description
This callback indicates that the XREF subcommand PATH is invoked. The PATH subcommand is interactive, and triggers multiple calls to xrefSubcommandPathItem. The value of activity indicates the reason for the call.
The activity values are as follows:
| kStart | PATH subcommand invoked (blockId and pNewPath hold no meaningful value at this point) |
| kStartItem | Attempt is made to change the path information of the XREF with the objectIdblockId |
| kEndItem | Path information of the XREF with the objectIdblockId was successfully changed to pNewPath |
| kEnd | PATH subcommand completed (blockId and pNewPath hold no meaningful value) |
| kAbort | PATH operation was either terminated, or failed to complete on the specified blockId |
Parameters
| Parameters | Description |
|---|---|
| activity | Passed in activity that the PATH subcommand is carrying out; possible values are kStart, kEnd, kAbort, kStartItem, kEndItem |
| blockId | Passed in object ID of the xref being operated on |
| pNewPath | Passed in new path name for the xref |