Function ProCrvcollectionRegenerate
Description
Generate the selection based on the instructions set in the curve 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 removal feature.
Replacement in Object TOOLKIT:
Synopsis
ProCrvcollectionRegenerate
(
ProCollection collection
/* (In)
The curve collection.
*/
ProSelection** r_result_sellist
/* (Out)
ProArray of selections allocated by the function. Use ProSelectionarrayFree() to free the memory. Note: For curve collections containing one or more "Extend" instructions, the ProArray returned will include at least one invalid selection. This selection represents the entity that is created by extension of a selected curve or edge beyond its actual boundary. The invalid selection can be identified by ProSelectionVerify(), which returns PRO_TK_INVALID_TYPE for this type of selection.
*/
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.
The curve collection chain cannot be regenerated because there is an ambiguity which could not be resolved.
The curve collection chain cannot be regenerated because a reference could not be found while collecting edges/curves/points.
The checking of the curve collection failed.
Sample Code References
User Guide References
Est-ce que cela a été utile ?