Category Manufacturing, Object ProMfgdb

Function ProMfgdbSearchoptAllowedValueAdd


Description
Adds valid value for the optional, non-Creo Parametric-native search parameter. Use multiple calls to this function if the option has multiple valid values.
Synopsis
#include <ProMfgdb.h>
ProErrorProMfgdbSearchoptAllowedValueAdd(
ProMfgdbSearchopt search_option
/* (In)
option, created by user for search UI.
*/
ProLine external_value
/* (In)
value; can be translated. Can be NULL. nternal_value is used if there is no translation.
*/
ProCharLine internal_value
/* (In)
value; never translated.
*/
ProLine help_text
/* (In)
value help text; can be translated. Can be NULL. internal_value is used if there is no translation.
*/
)
Returns
PRO_TK_NO_ERRORThe function successfully added allowed value 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