How to add a model panel to a layout created in designer

5 views
Skip to first unread message
is duplicateview conversation

psud...@gmail.com

unread,
May 16, 2017, 6:28:46 AM5/16/17
to Python Programming for Autodesk Maya
Hi,

I am trying to place a model panel to a layout created in designer. I am using PySide in 2015


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 0x0000003F06BC0488>' not found.

tried out some examples but unable to find out in PySide

Any help ?
Reply all
Reply to author
Forward
This conversation is locked
You cannot reply and perform actions on locked conversations.
0 new messages