Avid Pro Audio Community

Avid Pro Audio Community

How to Join & Post  •  Community Terms of Use  •  Help Us Help You

Knowledge Base Search  •  Community Search  •  Learn & Support


Avid Home Page

Go Back   Avid Pro Audio Community > Dev > Pro Tools Scripting SDK Toolkit

Reply
 
Thread Tools Search this Thread Display Modes
  #1  
Old 01-19-2025, 11:58 AM
slawkacz slawkacz is offline
Member
 
Join Date: Jan 2025
Location: Poland
Posts: 5
Default How to select clips to 'GroupClips'?

Hi, I'm trying to select all clips across multiple tracks and group them together. I initially planned to use 'SelectAllClipsOnTrack' followed by 'GroupClips,' but iteratively selecting clips on different tracks doesn't work since selecting new clips deselects the previously selected ones. Is there a way to select clips on multiple tracks using the SDK? Ideally, I'd like to use 'SelectAllClipsOnTrack' with a list of tracks as an argument. Or is there another approach that I might be overlooking?"
Reply With Quote
  #2  
Old 01-21-2025, 01:14 PM
Fabi Fabi is offline
Member
 
Join Date: Apr 2024
Location: Munich, Germany
Posts: 4
Default Re: How to select clips to 'GroupClips'?

You could try the following:

1. save a list of all tracks with attribute "contains_clips": true in the session with GetTrackList
2. SetEditModeOptions: "link_track_and_edit_selection": true
3. call SelectAllClipsOnTrack on one track
4. call SelectTracksByName with your saved list of track names

this way the selection should be expanded on all tracks containing clips and you can group them in one clip group.

I just realized, that this ignores clips outside the bounds of the timeline selection of the first track. so it might not be the right solution for you. But maybe it still works for your use case...
Reply With Quote
  #3  
Old 01-22-2025, 09:28 AM
slawkacz slawkacz is offline
Member
 
Join Date: Jan 2025
Location: Poland
Posts: 5
Default Re: How to select clips to 'GroupClips'?

That worked! Thank you so much!
Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Select All / Clips - Not Working? Llamaguy Pro Tools 2019 2 07-31-2019 08:27 AM
FX only on select clips jgiannis Getting Started 3 11-04-2018 10:03 AM
How to select clips that are on the timeline shortcut ZdonTheRapper Pro Tools 12 8 03-21-2018 05:38 PM
Select multiple clips Thenewexhibit Pro Tools 12 3 02-16-2017 04:30 PM
PT10 (HD?) BUG: Select Unused Clips Bassturbator Pro Tools 10 2 12-24-2011 11:52 PM


All times are GMT -7. The time now is 03:51 AM.


Powered by: vBulletin, Copyright ©2000 - 2008, Jelsoft Enterprises Limited. Forum Hosted By: URLJet.com