set MatE [hm_getentityvalue mats MATERIALID \$E 0 -byid]
In nastran its returning value but in abaqus and radioss its returning zero