Custom Toolbars and Commands-have to reload each time
Custom Toolbars and Commands-have to reload each time
(OP)
I have some custom icons and functions that I would like to use in NX 7.5.4.4. I can get them to work, but each time I exit NX (File, Exit) and reopen a new session, I have to load them again. The toolbar files are located in C:\Startup. An example of the file paths in the toolbar file is located below.
BUTTON Thick to Thin
LABEL Thick to Thin
BITMAP C:\Bitmaps\Tk2Tn.bmp
ACTION C:\Macro_Toolbar\Thk2Thn.vb
I then selected My Computer, right click, Properties and created two environment variables in the UGII_FLEX_BUNDLE and the UGS_LICENSE_BUNDLE. They read: UGII_USER_DIR= C:\Startup and UGII_BITMAP_DIRECTORY=C:\Bitmaps
I called UG tech support and was directed to read the documentation for tbr. It was not much help. Before I call back with my IR, I would like to get some input here.
BUTTON Thick to Thin
LABEL Thick to Thin
BITMAP C:\Bitmaps\Tk2Tn.bmp
ACTION C:\Macro_Toolbar\Thk2Thn.vb
I then selected My Computer, right click, Properties and created two environment variables in the UGII_FLEX_BUNDLE and the UGS_LICENSE_BUNDLE. They read: UGII_USER_DIR= C:\Startup and UGII_BITMAP_DIRECTORY=C:\Bitmaps
I called UG tech support and was directed to read the documentation for tbr. It was not much help. Before I call back with my IR, I would like to get some input here.





RE: Custom Toolbars and Commands-have to reload each time
www.nxjournaling.com
RE: Custom Toolbars and Commands-have to reload each time
RE: Custom Toolbars and Commands-have to reload each time
https://bbs.industrysoftware.automation.siemens.com/vbulletin/showthread.php?t=42187&highlight=customization+nx7.5
RE: Custom Toolbars and Commands-have to reload each time
RE: Custom Toolbars and Commands-have to reload each time
- right click in the toolbar/menu area and select customize
- select the "Commands" tab
- scroll down to "New Button" (near the bottom)
- from the Commands pane (right side), drag "New User Command" to the toolbar of your choice
- right click on the new command button, edit action set type to journal file, browse to your journal, optional: add tooltip text
- from the same right click menu, you can change the button icon to your custom file
But if you are rolling this out to many computers, it would be easier to roll out and maintain the .tbr files.www.nxjournaling.com
RE: Custom Toolbars and Commands-have to reload each time
Exactly how long have you been using NX?
Back before Customize and before Roles, editing the content of a Menu or a Dialog was very limited, basically your only choice was to manually edit .men and .tbr files. And while that can still be done and we still support MenuScripts (as this provides functionality which goes way beyond simply adding/removing/moving menu items and icons) the vast majority of what users generally with to do can be done using Customize and then capture those changes in a user-defined Role. I'm not sure how we can make it any easier.
BTW, for NX 8.5, we're adding some additional User Interface enhancements such as 'Context Toolbars' (which are fully customizable, including now the existing radial pop-ups) as well as more use of 'Favorites' (introduced in NX 8.0) as well as adding a 'Less/More' option on virtually all Dialogs so as to better manage whether you need to see full dialogs or not (this is done on a dialog-by-dialog basis and can be captured by Roles).
Anyway, we are continuing to work on improving your interactive experience when using NX, both in terms of what a users see out-of-the-box as well as what can be done by an average user when he/she wishes to modify the content and presentation toolbars and menus.
John R. Baker, P.E.
Product 'Evangelist'
Product Engineering Software
Siemens PLM Software Inc.
Industry Sector
Cypress, CA
Siemens PLM:
UG/NX Museum:
To an Engineer, the glass is twice as big as it needs to be.
RE: Custom Toolbars and Commands-have to reload each time
RE: Custom Toolbars and Commands-have to reload each time
Set the following environment varaible...
UGII_USER_DIR=
...pointing to a folder somewhere. Then in THIS folder create another folder named 'startup' and in THIS folder place any NEW toolbar and menu files, including any MenuScripts (if you use them) which are also .men files.
Now if you're editing an EXISTING toolbar or menu file, copied from the .../UGII/menus folder, you need to place these files in a folder, in that same original folder pointed to by the variable above, but this time named 'application'.
When you start NX the system will automatically replace/load the toolbar and menu files found in these two folders and they will be the ones which will be controlling what you see in the user interface.
John R. Baker, P.E.
Product 'Evangelist'
Product Engineering Software
Siemens PLM Software Inc.
Industry Sector
Cypress, CA
Siemens PLM:
UG/NX Museum:
To an Engineer, the glass is twice as big as it needs to be.
RE: Custom Toolbars and Commands-have to reload each time