I am creating a script in i want to place a model panel in a grid layout 
created in QtDesigner.


[image: enter image description here] <https://i.stack.imgur.com/lO7Zw.png>


model panel has to be placed in the red area. I tried


cmds.setParent(self.LAY_grid_modelEditor)
cmds.modelPanel('testEditor', cam='persp')
cmds.setParent('..')


but getting the error


# RuntimeError: setParent: Object '<PySide.QtGui.QGridLayout object at 
0x000000A49BF80F88>' not found.


I am using PySide in Maya 2015.


Any Help...

-- 
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/7cb2efc4-a921-4077-abc6-2f8f9c4381b0%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to