Do you mean to say, I should wrote it like this perhaps:

def initialWindow(self, *args):
        self.window = cmds.window(win_name, menuBar=True, iconName=
'.chanFileImport', widthHeight=(335, 221), sizeable=False)

And how do I initialize a new one? Cause in my case, the UI will only be 
prompted if something is imported in followed by the ui prompt

-- 
You received this message because you are subscribed to the Google Groups 
"Python Programming for Autodesk Maya" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/python_inside_maya/7497217a-956c-463e-836b-d5a0167a792a%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to