python - modelPanel (Maya) in QT UI using PySide -


i having issue parenting modelpanel (viewport) predefined space in qt ui created in designer. when try parent modelpanel , run script in maya, crashes.

example:

create new window in qt designer, , drag , drop vertical layout in window , save ui. in python class when parenting follows:

pm.modelpanel('modelpanela', p = 'verticallayout') 

the window drawn , see viewport, window not scaleable. has be. in qt designer got form > lay out grid. vertical layout scalable. save ui, reload class, , create window. maya crashes! why?


Comments

Popular posts from this blog

php - SPIP: From Tag directly to an article -

jquery - isAjaxRequest always return false -

ruby on rails - In a controller spec, how to find a specific tag in the generated view? -