Continue to Site

Eng-Tips is the largest engineering community on the Internet

Intelligent Work Forums for Engineering Professionals

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

Change the color name. 1

Status
Not open for further replies.

VW181

Mechanical
Jan 23, 2013
122
I edited a color in the Color Palette. Now i want to give that color a name, but that doesn't work.
I can fill in a new name, i can save the Color Palette to an CDF-file, but the next time i open the Color Palette the color has the name of the original color that i changed.
Do i something wrong, is it possible to change the name and if not, why can i fill in an new name then?

Thanks in advance,


Using NX 8.0 on Windows 7 (64)
 
Replies continue below

Recommended for you

Below is a portion of the cdf file that we have modified.
The colors have names of what they represent as compared to the color that they are.
I have loaded this color pallet into our seed files and then re-saved them.
I have also created a macro so that the cdf file can be quickly loaded.

ri Jun 18 07:59:40 2010
Color Definition File


Background 0.8235294 0.8313725 0.8392157
NPT HM1 0.0039216 0.5529412 0.7607843 0
CBORE HM2 0.6156863 0.0470588 0.0470588 1
TAP MM HM3 0.3921569 0.7058824 0.0196078 2
C'SINK MM HM4 0.3725490 0.6274510 0.4862745 3
SAE HM5 0.0705882 0.3176471 0.8431373 4
TAP UNC HM6 0.7843137 0.0000000 0.7843137 5
C'SINK IN HM7 0.7176471 0.8196078 0.8313725 6
TAP MM FINE HM8 0.1019608 0.2823529 0.1137255 7
TAP UNF HM9 0.6078431 0.5607843 0.0000000 8
REAM IN HM10 0.4000000 0.2000000 0.0000000 9
REAM MM HM11 1.0000000 0.8431373 0.0000000 10
DRILL HOLE IN HM12 0.0000000 0.3921569 0.1333333 11
DRILL HOLE MM HM13 0.0000000 0.5098039 0.4078431 12
EJ PIN RETAINER HM14 0.6000000 0.0000000 0.0000000 13
BSPP HM15 0.5098039 0.7137255 0.7686275 14
EJ PIN CBORE IN HM16 1.0000000 0.5647059 0.5647059 15
BSPT HM17 0.0000000 0.0000000 1.0000000 16
EJ PIN CBORE MM HM18 0.5333333 0.0509804 0.5215686 17
EJ PIN CBORE ORIENTATED IN HM19 0.2000000 1.0000000 1.0000000 18
EJ PIN CBORE ORIENTATED MM HM20 0.0000000 1.0000000 0.0000000 19
EJ PIN REAM IN HM21 0.0235294 0.6000000 0.5882353 20
EJ PIN REAM MM HM22 0.6078431 0.3019608 0.4470588 21

Regards
Jurgen Kreisel
NX 8,8.5,9 TC8.3/10.1
 
Thank you for your answer.

I have to play a bit more with CDF-files to fully understand how it works.
But i have changed the color name in the CDF-file with Notepad and that works fine.
But then i don't understand why there is a possibility to change the color name in NX but that you can't save it.

Using NX 8.0 and Teamcenter 8 on Windows 7 (64)
 
VW181 said:
I can fill in a new name, i can save the Color Palette to an CDF-file, but the next time i open the Color Palette the color has the name of the original color that i changed.

This worked fine for me, but I think I know what's happening. When you edit the name of the 'Color' while in the 'Color' dialog and the message comes-up warning you that...

"This operation will replace the color pallet
Would you like to save your palette?"


...I'll bet that you said 'Yes', didn't you? Well this is NOT doing what I suspect that you thought it would. In reality, what this is for is to give you a chance to save your CURRENT color pallet just in case you've made previous changes that have not yet been saved. So it's actually saving the 'palette' with the old name as a safety measure. What you want to do is say 'No', or if you do want to make a safety copy, go ahead and say 'Yes', give it a name but when you come back to the 'Color' dialog now go down into the 'Options' section and ACTUALLY save your NEW current color palette, with the name changes, using the 'Save CDF As...' option.

I think you will find that this workflow will give you what you want. While it can be done, there is NO real need to actually edit the contents of your CDF files.

John R. Baker, P.E.
Product 'Evangelist'
Product Engineering Software
Siemens PLM Software Inc.
Industry Sector
Cypress, CA
Siemens PLM:
UG/NX Museum:

To an Engineer, the glass is twice as big as it needs to be.
 
I tried all the options and combinations which i can click on.
I have no option "No". I found that already very strange.
Once i click (accidentally) on "Use system color palette" there is no way back. In the pop-up menu i have three options: "OK", "Always OK" and "Save CDF as...", but there is no way back, the "system color palette" will be placed.

But when i edit a color and change the color and also the colorname and save this to a new color palette the color is changed, but it keeps the original color name.
So i think i have a bug with this. It is strange i can edit the color but not the colorname.

Using NX 8.0 and Teamcenter 8 on Windows 7 (64)
 
I'm sorry, but I just tested NX 8.0.3.4 and it's working EXACTLY as I previously described. Perhaps you are not hitting the enter key after typing in your new color name. If you do you'll get the message with the 'No' option.

As for the 'Use System Color Palette' issue, there is an option to save your current color setting as a CDF file which means that after doing this you'd at least be able to recover back to where you were by simply loading the CDF that you just created.

John R. Baker, P.E.
Product 'Evangelist'
Product Engineering Software
Siemens PLM Software Inc.
Industry Sector
Cypress, CA
Siemens PLM:
UG/NX Museum:

To an Engineer, the glass is twice as big as it needs to be.
 
Thanks,
Hitting "Enter" does the trick.
But a bit strange that clicking "OK" is not the same as "Enter", like it is in most of the programs.

Using NX 8.0 and Teamcenter 8 on Windows 7 (64)
 
You may be correct in that respect, that the dialog navigator buttons are not behaving as expected. Let me take a look and if I can get the UI team to agree, I'll open a PR to that effect.

John R. Baker, P.E.
Product 'Evangelist'
Product Engineering Software
Siemens PLM Software Inc.
Industry Sector
Cypress, CA
Siemens PLM:
UG/NX Museum:

To an Engineer, the glass is twice as big as it needs to be.
 
Thanks,
Would be nice if they could change it (for all other persons, i know how it works now [thumbsup2]).

Using NX 8.0 and Teamcenter 8 on Windows 7 (64)
 
You say:
JohnRBaker said:
... by simply loading the CDF ...
but that's exactly what I can't find.

I'm am trying to load my custom Color Definition File into existing drawings, but I can't find how to do so.
The manual process of changing all those colors and names would take me at least a week.

I found out it's embedded into the drawing because, when I replace the one in the Program folder it works fine when creating a new blank drawing,
but (there is always at least one [wink]) when loading an existing drawing it uses it's own colors and names.

Using NX 8.5 and 9.0 on Windows 7 (64)
 
In both NX 8.5 and NX 9.0, go to...

Preferences -> Color Palette...

...and at the very bottom of the dialog, in the section titled 'Options', simply select the second Icon from the Left in the top row to load/replace a CDF file. Once you've done that, make sure that you 'Save' your Part file.

John R. Baker, P.E.
Product 'Evangelist'
Product Engineering Software
Siemens PLM Software Inc.
Industry Sector
Cypress, CA
Siemens PLM:
UG/NX Museum:

To an Engineer, the glass is twice as big as it needs to be.
 
OK, now I feel stupid for never seeing the collapsed Options bar ...
Thank you JohnRBaker [thumbsup2] for your quick response

Using NX 8.5 and 9.0 on Windows 7 (64)
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor