Category Notifications, Category Assembly, Object ProAsmcomp

Callback ProAsmcompActivatePreAction


Description
This is the notification function that is called when the user chooses to activate a model from the model tree using "Activate", befor any actions are taken. This function is to be supplied by the user by calling ProNotificationSet() with the notify type PRO_ASMCOMP_ACTIVATION_PRE.
Synopsis
#include <ProAsmcomppath.h>
ProError(*ProAsmcompActivatePreAction)(
ProAsmcomppath* active_path
/* (In)
The path to the new active model.
*/
ProSolid active_model
/* (In)
The newly activated model.
*/
)
Returns
PRO_TK_NO_ERRORContinue activation.
OtherError happend. Abort the activation.

Manual References:

  1. Event-driven Programming: Notifications: Context Change Events