Heres some sample code for you and how to use the path returned from filedialog. import maya.cmds as cmdsimport maya.mel as melimport osdef createUI(): if cmds.window('MyWindow', exists=True): cmds.deleteUI('MyWindow') window = cmds.window("MyWindow",title="Long Name", iconName='Short Name', widthHeight=(200, 100));…