Category Features, Object ProFeature

Function ProFeatureDSFDependencystateSet


Description
Sets dependency status of data sharing feature. This status govern how DSF will behave, if referenced items have changed: update itself automatically or give "out of date" notification or do nothing waiting for user to check for updates or disconnect itself from source entirely, including not reporting dependency to PDM.
Synopsis
#include <ProCopyGeom.h>
ProErrorProFeatureDSFDependencystateSet(
ProFeature* feature
/* (In)
The handle to a feature to be checked.
*/
ProDSFDependency dependency
/* (In)
Status to set. See ProDSFDependency in ProDataShareFeat.h
*/
)
Returns
PRO_TK_NO_ERRORThe action has been performed successfully.
PRO_TK_BAD_INPUTSInvalid feature handler.
PRO_TK_INVALID_TYPEThe feature is not of type PRO_FEAT_GEOM_COPY.
PRO_TK_E_FOUNDCopied references in the specified feature have the specified input dependency already set.
PRO_TK_NOT_VALIDRequired license not found.
See Also
ProFeatureDSFDependencystateGet

Manual References:

  1. Assembly: Top-down Design: Feature and CopyGeom Feature Functions
  2. Assembly: Top-down Design: Feature and CopyGeom Feature Functions

Sample Code References:

  1. pt_examples ( TestExtrefInfo.c )
  2. pt_examples ( TestExtrefInfo.c )