dynamically get all Maya types
run this in maya to get a list of all node types
print each one on a new line
copy the printed code in your script, e.g. datafix Maya
How to use these types¶
from datafix_maya.types import Mesh
Mesh('pCube1') # this will create a Mesh type object with the data 'pCube1'
now we can check if the string is a mesh-name, or just a string