Solved! Go to Solution.
The icon is a name match to the template object.
For example, if you create an operation my_drilling in a template, the system will search for an icon named "my_drilling". The search path is like other UI icons - first it searches the internal library, then the user icons in UGII_BITMAP_PATH.
If you do not want to use the name match, you cna define an additional attribute CAM_ICON.
Most likely because in the "Drill" template part there is an operation "Boring", so it is getting the icon from the place NX stores their icons for CAM objects (which users may not have access to)
Choose a different name for the operation?
Production: NX10.0.3.5 MP5 + patch/TC11.2
I'd rather be e-steemed than e-diseaseled
There are thousands of icons in the internal library of the system.
These are not seen as files in the installation - they are built in to the code.
In this case, there is an internal bitmap named "boring", so that is used.
please consider putting the drilling.prt related icons e.g. ..MACH/resource/template_parts/images. When Siemens stops their support for that I'd like to keep on using some of the images for hole_making.prt operation templates.
We don't have any plans to remove the internal icons, even if a fuction goes on critical maintenance or is retired. So "our" icons should always be in the system. If you want specific "create" dialog icons, or want to use them as a starting point to customize your own, let me know and we can provide them.
The template_parts/images folder is used for OOTB tooltip images.
Preview images are in the same folders as the parts (template_parts/metric, /english) because they have different colors for english and metric.
Additional to this I have another problem. I have copied the template-file hole_making.prt and saved it with my own name. Then I have copied the operation DRILLING and saved it under DRILLING_OWN. If I don't create a DRILLING_OWN.bmp in my Bitmap-Folder I get another drilling-Icon if I call the template, but not the same from the original-DRILLING-Operation. If I create an icon with the name DRILLING_OWN.bmp I get a message that the opening of the bitmap-file failed. What's wrong? What's the right size for this BMPs? Is there something new what we should know? In past I did this very often and it allways worked. I use NX10.0.1.4 MP1
Actually, I have more important things to do than to worry about such trivialities.
There is no need to rename the template in my opinion.
See Creating custom operations in the default template prt files for a way to specify the OOTB icon.
So you would just add the attribute CAM_ICON with the value drilling to the operation to get the OOTB icon for the operation.
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
I'm sorry. I've tried a lot now.
We work under Teamcenter. Perhaps this is the reason for this all.
Please try it yourself.