Description | ||||||||
Asks the user to interactively create a collection of surfaces. | ||||||||
Replacement in Object TOOLKIT: | wfcWSolid::CollectSurfaces | |||||||
Synopsis | ||||||||
#include <ProCollect.h> | ||||||||
ProError | ProSurfacesCollect | ( | ||||||
ProCollectioninstrType* types | ||||||||
/* (In) | ||||||||
Array defining the instruction types the Creo Parametric user will be allowed to use. | ||||||||
*/ | ||||||||
int n_types | ||||||||
/* (In) | ||||||||
The size of the types array | ||||||||
*/ | ||||||||
ProCollFilter filter_func | ||||||||
/* (In) | ||||||||
Filter function called before each selection is made. Can be NULL. | ||||||||
*/ | ||||||||
ProAppData app_data | ||||||||
/* (In) | ||||||||
Application data passed to the filter function. Can be NULL. | ||||||||
*/ | ||||||||
ProCollection collection | ||||||||
/* (In) | ||||||||
The resulting collection object, this pointer is allocated by calling ProCollectionAlloc and NULL can also be passed. Note:If this collection already contains selected items, the dialog will display those contents to be edited interactively in the dialog. The ProCollection will point to the modified contents once the dialog OK button is chosen. | ||||||||
*/ | ||||||||
ProSelection** sel_list | ||||||||
/* (Out) | ||||||||
Pointer to a ProArray (allocated by the function) of ProSelection objects describing the surfaces resulting from the collection. Free this using ProSelectionarrayFree(). | ||||||||
*/ | ||||||||
int* n_sel | ||||||||
/* (Out) | ||||||||
Number of entries in sel_list. | ||||||||
*/ | ||||||||
) | ||||||||
Returns | ||||||||
|