Category Data sharing, Object ProVariantfeat

Function ProVariantfeatItemCopyGet


Description
Obtains the copy flag for a given item in the inheritance feature or flexible component.
Synopsis
#include <ProVariantFeat.h>
ProErrorProVariantfeatItemCopyGet(
ProFeature* feature
/* (In)
The variant feature
*/
ProModelitem* item
/* (In)
The item.
*/
ProBoolean* copy
/* (Out)
Whether or not to copy the item into the variant feature. If set, this overrides the "copy all" setting for the feature.
*/
)
Returns
PRO_TK_NO_ERRORThe function succeeded.
PRO_TK_BAD_INPUTSOne or more input arguments was invalid.
PRO_TK_BAD_CONTEXTThe item is not varied in the feature.
PRO_TK_E_NOT_FOUNDThe copy flag is not set (so the behavior is governed by the feature's "copy all" flag).

Manual References:

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