Documentação da API > Features > Object ProFeature > Function ProFeatureWithoptionsReorder
Function ProFeatureWithoptionsReorder
Description
Reorders the supplied set of features such that the location of the first feature will be the new_feat_num after the reorder.
Synopsis
#include <ProFeature.h>
ProFeatureWithoptionsReorder
(
ProSolid pro_solid
/* (In)
The part or assembly that owns the features to be reordered.
*/
int* feat_ids
/* (In)
The ProArray 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 new_feat_num
/* (In)
The intended location of the first feature in the specified set, upon reorder.
*/
int flags
/* (In)
The regeneration control flags. Pass as bitmask containing one or more of the bit flags PRO_REGEN* defined in ProSolid.h
*/
)
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.
Invalid regeneration flag(s) for this function.
See Also
User Guide References
Isto foi útil?