cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
Showing results for 
Search instead for 
Did you mean: 

Community Tip - Need help navigating or using the PTC Community? Contact the community team. X

How to control the model color for family instances

MB_10357724
10-Marble

How to control the model color for family instances

I want to assign different color for each family table instance. is there a way to do this? pls suggest.

 

10 REPLIES 10

I would not use a family table for this.

 

If you need the same part geometry that is a different color in Creo then use the part design model and merge the geometry into a derivative part for each color. For each derivative color assign the color to the part model and save it. All colors will have geometry driven by the master and will present the color assigned in Creo assemblies.

 

Is it required that you have Creo models of the same geometry that are different colors? If not then you can deal with this by tabulating the drawing by using suffix on a common part number. For example C123456 is the p/n and suffix -01 is white so C123456-01 represents a white part. You can use a table on the drawing to add any new colors as required in the future.

========================================
Involute Development, LLC
Consulting Engineers
Specialists in Creo Parametric

These are existing models available in Windchill. Refer attached image for the family table structure. 

Patriot_1776
22-Sapphire II
(To:tbraxton)

'Sup Tom!

 

True, but it seems like it's already a family table part, this seems exactly like what you would want a family table for instead of master model external references (that most people don't use or understand or may not have that optional module), and as I remember it, that was one of the things PTC touted as a family table enhancement (being able to assign colors to materials and swap them out).  So, to me, that's just another example of something PTC did that DOESN'T WORK.  Not that they care or are willing to fix it...

 

I remember for a short time it DID work, and I was totally stoked, because I was working on family tables of fasteners and I wanted to make some with a black oxide coating....aaaannnd then it stopped working next version...

You can assign a different color to every material in Creo.  You SHOULD be able to copy, say, aluminum 6061-T6 as 6061-T6_RED, change the color to red and then assign that as a material ("PTC_MASTER_MATERIAL" parameter column in the family table) to the instance....BUT, PTC STILL hasn't fixed that glitch.  It's SUPPOSED to work that way, and actually DID once back in the early Wildfire days, but after that and even now (and I just tested it), it doesn't work.  If you make the generic aluminum with it's stock silver color, if I make an instance that's brass (you have to open the instance to assign the material, it's difficult to do it in the table), then it changes the instance to that material and color, but when you go back to the generic it's the proper aluminum material but takes on the brass color!  I know of no fix.  You MIGHT be able to do it by creating a multibody part and make a copy of the body and assigning that body the color, but I'm not sure how that would work out.  I guess you could make a surface copy of the original part, then do a solidify cut to remove the original body so that only your new body with it's desired color is there.  Suppress the solidify cut as needed.  Rinse and repeat.

 

The material swap would be the PERFECT and easy way to do this, but, as I mentioned, it's been broken for, geez, 15 years now, like not being able to see cosmetic threads in the model unless you switch to wirefram...aaaannnd they're in no hurry to actually fix it.  But hey, we get a new and ever MORE confusing ribbon every year, RIIiiigght?

 

Best of luck...

There's an ugly workaround by using quilts or a zero value offset feature. See this thread:

https://community.ptc.com/t5/3D-Part-Assembly-Design/how-to-change-color-of-a-part-using-relation/td-p/291474

StephenW
23-Emerald II
(To:Pettersson)

I've done this in the past and it does work with a family table by suppressing and resuming correctly colored surfaces features to agree with the appropriate material.

I agree it's an ugly work-around but if you feel you really really really need it, it's there.!

Pettersson
13-Aquamarine
(To:StephenW)

I haven't done it myself, but I'm imagining an issue could be when people constrain one of the colored instances in an assembly. They might end up using references from the quilt. Then when you want to switch it for a different instance, the constraints fail because the quilt is now suppressed.

Use Component Interfaces 😁


@MB_10357724 wrote:

I want to assign different color for each family table instance. is there a way to do this? pls suggest.

 


Hi,

I am not 100% sure but it seems to me that in the past I was able:

  • assign 2 different colors to 2 different materials
  • assign above mentioned materials to 2 different family table instances
  • start Creo and open instance no.1 showing color1 ... then closing Creo
  • start Creo and open instance no.2 showing color2 ... then closing Creo

Unfortunatelly you cannot assemble 2 above mentioned instances into the same assembly !!!

 


Martin Hanák

Sorry, we are using material as "PURCHASED" for BOM purpose for all the instances which we don't want to change. 

Top Tags