Share

AcEditorReactor::beginAttach

C++

void beginAttach(
    AcDbDatabase*, 
    const ACHAR*, 
    AcDbDatabase*
) override;

Description

This callback function indicates that the external reference database pointed to by pFrom is to be attached to the database pTo.

pName is the filename of the pFrom database. pName may or may not have a path prepended to it or a DWG extension appended to it depending on how the file was specified by the user within the XREF command.

If the pFrom database is already present as an xref in the pTo database, then this notification is not sent for any subsequent XREF attach operations.

Parameters

Parameters Description
pTo Passed in pointer to target drawing database
pName Passed in name of the external reference being attached
pFrom Passed in pointer to source drawing database that contains the objects being attached

Links

AcEditorReactor Class

Was this information helpful?