Just stumbled upon a weird one.
When you cmds.getAttr('defaultRenderglobals.endframe') you get e.g. 1, if
your end frame is set to 1.
However, and this is the weird part, if you have an override in a render
layer and you use the snipped I just previously posted to fetch it, you
won’t get an integer back. Instead you’ll get a float. At first glance it
looks like you’re getting 1/25 of the actual value back. But if you try
different endframe values, you’ll see that this factor changes.
Does anyone on here know how this value is actually stored in Maya?
Cheers,
Fredrik
--
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/CAD%3DwhWMDvsyDzSBgpVXbKEVkzSj_6pu0A7e2Q6CK_aV4E-D2AA%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.