Skip to main content
16-Pearl
November 9, 2018
Question

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

  • November 9, 2018
  • 1 reply
  • 3209 views

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

1 reply

21-Topaz II
November 9, 2018

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.

BillRyan16-PearlAuthor
16-Pearl
November 9, 2018

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