I have a UGOpen program written in C++ that I would like to load when I start NX 9.01. This DLL also has a menu and some buttons on the UI Ribbon.
Today, I have to do File/All Applications/MyUGOpenDLL to make it load. After this, I can then click on the buttons or go to Menu/MyUGOpenDLL/SomeCommand1 and run the new commands.
Is there a way to automatically load the UGOpen DLL at NX startup so I don't have to do all those extra clicks at startup?
Thanks for any help,
Go somewhere convenient and create a folder named 'startup' and in this folder place your dll's.
Now set the following enviroment variable:
UGII_USER_DIR=<full path to the folder in which you placed the 'startup' folder>
The above path does NOT include the 'startup' folder just to the last folder in the path BEFORE the 'startup' folder.
custom_dirs.dat is one of the many options to specify a "vendor" folder.
If you check ugii_env_ug.dat for the file, you will notice that there are more variables to specify such locations and with some you also implement some levels, like site, department/group or user.
Production: NX10.0.3, VERICUT 8.1, FBM, MRL 3.1.7 | TcUA 10.1 MP7 Patch 0 (10.1.7.0) | TcVis 11.4
Development: C (ITK), .NET, Tcl/Tk Testing: NX12.0 | AWC 3.4 Preparing: NX12.0
Employees of the customers, together we are strong
How to Get the Most from Your Signature in the Community
NX Customization - Best Practice Guide