I'm not sure I understand you right in regards to the delivery/default
thing...but accessing film back is easy:
*cmds:*
import maya.cmds as cmds
cmds.getAttr("myCameraShape.horizontalFilmAperture")
cmds.getAttr("myCameraShape.verticalFilmAperture")
*pymel:*
pm.PyNode('myCamera').getShape().horizontalFilmAperture.get()
pm.PyNode('myCamera').getShape().verticalFilmAperture.get()
default value for setting/getting is in inches so be sure to do your
conversion from mm if you need to.
--
You received this message because you are subscribed to the Google Groups
"Python Programming for Autodesk Maya" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To view this discussion on the web visit
https://groups.google.com/d/msgid/python_inside_maya/ebc9fddd-b007-4bfe-93e7-273ba3fd2321%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.