Rigging

Rigging101 » Rigging128

MEL for creating the selection in the timeline? (4 posts)

About This Topic

Tags

No tags yet.

  1. kwilli30

    offline
    Member
    Posted 7 years ago
    #

    Looking for some MEL to create a selection in the timeline, like when Shift + drag on the timeline. Not finding much luck, thought I'd post here

  2. thnkr

    offline
    Member
    Posted 7 years ago
    #

    AFAIK, you can only query the range:

    timeControl -q -rng $gPlayBackSlider;

    any attempt to edit it gives an error.

  3. evad

    offline
    Member
    Posted 7 years ago
    #

    http://xyz2.net/mel/mel.027.htm

    I don't think it's possible. The docs show that -rng is not editable. I'm curious why you would want to edit the selection? What is the situation in which you would.

  4. kwilli30

    offline
    Member
    Posted 7 years ago
    #

    I want to shift a selection of keys via MEL and then recreate that selection.

    For example, I've selected a range frame 10 through frame 40, and have keys on 20 and 30. I want to shift the keys 10 frames back and reselect the range, so I'm now selecting frames 20 - 50, and I have the keys on 30 and 40.

    Any ideas?

Reply

You must log in to post.

Rigging101 » Rigging128
1,099 posts in 307 topics over 110 months by 188 of 8,226 members. Latest: fashionpvp, d2q4p5z2j, gasheldonl