Function ProSrfcollectionRegenerate
Description
Generate the selection based on the instructions set in the surface collection.
Note: This function will not be able to extract geometry, if some or all of the resulting geometry is inactive due to material removal features occuring in the model. In order to extract the reference geometry for such a collection, use ProFeatureInsertModeActivate() to roll back the model before the material remove feature.
Replacement in Object TOOLKIT:
Synopsis
ProSrfcollectionRegenerate
(
ProCollection collection
/* (In)
The surface collection.
*/
ProSelection** r_result_sellist
/* (Out)
ProArray of selections allocated by the function. Use ProSelectionarrayFree() to free the memory.
*/
int* r_result_sel_num
/* (Out)
Number of selections made.
*/
)
Returns
The function successfully generated the collection.
There was a memory error.
The input argument is invalid.
There was a general error.
input surface collection is not supported in multi-body models.
Sample Code References
User Guide References
¿Fue esto útil?