Category Drawings and detail, Object ProDrawing

Callback ProDrawingWeldSympathGetAction


Description
This is the notification function called when Creo Parametric is preparing to read a symbol definitions file.

This function is to be supplied by the user by calling ProNotificationSet() with the notify type PRO_DRAWING_WELD_SYMPATH_GET

Synopsis
#include <ProWeld.h>
ProError(*ProDrawingWeldSympathGetAction)(
ProDrawing p_draw
/* (In)
Drawing in which the symbols will be used.
*/
ProMdl p_model
/* (In)
Model on which the symbols will be used.
*/
int feat_id
/* (In)
Feature (of p_model to which the symbols will be applied.
*/
ProPath sym_def_file_path
/* (In)
Symbol definition file path that Creo Parametric found (full path to file on disk).
*/
ProPath ptk_sym_def_path
/* (Out)
Symbol definition file that the application directs Creo Parametric to use (full path to file on disk).
*/
)
Returns
PRO_TK_NO_ERRORUse the file returned in ptk_sym_def_path.
PRO_TK_E_NOT_FOUNDDo not use the file returned in ptk_sym_def_path. (In this case Creo Parametric will proceed as usual.)
See Also
ProNotificationSet

Manual References:

  1. Event-driven Programming: Notifications: Weld Events
  2. Production Applications: Welding: Customizing Weld Drawing Symbols