set_component_material#

MotorCAD.set_component_material(component_name, material_name)#

Set the solid material properties of the component from the materials database.

Parameters:
component_namestr

Component name. In Motor-CAD, you can select Input Data -> Materials and view the Component column to see component names.

material_namestr

Name of the solid material.