Category Features, Object ProFeature

Callback ProFeatureReplacePreAction


Description
This is the notification function called before a feature is replaced in Creo Parametric.

This function is to be supplied by the user by calling ProNotificationSet() with the type PRO_FEATURE_REPLACE_PRE.

Synopsis
#include <ProFeature.h>
ProError(*ProFeatureReplacePreAction)(
ProFeature* p_feat
/* (In)
Feature which is going to be replaced.
*/
)
Returns
PRO_TK_NO_ERRORThe feature can be replaced. Proceed.
OtherAn error was encountered. The replace action is aborted for all features.

Manual References:

  1. Event-driven Programming: Notifications: Model and Feature Modification Events