Share

AcDbDatabaseReactor::headerSysVarChanged

C++

virtual void headerSysVarChanged(
    const AcDbDatabase*, 
    const ACHAR*, 
    bool
);

Description

This callback indicates that an attempt was made to change the 'name' system variable. It does not indicate that the actual value was changed. In some cases, it is possible to set a system variable without causing its value to change. For example, if FILLMODE was 0 and someone tried to set it to 0, then you would get a callback for that system variable, even though the call had no actual affect on the value of FILLMODE.

If bSuccess == False, it indicates that an attempt was made to set the system variable to an invalid value.

This method only handles database-resident system variables. See the AcDbDatabase class for the get and set methods for the database-resident system variables. See also the AcEditorReactor::headerSysVarChanged method for non-database-resident system variable notifications.

Parameters

Parameters Description
dwg Pointer to the AcDbDatabase object being affected by the header variable change
name Name of the system variable
bSuccess Boolean indicating success or failure

Links

AcDbDatabaseReactor

Previous Declaration

virtual void headerSysVarChanged(

const AcDbDatabase* dwg,

const ACHAR* name,

Adesk::Boolean bSuccess

);

Was this information helpful?