Community Tip - Did you get called away in the middle of writing a post? Don't worry you can find your unfinished post later in the Drafts section of your profile page. 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.