This tutorial covers the very basics of Pyside and Python for Maya 2018. If you are starting to venture into Python and have trouble finding simple examples, hopefully this post will help!
Finding examples online about OpenMaya and python plugin when you are starting to learn is always difficult! So I decided to put together a simple and basic tutorial for creating a python plugin that will create a custom node.
Adding some random shake can be a pain sometimes, due to most of the existing scripts handling it through expressions.
Recently I ran across a colleague who asked me about a script to get the distance from the camera to any selected object in the Maya viewport. His specific case was to set the depth of field of the camera based on the distance value.