Category Manufacturing, Object ProMfgdb

Function ProMfgdbSearchoptCreate


Description
Allocates and initializes a structure for the user's optional, non-Creo Parametric-native search parameters.
Synopsis
#include <ProMfgdb.h>
ProErrorProMfgdbSearchoptCreate(
ProName external_name
/* (In)
name; can be translated. Can be NULL. internal_name is used if there is no translation.
*/
ProCharName internal_name
/* (In)
name; never translated.
*/
ProLine help_text
/* (In)
help line for the search option; can be translated. Can be NULL. internal_name is used if there is no translation.
*/
ProParamvalueType value_type
/* (In)
option value type.
*/
ProMfgdbName group_name
/* (In)
group name data, such as Geometry, General, or All, in search UI. Each option can be associated with only one group of options in the search UI. Can be NULL; group All used if specified as NULL.
*/
ProMfgdbSearchopt* p_search_option
/* (Out)
Allocated and initialized option for search UI;
*/
)
Returns
PRO_TK_NO_ERRORThe function successfully allocated and initialized the option for search UI.
PRO_TK_OUT_OF_MEMORYInsufficient memory.
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