Category Features, Object ProFeature

Function ProFeatureIsComponentLike


Description
Identifies if the feature is a component-like feature or not. Component-like features include components proper (features of type PRO_FEAT_COMPONENT) and features of other types but with component-like properties. Such features have some kind of association to a solid model and may be interpreted as placed components. For example, physical sensor features are component- like since they represent actual pieces of measuring hardware placed on the model, among other things. Likewise, solid welds are considered component-like.
Synopsis
#include <ProFeature.h>
ProErrorProFeatureIsComponentLike(
ProFeature* p_feat_handle
/* (In)
The feature descriptor. This argument is not allowed to be NULL.
*/
ProBoolean* is_comp_like
/* (Out)
PRO_B_TRUE if the feature is component-like, PRO_B_FALSE otherwise. This argument is not allowed to be NULL.
*/
)
Returns
PRO_TK_NO_ERRORThe function succeeded.
PRO_TK_BAD_INPUTSOne or more input arguments was invalid.

Manual References:

  1. Core: Features: Feature Inquiry