Hey JP, Pretty slick, I haven't animated with it but the first intital test seemed to work pretty well. So I am trying to cut my teeth with classes and instances when and where to best utilize class functions. Did you discover resaons or have suggestions "WHY to create classes, WHEN to create them"?
On Fri, Apr 2, 2010 at 10:33 PM, JP <[email protected]> wrote: > Hey All, > > Just wanted to see if anyone felt like taking a peek at a space- > switching script I've been working on lately. I'm still trying to > wrap my head around the right way to use Python OOP functionality, and > I thought a script that created and removed children and parents might > be a good way to try and figure it out. The script is functional, but > I feel like it's not quite as robust as I'd like. > > Here's the script (It requires PyMEL 1.0 or greater to run): > http://pastebin.com/DiQexWQT > > If anyone has any tips, feedback, ideas, thoughts, etc - I'd love to > hear 'em. I'm trying to figure out WHY to create classes, WHEN to > creat e them, what advantages putting data in a class structure offers > over procedural programming, etc. > > Thanks! > > -JP > > -- > http://groups.google.com/group/python_inside_maya > > To unsubscribe, reply using "remove me" as the subject. > -- http://groups.google.com/group/python_inside_maya
