Skip to main content
1-Visitor
January 28, 2013
Question

Assign different color to a family table component

I have an assembly with 5 different components and I'm planning to create 7 different instances. 4 of the 5 components will always be painted the same color, but the 5th component needs to be a different color (color-coded for each of the 7 instances). When I assign that component a color in the generic assembly, the same color propogates to each of the 7 assembly instances.

Anybody know how to overcome this problem?

24 replies

Patriot_1776
22-Sapphire II
January 28, 2013

This has been covered. You can create different materials with different appearance (but same mechanical properties), and then assign different materials to different instances. You must load all the different materials first in the generic, and then add the parameter "PTC_MATERIAL_NAME" as a column and swap out the different materials for the different instances.

Translate
Dale_Rosema
23-Emerald IV
January 28, 2013

http://communities.ptc.com/message/192964#192964

This is a link to that thread. You may have to cut and paste.

Thanks, Dale

Translate
24-Ruby III
February 28, 2013

Bill,

today I read the following information:

1. Select the required colors for the respective material by using menu selection

File > Properties > Change Material > Double click on the required material >

Appearances Tab > Chooser > Select the required Color > OK >#OK.

2. Note that no color is assigned to the generic part the PTC_MATERIAL_NAME

for generic should be UNASSIGNED.

3. Select the parameter PTC_MATERIAL_NAME as the variant for the family table

and then select the required material for each of the instances.

Martin Hanak

Translate
1-Visitor
February 28, 2013

Martin,

This is precisely how I set up my family table, but it does not work. When I open a part (whether it's the generic or an instance), it always adopts the most recent color in memory (PTC_MATERIAL_NAME).

Once in a while a regeneration might work, but it's only temporary.

Translate
24-Ruby III
February 28, 2013

Bill,

just in case I have some time to test it by myself... What ProE/Creo version do you use ?

Martin Hanak

Translate
14-Alexandrite
March 1, 2013

Hi folks,

If you need to add diferent color for your components and do you want to use Family Table, you can create on your Generic model Surfaces Copy feature (as Solid Surface copy = select surface>RMB>Solid Surfaces >> CTRL+C >> CTRL+V -> enter)

Change name in model tree (you can set same name for copy feature as your color).

You can create many of copy geometry features and then set diferent colors for Quilts (created surfaces).

In Family table you can select features (Copy geometry) and set "visibility" for your instance models.

Regards,

Vladimir

Translate
24-Ruby III
March 1, 2013

Vladimir,

just one note ...

It seems to me that in the past, ProE mixed the color of solid face with color of quilt surface, when user used this trick. Stripes of both colors were displayed instead of quilt color.

Martin Hanak

Translate
14-Alexandrite
March 1, 2013

Hi Martin, it is working correctly - I have tried it with ProE Wildfire 2.0 too

different_colors.JPG

Regards,

Vladimir

Translate
5-Regular Member
September 23, 2026

Hello, a few years late to this thread but maybe someone still faces the same problem. We have Creo 12.4. and I managed to assign different colours to instances of family table.

What you need to do first is that you assign a colour to the every material you’re planning to use. Once you got this covered, you go to the generic part and you add all those materials to the model. You should not set some material to master, leave it as it is.

In model tree under the Design Items expand Bodies and here you have to assign a material to body, not to the model itself. (see screenshot below)
 

Here it does not matter which material you decide to select, but it has to be one of those which you added to the model.

After that, you can create a family table. Add columns → choose parameter → and here in the Look In tab you have to select Body (see screenshot below)

Once you select look in to body, you have to click on your body in model tree for a parameter to appear in selection box.

You confirm selection with Insert Selected and then you just add instances to the family table and from the drop down menu select the material you need.

 

To my knowledge this is the only way to display different colours in instances without a bug.

Hope this helps :)

Translate
Patriot_1776
22-Sapphire II
September 23, 2026

You USED to be able to assign different materials (with their different colors) to different instances, in early Wildfire I think it was, then in later versions of Wildfire it stopped working and hasn’t worked since.  I’d given up on PTC actually fixing this and don’t play with bodies too much.  I’ll have to try this and see if it works, thanks for the Pro/WORKAROUND (Old insider joke).

Translate
5-Regular Member
September 25, 2026

Maybe I was celebrating to early… few days back this solution was working but when I tried the same procedure today with new part, it suddenly doesn’t work… I don’t really know why it doesn’t work…

Translate
15-Moonstone
October 13, 2026

Hi

I am on Creo 10.0.9.0.

I tried the method used by Vladimir and it works perfectly. There is no need to assign different material.

I added a “Restricted” parameter “Colour” and assigned different colours to it. Added the Parameter to the family table for Leader Notes indicating colour. The following picture should explain the process.

The material is as defined in the generic part.

 

 

Translate
5-Regular Member
October 13, 2026

Hi,

yes, that method works good but the problem with Surface Copy feature is that it changes the SURFACE ID. And if you have this instance assembled with constraints on surfaces and then you want to Replace the instance with different member of the same family table, it will cause a fail in constraints.

Translate
15-Moonstone
October 14, 2026

A surface copy is needed only when one wants to render the colour on the part. One would have to take care during assembly to reference solid geometry instead of the quilt. One can create a ‘Component Interface’ for the part so as to assemble the parts with correct references. Another way though not preferable, would be to assemble the Generic Part with assembly constraints chosen with a ‘query select’’. 

Another method could be the use of “Inheritance Feature”. If ‘P’ is the main part, P1, P2 are the inherited parts, then the concern for incorrect referencing should be taken care of since the surface copy would be on the inherited parts. However, one would need AAX module to create the “Inheritance Feature”. Replacing one part with another though possible need to be checked on AAX.

Both have advantages and disadvantages. If a Family table is used, one need not have drawings made for the child parts. A 2-D Repeat Region Table would populate the instances with the colour in the drawing created for the generic part. Family table would also ensure that the parts are linked in Windchill.

Would like hear other’s insights too on the subject.

Translate