I'd say yeah, if you're talking about only adjusting an attribute or two on thousands of nodes, then making a PyNode for each will probably be significant. I'd suggest just calling setAttr directly - using either pymel or cmds.
- Paul On Thu, Mar 12, 2015 at 9:38 AM, AK Eric <[email protected]> wrote: > I tend to prototype in PyMel, just since doing stuff is easy, less > typing. But like Justin said, can be slow depending on what you're doing. > If I found it this is a performance critical application I move it into > cmds, and if not suitable, the API. Over time you sort of learn at which > point you should start. > > -- > 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/2e10cd67-5507-4bf7-8197-d45dbd78294a%40googlegroups.com > <https://groups.google.com/d/msgid/python_inside_maya/2e10cd67-5507-4bf7-8197-d45dbd78294a%40googlegroups.com?utm_medium=email&utm_source=footer> > . > > For more options, visit https://groups.google.com/d/optout. > -- 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/CAAssL7byhQ3iua2iniw96vSxzNW5eM-zP572N1XBRM%2Bez08hnw%40mail.gmail.com. For more options, visit https://groups.google.com/d/optout.
