On Sat, 4 Jun 2016 3:04 AM Kyle Burris <[email protected]> wrote:

> It took a while but I managed to figure it out. You have to use the points
> flag for each object you want to cache, but since python doesn't support
> using a flag more than once I just ended up generating a mel command and
> pushed it through mel.eval(), This is essentially what the maya mel scripts
> are doing under the hood
>

If the Mel command accepts multiple points flags, have you tried passing
the python version a list to the single flag? Just wondering if if they
made it work like that or not.


>
> On Thursday, June 2, 2016 at 5:10:56 PM UTC-4, Kyle Burris wrote:
>>
>> I'm trying to geo cach a bunch of objects simultaneously with the
>> cachFile command. Through the UI you can select multiple objects and run
>> geometryCache -> exportCache and maya will go through the timeline once and
>> write your cache according to your options. However in python the closest I
>> can get is to use the points flag to cache a single object. I've tried
>> digging through the mel scripts that the UI calls but I'm still stumped.
>>
>>
>> Any ideas?
>>
>> Thanks,
>> Kyle
>>
>> --
> 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/7e0b60de-453f-4142-8d2e-f9014ad04ba2%40googlegroups.com
> <https://groups.google.com/d/msgid/python_inside_maya/7e0b60de-453f-4142-8d2e-f9014ad04ba2%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/CAPGFgA0wc%3D-jCKyi6z8q6Lj_MOr--yGngPTB%2BnvEkfr-cVnZwg%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to