On Mon, Jan 29, 2018, 10:34 PM <[email protected]> wrote:

> Hey there,
>
> What I want to do is to have a script that adds custom "start frame" and
> "end frame" attributes to cameras. As the user sets these, and is looking
> through that camera, the playback range changes down there on the timeline
> to whatever the start frame and end frame attributes are set to. As the
> user changes cameras, the playback range is updated to whatever the start
> and end frame on that camera is.
>
> Now I've done this via script jobs. However, they seem pretty clunky. Is
> there a better way to do this?
>

If you already have this working via scriptJobs then you might just stick
with it. You could convert to using the API via the MMessage classes. But
these are just equivalents to the higher level scriptJob. Sometimes they
have some more granular options.


> --
> 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/961236b8-fd03-46fb-a248-c31bee591bf3%40googlegroups.com
> .
> For more options, visit https://groups.google.com/d/optout.
>

-- 
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/CAPGFgA1ud%3DFydas%2BbSj4UtFA1Q6TrTDK5cAh23cNgcf%2Bfpshww%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to