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 ?
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
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
NX 6.0.5.3
NX 9.0.0.19
Windows 7 64
RE: NX9 - Ribbon Customization
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
<?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