Continue to Site

Eng-Tips is the largest engineering community on the Internet

Intelligent Work Forums for Engineering Professionals

  • Congratulations waross on being selected by the Eng-Tips community for having the most helpful posts in the forums last week. Way to Go!

Product Template Studio; Invoke Java/VB Method

Status
Not open for further replies.

Passzed

Computer
Sep 11, 2010
17
Is there anybody that used product template studio and the function of Invoke Java/VB Method for a button? Really, want to explore that feature. However when I'm trying to connect my code and from the Log file I'm getting "Cannot find method
Cannot find class named <name class> in assembly NXOpen, Version=7.5.0.32, Culture=neutral, PublicKeyToken=null"

Anybody have any examples, tips?

 
Replies continue below

Recommended for you

Anyone knows how to connect external code in Product Template Studio? ANY help much appreciated.
 
Hi Passzed,

Perhaps you could provide the problematic code snippet?

Marc
NX Software Developer
 
Hi Mark,

Thank you for the reply.

Well the msg in the log file is like this:

AppBase: C:\Program Files\UGS\NX 7.5\UGII\managed\
Loaded assembly: NXOpen, Version=7.5.0.32, Culture=neutral, PublicKeyToken=null from C:\Program Files\UGS\NX 7.5\UGII\managed\NXOpen.dll
Loaded assembly: NXOpen.Utilities, Version=4.0.0.0, Culture=neutral, PublicKeyToken=null from C:\Program Files\UGS\NX 7.5\UGII\managed\NXOpen.Utilities.dll
Cannot find method
Cannot find class named EditExpression in assembly NXOpen, Version=7.5.0.32, Culture=neutral, PublicKeyToken=null
*** EXCEPTION: Error code 3600008 in line 40 of o:\ugnx75\ip32\src\kfbindings\no\ind\JamKfUtil.cxx at Sun Jul 24 17:39:25 2011 GMT Daylight Time
+++ KfBindings error

However, I think the whole code construction is wrong; I have seen recently a presentation online where the author invokes the code using "javaexecute". I haven't seen any more examples with that. Do you have any? What do you think?

Thank you,
Zed
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor