API 설명서 > Features > Object ProFeature > Function ProFeatureReorder
Function ProFeatureReorder
DEPRECATED:
Since Wildfire 5.0
Description
Reorders the supplied set of features such that the location of the first feature will be the new_feat_num after the reorder.
NOTE:
This function is deprecated. Use ProFeatureWithoptionsReorder() with flags equal to PRO_REGEN_NO_FLAGS for equivalent behavior.
Replacement in Object TOOLKIT:
Synopsis
#include <ProFeature.h>
ProFeatureReorder
(
ProSolid solid
/* (In)
The part or assembly that owns the features to be reordered.
*/
int* feat_ids
/* (In)
The array of feature identifiers that represents a contiguous set of features in the model tree. If reordering a group, all the features in the group (including the Group Header feature) must be included in this array.
*/
int n_feats
/* (In)
The size of the feat_ids array.
*/
int new_feat_num
/* (In)
The intended location of the first feature in the specified set, upon reorder.
*/
)
Returns
The function successfully reordered the features.
Model is in read-only state.
The specified feature is invalid, or the location to which the reordering is requested is not valid.
Sample Code References
User Guide References
도움이 되셨나요?