Share

AcRxOverrule Class

Class Hierarchy

AcRxObject
    AcRxOverruleBase
        AcRxOverrule
            AcDbDimensionStyleOverrule
            AcDbGeometryOverrule
            AcDbGripOverrule
            AcDbHighlightOverrule
            AcDbHighlightStateOverrule
            AcDbObjectOverrule
            AcDbOsnapOverrule
            AcDbPropertiesOverrule
            AcDbSubentityOverrule
            AcDbTransformOverrule
            AcDbVisibilityOverrule
            AcGiDrawableOverrule

C++

class AcRxOverrule : public AcRxOverruleBase;

File

rxoverrule.h

Description

AcRxOverrule is an abstract base class for implementing overrules. Overrule providers register and unregister their overrules through addOverrule and removeOverrule. Overrules can be globally activated or deactivated by setIsOverruling. It can also be queried by isOverruleing.

Overrules are internally managed by pairs of "targetClass" and "overrule". The targetClass is the class that the overrule applies to. Each class can have multiple overrules registered, and their order is implied by the order they are registered.

Each derived overrule class should implement some or all of the default behavior, which delegates to the targeted class.

Links

AcRxOverrule Methods

Was this information helpful?