Re: [Maya-Python] Memory leak in Maya Python API 1.0

2018-02-19 Thread Pontsho Maseko
The tool sets transforms then creates the animation curves to connect to 
the other identical control. But if i use the quering of plugs over 
iteration or just one on one animation transfer it avoids the setting of 
transforms, sometimes other information from the old animation curve. When 
I was using the AnimUtil it run fine but when it came to complex rigs it 
crushes maya due to the memory leak.

On Monday, February 19, 2018 at 12:38:52 PM UTC+2, Pontsho Maseko wrote:
>
> I was trying to avoid doing that. When I query the plugs manually, the 
> whole code structure fall apart. It doesnt spit out any errors and it runs 
> smoothly but it does do the absolute job, it works here and there. 
>
> On Friday, February 16, 2018 at 5:44:44 PM UTC+2, Marcus Ottosson wrote:
>>
>> A plug connected to an animCurve* node could be considered "keyed". So 
>> what you could do is look for whether something is connected to the plug, 
>> and whether the connected node is an animation curve.
>>
>> On 16 February 2018 at 15:26, justin hidair <justin...@gmail.com> wrote:
>>
>>> That’s what I don’t know but I don’t have the time to look into it right 
>>> now , maybe someone knows here ? 
>>>
>>>  
>>>
>>> Sent from Mail <https://go.microsoft.com/fwlink/?LinkId=550986> for 
>>> Windows 10
>>>
>>>  
>>>
>>> *From: *Pontsho Maseko
>>> *Sent: *Friday, February 16, 2018 2:59 PM
>>>
>>> *To: *Python Programming for Autodesk Maya
>>> *Subject: *Re: [Maya-Python] Memory leak in Maya Python API 1.0
>>>
>>>  
>>>
>>> Is there as safe way to query keyed attributes, doesnt have to be with 
>>> the MAnimUtil in maya api 2.0?
>>>
>>> On Friday, February 16, 2018 at 4:44:05 PM UTC+2, justin hidair wrote:
>>>
>>>  
>>>
>>> * 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 <https://go.microsoft.com/fwlink/?LinkId=550986> 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 <maseko...@gmail.com> 
>>> 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 python_inside_maya+unsubscr...@googlegroups.com.
>>> To view this discussion on the web visit 
>>> https://groups.google.com/d/msgid/python_inside_maya/bd5625db-58c5-4972-941f-74832a9166c1%40googlegroups.com
>>>  
>>> <https://groups.google.com/d/msgid/python_inside_maya/bd5625db-58c5-4972-941f-74832a9166c1%40googlegroups.com?utm_medium=email_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 python_inside_maya+unsubscr...@googlegroups.com.
>>> To view this discussion on the web visit 
>>> https://groups.google.com/d/msgid/python_inside

Re: [Maya-Python] Memory leak in Maya Python API 1.0

2018-02-19 Thread Pontsho Maseko
I was trying to avoid doing that. When I query the plugs manually, the 
whole code structure fall apart. It doesnt spit out any errors and it runs 
smoothly but it does do the absolute job, it works here and there. 

