Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations cowski 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
Joined
Sep 11, 2010
Messages
17
Location
GB
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?

 
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

Back
Top