get material name from *MatNum

Hello

Is there a way to get the material name from *MatNum in *loop material ?

Consider the loop

*loop materials
        Material *MatNum is assigned DENSITY = *MatProp(Density,real)
        Material *MatNum has name ???
*end materials

The problem is that the model has many materials and each portion is given a material name (which is copied from an existing one). With the somehow random *MatNum assigned, it’s not possible to know which material number is assigned to which name in the simulation script.

Giang

the 0-index field return the material’s name

*MatProp(0)