* fin(d)AnimatedPlugs(path, plugs) Also I’d suggest to use python API 2.0, but I didn’t find an equivalent to findAnimatedPlugs() after a quick lookup Sent from Mail for Windows 10
From: Pontsho Maseko Sent: Friday, February 16, 2018 2:25 PM To: Python Programming for Autodesk Maya Subject: Re: [Maya-Python] Memory leak in Maya Python API 1.0 Plugs = om.MPlugArray() path = om.MDagPath() # The path to the node working with om.MAnimUtil.finAnimatedPlugs(path, plugs) # This by definition should return keyed attributes a MPlugs I am trying to get attributes that are keyed. On Friday, February 16, 2018 at 3:44:58 PM UTC+2, Marcus Ottosson wrote: Could you post an example of what you are currently trying? On 16 February 2018 at 13:18, Pontsho Maseko <[email protected]> wrote: Does anybody here knows, a way to find animated plugs with the the python API. The python API 1.0's MAnimUtil gives me a memory leak report "swig/python detected a memory leak of type 'MAnimUtil *', no destructor found." then crushes maya. -- 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/bd5625db-58c5-4972-941f-74832a9166c1%40googlegroups.com. 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/e29cf8c5-8103-4963-b283-61106dc6b3e6%40googlegroups.com. For more options, visit https://groups.google.com/d/optout. --- This email has been checked for viruses by Avast antivirus software. https://www.avast.com/antivirus -- 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/5a86ee2f.8583df0a.e7cbe.a0ab%40mx.google.com. For more options, visit https://groups.google.com/d/optout.
