Skip to main content
10-Marble
October 13, 2022
Solved

In Creo 5 ExecuteFeatureOps fails with an exception XToolkitBadContext

  • October 13, 2022
  • 1 reply
  • 3475 views

Hi,

 

I'm on Creo Parametric 5

and aware that starting from Creo 7, ExecuteFeatureOps() does not work anymore.

 

It shows a feature count of 2 in CpfcFeatureOperations but the following fails:

solid1.ExecuteFeatureOps(suppressOp, regen.Create(False, False, Nothing))

 

I think the instrs object in the second argument is the culprit.

What could possibly be wrong in this argument?

 

Any help is highly appreciated.

Best answer by sjuraj

feature operations is available only in paid version of jlink (wfc package) .. there is no workaround .. so if you want to use free jlink you can only use macros

1 reply

15-Moonstone
October 14, 2022
10-Marble
October 14, 2022

Thank you @sjuraj for the redirection.

Unfortunately, the support articles in that post are off-limit for a basic user.

So the problem remains unsolved.

I'd appreciate it if I get any directions toward solving the issue.

sjuraj15-MoonstoneAnswer
15-Moonstone
October 14, 2022

feature operations is available only in paid version of jlink (wfc package) .. there is no workaround .. so if you want to use free jlink you can only use macros