Category Data sharing, Object ProVariantfeat

Function ProVariantfeatItemsVisit


Description
Visits the variant items (dimensions, features, annotations) owned by an inheritance feature or flexible component. The dimension handles will contain the variant feature model pointer, which has limited access. For more details see ProVariantfeatMdlGet().
Synopsis
#include <ProVariantFeat.h>
ProErrorProVariantfeatItemsVisit(
ProFeature* feature
/* (In)
The variant feature.
*/
ProModelitemVisitAction visit_action
/* (In)
The visit action.
*/
ProModelitemFilterAction filter_action
/* (In)
The filter action. Pass NULL to skip the filter.
*/
ProAppData application_data
/* (In)
The application data passed to the filter and visit action. Can be NULL.
*/
)
Returns
PRO_TK_NO_ERRORThe function succeeded.
PRO_TK_BAD_INPUTSOne or arguments was invalid.
PRO_TK_E_NOT_FOUNDNo variant dimensions were found.
OtherReturned by the visit action.

Manual References:

  1. Assembly: Data Sharing Features: Variant Model Items
  2. Assembly: Data Sharing Features: Variant Model Items