Category Parameters and relations, Object ProRelation

Function ProRelationEvalWithUnits


Description
Evaluates the supplied right-hand side of a typical expression (lhs = rhs) and returns the value in the form of a parameter value.
Replacement in Object TOOLKIT: wfcWRelationOwner::EvaluateExpression
Synopsis
#include <ProRelSet.h>
ProErrorProRelationEvalWithUnits(
ProRelset* p_relset
/* (In)
The relation set
*/
ProLine rhs_expr
/* (In)
The right-hand side of any relation line in the relation set
*/
ProParamvalue* p_value
/* (Out)
The evaluated result in the form of a parameter value
*/
ProUnititem* units
/* (Out)
The units of the evaluated result
*/
ProBool consider_units
/* (In)
Specifies if units should be considered
*/
)
Returns
PRO_TK_NO_ERRORThe function successfully evaluated the expression.
PRO_TK_BAD_INPUTSOne or more inputs is invalid
PRO_TK_GENERAL_ERRORAn error occurred and the function failed.

Manual References:

  1. Core: Relations: Relations
  2. Core: Relations: Relations
  3. Technical Summary of Changes for Creo 4.0 F000: Relations
  4. Technical Summary of Changes for Creo 4.0 F000: Relations