Continue to Site

Eng-Tips is the largest engineering community on the Internet

Intelligent Work Forums for Engineering Professionals

  • Congratulations The Obturator on being selected by the Eng-Tips community for having the most helpful posts in the forums last week. Way to Go!

Reuse OOTB button icons on custom made NX 10 tools 4

Status
Not open for further replies.

BOPdesigner

Mechanical
Nov 15, 2005
434
Hi,
I have started to make some custom automation tools and rather then come up with my own button icons/images, I would like access and reuse the existing icons that are relevant. Just specifying them in my men/tbr file. Is there a way to do this? What format are they in and where are they located? I have searched bmp, jpg, gif, ico, etc. and can't seem to find them.

Thanks.
 
Replies continue below

Recommended for you

They should be bmp's 24x24 or 32x32 size. If you make the background purple NX will recognize it as transparent...
If you go into customize you can copy the icon from a button..I suspect they are embedded in the executables...
icon_q5d1ej.png




Ronald van den Broek
Senior Application Engineer
Winterthur Gas & Diesel Ltd
NX9 / TC10.1.2
HPZ420 Intel(R) Xeon(R) CPU E5-1620 0 @ 3.60GHz, 32 Gb Win7 64B
Nvidea Quadro4000 2048MB DDR5

HP Zbook15
Intel(R) Core(TM) i7-4800MQ
CPU @ 2.70 GHz Win7 64b
Nvidia K1100M 2048 MB DDR5
 
nutace,
what is that purple color code that nx recognizes as transparent ?
I tried rgb(128,0,128) but without success...
 
The existing icons can be specified in your new menu or toolbar in this format 'BITMAP table_exit_edit'. You can find the existing icon name from the default menu files in UGII/menus.

If creating your own icons you will need to save them as 24 bit bitmaps to get the magenta transparency to work. See [link]https://docs.plm.automation.siemens.com/tdoc/nx/10.0.3/nx_help/#uid:index_customizing_nx_installation:customize_interface:ui_customize_uic_cust_tl_btmp
[/url]

Mike Hyde
NX10.0.3 with TC11.2.1 and Vis 11.2
 
daluigi said:
what is that purple color code that nx recognizes as transparent ?
I tried rgb(128,0,128) but without success...

RGB 255,0,255 for the background - and as already stated, save it as a 24-bit bitmap file (.bmp).

Tim Flater
NX Designer
NX 9.0.3.4 Win7 Enterprise x64 SP1
Intel Core i7 2.5GHz 16GB RAM
4GB NVIDIA Quadro K3100M
 
There are no separate files for the internal icons - they are built in to the code in several sizes.
To use the built in icons, you only need to know the name, and the system will select the correct size for the location, such as on the ribbon.

Mark Rief
NX CAM Customer Success
Siemens PLM Software
 
That's great Mark, is there a way to discover the bitmap names for any giving OOTB icon?
 
BOPdesigner said:
That's great Mark, is there a way to discover the bitmap names for any giving OOTB icon?

Go to customize mode then right click on a button; choose change button icon -> icon name... The dialog that pops up will give the name of the current icon image.

www.nxjournaling.com
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor