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

Simple representation material change?

Highlighted
Newbie

Simple representation material change?

Hi All,

 

Is it possible to assign two materials to a part and switch between them with simple representations? I have a concept for which I would like both extruded and cast quotations in different materials; I have simple reps that switch between draft features etc, but being able to switch material would be very useful.

 

Many thanks.

15 REPLIES 15
Highlighted

Re: Simple representation material change?

Nudge...any suggestions, please?

Highlighted

Re: Simple representation material change?

Yes you can..

In your family table, add a new table column.

Select "Parameter" and then select the PTC_MATERIAL_NAME parameter.

Now, type the desired material name for each instance in your fam. table.

(all materials must be defined as "Materials in Model")

Highlighted

Re: Simple representation material change?

Simplified reps typically apply to geometry representation, not metadata like material.

Metadata is handled by family tables.

Highlighted

Re: Simple representation material change?

Assign both materials to the part. Then in relations add


PTC_MATERIAL_NAME = "MATERIAL_1"

IF PARAM == VALUE
  PTC_MATERIAL_NAME = "MATERIAL_2"
ENDIF

Highlighted

Re: Simple representation material change?

Great stuff, thanks All. I'd prefer to avoid family tables if I can, so Dan: does"value" in your expression above need to be changed to anything? I'm not sure what it relates to.

Highlighted

Re: Simple representation material change?

You could have a parameter  of CAST set to YES/NO parameter

PTC_MATERIAL_NAME = "MATERIAL_1"

IF CAST == YES
  PTC_MATERIAL_NAME = "MATERIAL_2"
ENDIF

Highlighted

Re: Simple representation material change?

Thanks Dan. So could I switch between this parameter in a simple rep or would it need a family table again?

Highlighted

Re: Simple representation material change?

Our model is driven by Pro/Notebook.  Based on inputs there, the parameters change and the material would update

Highlighted

Re: Simple representation material change?

I'm not familiar with Pro/Notebook, so I'll have to do some reading tonight!

Highlighted

Re: Simple representation material change?

Andy

Just by curiosity, any particular reasons why you are avoiding family tables?

I find family tables one of the most powerfull features in Creo

Highlighted

Re: Simple representation material change?

Indeed, they have their uses, but unfortunately the are (we have found) incredibly sensitive to how they are handled in and out of Windchill which has burnt us before and leaves us with a couple of legacy issues to this day!

Highlighted

Re: Simple representation material change?

What issues?

Highlighted

Re: Simple representation material change?

We have a family table for our bolts; somebody once checked one out by mistake and, somehow, has retained the ownership. We cannot delete the instance, the owner or anything to try and resolve it. Our service provider is currently trying to work out a solution. It also can add all instances to a workspace when only one is required. Quite frequently. Very annoying and clearly something corrupt there.

Highlighted

Re: Simple representation material change?

Seems more like a problem with Windchill. I think it's a design flaw with Windchill PDMLink to allow more than one revision state for family table items because there is only one file. It probably saved $10 in software development.

Highlighted

Re: Simple representation material change?

Which has no doubt been passed onto the end users...

Announcements