Blog

2021

Visual C++ version _MSC_VER vc Visual C++ 2005 (8.0) 1400 vc8 Visual C++ 2008 (9.0) 1500 vc9 Visual C++ 2010 (10.0) 1600 vc10 Visual C++ 2012 (11.0) 1700 vc11 Visual C++ 2013 (12.0) 1800 vc12 Visual C++ 2015 (14.0) 1900 vc14 Visual C++ 2017 (15.0) 1910 vc15 Visual C++ 2019 (16.0) 1920 vc16

Read more →

Late last year, I was looking to find out where VFX stands as an industry in regards to python 3 support. I knew that good people around VFX Reference Platform are keeping tabs on the general coverage for major DCCs and libraries via google spreadsheet and, like most pipeline TDs, I kept an eye on general developments in this area myself. The question around switching to Python 3 was popping up more and more at work, but unlike most of...

Read more →

I don’t know how well known this fact is, but you can use environment variables in the path attribute in the file node: In this case, MY_IMAGES is a variable that points to a location where my images reside and I can use it as a shorthand to that location on the file system (a network location or whatever). I’m on windows, but if you used Unix-like systems (or Houdini 😃) you will recognize dollar sign notation. To refer to...

Read more →

2020

Debugging your python code in Maya is particularly painful subject, for sure. Proper debugging. With a debugger… I’ve tried many times and gave up. Setting it all up and making it work is just way too much of a hassle. I know some people have made it work with pycharm but a) I dont use pycharm and b) I still think there are some issues there (more info here, here, and here). This post is about vscode and for a...

Read more →

Far too often I’ve seen TDs close Maya and reopen it just to check how the changes they made to the tool they are creating is now running. I’ve done it myself! It’s needed because once imported, python module lives in memory and to refresh the memory you need to close the session and start anew. But this is a huge waste of time. Python is supposed to be fast to iterate and fast to prototype with. What we basically...

Read more →

Official Python 2.7 is compiled with MSC v.1500 (Visual Studio 2008). Maya 2018 through 2020 use slightly different build of cPython: For reference Visual C++ version _MSC_VER Visual C++ 2005 (8.0) 1400 Visual C++ 2008 (9.0) 1500 Visual C++ 2010 (10.0) 1600 Visual C++ 2012 (11.0) 1700 Visual C++ 2013 (12.0) 1800 Visual C++ 2015 (14.0) 1900 Important notes Before going further, I want to make sure it is clear this isn’t something you should be doing unless absolutely necessary....

Read more →