×
INTELLIGENT WORK FORUMS
FOR ENGINEERING PROFESSIONALS

Log In

Come Join Us!

Are you an
Engineering professional?
Join Eng-Tips Forums!
  • Talk With Other Members
  • Be Notified Of Responses
    To Your Posts
  • Keyword Search
  • One-Click Access To Your
    Favorite Forums
  • Automated Signatures
    On Your Posts
  • Best Of All, It's Free!
  • Students Click Here

*Eng-Tips's functionality depends on members receiving e-mail. By joining you are opting in to receive e-mail.

Posting Guidelines

Promoting, selling, recruiting, coursework and thesis posting is forbidden.

Students Click Here

Jobs

Product Template Studio; Invoke Java/VB Method

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?

 

RE: Product Template Studio; Invoke Java/VB Method

(OP)
Anyone knows how to connect external code in Product Template Studio? ANY help much appreciated.

RE: Product Template Studio; Invoke Java/VB Method

Hi Passzed,

Perhaps you could provide the problematic code snippet?

Marc
NX Software Developer
 

RE: Product Template Studio; Invoke Java/VB Method

(OP)
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

Red Flag This Post

Please let us know here why this post is inappropriate. Reasons such as off-topic, duplicates, flames, illegal, vulgar, or students posting their homework.

Red Flag Submitted

Thank you for helping keep Eng-Tips Forums free from inappropriate posts.
The Eng-Tips staff will check this out and take appropriate action.

Reply To This Thread

Posting in the Eng-Tips forums is a member-only feature.

Click Here to join Eng-Tips and talk with other members!


Resources