Hey Justin, Thanks for this. I'd tried figuring out what was going on in that example, But I'm not all that familiar with c++, or the api for that matter, so it's a bit tough to decipher.
It looks like it's using a switch to do it, maybe I'm wrong, but I don't see how it's handling different components types within the MObject. does component.apiType() return the type for each component within the MObject, or just the first component in the MObject? like hasFn() does? sorry, I require some hand holding here Kev -- You received this message because you are subscribed to the Google Groups "Python Programming for Autodesk Maya" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/python_inside_maya/574ff09d-80e4-44ad-a8d3-3ff00aaa9b4f%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.
