Continue to Site

Eng-Tips is the largest engineering community on the Internet

Intelligent Work Forums for Engineering Professionals

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

Executing VB code for NX directly from Visual Studio

Status
Not open for further replies.

Suncad

Mechanical
Oct 30, 2013
44
Hi all,

I read a lot of things about what I want to achieve yet I can't get it to work.

I'm a former user of CATIA + VB, which had the great feature of being able to execute code line by line in debug mode thanks to a built-in IDE, which is extremly helpful for writing code. I would like to perform the same thing with NX.

So I installed Visual Studio Express 2012 and set up everything according to the "Getting started with SNAP" guide, and I manage to execute .dll macros from NX (Ctrl + U).

What I really would like to do now, is "link" my IDE with NX so I can launch and debug code, using breakpoints etc. directly within Visual Studio. Is that really possible ? Where should I look ?

Thanks for any help, this is driving me crazy.
 
Replies continue below

Recommended for you

l read in getting started with nx12

Siemens doc that for this
you need VS professional.

with express version that not possible
 
Hi Ehaviv,

I could not find that information in the guide, are you talking about this one :
Capture_zogk3d.jpg


I could not find any mention about visual studio profesionnal edition.
 
You can find it here (end of chapter 3, page 27):

However, this was written when the 'express' edition was a pared down version of the professional version. I think the new versions (community edition) includes the debugging features. I'm not 100% sure, but I think the community edition (free) would let you do the line by line execution and set break-points for debugging.

www.nxjournaling.com
 
Cowski Thank you.

I was forgotten where exactly I was read it.
 
Thanks, I was not aware of the v12 of this guide. This make much sense now. I will give it a try with Community edition, the installer says it provides just-in-time debugging as well.
Regards,
 
Okay, I'm still force to start code from NX (Ctrtl + U) but at least JIT debugger allows me to stop code and use step by step instruction control.
Thanks again,
Sun
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor