Share

AcDbAssocVariable Class

Class Hierarchy

AcRxObject
    AcGiDrawable
        AcDbObject
            AcDbAssocAction
                AcDbAssocVariable

C++

class AcDbAssocVariable : public AcDbAssocAction;

File

AcDbAssocVariable.h

Description

The variable keeps a scalar value such as a double, int, or a string. The value can be either a constant or be defined by an expression. The expression can reference other symbols. The AcDbAssocVariable then has AcDbAssocValueDependencies on these referenced symbols. Conversely, there may be AcDbAssocValueDependencies on this variable to obtain the value of the variable.

The evaluate() method of the variable evaluates the expression using the current values of the referenced symbols and sets the evaluated value.

Links

AcDbAssocVariable Methods

Was this information helpful?