Category Creo Parametric fundamentals, Object ProModelcheck

Callback ProModelcheckUpdateFunction


Description
This is the callback that is called to update or repair an item found by a custom check.
Synopsis
#include <ProMdlChk.h>
ProError(*ProModelcheckUpdateFunction)(
ProCharName name
/* (In)
The name of the check. This also corresponds to the ModelCheck configuration option name.
*/
ProMdl mdl
/* (In)
The model being checked during this run.
*/
wchar_t* selected_item
/* (In)
Label of the item that was selected from the table, if applicable. Can be NULL if no item was selected.
*/
ProAppData appdata
/* (In)
Application data that was passed when the custom check was registered.
*/
)
Returns
PRO_TK_NO_ERRORReturn values are not interpreted by Creo Parametric.

Manual References:

  1. Core: Utilities: Creating Custom Checks
  2. Core: Utilities: Creating Custom Checks