Logo Search packages:      
Sourcecode: qcad version File versions  Download package

void RS_Entity::addGraphicVariable ( const RS_String &  key,
const RS_String &  val,
int  code 
) [inherited]

Sets a variable value for the parent graphic object.

key Variable name (e.g. "$DIMASZ")
val Default value

Definition at line 494 of file rs_entity.cpp.

References RS_Graphic::addVariable(), and RS_Entity::getGraphic().

    RS_Graphic* graphic = getGraphic();
    if (graphic!=NULL) {
        graphic->addVariable(key, val, code);

Generated by  Doxygen 1.6.0   Back to index