Skip to main content
15-Moonstone
March 7, 2022
Solved

Can't reorder feature in tree (throwing XToolkitBadContext)

  • March 7, 2022
  • 1 reply
  • 1807 views

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.

Best answer by VladimirN

 Hi,

 

Look at these articles:

1 reply

VladimirN24-Ruby IIIAnswer
24-Ruby III
March 8, 2022

 Hi,

 

Look at these articles: