Skip to main content
2-Explorer
Solved

feature creation in between of model tree using toolkit

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

 

FV_01
FV_01Answer

use ProFeatureWithoptionsReorder(…) 

2 replies

2-Explorer

Any hint would be of great help. Feel free to ask in case of any query.

Translate
FV_01
FV_0117-PeridotAnswer

use ProFeatureWithoptionsReorder(…) 

Translate