Category Drawings and detail, Object ProDrawing

Callback ProDrawingWeldSymtextGetAction


Description
This is the notification function called when Creo Parametric is preparing to set symbol text values

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

Synopsis
#include <ProWeld.h>
ProError(*ProDrawingWeldSymtextGetAction)(
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
*/
int sym_def_id
/* (In)
Identifer of symbol definition
*/
wchar_t sym_prompt_name[]
/* (In)
Prompt name as defined in symbol definition
*/
int sym_prompt_nm_idx
/* (In)
Identifier of note within symbol definition that has this prompt
*/
ProParamvalue* p_text
/* (In)
Text value currently used by the symbol
*/
ProParamvalue* p_ptk_text
/* (Out)
Text value supplied by the application for the symbol; may be a double, int, or string.
*/
)
Returns
PRO_TK_NO_ERRORUse the text value supplied by the application.
PRO_TK_E_NOT_FOUNDApplication did not supply text value for this symbol. (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