set_3d_component_visibility#

MotorCAD.set_3d_component_visibility(group_name, component_name, visibility)#

Set the visibility of a component by group name and component name.

Parameters:
group_namestr

Name of the group. Options are "Machine", "Stator", "Rotor", and "Shaft Components". If the component is in the thermal context, "Mounting" and "Outer Casing" are also options.

component_namestr

Name of the component. The component names that are available depend on which model is used. Options include "All", "Lamination", and "Wedge".

visibilityint

Visibility level. Values range from 0 (invisible) to 100 (solid).