| Description | ||||||||||||||
| Selects an object in a Creo Parametric window.
NOTE: If the user ends the selection without actually making any, ProSelect will return PRO_TK_NO_ERROR with (*p_n_sels) as zero and p_sel_array as NULL. |
||||||||||||||
| Replacement in Object TOOLKIT: | pfcBaseSession::Select | |||||||||||||
| Synopsis | ||||||||||||||
| #include <ProSelection.h> | ||||||||||||||
| ProError | ProSelect | ( | ||||||||||||
| char option[] | ||||||||||||||
| /* (In) | ||||||||||||||
| The selection filter. See the Creo Parametric TOOLKIT User's Guide for more information. | ||||||||||||||
| */ | ||||||||||||||
| int max_count | ||||||||||||||
| /* (In) | ||||||||||||||
| The maximum number of selections allowed. | ||||||||||||||
| */ | ||||||||||||||
| ProSelection* p_in_sel | ||||||||||||||
| /* (In) | ||||||||||||||
| A ProArray of pointers to ProSelection structures (from a previous call to selection) used to initialize the array of selections. This can be NULL. | ||||||||||||||
| */ | ||||||||||||||
| ProSelFunctions* sel_func | ||||||||||||||
| /* (In) | ||||||||||||||
| A pointer to a structure of filter functions. This can be NULL. | ||||||||||||||
| */ | ||||||||||||||
| ProSelectionEnv sel_env | ||||||||||||||
| /* (In) | ||||||||||||||
| Use ProSelectionEnvAlloc() to allocate this argument. Can be NULL. | ||||||||||||||
| */ | ||||||||||||||
| ProSelAppAction appl_act_data | ||||||||||||||
| /* (In) | ||||||||||||||
| NULL in Release 18 and higher. | ||||||||||||||
| */ | ||||||||||||||
| ProSelection** p_sel_array | ||||||||||||||
| /* (Out) | ||||||||||||||
| A pointer to an array of ProSelection structures. This argument points to static memory allocated by the function. It is reallocated on subsequent calls to this function. | ||||||||||||||
| */ | ||||||||||||||
| int* p_n_sels | ||||||||||||||
| /* (Out) | ||||||||||||||
| The actual number of selections made. | ||||||||||||||
| */ | ||||||||||||||
| ) | ||||||||||||||
| Returns | ||||||||||||||
|
||||||||||||||
| See Also | ||||||||||||||
| ProSelectionEnvAlloc | ||||||||||||||