
This lecture is intended for the students of my "Simcenter3D basic NXOpen course (C#)". The python nxopentse package contains most (and more) functionality as presented in the course and can be easily re-used.
Debugging NXOpen Python code using the standard Python DeBugging (pdb) package in NX. This is a basic version where the pdb debugging commands can be entered in an NX input and output is presented in the NX information window.
Web-PDB is a web-interface for Python’s built-in PDB debugger. It allows to debug Python scripts remotely in a web-browser. Apart from that, it works exactly the same as standard pdb with the NX input and output in the NX information window.
This course consists of a collection of loose topics covering advanced NXOpen concepts in Python. This course is only for seasoned developers which have already a lot of experience using NXOpen AND Python.
The first section contains step by step instructions on how to point NX or Simcenter to the external python interpreter. Once this is done, you can start using external packages like nxopentse or numpy, and unlock the full potential of Python within your NX or Simcenter environment.
The second section is a short demonstration of nxopentse, showing some of the functionality of this package and the power of working together on a code base.
I'm building a community of NXOpen developers using Python. By working together we can leverage the power of the community and experts to create a fantastic library of NXOpen Python functions. This library is nxopentse and is open source, so it is free for everyone to use.
Whether you are a seasoned developer, or taking your first steps, your help is welcome. You can contribute by adding code, testing, giving feedback,...
Just like the African proverb goes: "If you want to go fast, go alone, if you want to go far, go toghether", we can go much further if we work together and join forces on the code in nxopentse. I hope to be able to build a community of NXOpen Python developers which becomes the reference go to place for NXOpen in Python.
The third section will show the benefits of using nxopentse in Simcenter3D to non Python users. This is closely linked to my "Simcenter3D basic NXOpen course (C#)" (still to be completed)
The fourth section shows how to get debugging to work with NXOpen journals.
The fifth section (still to be completed) will show how to create windows using tKinter
The sixth section (still to be completed) will show how to perform http requests from within NX.