For an academic project I am trying to setup Eclipse using the pdf guide "Setup_Eclipse_for_NXOpenPythonScripting" (by email@example.com) the last step is to Set NX Variables and set the PYTHONPATH.
1.Where exactly I should set up this variables for NX environment?
2. I installed NX 12 and I didn't find ".......\UGII\python" folder. But I found "....\siemens\NX12\NXBIN\python" folder. Should I set this as python path? or should I make a folder named "python" under UGII and then set that as python path?
The pdf is available below. Any suggestion appreciated.
Solved! Go to Solution.
Hi @biswasp ,
Please note I'm not a Python specialist so I might be mistaken but I'll give you some answers which I believe to be the good ones!
1. You've got different solutions. You can for example create them as system environment variables but the best way, which is indicated in your guide is to create a startup script. That means creating a text file with the text you've made the screenshot of (set UGII...) + a final line calling eclipse.exe in order to launch eclipse with this variables.
2. There's been a change since NX11. Some things that were in UGII are now in NXBIN. As your guide seems to be for Nx10 but you work with NX12, just point out the NXBIN\python folder !
just posted a reply to your other question, but it's worth noting that i've never gotten NXOpen to import correctly - I end up invoking the .py script file directly through NX through the journal command (alt+f8, I think). You may have more luck running your script as a journal.