AcMapDMLayerElement::EvaluateExpressionValues Method

Land Desktop Development ARX CPP SDK

AcMapDMLayerElement:: EvaluateExpressionValues Method
 

Evaluates two expressions against the objects that meet the acquisition criteria.

virtual Acad::ErrorStatus EvaluateExpressionValues(
    AcArray<AcMapValue*>& arValues1, 
    AcArray<AcMapValue*>& arValues2, 
    const ACHAR* kpszExpression1, 
    AcMap::EDataType kDataType1, 
    const ACHAR* kpszExpression2, 
    AcMap::EDataType kDataType2
);
Parameters 
Description 
arValues1 
Output array of evaluated values.  
arValues2 
Output array of evaluated values.  
kpszExpression1 
Input expression to evaluate.  
kDataType1 
Input return data type expected.  
kpszExpression2 
Input expression to evaluate.  
kDataType2 
Input return data type expected.  
Returns

Returns Acad::eOk if successful; otherwise, returns a different error code.

Remarks

In the case of query elements, objects are not cloned and the expressions are evaluated against the original objects. If the expressions are not applicable to an entity (the .AREA for a line, for example), the result for this entity has type AcMap::kUnknownType.

Created with a commercial version of Doc-O-Matic. In order to make this message disappear you need to register this software. If you have problems registering this software please contact us at [email protected].