mcclark
Aerospace
- Jul 21, 2011
- 31
What I'd like to do is whenever I assign a material to a particular part, it changes the color of that part according to the material. For example, steel parts would be blue, aluminum would be green, wood would would be brown, un-assigned parts would be gray, etc. It's my understanding that this functionality does not exist in the base NX program, but can be done with journals. I think the easiest approach would be to create an excel spreadsheet table with 2 columns. The first column lists all the materials in the material library and the second column would have a color. Then when the journal runs, it finds the material attribute of each part in the assembly, goes into the excel spreadsheet to determine a color for that particular material, and then change the color of the part to that color.
I think that's how it should work but I have no experience writing journals. Does anyone have something they use already or have any ideas for how to code this? I saw a reply by cowski in a thread that had a similar question, but it was from 2014 and the journal file that cowski posted no longer was active. Thanks for any help.
I'm running NX11 and TC11.
I think that's how it should work but I have no experience writing journals. Does anyone have something they use already or have any ideas for how to code this? I saw a reply by cowski in a thread that had a similar question, but it was from 2014 and the journal file that cowski posted no longer was active. Thanks for any help.
I'm running NX11 and TC11.