Product Template Studio; Invoke Java/VB Method
Product Template Studio; Invoke Java/VB Method
(OP)
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?
Cannot find class named <name class> in assembly NXOpen, Version=7.5.0.32, Culture=neutral, PublicKeyToken=null"
Anybody have any examples, tips?





RE: Product Template Studio; Invoke Java/VB Method
RE: Product Template Studio; Invoke Java/VB Method
Perhaps you could provide the problematic code snippet?
Marc
NX Software Developer
RE: Product Template Studio; Invoke Java/VB Method
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