Part families color
Part families color
(OP)
Is it possible to have different color of of screw part families ?
I would like that some screws are black and others white.
I would like that some screws are black and others white.
Thank you...
Using NX 8 and TC9.1





RE: Part families color
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.
RE: Part families color
is it possible to have an example of this solution ?
Thank you...
Using NX 8 and TC9.1
RE: Part families color
Thank you
NX8 as well
RE: Part families color
enter part family color in the search
RE: Part families color
Thanks
RE: Part families color
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.
RE: Part families color
you are part of the Siemens PLM, please search the sample/solution to create PF with different color.
For designer it's important, so they can visibly understand which treatment is used in this PF and decide if change or not, again with True Shading, we have in real time the idea of how the machine become.
Thank you...
Using NX 8 and TC9.1
RE: Part families color
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.
RE: Part families color
Thank you...
Using NX 8 and TC9.1
RE: Part families color
This can be done without KF if you are using NX8.5 or above,
Step 1 Define a "dummy" feature associated with the body for each color alternative, for example an associative move with 0 translation. Rename each dummy move feature to the wanted color ex red, green, blue.
Step 2 Right click each dummy feature and choose Assign feature color, and select the desired color.
Step 3 Create a suppress by expression for each of the above features.
Step 4 Create a string expression named color which will be used to choose the parts color in the part family table
step 5 edit each suppression expression to "" if color="desired color" then 1 else 0 ""
There is now have a link between the color of the part body and an expression which is easily edited from the part family table. The only downside is that you have to have a dummy feature in the part navigator for each color.
I have attached a example part demonstrating the above method.
RE: Part families color
thank you for the workaround, but I'm using NX8.
I will attend a John response.
Thank you...
Using NX 8 and TC9.1
RE: Part families color
RE: Part families color
Yes it can be done as John already stated.
Sorry i just found this post so quickly created one KF coded part where the part family has an option to control the color (using expression) of each member. (as of now a specific color is associated with each member but you can change it as per your requirement.).
Due to lack of time i have created a very simple cylinder feature but it applies the same to every model you wish to change in terms of appearance).
I am attaching the zip file (containing a demo video file,the part file and a screenshot of the same ..multiple part families member invoked in a single assembly).
While calling in the part you just need to change the color.
Hope this is what the requirement is.
Thanks and Best Regards
Kapil Sharma
RE: Part families color
Have anice time all of you.
Best Regards
Kapil Sharma
RE: Part families color
thank you. Very interesting.
Can you provide a simple video where demonstrate how to add attribute and ug_body class in KF environment ?
Thank you...
Using NX 8 and TC9.1
RE: Part families color
Here is the video (i have shown how color can be controlled through expressions using KF. This expression can then be used further while creating the part family).
Best Regards
Kapil
RE: Part families color
all it's clear now.
Now I need only to apply your fantastic tutorial/solution.
Thank you...
Using NX 8 and TC9.1
RE: Part families color
I did proposal petulf and it's working.
"tep 1 Define a "dummy" feature associated with the body for each color alternative, for example an associative move with 0 translation. Rename each dummy move feature to the wanted color ex red, green, blue.
Step 2 Right click each dummy feature and choose Assign feature color, and select the desired color.
Step 3 Create a suppress by expression for each of the above features.
Step 4 Create a string expression named color which will be used to choose the parts color in the part family table
step 5 edit each suppression expression to "" if color="desired color" then 1 else 0 ""
But now I have problem with use this like UDF Feature.
If I try change color directly from part it works.
If I create udf and insert to another file, colors don't change.