cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
Showing results for 
Search instead for 
Did you mean: 

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

Can't reorder feature in tree (throwing XToolkitBadContext)

sjuraj
13-Aquamarine

Can't reorder feature in tree (throwing XToolkitBadContext)

Hi, I'm desperate,

I'm trying to reorder feature in tree after last feature.

Both features are completely independent. My code:

Feature sketch = ...
Feature last = ...
ReorderAfterOperation op = sketch.CreateReorderAfterOp(last);
FeatureOperations ops = FeatureOperations.create();
ops.append(op);
model.ExecuteFeatureOps(ops, null); --> throws XToolkitBadContext exception

Any ideas ?

Thanks.

1 ACCEPTED SOLUTION

Accepted Solutions
VladimirN
24-Ruby II
(To:sjuraj)

 Hi,

 

Look at these articles:

View solution in original post

1 REPLY 1
VladimirN
24-Ruby II
(To:sjuraj)

 Hi,

 

Look at these articles:

Top Tags