Community Tip - New to the community? Learn how to post a question and get help from PTC and industry experts! X
Hello to all Creo User,
Hello Tom Uminn, Martin Hanak
could anybody tell me how i can change the "_" underline into "." a point?
My Problem is, i want to show the "PTC_MATERIAL NAME" in a notification, but this parameter accepted only "_" underline in the label / Name.
The real materialnumber is: 1.0037
The label from the PTC_MATERIAL_NAME is: 1_0037
How can i extract this either in a new custom parameter or directly into a notification?
Thanks in advance
Heiko
Solved! Go to Solution.
Hi,
see https://support.ptc.com/appserver/cs/view/solution.jsp?n=CS44055
You can add 1.0037 string into material definition into description field or into user defined parameter. Then you have to define relation, for example:
!*** relations use active model material
!*** JMENO is user defined parameter
a=material_param("PTC_MATERIAL_DESCRIPTION")
b=material_param("JMENO")
!*** relations use model material named CU
!*** JMENO is user defined parameter
c=material_param("PTC_MATERIAL_DESCRIPTION","CU")
d=material_param("JMENO","CU")
In annotation you can call out parameters using ¶matername notation.
MH
Hi,
see https://support.ptc.com/appserver/cs/view/solution.jsp?n=CS44055
You can add 1.0037 string into material definition into description field or into user defined parameter. Then you have to define relation, for example:
!*** relations use active model material
!*** JMENO is user defined parameter
a=material_param("PTC_MATERIAL_DESCRIPTION")
b=material_param("JMENO")
!*** relations use model material named CU
!*** JMENO is user defined parameter
c=material_param("PTC_MATERIAL_DESCRIPTION","CU")
d=material_param("JMENO","CU")
In annotation you can call out parameters using ¶matername notation.
MH
If you must not modify material, then use string manipulation relation functions.
MH