Re: [Maya-Python] query current layer in batch render process

2019-07-10 Thread erik
Digging this up as I am having a similar problem. Using editRenderLayerGlobals -q -currentRenderLayer in a preRender script always returns the same layer no matter what -rl flag have been used to start the render. -- You received this message because you are subscribed to the Google Groups "P

[Maya-Python] Placement of contextmanger usage within code

2019-07-10 Thread likage
I have created a contextmanager that tracks/registers for undo and I have some questions, mostly on what is the best way to use/ code it as I am unsure which is the best approach. In my utils.py file, I place the contextmanger class within, along with other utility functions that are used in ma

Re: [Maya-Python] (Real) Time update/ actions between Gui and Maya

2019-07-10 Thread likage
I manged to get this figured out. Thank you all for the help :) -- 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+unsubs