Category Assembly, Object ProRule

Function ProRuleEval


Description
Returns a list of components that satisfy the specified rule.
Replacement in Object TOOLKIT: wfcWAssembly::ListComponentsByAssemblyRule
Synopsis
#include <ProRule.h>
ProErrorProRuleEval(
ProSolid p_solid
/* (In)
The solid to evaluate.
*/
ProRule* p_rule
/* (In)
The rule data to evaluate.
*/
ProAsmcomppath** p_comp_list
/* (Out)
The list of components that satisfy the rule. Use ProArrayFree() to free the allocated memory.
*/
int* p_list_size
/* (Out)
The size of the returned list of components. May be NULL.
*/
)
Returns
PRO_TK_NO_ERRORThe function successfully completed the rule evaluation.
PRO_TK_BAD_INPUTSOne or more of the input arguments are invalid.
See Also
ProArrayFree

Manual References:

  1. Assembly: Simplified Representations: Gathering Components by Rule

Sample Code References:

  1. pt_examples ( TestRule.c )