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

Community Tip - Your Friends List is a way to easily have access to the community members that you interact with the most! X

Translate the entire conversation x

How to add a PTC_REPORTED_MATERIAL to a relation in a startpart

RobertH
15-Moonstone

How to add a PTC_REPORTED_MATERIAL to a relation in a startpart

Currently we have the following relation in our startpart

MATERIAL = MATERIAL_PARAM("CONDITION")

This arranges that the parameter MATERIAL is filled with value of the material parameter CONDITION. This parameter MATERIAL is shown in the BOM.

As with Creo 7 there is the multi-body added. In this situation it is possible to use multiple materials in one part. When this is the case there is a parameter PTC_REPORTED_MATERIAL created which contains the name (I think it's also the condition name) of the used materials separated by a ",", see below.

 

RobertH_0-1680701797137.png

 

I thought I update the relation in our startpart (template) but it is not possible to use the relation

MATERIAL = PTC_REPORTED_MATERIAL 

It then shows the error "Invalid symbol ' PTC_REPORTED_MATERIAL ' found.".

 

Somebody a solution?

 

 

 

3 REPLIES 3
KenFarley
21-Topaz II
(To:RobertH)

From the documentation here: https://support.ptc.com/help/creo/creo_pma/r9.0/usascii/index.html#page/model-based_definition/about_material_parameters.html 

 

It states:

"The system parameter PTC_REPORTED_MATERIAL is used to report materials in the BOM table and to view all materials assigned to the part. You cannot edit this parameter. You also cannot use it in relations. At part level, the parameter PTC_REPORTED_MATERIAL reports all the materials assigned to all bodies in that part. At body level, this parameter reports the actual material assigned to the body."

RobertH
15-Moonstone
(To:KenFarley)

I was hoping I am able to control the reported material somehow. What if you have for example 10 different materials used in one part, then the length of the generated PTC_REPORTED_MATERIAL become a bit lengthy to show in a BOM list on a drawing.

RobertH
15-Moonstone
(To:RobertH)

We now have Creo 11 and still the same problem But as this is quite common all other users should have the same "challenges".

Facts:

  • Using multi-body with different materials gives a list in PTC_REPORTED_MATERIAL
  • Adding this PTC_REPORTED_MATERIAL to a repeat region and set ptc_reported_material_in_region to multi-material shows  a nice horizontal list of the used materials in case of muti-body with different materials (so "&PTC_REPORTED_MATERIAL" results in "Steel, Wood" for example) (sse also screenshot below).
  • The ptc_reported_material_in_region option is not available on model level (only on drawing level)
  • It is not possible to use this PTC_REPORTED_MATERIAL in a relation
  • An assembly has no parameter PTC_REPORTED_MATERIAL

RobertH_0-1762266230992.png

 

The challenge we have is 

How to get this PTC_REPORTED_MATERIAL correct designated to Windchill?

How to set this in the drawing template? As an assembly has no PTC_REPORTED_MATERIAL, the template cannot be the same for a part or a drawing, that's not really convenient.
Currently we have solved this by using the parameter MATERIAL and a relation on parts to fill this with the material description and for assemblies set a relation to leave this parameter MATERIAL empty. So we can display this parameter MATERIAL on the drawing table. And also designate this parameter MATERIAL to Windchill.

Looking at the multi-body situation, it looks like PTC wants us to use the PTC_REPORTED_MATERIAL but I get the feeling they didn't make a complete usable solution...

Announcements
NEW Creo+ Topics: Real-time Collaboration

Top Tags