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

Community Tip - New to the community? Learn how to post a question and get help from PTC and industry experts! X

In Creo 5 ExecuteFeatureOps fails with an exception XToolkitBadContext

TusharSuradkar
5-Regular Member

In Creo 5 ExecuteFeatureOps fails with an exception XToolkitBadContext

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.

1 ACCEPTED SOLUTION

Accepted Solutions
sjuraj
13-Aquamarine
(To:TusharSuradkar)

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

View solution in original post

6 REPLIES 6
TusharSuradkar
5-Regular Member
(To:sjuraj)

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.

sjuraj
13-Aquamarine
(To:TusharSuradkar)

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

TusharSuradkar
5-Regular Member
(To:sjuraj)

OK. Got it.

It is a license issue and not a syntax error.

Thank you for the insight @sjuraj - much appreciated.

so,please tell me how to do solve it、


feature operations is available only in paid version

You must to by Java Object Toolkit license for this. Or use UDF to place a feature in a model using free JLink

Top Tags