×
INTELLIGENT WORK FORUMS
FOR ENGINEERING PROFESSIONALS

Log In

Come Join Us!

Are you an
Engineering professional?
Join Eng-Tips Forums!
  • Talk With Other Members
  • Be Notified Of Responses
    To Your Posts
  • Keyword Search
  • One-Click Access To Your
    Favorite Forums
  • Automated Signatures
    On Your Posts
  • Best Of All, It's Free!
  • Students Click Here

*Eng-Tips's functionality depends on members receiving e-mail. By joining you are opting in to receive e-mail.

Posting Guidelines

Promoting, selling, recruiting, coursework and thesis posting is forbidden.

Students Click Here

Jobs

Hide Custom Toolbar

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?

UG NX 6.0.4.3

RE: Hide Custom Toolbar

DQuick,

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

(OP)
Thanks for the reply, but thats not exactly what I am looking for.  It would work fine for custom toolbars that a users creates as part of their role, but I am not seeing that option for toolbars created with a .tbr file.  When they are created with a tbr file the toolbars can be shared between users and computers and are then similar to and standard toolbar, ie the View or Standard Toolbar, atleast as far as I can see.

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

We checked and there are no user-accessable means for doing that, at least not without a lot of 'hacking' which we cannot recommend.

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

(OP)
Thats about what I figured the answer would be.

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

That's kind of how we expected that the average user would be using the Customize function.

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

Dquick,

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>

Red Flag This Post

Please let us know here why this post is inappropriate. Reasons such as off-topic, duplicates, flames, illegal, vulgar, or students posting their homework.

Red Flag Submitted

Thank you for helping keep Eng-Tips Forums free from inappropriate posts.
The Eng-Tips staff will check this out and take appropriate action.

Reply To This Thread

Posting in the Eng-Tips forums is a member-only feature.

Click Here to join Eng-Tips and talk with other members!


Resources