Showing results for 
Search instead for 
Do you mean 
Reply
Solved! Go to solution

Icons on Ribbon Tab

Hi everyone!

I'm using NX 10.0 and writing an add-in. All is great except icons. When I draw icons with white background NX applies a grayscale filter to them and they become gray. When you move the mouse on icons, they become white as it was designed. How can I solve this problem? I need white background on my icons.

As I understood only *.bmp files could be set as icons on ribbon tab, but bmp format doesn't support transparency.

I found NX gallery database files with the extension *.bma, but couldn't open them. Does NX standard icons have some "specific" color which substitutes as transparent by the system?

 

Regards,

Aleh Nasan.

9 REPLIES
Solution
Solution
Accepted by topic author KiNeTiK
‎10-15-2015 07:57 AM

Re: Icons on Ribbon Tab

I've not customized the ribbon in NX9, but in NX8.5 MAGENTA is used for transparency (R,G,B = 255,0,255)
Graham Inchley Snr R&D Engineer (Systems Development), Sandvik Coromant
Lenovo ThinkPad W540, Win7, 16GB. Developing in: Java | C | C# | KF
Production: NX8.5.3.3 MP11 64bit Testing: NX9.0.2.5

Re: Icons on Ribbon Tab

In NX you will have to use two icons to specify transparency, this is described in the NX documentation about customizing the tool bars.

 

One BMP has a white background and one has a black one where you need transparency, so the black background is the mask.

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
Solution
Solution
Accepted by topic author KiNeTiK
‎10-15-2015 06:04 PM

Re: Icons on Ribbon Tab

The documentation on icons in the UI is here

Mark Rief
Retired Siemens

Re: Icons on Ribbon Tab

[ Edited ]

How have I never seen this before? Man LOL

Graham Inchley Snr R&D Engineer (Systems Development), Sandvik Coromant
Lenovo ThinkPad W540, Win7, 16GB. Developing in: Java | C | C# | KF
Production: NX8.5.3.3 MP11 64bit Testing: NX9.0.2.5

Re: Icons on Ribbon Tab

You didn't RTFM? ;-)

Sometimes they do a good job of hiding things in plain sight

Ken Akerboom Sr CAx Systems Engr, Moog, Inc.
Production: NX10.0.3.5 MP5 + patch/TC11.2
I'd rather be e-steemed than e-diseaseled


Re: Icons on Ribbon Tab

R'ingTFM is for babies Man Tongue

However, on this occasion my will did bend a little and I've bookmarked it Man Embarassed

Graham Inchley Snr R&D Engineer (Systems Development), Sandvik Coromant
Lenovo ThinkPad W540, Win7, 16GB. Developing in: Java | C | C# | KF
Production: NX8.5.3.3 MP11 64bit Testing: NX9.0.2.5

Re: Icons on Ribbon Tab


Inch wrote:

How have I never seen this before? Man LOL


LOL Graham - it happens to the best of us :*) @Inch and @Ken_A - there is a lot of good information burried in the help, and I agree it's not always easy to find. Search is now your friend.

 

Having discussed this several times with our TDOC staff, I learned that I was a "browser" - meaning I look through the table of contents. But with the new search engine, I have converted to a "searcher" - meaning I use search. It really is much better now, if you have not tried it. 

Mark Rief
Retired Siemens

Re: Icons on Ribbon Tab

I'm still on NX8.5 and searching the docs for me is still plagued with Java issues.

However, I just tried searching the online docs for NX10 and that works well and really fast.

Maybe I'll start using that for searching and then cross reference the NX8.5 docs to be sure.

Graham Inchley Snr R&D Engineer (Systems Development), Sandvik Coromant
Lenovo ThinkPad W540, Win7, 16GB. Developing in: Java | C | C# | KF
Production: NX8.5.3.3 MP11 64bit Testing: NX9.0.2.5

Re: Icons on Ribbon Tab

Cool! Can we also use gray for semi transparent Icons?