cancel
Showing results for 
Search instead for 
Did you mean: 

.dll program in .rtb

Legend
Legend

We are switching from NX8 to NX9 and I'm converting old toolbar (.tbr) into Ribbon tab (.rtb).

In this file I've :

......

BUTTON  Sostituzione cartiglio CSE
LABEL   Sostituzione cartiglio CSE
BITMAP     ${NX_CUSTOM_TOOL_BARS}\bitmaps\cartiglio_cse.bmp
ACTION     ${NX_CUSTOM_TOOL_BARS}\vb\ReplaceMasterSheetCSE.vb  
 
SEPARATOR
 
BUTTON Sposta o cancella entità nei layer impostati
LABEL Sposta o cancella entità nei layer impostati
BITMAP ${NX_CUSTOM_TOOL_BARS}\bitmaps\CategoryLayerTool.bmp
ACTIONS ${NX_CUSTOM_TOOL_BARS}\vb\NX9LayerTools.dll

 

Without the last row, NX starts well, but with the last row, the ribbon toolbar is not recognized.

Where I wrong ?

Thank you...

Using NX 11 / RuleDesigner PDM

3 REPLIES

Re: .dll program in .rtb

Esteemed Contributor
Esteemed Contributor

I think the main problem is ACTION versus ACTIONS Smiley Wink

 

I would also include text containing spaces in quotes, just to make sure something won't break in the future.

 

BUTTON  "Sostituzione cartiglio CSE"
LABEL   "Sostituzione cartiglio CSE"
BITMAP     ${NX_CUSTOM_TOOL_BARS}\bitmaps\cartiglio_cse.bmp
ACTION     ${NX_CUSTOM_TOOL_BARS}\vb\ReplaceMasterSheetCSE.vb  
 
SEPARATOR
 
BUTTON "Sposta o cancella entità nei layer impostati"
LABEL "Sposta o cancella entità nei layer impostati"
BITMAP ${NX_CUSTOM_TOOL_BARS}\bitmaps\CategoryLayerTool.bmp
ACTION ${NX_CUSTOM_TOOL_BARS}\vb\NX9LayerTools.dll

 

Stefan Pendl, Systemmanager CAx, HAIDLMAIR GmbH
Production: NX10.0.3, VERICUT 8.0, FBM, MRL 3.1.4 | TcUA 10.1 MP7 Patch 0 (10.1.7.0) | TcVis 10.1
Development: VB.NET, Tcl/Tk    Testing: NX11.0 EAP, NX12.0 EAP

How to Get the Most from Your Signature in the Community

Re: .dll program in .rtb

Legend
Legend

Hi Stefan,

you have right.

The strange is that in NX8 works.

Thank you...

Using NX 11 / RuleDesigner PDM

Re: .dll program in .rtb

Esteemed Contributor
Esteemed Contributor

The parser gets improved and the NX syslog will usually contain the hint to resolve such an issue.

Stefan Pendl, Systemmanager CAx, HAIDLMAIR GmbH
Production: NX10.0.3, VERICUT 8.0, FBM, MRL 3.1.4 | TcUA 10.1 MP7 Patch 0 (10.1.7.0) | TcVis 10.1
Development: VB.NET, Tcl/Tk    Testing: NX11.0 EAP, NX12.0 EAP

How to Get the Most from Your Signature in the Community