Category Manufacturing, Object ProMfgdb

Function ProMfgdbSearchoptApplicDataAdd


Description
Adds applicability data to the optional, non-Creo Parametric-native search parameter. This data sets the category and object type for which the search option is valid. Use multiple calls to this function if the option is valid for multiple categories or object types.
Synopsis
#include <ProMfgdb.h>
ProErrorProMfgdbSearchoptApplicDataAdd(
ProMfgdbSearchopt search_option
/* (In)
user-specified option for search UI.
*/
ProMfgdbObjCategory category
/* (In)
applicable object category.
*/
ProMfgdbObjType object_type
/* (In)
applicable object type.
*/
)
Returns
PRO_TK_NO_ERRORThe function successfully added applicability data to the option.
PRO_TK_BAD_INPUTSOne or more of the input arguments are invalid.

Manual References:

  1. Production Applications: Customized Tool Database: Setting up the Database and Custom Search Parameters
  2. Production Applications: Customized Tool Database: Setting up the Database and Custom Search Parameters