Community Tip - Need to share some code when posting a question or reply? Make sure to use the "Insert code sample" menu option. Learn more! X
Hello
There are A, B , C and D feature in model tree of assembly. What we need to do is to create feature after feature A.
For same, We are using API ProFeatureInsertmodeWithoptionsActivate() before feature creation and ProInsertmodeWithoptionsCancel() after feature creation. With this API, feature is created as proper (A, New feature, B , C and D), but issue is that active array of model tree is after new feature instead of feature D.
Issue with this is that additonal feature by user or toolkit will be created after new feature instead of last feature i.e. D.
What to be done so that after creation of feature in between, last feature should be activated so that additional features are created after last feature.
Any thought would be of great help.
Thanks and Regards
Ketan
Solved! Go to Solution.
Any hint would be of great help. Feel free to ask in case of any query.
use ProFeatureWithoptionsReorder(…)