Hi, I'm currently trying to create a UI for my script. I'm using a frameLayout for subsections of the script, and one of those frames needs an embedded viewport. So I dug up a python example from the official documentation on modelEditors, and it attaches the editor like this:
//
cmds.formLayout( form, edit=True, attachForm=[(column, 'top', 0), (column, 'left', 0), (editor, 'top', 0), (editor, 'bottom', 0), (editor, 'right', 0)], attachNone=[(column, 'bottom'), (column, 'right')], attachControl=(editor, 'left', 0, column))
//
But when I try to attach the model editor to the TOP of the layout, it just doesn't show up! I want to open up the frameLayout tab, have the viewport at the top of the frame, and then have buttons and whatnot underneath that editor. How do I approach this, or are there certain restrictions I'm not aware of? Any examples would be highly appreciated!