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

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

Level 11

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

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

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.

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

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...