Skip to content

riatorz/NXOpenMyWorksheet

Repository files navigation

Create QrCode on Siemens NX

This project made for Sibernetik M&A Applications firm.

NXJournaling

If you don't want to specific thinks for to do, you can change the vb code.

http://nxjournaling.com/comment/678#comment-678

TabularNote.vb

Installation

To use the program, please review the steps below.

First of all, you need Python to use this code. If you have NX10 or higher version, recommended Python 3.7.5 version. Don't forget to check which python version your NX is using.

Install Python

pip install qrcode
pip install pillow

or

Start sys.bat

Find ugii_env_ug.bat in NX path. C:/Program Files/Siemens/NX/UGII the file probably in there. Open with notepad. You must get administrator permission from properties->security tab for change texts in file.

In the file: Find UGII_PYTHONPATH. Add your Python Path at the end of the line. Do same with PYTHONPATH

UGII_PYTHONPATH=${UGII_PYTHON_HOME};${UGII_PYTHON_HOME}\Python37.zip;${UGCHECKMATE_DIR}\python;%UserProfile%\AppData\Local\Programs\Python\Python37\Lib\site-packages;%UserProfile%\AppData\Local\Programs\Python\Python37
PYTHONPATH=${UGII_PYTHONPATH};${JK_KIT}\lib;${JK_KIT}\library\script;%UserProfile%\AppData\Local\Programs\Python\Python37\Lib\site-packages;%UserProfile%\AppData\Local\Programs\Python\Python37

❗❗ %UserProfile% -> (Your user profile path) mine is -> C:\Users\fb_se ❗❗

Usage

  
    
    Fig.1 - select File->Preferences->User Interface.
                    

or press "Ctrl + 2" on keyboard shortcut.

  
    
    Fig.2 - Change the journal language to Python.
                    

After that, you need to press Alt F11 for open journal editor.

  
    
    Fig.3 - Open File->NxQrCode.py and RUN 
                    

If you had an error about NX or the code. Please contact with me. Telegram: sefaeren0 E-Mail: sefa.eren000@gmail.com

License

GNU General Public License v3.0