UI#

clear_messages()

Clear messages in the message display window.

disable_error_messages(active)

Disable the display of error messages.

display_screen(screen_name)

Display a screen within Motor-CAD.

initialise_tab_names()

Initialize the available tabs in the Motor-CAD UI.

save_motorcad_screen_to_file(screen_name, ...)

Save the entire Motor-CAD screen of a tab to an image file.

save_screen_to_file(screen_name, file_name)

Save a screen to an image file.

set_3d_component_visibility(group_name, ...)

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

set_motorlab_context()

Change Motor-CAD to the lab context.

set_visible(visible)

Set the visibility of the Motor-CAD UI.

show_magnetic_context()

Show the magnetic context in Motor-CAD.

show_mechanical_context()

Show the mechanical context in Motor-CAD.

show_message(message)

Display a message in the Motor-CAD message window.

show_thermal_context()

Show the thermal context in Motor-CAD.