You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Add the ui file to the __Files__ variable in the metadata
In the macro import FreeCADGui as gui
Later in the macro ui = gui.PySideUic.loadUi('relative_path_to_ui_file') or form, widget = gui.PySideUic.loadUiType('relative_path_to_ui_file')
Running form, widget = gui.PySideUic.loadUiType('relative_path_to_ui_file') with FreeCAD v0.19 on Ubuntu 20.04 requires the manual installation of pyside2uic from PySide2-tools. Commands to be executed in the terminal: