Community Tip - Learn all about the Community Ranking System, a fun gamification element of the PTC Community. X
We have created custom material as per our company standard, we tried to call this material description in drawing note. We have the syntax note &ptc_material_name to call the name. Is there any syntax to call description?
I also tried &PTC_ASSIGNED_MATERIAL:att_body but it gives result as PTC_MASTER_MATERIAL
Kindly go through the attached image and let me know how to find the syntax code for this highlighted cell.
If I could able to find the syntax note for particular cell or column, it would be helpful for not only in materials but also in working on dimensions
Thanks in advance.
Solved! Go to Solution.
1. Enter in the DESCPRITION field of the material file.
2. Create custom parameters (ex : MATERIA_NAME)
3. Definition of relation
MATERIA_NAME =material_param("PTC_MATERIAL_DESCRIPTION")
4. config.pro
mass_property_calculate automatic
5. Automatically changes the material name when you select a material file
- You must click the Regenerate button
- It is effective to use the MBD function in startup files.
^_^
Each parameter can be accessed via material param and specify the name in quotes
foo = material_param(„<Name_In_the_Matfile>“
like
material_param("NORM")
1. Enter in the DESCPRITION field of the material file.
2. Create custom parameters (ex : MATERIA_NAME)
3. Definition of relation
MATERIA_NAME =material_param("PTC_MATERIAL_DESCRIPTION")
4. config.pro
mass_property_calculate automatic
5. Automatically changes the material name when you select a material file
- You must click the Regenerate button
- It is effective to use the MBD function in startup files.
^_^