set_material#

McadModel.set_material(index, material)#

Set material name of a MCAD model part at a given index.

Parameters:
indexint

Index of the MCAD model part.

materialstr

New material name.