Create a gist now

Instantly share code, notes, and snippets.

@fereria /selectCam.py Secret
Created Feb 16, 2014

What would you like to do?
import maya.OpenMaya as om
sel = om.MSelectionList()
om.MGlobal.getActiveSelectionList(sel)
obj = om.MObject()
sel.getDependNode(0,obj)
camAccess = om.MFnCamera(obj)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment