| Description | ||||||||||||||||||||
| Prompts the user to select one or more parameters from the parameter dialog in Creo Parametric.
Note: The top model from which the parameters will be selected must be displayed in the current window. |
||||||||||||||||||||
| Replacement in Object TOOLKIT: | pfcParameterOwner::SelectParam | |||||||||||||||||||
| pfcParameterOwner::SelectParameters | ||||||||||||||||||||
| Synopsis | ||||||||||||||||||||
| #include <ProParameter.h> | ||||||||||||||||||||
| ProError | ProParameterSelect | ( | ||||||||||||||||||
| ProModelitem* owner | ||||||||||||||||||||
| /* (In) | ||||||||||||||||||||
| The owner of the parameters to be selected. May be NULL if the parameter should be selected by context. | ||||||||||||||||||||
| */ | ||||||||||||||||||||
| ProMdl top_model | ||||||||||||||||||||
| /* (In) | ||||||||||||||||||||
| The top level model from which parameters will be selected. | ||||||||||||||||||||
| */ | ||||||||||||||||||||
| int context | ||||||||||||||||||||
| /* (In) | ||||||||||||||||||||
| A bitmask containing the context of parameter selection (Members of ProParameterSelectContext). Used only if "owner" is NULL. | ||||||||||||||||||||
| */ | ||||||||||||||||||||
| ProBoolean select_multiple | ||||||||||||||||||||
| /* (In) | ||||||||||||||||||||
| PRO_B_TRUE to allow multiple selections. PRO_B_FALSE otherwise. | ||||||||||||||||||||
| */ | ||||||||||||||||||||
| wchar_t* button_label | ||||||||||||||||||||
| /* (In) | ||||||||||||||||||||
| Label for select button, or NULL to use default label. | ||||||||||||||||||||
| */ | ||||||||||||||||||||
| ProParameter* parameter | ||||||||||||||||||||
| /* (Out) | ||||||||||||||||||||
| If select_multiple is PRO_B_FALSE should contain the selected parameter. NULL should be passed if select_multiple is PRO_B_TRUE. | ||||||||||||||||||||
| */ | ||||||||||||||||||||
| ProParameter** multi_parameters | ||||||||||||||||||||
| /* (Out) | ||||||||||||||||||||
| If select_multiple is PRO_B_TRUE should contain ProArray of selected parameters. ProArrayFree should be used to free this array.. NULL passed if select_multiple is PRO_B_FALSE. | ||||||||||||||||||||
| */ | ||||||||||||||||||||
| ) | ||||||||||||||||||||
| Returns | ||||||||||||||||||||
|
||||||||||||||||||||