On Friday, February 16, 2018 at 5:44:44 PM UTC+2, Marcus Ottosson wrote:
>
> A plug connected to an animCurve* node could be considered "keyed". So 
> what you could do is look for whether something is connected to the plug, 
> and whether the connected node is an animation curve.
>
> On 16 February 2018 at 15:26, justin hidair <justin...@gmail.com 
> > wrote:
>
>> That’s what I don’t know but I don’t have the time to look into it right 
>> now , maybe someone knows here ? 
>>
>>  
>>
>> Sent from Mail <https://go.microsoft.com/fwlink/?LinkId=550986> for 
>> Windows 10
>>
>>  
>>
>> *From: *Pontsho Maseko 
>> *Sent: *Friday, February 16, 2018 2:59 PM
>>
>> *To: *Python Programming for Autodesk Maya 
>> *Subject: *Re: [Maya-Python] Memory leak in Maya Python API 1.0
>>
>>  
>>
>> Is there as safe way to query keyed attributes, doesnt have to be with 
>> the MAnimUtil in maya api 2.0?
>>
>> On Friday, February 16, 2018 at 4:44:05 PM UTC+2, justin hidair wrote:
>>
>>  
>>
>> * 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 <https://go.microsoft.com/fwlink/?LinkId=550986> 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 <maseko...@gmail.com> 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 python_inside_maya+unsubscr...@googlegroups.com .
>> To view this discussion on the web visit 
>> https://groups.google.com/d/msgid/python_inside_maya/bd5625db-58c5-4972-941f-74832a9166c1%40googlegroups.com
>>  
>> <https://groups.google.com/d/msgid/python_inside_maya/bd5625db-58c5-4972-941f-74832a9166c1%40googlegroups.com?utm_medium=email_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 python_inside_maya+unsubscr...@googlegroups.com.
>> To view this discussion on the web visit 
>> https://groups.google.com/d/msgid/python_inside_maya/e29cf8c5-8103-4963-b283-61106dc6b3e6%40googlegroups.com
>>  
>> <https://groups.google.com/d/msgid/python_inside_maya/e29cf8c5-8103-4963-b283-61106dc6b3e6%40googlegroups.com?utm_medium=email_source=footer>
>> .
>> For more options, visit https://groups.google.com/d/optout.
>>
>>  
>>
>>  
>>
>> [image: 
>> https://lh6.googleusercontent.com/proxy/JjzEPM_1UQiAcgcIii9zH3waHJfrDmD6mwOpzjvKSWAzeFyvEmJKxjsfyB4-JKbN4o_rmMG0O6UuV95TfuAG3NaBCtKzucfHCUODobStNrGqQJzTwuEOKfxUSFySxNn_igewCYnfXbgJP-gAq2cupOvC=w5000-h5000]
>>  
>> <https://www.avast.com/sig-email?utm_medium=email_source=link_campaign=sig-email_content=emailclient_term=icon>
>>
>> Virus-free. www.avast.com 
>> <https://www.avast.com/sig-email?utm_medium=email_source=link_campaign=sig-email_content=emailclient_term=link>

Re: [Maya-Python] Memory leak in Maya Python API 1.0

2018-02-16 Thread Marcus Ottosson
A plug connected to an animCurve* node could be considered "keyed". So what
you could do is look for whether something is connected to the plug, and
whether the connected node is an animation curve.

On 16 February 2018 at 15:26, justin hidair <justinhid...@gmail.com> wrote:

> That’s what I don’t know but I don’t have the time to look into it right
> now , maybe someone knows here ?
>
>
>
> Sent from Mail <https://go.microsoft.com/fwlink/?LinkId=550986> for
> Windows 10
>
>
>
> *From: *Pontsho Maseko <masekopont...@gmail.com>
> *Sent: *Friday, February 16, 2018 2:59 PM
>
> *To: *Python Programming for Autodesk Maya
> <python_inside_maya@googlegroups.com>
> *Subject: *Re: [Maya-Python] Memory leak in Maya Python API 1.0
>
>
>
> Is there as safe way to query keyed attributes, doesnt have to be with the
> MAnimUtil in maya api 2.0?
>
> On Friday, February 16, 2018 at 4:44:05 PM UTC+2, justin hidair wrote:
>
>
>
> * 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 <https://go.microsoft.com/fwlink/?LinkId=550986> 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 <maseko...@gmail.com> 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 python_inside_maya+unsubscr...@googlegroups.com.
> To view this discussion on the web visit https://groups.google.com/d/
> msgid/python_inside_maya/bd5625db-58c5-4972-941f-
> 74832a9166c1%40googlegroups.com
> <https://groups.google.com/d/msgid/python_inside_maya/bd5625db-58c5-4972-941f-74832a9166c1%40googlegroups.com?utm_medium=email_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 python_inside_maya+unsubscr...@googlegroups.com.
> To view this discussion on the web visit https://groups.google.com/d/
> msgid/python_inside_maya/e29cf8c5-8103-4963-b283-
> 61106dc6b3e6%40googlegroups.com
> <https://groups.google.com/d/msgid/python_inside_maya/e29cf8c5-8103-4963-b283-61106dc6b3e6%40googlegroups.com?utm_medium=email_source=footer>
> .
> For more options, visit https://groups.google.com/d/optout.
>
>
>
>
>
> [image:
> https://lh6.googleusercontent.com/proxy/JjzEPM_1UQiAcgcIii9zH3waHJfrDmD6mwOpzjvKSWAzeFyvEmJKxjsfyB4-JKbN4o_rmMG0O6UuV95TfuAG3NaBCtKzucfHCUODobStNrGqQJzTwuEOKfxUSFySxNn_igewCYnfXbgJP-gAq2cupOvC=w5000-h5000]
> <https://www.avast.com/sig-email?utm_medium=email_source=link_campaign=sig-email_content=emailclient_term=icon>
>
> Virus-free. www.avast.com
> <https://www.avast.com/sig-email?utm_medium=email_source=link_campaign=sig-email_content=emailclient_term=link>
>
> --
> 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 python_inside_maya+unsubscr...@googlegroups.com.
> To view this discussion on the web visit https://groups.google.com/d/
> msgid/python_inside_maya/8a0c7917-f7e1-4ca2-96d2-
> 6fb19aa375ca%40googlegroups.com
> <https://groups.google.com/d/msgid/python_inside_maya/8a0c7917-f7e1-4ca2-96d2-6fb19aa375ca%40googlegroups.com?utm_medium=email_source=footer>
> .
> For more options, visit https://groups.google.com/d/optout.
>
>
>
>
> <https://www.av

RE: [Maya-Python] Memory leak in Maya Python API 1.0

2018-02-16 Thread justin hidair
That’s what I don’t know but I don’t have the time to look into it right now , 
maybe someone knows here ? 

Sent from Mail for Windows 10

From: Pontsho Maseko
Sent: Friday, February 16, 2018 2:59 PM
To: Python Programming for Autodesk Maya
Subject: Re: [Maya-Python] Memory leak in Maya Python API 1.0

Is there as safe way to query keyed attributes, doesnt have to be with the 
MAnimUtil in maya api 2.0?

On Friday, February 16, 2018 at 4:44:05 PM UTC+2, justin hidair wrote:
 
* 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 <maseko...@gmail.com> 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 python_inside_maya+unsubscr...@googlegroups.com.
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 python_inside_maya+unsubscr...@googlegroups.com.
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.
 


Virus-free. www.avast.com 
-- 
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 python_inside_maya+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/python_inside_maya/8a0c7917-f7e1-4ca2-96d2-6fb19aa375ca%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 python_inside_maya+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/python_inside_maya/5a86f83a.8281df0a.64966.4cf4%40mx.google.com.
For more options, visit https://groups.google.com/d/optout.


Re: [Maya-Python] Memory leak in Maya Python API 1.0

2018-02-16 Thread Pontsho Maseko
Is there as safe way to query keyed attributes, doesnt have to be with the 
MAnimUtil in maya api 2.0?

On Friday, February 16, 2018 at 4:44:05 PM UTC+2, justin hidair wrote:
>
>  
>
> * 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 <https://go.microsoft.com/fwlink/?LinkId=550986> 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 <maseko...@gmail.com> 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 python_inside_maya+unsubscr...@googlegroups.com.
> To view this discussion on the web visit 
> https://groups.google.com/d/msgid/python_inside_maya/bd5625db-58c5-4972-941f-74832a9166c1%40googlegroups.com
>  
> <https://groups.google.com/d/msgid/python_inside_maya/bd5625db-58c5-4972-941f-74832a9166c1%40googlegroups.com?utm_medium=email_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 python_inside_maya+unsubscr...@googlegroups.com .
> To view this discussion on the web visit 
> https://groups.google.com/d/msgid/python_inside_maya/e29cf8c5-8103-4963-b283-61106dc6b3e6%40googlegroups.com
>  
> <https://groups.google.com/d/msgid/python_inside_maya/e29cf8c5-8103-4963-b283-61106dc6b3e6%40googlegroups.com?utm_medium=email_source=footer>
> .
> For more options, visit https://groups.google.com/d/optout.
>
>  
>
>
> <https://www.avast.com/sig-email?utm_medium=email_source=link_campaign=sig-email_content=emailclient_term=icon>
>  Virus-free. 
> www.avast.com 
> <https://www.avast.com/sig-email?utm_medium=email_source=link_campaign=sig-email_content=emailclient_term=link>
>  
> <#5a86ee2f.8583df0a.e7cbe.a0ab@mx.google.com_DAB4FAD8-2DD7-40BB-A1B8-4E2AA1F9FDF2>
>

-- 
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 python_inside_maya+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/python_inside_maya/8a0c7917-f7e1-4ca2-96d2-6fb19aa375ca%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


RE: [Maya-Python] Memory leak in Maya Python API 1.0

2018-02-16 Thread justin hidair

* 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 <maseko...@gmail.com> 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 python_inside_maya+unsubscr...@googlegroups.com.
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 python_inside_maya+unsubscr...@googlegroups.com.
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 python_inside_maya+unsubscr...@googlegroups.com.
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.


Re: [Maya-Python] Memory leak in Maya Python API 1.0

2018-02-16 Thread Pontsho Maseko


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  > 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 python_inside_maya+unsubscr...@googlegroups.com .
>> 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 python_inside_maya+unsubscr...@googlegroups.com.
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.


Re: [Maya-Python] Memory leak in Maya Python API 1.0

2018-02-16 Thread Marcus Ottosson
Could you post an example of what you are currently trying?

On 16 February 2018 at 13:18, Pontsho Maseko 
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 python_inside_maya+unsubscr...@googlegroups.com.
> 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 python_inside_maya+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/python_inside_maya/CAFRtmOCC3LKtawYt1DS0a0QS7-0YK2YB9dWGdkPfWmT-%3D0UK4g%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.