Pages

Thursday, 16 July 2015

Maya UUID

Recently found that Maya has nice mechanism with UUID attribute on each node in the scene. I don`t know when did they add it but it`s pretty cool! Check this command which finds a lambert shader node based on its unique ID:


import maya.cmds as mc
objUUID = 'E3FABA33-4254-E1F8-6AEF-2FA0A90EBAF7'
mc.ls(objUUID)[0] 




No comments: