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_name
str 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_name
str Name of the component. The component names that are available depend on which model is used. Options include
"All","Lamination", and"Wedge".- visibility
int Visibility level. Values range from
0(invisible) to100(solid).
- group_name