Change model color based on attribute or expression or ...
Change model color based on attribute or expression or ...
(OP)
Does anyone know of a way to change model color based on attribute or expression or anything else.
We have mold wizard parts (cooling fittings, baffles, diverters ...) and the same part file could be used by different suppliers. An example would be a DME Plastic Baffle and the Progressive Brass Baffle. These are all controlled by the same spreadsheet data and the only thing that is different is the part attributes. Visually when we look at the screen they all look the same. Is there a way that we could change the color of the model based on the supplier or material attributes? This way we would have a quick visual check as to what is in the design.
p.s. – We could make a separate spread sheet and/or part model but that would make for a lot of work to go through when we have to make changes down the road.
NX 6.0.2.8
Machine type :- GenuineIntel Family 6 Model 15 Stepping 11, Intel(R) Xeon(R) CPU 5150 @ 2.66GHz
OS :- Windows NT (x64) 5.2 (Workstation) (Build 3790: Service Pack 2)
:- 64 bit software version
# Processors :- 4
Memory :- 12285Mb
Total Swap :- 31865Mb
Free Swap :- 25771Mb
We have mold wizard parts (cooling fittings, baffles, diverters ...) and the same part file could be used by different suppliers. An example would be a DME Plastic Baffle and the Progressive Brass Baffle. These are all controlled by the same spreadsheet data and the only thing that is different is the part attributes. Visually when we look at the screen they all look the same. Is there a way that we could change the color of the model based on the supplier or material attributes? This way we would have a quick visual check as to what is in the design.
p.s. – We could make a separate spread sheet and/or part model but that would make for a lot of work to go through when we have to make changes down the road.
NX 6.0.2.8
Machine type :- GenuineIntel Family 6 Model 15 Stepping 11, Intel(R) Xeon(R) CPU 5150 @ 2.66GHz
OS :- Windows NT (x64) 5.2 (Workstation) (Build 3790: Service Pack 2)
:- 64 bit software version
# Processors :- 4
Memory :- 12285Mb
Total Swap :- 31865Mb
Free Swap :- 25771Mb





RE: Change model color based on attribute or expression or ...
Edit -> Object Display...
...and then use the Attribute Filter to select the object(s) you wish to change the color of by entering the Attribute name and values?
John R. Baker, P.E.
Product 'Evangelist'
Product Design Solutions
Siemens PLM Software Inc.
Industry Sector
Cypress, CA
http://www.siemens.com/plm
http://www.plmworld.org/museum/
To an Engineer, the glass is twice as big as it needs to be.
RE: Change model color based on attribute or expression or ...
Is there anyway this could be automated when the file is first added to the assembly using mold wizard rather than a secondary operation?
RE: Change model color based on attribute or expression or ...
John R. Baker, P.E.
Product 'Evangelist'
Product Design Solutions
Siemens PLM Software Inc.
Industry Sector
Cypress, CA
http://www.siemens.com/plm
http://www.plmworld.org/museum/
To an Engineer, the glass is twice as big as it needs to be.
RE: Change model color based on attribute or expression or ...
I tried to do what you suggested but I was still unable to select the solid model. I have enclosed a part file that has all of the standard attributes that we currently use. Do these type of attributes work for what we are trying to do or is there something different we would need to do to change the model color based on an attribute?
RE: Change model color based on attribute or expression or ...
John R. Baker, P.E.
Product 'Evangelist'
Product Design Solutions
Siemens PLM Software Inc.
Industry Sector
Cypress, CA
http://www.siemens.com/plm
http://www.plmworld.org/museum/
To an Engineer, the glass is twice as big as it needs to be.