API 설명서 > Assembly > Object ProAsmcomp > Callback ProAsmcompActivatePreAction
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>
(*ProAsmcompActivatePreAction)
(
ProAsmcomppath* active_path
/* (In)
The path to the new active model.
*/
ProSolid active_model
/* (In)
The newly activated model.
*/
)
Returns
Continue activation.
Other
Error happend. Abort the activation.
User Guide References
도움이 되셨나요?