Continue to Site

Eng-Tips is the largest engineering community on the Internet

Intelligent Work Forums for Engineering Professionals

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

Tool: NX Edit Face Color 6

Status
Not open for further replies.

CNSZU

Mechanical
Sep 2, 2005
318
Hello,

Have you ever had a part with many tangent faces and wanted to change their color without having to select every single face individually? Do you want to separate different areas of a solid/sheet body using color? Perhaps you want to use this way to communicate design intent with your colleagues, either with the NX part or exporting to a STEP file (face colors are stored with the file). Here is a simple journal with an NX style dialog that helps you with this task. Look at the preview image to get the idea.

HOW TO USE:
1. Select the faces you wish to change color using any face selection intent rule.
2. Click the color box and select the color you wish to use OR click the face tool under "Inherit Face Color" and select a face that has the color you wish to use.
3. Click OK or Apply.

HOW TO INSTALL:
download the attached "NXEditFaceColor_1_0.rar" and extract
in NX: Customize ...> New User Command. With the new button, Edit Action: Type: Journal File, browse to the vb file.
Change button image > image name. browse to the FaceColor.bmp file.
Replace the path in the beginning of the journal file with the folder with the dlx file.

Tested with NX 9.0 native, Win 8.1, .NET framework 4.51
Should work with NX versions from 7.5 up to at least 9.0.
Not tested with Teamcenter.

Let me know if there are problems or improvements to be made.

PREVIEW IMAGE: JOURNAL FILES:
NX9 Win8.1 64bit i7-3770K 16GB Quadro2000
 
Not to take anything away from this very productive tool, another capability which can help is the ability to edit the color of a feature itself, which was introduced in NX 8.5. One example where this is useful is when working with models that have complex blends and you'd like to set them apart by changing their colors or wanting to highlight the faces created by a Shell operation.

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.
 
After 2 days of use, I say you that tool is awesome.
As the other tool, great job.

Thank you...

Using NX 8 and TC9.1
 
for me , that i have to work with nx7.5
this tools is the best.
awesome.
thank you very much.
 
This is a very neat tool, good job! Is there a way to allow the change of the SelectionScope from WorkPart to AnyInAssembly?

DHuskic
Data Prep NX7.5
Kettering University
Class of '17
 
Here is version 1.1.
The selection scope now includes Entire Assembly, however this only works for latest versions, not for 7.5. Also, remember that if you want persistent color, they should always be applied to the displayed part.

JOURNAL FILES:
I'm delighted that people have found this tool useful, thank you for the positive feedback!

NX9 Win8.1 64bit i7-3770K 16GB Quadro2000
 
Hello

This journal is great, but I have one problem.

I use nx custom directories and I cant find, what I must write for the path with the location of the DXL file.
I try several options like this
Public Shared JournalDirectory As String = "$NX_CUSTOM_TOOL_BARS\vb\NXEditFaceColor"
or
Public Shared JournalDirectory As String = "$NX_CUSTOM\toolbars\vb\NXEditFaceColor"


Can somebody help me, Thanks
 
Hi tomice,

Unfortunately, "custom" directories doesn't work with this journal, you need to enter the entire directory as it appears in the file explorer. (eg. C:\vb\NXEditFaceColor\)

NX9 Win8.1 64bit i7-3770K 16GB Quadro2000
 
Thanks, i will copy file to NX directory
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor