Continue to Site

Eng-Tips is the largest engineering community on the Internet

Intelligent Work Forums for Engineering Professionals

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

Problem using the NXOpen.UF Examples for NX 7.5

Status
Not open for further replies.

Martlo

Mechanical
Jun 19, 2023
1
I'm new using this software and I started to read some documentation for NX Open programmer's guide but for this version is a little bit hard to find good sources. I found some examples given by the program itself but when I follow them step by step show me sort kind of errors

Capture_n3nusd.png
.


If someone know where I can found out some good documentation for this version I would appreciate it


 
Replies continue below

Recommended for you

There are some example programs that ship with NX, you will find them in the {NX install}\UGOPEN directory. The main source for example code is the Siemens support site; navigate to the NX section and search "sample nxopen {language}" to get many results. I just searched on "sample nxopen c#" and got 1727 results. They are continuously adding new functionality to the API, so not all the Siemens code samples will run in NX 7.5, but many will. Also, look in the NX help docs; if you install the programming help docs (they may not have been installed by default), there will be documentation listing every function available in your version (no real code examples included, sadly).

Edit: forgot to mention - Almost all the code you write for NX will require a function/sub named "Main" that will be the starting point when the code is executed. According to your error message, you are missing this function/sub.

www.nxjournaling.com
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor