Community Tip - Did you get an answer that solved your problem? Please mark it as an Accepted Solution so others with the same problem can find the answer easily. X
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
Ok ... I found a solution.
I create the feature as last feature, Move it to position 2 and then move feature one to position 2.
After that the new feature is on position 1.
Perfect. : )
If you need it remember that groups and group patterns can be also be the first feature.
Best reagards,
Eike
Hi Patrick,
thats right. I test with that command,too. But the problem is that you can't set the insert mode at the first feature position. You also can't set it there manually.
Best regards,
Eike