No tags yet.
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
AFAIK, you can only query the range:
timeControl -q -rng $gPlayBackSlider;
any attempt to edit it gives an error.
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.
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?
You must log in to post.