Community Tip - Did you get an answer that solved your problem? Please mark it as an Accepted Solution so others with the same problem can find the answer easily. X
it seems that the function material_param() applies only for numerical parameters. You cannot access string parameters from the material with this function. Is there a method to retrieve a string parameter value from the assigned material?
Hi,
in Creo 10.0 I added Cast_iron_gray.mtl to test part.
Following relations work well.
x_PTC_POISSON_RATIO=material_param("PTC_POISSON_RATIO")
x_GRANTA_DATABASE_KEY=material_param("GRANTA_DATABASE_KEY")
Hello RM_5465201,
Not sure if I got your question.
Notes and relationships do not make a difference for parameter type (at least, if types are not mixed). They work for all types of parameters. For sure it is not possible to treat strings as double or other way around. Creo always has issues with type conversion.
