Share

AcEditorReactor::xrefSubcommandReloadItem

C++

void xrefSubcommandReloadItem(
    AcDbDatabase*, 
    int, 
    AcDbObjectId
) override;

Description

This callback indicates that XREF subcommand RELOAD is being invoked, or that a pre-existing XREF is being RELOADED. The RELOAD subcommand is interactive, and will trigger multiple calls to xrefSubcommandReloadItem. The value of activity indicates the reason for the call.

The activity values are as follows:

kStart RELOAD subcommand has been invoked (blockId holds no meaningful value at this point)
kStartItem XREF with the object ID blockId is to be reloaded. This occurs for the initial XREF and any dependents it has
kEndItem XREF with the objectIdblockId was successfully reloaded. This occurs for the initial XREF and any dependents it has
kEnd RELOAD subcommand has completed
kAbort RELOAD operation was either terminated or failed to complete on the specified blockId

Parameters

Parameters Description
pHost Pointer to the host database
activity Passed in activity that the RELOAD is carrying out; possible values are kStart, kAbort, kStartItem, kEndItem, or kEnd
blockId Passed in object ID of the XREF which is being RELOADED

Links

AcEditorReactor Class

Was this information helpful?