cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
Showing results for 
Search instead for 
Did you mean: 

Community Tip - New to the community? Learn how to post a question and get help from PTC and industry experts! X

Relations - Does the exists condition work for parameters existing in the material file?

BillRyan
16-Pearl

Relations - Does the exists condition work for parameters existing in the material file?

I can't seem to get this condition to work.

 

IF EXISTS(material_param("MTL_MATERIAL_SPEC"))

MATERIAL_SPEC=material_param("MTL_MATERIAL_SPEC")

ENDIF

 

I'm starting to think the software is not capable of checking for existence of parameter in the mtl file.

If anybody has an alternate Condition / solution to make this work, let me know. 

 

2018-11-09 08_01_12-Relations.png

2 REPLIES 2

I think by parameters it means only such entities defined in a part or assembly. A material file is neither so this function is not valid for it.

Yeah, I think the only solution is to have some j-link app running in the background to populate the material file attribute when it is missing...

Announcements
NEW Creo+ Topics: PTC Control Center and Creo+ Portal


Top Tags