Category Features, Object ProFeature

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>
ProErrorProFeatureWithoptionsReorder(
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
PRO_TK_NO_ERRORThe function successfully reordered the features.
PRO_TK_BAD_INPUTSThe specified feature is invalid, or the location to which the reordering is requested is not valid.
PRO_TK_BAD_CONTEXTInvalid regeneration flag(s) for this function.
See Also
ProArrayAlloc
ProArrayObjectAdd
ProArrayFree

Manual References:

  1. Core: Features: Manipulating Features based on Regeneration Flags