Thanks for your reply!

Yeah, sadly there are functions ran by these contexts that could be used
without mouse interaction but since they are part of the context they are
not accessible from Maya headless, which is a shame because there is a lot
of automation and batch processing that could be made with that in my job.

On Sat, 10 Apr 2021 at 08:15 Matteo Di Lena <dilena.mat...@gmail.com> wrote:

> Hey Chris,
>
> I never worked with contexts in standalone, but I think they're supposed
> to be an event that allows Maya to manipulate objects/weights in the
> viewport based on mouse interaction, so that's probably why they return
> False.
>
> Il giorno lunedì 29 marzo 2021 alle 20:44:24 UTC+1 Chris Granados ha
> scritto:
>
>> Hi everyone,
>>
>> I'm trying to run a batch process with headless Maya using
>> maya.standalone.initialize().
>>
>> Problem is when I get to the Maya Contexts (artAttrPaintVertexCtx in this
>> particular case) they are never created (returns False instead of the
>> context name).
>>
>> Is there a way to work with Maya Contexts in maya.standalone?
>>
>> Thanks!
>>
>>
>> --
> 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/e398915c-d1ac-4c72-9b46-7030ebeb91fcn%40googlegroups.com
> <https://groups.google.com/d/msgid/python_inside_maya/e398915c-d1ac-4c72-9b46-7030ebeb91fcn%40googlegroups.com?utm_medium=email&utm_source=footer>
> .
>
-- 
*CHRIS GRANADOS - Xian*
Character Animator- CG Supervisor
www.chrisgranados.com
Cel.: +(54911) 40640097
Tel.: +(5411)  45460877
Bs. As., Argentina

-- 
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/CAAgNOzS9FKkcneYNV8D3%2B8TznR1TrNQaSrbMD194vP0YSyG%3DWQ%40mail.gmail.com.

Reply via email to