Page MenuHome

Sequencer ‑ (De)select_by_type tool
Closed, ArchivedPublicPATCH

Description

Hi, here is a C version of my addon (http://projects.blender.org/tracker/index.php?func=detail&aid=25833&group_id=153&atid=468).

It adds the select_by_type operator to the sequencer, allowing to (de)select strips based on their type.

Notes:
*Available as two new entries in Select menu, and through four new shortcuts (T (alt-T) to select (deselect) straips of the same type as the active one, and shift-T (shift-alt-T) to show the Select by Type (Deselect by Type) menu.
*XXX Current implementation only works as long as SEQ_XXX strip typedefs do not grow over 31 (i.e. no more effect strips are added)… Else, it would need an other way to get types bits!

Event Timeline

Updated the patch to svn40324.
See also the codereview issue: http://codereview.appspot.com/5042046/

Would prefer this be implemented as as "Select Grouped" rather than "Select By Type,

"Select Grouped" would work like it does for objects and vert/edge/faces.

The nice thing about select grouped is you can use it for a lot more than type.

First select 1 strip, Activate "Select Grouped"
Options can be:
* Type
* Effect Type
* Data (same scene, same sound, same image etc...)
* Blend Type
* Length
* Start Frame
* End Frame

Think this is more powerful than sel by type only.
While we could have both (like we do for object mode), personally Id prefer only have select by grouped.

Should have mentioned in previous post, the selection is done by matching with the active strip.

New patch (against svn40570).

Added a “select grouped” operator, with following options:
* Select the exact same type.
* Select the global strip type (graphic or sound).
* Select all effect (or non-effect) strips.
* Select all strips sharing the same data (scene, video, etc.).
* Select all strips sharing (i.e. used by effect strips of) the same effect.
* Select all strips sharing some time in the timeline.
* Select all strips that are/might be affected by active one.

Note I nevertheless kept the select by type operator, imho it is also useful…

Personally still prefer to have only select by group functionality.

- Sel by type limits 32 types.
- Cumbersome py code.
- IMHO sel by grouped covers what you want to do most of the time.

Bastien Montagne (mont29) changed the task status from Unknown Status to Unknown Status.Oct 21 2011, 2:59 PM