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

Community Tip - Learn all about the Community Ranking System, a fun gamification element of the PTC Community. X

Assign materials once

RoyCrerar
14-Alexandrite

Assign materials once

Hi All,

 

In Creo we can assign the material to a part easily. My question is how can we utilise this information downstream? Hoiw do I use that designated material in the drawing and in the windchill attributes. Currently I seem to have to assign/ define in multiple places. This is open to error from duplication of effort and creates confusion if there is a mismatch. I surely can't be the only one who has experienced this issue.

 

Regards

ACCEPTED SOLUTION

Accepted Solutions
BenLoosli
23-Emerald II
(To:RoyCrerar)

In our start part, we have:

/*** SET MATERIAL PROPERTIES ***
IF PTC_MATERIAL_NAME=="UNASSIGNED"
MATERIAL="UNASSIGNED"
MATERIAL_DESC1="NO MATERIAL ASSIGNED"
MATERIAL_DESC2=""
MATERIAL_DESC3=""
ELSE
MATERIAL=material_param("PDM_NAME")
MATERIAL_DESC1=material_param("DESCRIPTION1_U")
MATERIAL_DESC2=material_param("DESCRIPTION2_U")
MATERIAL_DESC3=material_param("DESCRIPTION3_U")
ENDIF

 

In our material files, we have:

{
Name = DESCRIPTION1_U
Type = String
Default = 'UNS S30403, STAINLESS STEEL'
Access = Full
},
{
Name = DESCRIPTION2_U
Type = String
Default = '304L STAINLESS STEEL'
Access = Full
},
{
Name = DESCRIPTION3_U
Type = String
Default = '304L SST'
Access = Full
},

 

You can add any information to your material files that you need and then pull it to a parameter for your part descriptions.

View solution in original post

4 REPLIES 4
BenLoosli
23-Emerald II
(To:RoyCrerar)

What sort of downstream information are you trying to get?

Give us an example of what it is you want?

 

We pull parameters from the material files and use them to populate our part description material information.

 

RoyCrerar
14-Alexandrite
(To:BenLoosli)

Hi, At the moment when I assign material to the CAD part I cannot see how I can reuse that data in the Drawing for example. We end up using a manually entered attribute to reflect what was already specified in the Part.

I really would like this to pull through into the WTPart as our typical BOM shows the material, supplier and pigment. We have a number of components that are medical and we want o ensure the correct grades and pigments are used.

BenLoosli
23-Emerald II
(To:RoyCrerar)

In our start part, we have:

/*** SET MATERIAL PROPERTIES ***
IF PTC_MATERIAL_NAME=="UNASSIGNED"
MATERIAL="UNASSIGNED"
MATERIAL_DESC1="NO MATERIAL ASSIGNED"
MATERIAL_DESC2=""
MATERIAL_DESC3=""
ELSE
MATERIAL=material_param("PDM_NAME")
MATERIAL_DESC1=material_param("DESCRIPTION1_U")
MATERIAL_DESC2=material_param("DESCRIPTION2_U")
MATERIAL_DESC3=material_param("DESCRIPTION3_U")
ENDIF

 

In our material files, we have:

{
Name = DESCRIPTION1_U
Type = String
Default = 'UNS S30403, STAINLESS STEEL'
Access = Full
},
{
Name = DESCRIPTION2_U
Type = String
Default = '304L STAINLESS STEEL'
Access = Full
},
{
Name = DESCRIPTION3_U
Type = String
Default = '304L SST'
Access = Full
},

 

You can add any information to your material files that you need and then pull it to a parameter for your part descriptions.

RoyCrerar
14-Alexandrite
(To:BenLoosli)

Thanks Ben, That does look like it will fix my issue. I will give it a try.

 

Thanks again.

Announcements
NEW Creo+ Topics: Real-time Collaboration


Top Tags