HuiLiu
Ansys Employee
You can try command object to assign the material properties, see this link from Mechanical user's guide>specifying materials. Since you have the named selection created every time the geometry is generated, you can have the command lines in your command object to first select the name selection and the elements > *get the type id or matid etc. > emodif the material attribute of the selected elements.n