Share

acedPendingFiberlessDocSwitch Function

C++

ACAD_PORT bool acedPendingFiberlessDocSwitch(
    AcApDocument** pNextActiveDocument = NULL
);

File

acedCmdNF.h

Description

Returns true if: $FIBERWORLD is 0 and a cancel is in progress and a document switch has been requested but hasn't occurred yet, else false is returned.

If a cancel happens at an input prompt and you want your command to continue in the new document, use something like AcApDocumentManager::sendStringToExecute to the new document to perpetuate control.

Parameters

Parameters Description
pNextActiveDocument Optional parameter to receive the next active document if the function returns true. Pass in NULL if the value is not needed.

Was this information helpful?