Reorder a feature to first position
System : Wildfire 4
Hi @ all,
I try to create a coordinate system and reorder it to the first position in the model tree. The creation is no problem. After that i create an array and shift the newly created feature up to position two.
So I want to get it to position one, but thats not possible.
I can also reorder all other features to the last number. But if there are references between these features I get a failure while reorder.
Have someone an idea how to solve this problem?
Code:
ids[0] = newFeat.id;
tkerr = ProFeatureReorder((ProSolid)mdl, ids, 1, 2);
free(ids);
So I use this to get it to number 2 in tree, but number 1 is not possible (Error: -2 BAD_INPUTS). Every other number is possible.
tkerr = ProFeatureReorder((ProSolid)mdl, ids, idCount, idCount+1);
free(ids);
So the other solution I tested.
Thx for your answers,
best regards,
Eike
This thread is inactive and closed by the PTC Community Management Team. If you would like to provide a reply and re-open this thread, please notify the moderator and reference the thread. You may also use "Start a topic" button to ask a new question. Please be sure to include what version of the PTC product you are using so another community member knowledgeable about your version may be able to assist.

