Adding text to NX main window topbar
Adding text to NX main window topbar
(OP)
Hello all.
I am trying to change the line of text in the NX main window topbar (see attached image).
As I am using NX in number of different environment settings I would like to be able to see (without having to open the logfile) which environment settings NX is using.
If I remember correct this was working up to NX6.
Below the top piece of the cmd file with the line that always did the trick. the line starting with Title added the text to the top bar.
Currently this isn't working anymore...does anyone have a different solution to fix this again?
I am trying to change the line of text in the NX main window topbar (see attached image).
As I am using NX in number of different environment settings I would like to be able to see (without having to open the logfile) which environment settings NX is using.
If I remember correct this was working up to NX6.
Below the top piece of the cmd file with the line that always did the trick. the line starting with Title added the text to the top bar.
CODE -->
@echo off rem ========================================================================= * rem * rem Copyright (c) 1996-2001 Unigraphics Solutions, Inc. rem Unpublished - All rights reserved * rem * rem ========================================================================= * rem rem File Name: NX8.5_Native.cmd rem rem ========================================================================= rem rem This script will set the appropriate variables and then run Unigraphics Native. rem Using the Wartsila site settings rem rem Input Parameters: rem rem Command line parameters will be passed through to Unigraphics. See rem the UG Workstation Guide for information on supported parameters. rem rem NOTE: you MUST use a colon ':' to delimit a switch from its value. rem rem For example: rem ugii -retrieve:block.prt rem rem ========================================================================= rem rem title Native NX8.5, no Teamcenter
Currently this isn't working anymore...does anyone have a different solution to fix this again?
Ronald van den Broek
Mechanical Engineer
Cad Environment Coordinator
Wärtsilä, Propulsion Services
NX8.5.2 / TC9.1.2
HPZ420 Intel(R) Xeon(R) CPU E5-1620 0 @ 3.60GHz, 32 Gb Win7 64B
Nvidea Quadro4000 2048MB DDR5





RE: Adding text to NX main window topbar
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: Adding text to NX main window topbar
Is it possible through the environments variable file to point to a different UG_Main.men file on a different location?
Ronald van den Broek
Mechanical Engineer
Cad Environment Coordinator
Wärtsilä, Propulsion Services
NX8.5.2 / TC9.1.2
HPZ420 Intel(R) Xeon(R) CPU E5-1620 0 @ 3.60GHz, 32 Gb Win7 64B
Nvidea Quadro4000 2048MB DDR5
RE: Adding text to NX main window topbar
For a more complete description of how to customize the user interface of NX using the scheme described above, open NX Help and go to 'Home -> System administration -> Customizing the NX installation -> Customizing the NX 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: Adding text to NX main window topbar
Thanks for the tip. I will try this...
Ronald van den Broek
Mechanical Engineer
Cad Environment Coordinator
Wärtsilä, Propulsion Services
NX8.5.2 / TC9.1.2
HPZ420 Intel(R) Xeon(R) CPU E5-1620 0 @ 3.60GHz, 32 Gb Win7 64B
Nvidea Quadro4000 2048MB DDR5
RE: Adding text to NX main window topbar
Tried and failed...
Created the custom directory and placed the UGII_Main.men file in there.
When looking into the logfile I see below entry.
CODE -->
Do I need to add additional files in there?
Ronald van den Broek
Mechanical Engineer
Cad Environment Coordinator
Wärtsilä, Propulsion Services
NX8.5.2 / TC9.1.2
HPZ420 Intel(R) Xeon(R) CPU E5-1620 0 @ 3.60GHz, 32 Gb Win7 64B
Nvidea Quadro4000 2048MB DDR5
RE: Adding text to NX main window topbar
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: Adding text to NX main window topbar
Copied the original UGII_Main.men to the folder application in
\\nls0642\share\NX-Starter\NX8.5_Native_PDM\Startup\Application
CODE -->
I changed it to \\nls0642\share\NX-Starter\NX8.5_Native_PDM\Startup\menus as well but this didn't help either...
Ronald van den Broek
Mechanical Engineer
Cad Environment Coordinator
Wärtsilä, Propulsion Services
NX8.5.2 / TC9.1.2
HPZ420 Intel(R) Xeon(R) CPU E5-1620 0 @ 3.60GHz, 32 Gb Win7 64B
Nvidea Quadro4000 2048MB DDR5
RE: Adding text to NX main window topbar
Changed the folder Application to menus of course....not the attribute.
Anyways.... When I place the file UGII_Main.men directly in startup folder I get below error message.
CODE -->
Ronald van den Broek
Mechanical Engineer
Cad Environment Coordinator
Wärtsilä, Propulsion Services
NX8.5.2 / TC9.1.2
HPZ420 Intel(R) Xeon(R) CPU E5-1620 0 @ 3.60GHz, 32 Gb Win7 64B
Nvidea Quadro4000 2048MB DDR5
RE: Adding text to NX main window topbar
got pointed to a variable for this.... UGII_MAIN_MENU_FILE.
It can point to the changed UGII_main.men.
Case solved... Thanks for the assistance John...
Ronald van den Broek
Mechanical Engineer
Cad Environment Coordinator
Wärtsilä, Propulsion Services
NX8.5.2 / TC9.1.2
HPZ420 Intel(R) Xeon(R) CPU E5-1620 0 @ 3.60GHz, 32 Gb Win7 64B
Nvidea Quadro4000 2048MB DDR5
RE: Adding text to NX main window topbar
YOU MUST HAVE A FOLDER NAMED 'application'!!!! And the name of the .men file is 'ug_main.men', IT'S NOT 'ugmain.men'. If you change the name of the files, this will NOT work.
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: Adding text to NX main window topbar
D:\dir1\dir2
then under the above there is a startup directory and potentially also a Application directory plus maybe other
i.e
D:\dir1\dir2\startup
( NX will when starting read all files in this directory.)
and ( not mandatory)
D:\dir1\dir2\application
See examples of this structure in the NX install, for example: \NX7.5\ugautomotive... where the substructure follows the above.
Regards,
Tomas
RE: Adding text to NX main window topbar
Noted!...
I have done exactly all of the things you have stated above.. Strangely enough it still didn't work..
Using the below variable I got it working though.
CODE -->
the path in there is just to match the Siemens structure...the folder menus is not mandatory..
Ronald van den Broek
Mechanical Engineer
Cad Environment Coordinator
Wärtsilä, Propulsion Services
NX8.5.2 / TC9.1.2
HPZ420 Intel(R) Xeon(R) CPU E5-1620 0 @ 3.60GHz, 32 Gb Win7 64B
Nvidea Quadro4000 2048MB DDR5