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

Community Tip - You can subscribe to a forum, label or individual post and receive email notifications when someone posts a new topic or reply. Learn more! X

Simple representation material change?

acoates
12-Amethyst

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.


This thread is inactive and closed by the PTC Community Management Team. If you would like to provide a reply and re-open this thread, please notify the moderator and reference the thread. You may also use "Start a topic" button to ask a new question. Please be sure to include what version of the PTC product you are using so another community member knowledgeable about your version may be able to assist.
15 REPLIES 15
acoates
12-Amethyst
(To:acoates)

Nudge...any suggestions, please?

huggre
12-Amethyst
(To:acoates)

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")

dschenken
21-Topaz I
(To:acoates)

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

Metadata is handled by family tables.

dmorg
10-Marble
(To:acoates)

Assign both materials to the part. Then in relations add


PTC_MATERIAL_NAME = "MATERIAL_1"

IF PARAM == VALUE
  PTC_MATERIAL_NAME = "MATERIAL_2"
ENDIF

acoates
12-Amethyst
(To:acoates)

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.

dmorg
10-Marble
(To:acoates)

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

acoates
12-Amethyst
(To:dmorg)

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

dmorg
10-Marble
(To:acoates)

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

acoates
12-Amethyst
(To:dmorg)

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

huggre
12-Amethyst
(To:acoates)

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

acoates
12-Amethyst
(To:huggre)

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!

dschenken
21-Topaz I
(To:acoates)

What issues?

acoates
12-Amethyst
(To:dschenken)

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.

dschenken
21-Topaz I
(To:acoates)

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.

acoates
12-Amethyst
(To:dschenken)

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

Announcements
NEW Creo+ Topics: Real-time Collaboration


Top Tags