Category Parameters and relations, Object ProRelation

Function ProRelationEvalWithUnitsRefResolve


Description
Evaluates the supplied right-hand side of typical expressions with symbols (lhs = rhs) and returns the value in the form of a parameter value
Synopsis
#include <ProRelSet.h>
ProErrorProRelationEvalWithUnitsRefResolve(
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 11.0.0.0: Functions superseded from Creo 1.0 to Creo 11.0

Sample Code References:

  1. pt_udf_examples ( PTUDFExParamVerify.c )