Share

AcEditorReactor::partialOpenNotice

C++

void partialOpenNotice(
    AcDbDatabase*
) override;

Description

All loaded ARX applications that add an AcEditorReactor will get a notification just before an attempt to partially open an AcDbDatabase. At that time any of the currently loaded applications can veto the operation. To do this, an application should override the partialOpenNotice() method in its derived class and call disablePartialOpen() on the database pointer passed in, as shown here:

class AppClassDerivedFromAcEditorReactor : public AcEditorReactor
{
    virtual void partialOpenNotice(AcDbDatabase* pDb);
};
void
AppClassDerivedFromAcEditorReactor::partialOpenNotice(AcDbDatabase *pDb)
{
    pDb->disablePartialOpen();
}

Parameters

Parameters Description
pDb Specifies the AcDbDatabase involved in the operation

Links

AcEditorReactor Class

Was this information helpful?