Re: [Maya-Python] Creating .bat file (launcher) for maya

2021-05-07 Thread Alok Gandhi
There you go: https://en.m.wikibooks.org/wiki/Windows_Batch_Scripting On Fri, May 7, 2021, 20:52 Vlad Afanasjev wrote: > Hmmm... I was looking into some generic tutorials. > Like how to set variables, set path, make conditions ('if', 'else'), how > to run side scripts like python. > Because

Re: [Maya-Python] Creating .bat file (launcher) for maya

2021-05-07 Thread Vlad Afanasjev
Hmmm... I was looking into some generic tutorials. Like how to set variables, set path, make conditions ('if', 'else'), how to run side scripts like python. Because right now I am trying to google staff and look into some examples of .bat, but it looks like a puzzle I have to solve piece by

Re: [Maya-Python] Creating .bat file (launcher) for maya

2021-05-07 Thread Marcus Ottosson
I doubt you’d need a tutorial, what are you looking for the bat to do? Here’s an example, along with a few environment variables. - https://github.com/mottosso/Maya-Environment-Variables *maya2020.bat* @echo off set MAYA_DISABLE_CIP=1set MAYA_DISABLE_CER=1set MAYA_DISABLE_CLIC_IPM=1 ::

[Maya-Python] Creating .bat file (launcher) for maya

2021-05-07 Thread Vlad Afanasjev
Hey, guys. I need to learn how to create .bat for Maya, anybody knows good tutorial ? -- 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

Re: [Maya-Python] Maya 2022 and output windows

2021-05-07 Thread Alok Gandhi
At least on latest macOS Big Sur, the print to console still works without the need to use flush() Additionally, setting the env var *PYTHONUNBUFFERED* to a non empty value would cause the output to go to the terminal without being buffered. On Fri, May 7, 2021, 11:12 Marcus Ottosson wrote: >