Callback ProModelCopyPreAction
Description
This is the notification function called before copying a model.
Users must supply this function by calling ProNotificationSet() with the notify type PRO_MODEL_COPY_PRE.
If the function supplies the model to be copied (r_from) and the model path to be copied to (r_to), the interactive prompting of this information is skipped. If this function returns an error, the copying action will be aborted by Creo Parametric.
Synopsis
#include <ProMdl.h>
(*ProModelCopyPreAction)
(
ProMdl* r_from
/* (Out)
The data of the model to be copied
*/
ProPath r_to
/* (Out)
The model path to which to copy
*/
)
Returns
Successful exit, proceed.
Other
An internal error was encountered, so the copy action will be stopped.
See Also
User Guide References
これは役に立ちましたか?