Yeah, I meant is there any fast way in Python to do like a modified walk function.
I am doing something like this: http://pastebin.com/SCvrKxF8 Is that the fastest way to recursively traverse the scene? I can make a QTreeWidget, no prob. What's the best way to store a tree hierarchy like this in Python? Using Python Data types, like list, dict, etc.. Nested Dictionaries? CE On Sat, Feb 4, 2012 at 6:38 PM, Judah Baron <judah.ba...@gmail.com> wrote: > Take a look at QTreeWidget and possibly subclass QTreeItem per Maya object > type that you are interested in. > > > On Saturday, February 4, 2012, Ricardo Viana <cgolhei...@gmail.com> wrote: > > Maybe xml? > > > > Best regards > > Ricardo Viana > > On Feb 4, 2012, at 4:20 PM, Christopher Evans <chris.ev...@gmail.com> > wrote: > > > > What's the fastest way to build an outliner-like QTree widget from the > scene? > > > > Also, what python data type is best for storing a tree representation > anyhow? > > > > -- > > CE > > > > -- > > view archives: http://groups.google.com/group/python_inside_maya > > change your subscription settings: > http://groups.google.com/group/python_inside_maya/subscribe > > > > -- > > view archives: http://groups.google.com/group/python_inside_maya > > change your subscription settings: > http://groups.google.com/group/python_inside_maya/subscribe > > > > -- > view archives: http://groups.google.com/group/python_inside_maya > change your subscription settings: > http://groups.google.com/group/python_inside_maya/subscribe > -- CE -- view archives: http://groups.google.com/group/python_inside_maya change your subscription settings: http://groups.google.com/group/python_inside_maya/subscribe