Skip to main content
1-Visitor
September 25, 2013
Solved

Material Parameters within a note

  • September 25, 2013
  • 1 reply
  • 10547 views

Is it possible to reference the PTC_MATERIAL_DESCRIPTION within a note.... this parameter is located within the assigned material. It works if i grab it within a table on the drawing, BUT is it possible to do it within a note... if it is, what is the procedure to do so.

 

If someone could please help me with this that would be great, this would benifit, right now we are creating a parameter called &material.... but it is not related to the designated material, so when someone changes the material of the part, the material note doesnt updated, it renames the same.


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.
Best answer by DHLewis

Thank you guys!

I was just searching PTC KB for a keyword and found a much better solution.

Set the Relation in your model to

MATERIAL=material_param("PTC_MATERIAL_DESCRIPTION")

and that will assign the description to the currently active material.

It is absolutely amazing that this was not pointed out earlier in my many tech support calls to PTC.

You can find the detailed solution at:

https://www.ptc.com/appserver/cs/view/solution.jsp?n=CS44055

1 reply

Dale_Rosema
23-Emerald III
23-Emerald III
September 25, 2013

Have you tried &ptc_material_description in the note? That works with other parameters. You'll need to have a space before and after unless you use the { } brackets.

bwudtke1-VisitorAuthor
1-Visitor
September 25, 2013

That does not work... it works within a table when i do a report parameter though! But I want it on a note.

Dale_Rosema
23-Emerald III
23-Emerald III
September 25, 2013

Maybe I am looking at the wrong thing, but here it is in a note for me.

Matl_name.jpg

The left shows AL6061, the text box on the right shows &ptc_material_name.

Thanks, Dale