Hide Custom Toolbar
Hide Custom Toolbar
(OP)
I have developed several custom toolbars for use within my company and have setup a common network startup directory so that all computers can load them. The problem I am having is that everytime I add a new toolbar or modify an existing one, the toolbar reappears in all applications.
Is there a way to make the toolbar not show up by default and instead just be availible to be added by the user?
Is there a way to make the toolbar not show up by default and instead just be availible to be added by the user?
UG NX 6.0.4.3





RE: Hide Custom Toolbar
Use the right mouse button with the mouse over any toolbar to invoke the "Customize" dialog.
In the "Toolbars" tab of the customize dialog scroll and find your custom toolbar and select it (row highlight, not the checkbox).
Click the "Properties" button near the upper right corner of the customize dialog.
A "toolbar Properties dialaog will now be displayed with a list of checkboxes for the applications which should display this toolbar.
Uncheck the applcations where you want to hide the toolbar.
Press Ok on the tool properties dialog.
Press Close on the Customize dialog.
Regards, Joe
RE: Hide Custom Toolbar
What I am after is a way to tell the .tbr files to load into UG, but not be placed on the screen until the user wants it there. The reasoning behind this is that we have different toolbars for different projects and someone working on one project doesnt need to see the toolbar for another project.
Our current method to fix this is everytime a toolbar is added/updated the ser has to go close the toolbar in every application, which is simple enough, but annoying as toolbars for startup projects are changing almost daily/weekly.
UG NX 6.0.4.3
RE: Hide Custom Toolbar
The best that you can do is ask that each user, after they have loaded the new .tbr file, use the Customize tools to update their own Role file setting in which applications will this toolbar be visible.
John R. Baker, P.E.
Product 'Evangelist'
Product Design Solutions
Siemens PLM Software Inc.
Industry Sector
Cypress, CA
http://www.siemens.com/plm
http://www.plmworld.org/museum/
To an Engineer, the glass is twice as big as it needs to be.
RE: Hide Custom Toolbar
The method we are using now is having each user customize the toolbars, but given all the toolbars are also contained in a menu I think we are going to do away with the custom toolbars and just let the user create thier own toolbar with commands from the menu.
Thanks
UG NX 6.0.4.3
RE: Hide Custom Toolbar
John R. Baker, P.E.
Product 'Evangelist'
Product Design Solutions
Siemens PLM Software Inc.
Industry Sector
Cypress, CA
http://www.siemens.com/plm
http://www.plmworld.org/museum/
To an Engineer, the glass is twice as big as it needs to be.
RE: Hide Custom Toolbar
As John points out this is an unsupported technique.
In the "application" peer directory to the "startup" directory that contains the custom .tbr file(s), create an ascii file with a .mtx extension. E.g. hide_custom_toolbars.mtx
Put the following 16 lines in the mtx file, replacing "Custom_tool_bar.tbr" with the name of your custom toolbar.
To hide additional toolbars repeat the 4 lines beginning with the one that starts with <ActionList...
placing the 4 new lines after the </Actionlist> and before the </ActionLists> line (the two lines do differ by just the letter "s").
This technique will work for newly deployed tbr files but it will not work if the user has launched NX with the custom tbr based toolbars since the visibility of the toolbars is already recorded in the users "user.mtx" file.
Regards, Joe
-------------
<?xml version="1.0" encoding="UTF-8"?>
<NX_PROFILES>
<Profile name="UG_APP_NOPART">
<Layout>
<ActionLists>
<ActionList name="custom_tool_bar.tbr" type="toolbar">
<BarInfo position="float" visibility="0">
<DockInfo row="0" column="0" offset="0"/>
<FloatInfo x="200" y="200" width="900"/>
</BarInfo>
</ActionList>
</ActionLists>
</Layout>
</Profile>
</NX_PROFILES>