Hi all, pardon me if my thread title is misleading.
I was utterly lost in this code that I was doing as I am understanding how 
it works.

I used the same method with the Hypershade or hyperPanel and it works fine. 
But as I tried it along with graph editor, UV texture window etc. I keep 
getting the error:



*#     (out_panel1, "right", 0)# RuntimeError: Object '' not found. # *While 
executing it, the 'wrong' window was prompted instead of this custom ui i 
did.
Any ideas?

def ui():
    main_win = cmds.window(win_name, title = "TEST", width = 600, height = 
600)
    tab_win = cmds.tabLayout()

    out_layout1 = cmds.formLayout("textureWin", parent = tab_win)
    out_panel1 = cmds.TextureViewWindow()    

    cmds.formLayout(out_layout1, edit = True, 
                    attachForm=[
                        (out_panel1, "top", 0),
                        (out_panel1, "left", 0), 
                        (out_panel1, "bottom", 0), 
                        (out_panel1, "right", 0)


-- 
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/e5e0e044-ffd5-45e9-96ed-be3e73153240%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to