×
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

NX9 - Ribbon Customization

NX9 - Ribbon Customization

NX9 - Ribbon Customization

(OP)
I have prepared a custom RTB file and placed it in "Profiles/All".

I've also created a custom GRB/GLY file in "Profiles/UG_APP_MODELING".

All works well.

However, I want the above mentioned GRB/GLY to also be available in Gateway (not Drafting, or Manufacturing).

Do I simply copy them to "Profiles/UG_APP_GATEWAY", or is there another solution ?

NX 6.0.5.3
NX 9.0.0.19
Windows 7 64

RE: NX9 - Ribbon Customization


Phillpd,

The "profiles\all" or the "profiles\reference" directories can be used in combination with the .dtx file in the respective application directories to allow several applications share (or ignore) one definition file.

If the tbr/gly/grb/etc. is added to the "all" directory it is available (and by default added) to all applications. The application specific dtx file can be used to allow applications to explicitly opt out of using the file from the "all" directory by putting the desired file name in the <ExcludeFromAll> portion of the dtx files.

If the tbr/gly/grb/etc. is added to the "profiles\reference" directory it can be optionally included by specific applications. The application specific dtx file(s) can be used to allow application(s) to explicitly opt in and use the file from the "reference" directory by putting the desired file name in the <Reference> portion of the dtx files.

Example: (from %UGII_BASE_DIR%\ugii\menus\profiles\ug_app_gateway\ug_app_gateway.dtx)

...
<ExcludeFromAll>
<ActionList name="rbn_curves.rtb"/>
<ActionList name="rbn_curves.grb"/>
<ActionList name="rbn_curve_derived.grb"/>
<ActionList name="rbn_curve_edit.grb"/>
<ActionList name="rbn_curves_more.gly"/>
<ActionList name="rbn_lines_and_arcs.grb"/>
<ActionList name="rbn_lines_and_arcs.gly"/>
</ExcludeFromAll>
<Reference>
<ActionList name="rbn_ref_backstage_left.abr"/>
<ActionList name="rbn_ref_qat.abr"/>
<ActionList name="rbn_ref_system_bar.abr"/>
<ActionList name="rbn_ref_top_border_bar.abr"/>
<ActionList name="rbn_file_tab_help_cascade.csb"/>
</Reference>
...

For your case, move the GRB/GLY files from "all" to "reference" and then add the entries to the files to the <Reference> portion of the gateway and the modeling dtx files.

HTH,

Joe

RE: NX9 - Ribbon Customization

(OP)
Joe,

Excellent, I now have this working.

In the end, I decided to have the GRB/GLY available in ALL, then just "exclude" from Drafting.

Do I have to copy the entire UG_APP_DRAFTING.dtx (from the install folder) to my custom folder, adding to the exclude section, or can I create a simple DTX with just that one section ?

NX 6.0.5.3
NX 9.0.0.19
Windows 7 64

RE: NX9 - Ribbon Customization

(OP)
Alternately, can I just copy the GRB/GLY files into the UG_APP_xxx folders that I want to have them available for ?

NX 6.0.5.3
NX 9.0.0.19
Windows 7 64

RE: NX9 - Ribbon Customization

wow this looks like fun, can't wait..

Proud Member of the Reality-Based Community..

To the Toolmaker, your nice little cartoon drawing of your glass looks cool, but your solid model sucks. Do you want me to fix it, or are you going to take all week to get it back to me so I can get some work done?

RE: NX9 - Ribbon Customization

(OP)
I created UG_APP_DRAFTING.dtx as per ...

<?xml version="1.0" encoding="UTF-8" ?>
<!--

-->

<NX_PROFILES>
<Profile name ="UG_APP_DRAFTING">
<ExcludeFromAll>
<ActionList name="kmt_gkad.grb"/>
</ExcludeFromAll>
</Profile>
</NX_PROFILES>

And placed it into my custom "\Application\Profiles\UG_APP_DRAFTING" folder. All "appears" to work as expected.

NX 6.0.5.3
NX 9.0.0.19
Windows 7 64

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