[Maya-Python] feed user input value back to an attribute

2014-03-11 Thread Jason Huang
Hi everyone, I am new to the forum. Please bear with me if my question sounds too vague. Trying to create a simple spreadsheet-like interface to list the value of selected attribute and be able to update/feed the user input value back to the attribute shown in Attribute Editor. Here is the

[Maya-Python] Maya 2014 placing Qt Widgets on top of viewport

2014-03-11 Thread Grant Bartel
Hello, For a plugin I am trying to make I want to be able to place Widgets on top of Maya's viewport so that I can subdivide the viewport out in to regions however whenever I add a widget to the viewport (making it a child of the M3dView) the viewport does not draw anything in the region under

[Maya-Python] Re: feed user input value back to an attribute

2014-03-11 Thread Doktor Weeny
*Hi,Use changeCommand http://download.autodesk.com/global/docs/maya2014/en_us/CommandsPython/index.html flag to attach a function to *intFieldGrp. If you have some arguments to pass, you have to use partial from functools : from functools import partial def myFunction(myArg01, myArg02,