View Single Post
Old 07-25-2019, 04:51 PM   #1
Alkamist
Human being with feelings
 
Join Date: Dec 2011
Posts: 458
Default Is there a way to reliably get track height?

reaper.GetMediaTrackInfo_Value(track, "I_WNDH") gives you the height with all of the envelopes added on, and reaper.GetMediaTrackInfo_Value(track, "I_HEIGHTOVERRIDE") can return 0.

I suppose it's possible to find and subtract all of the envelope heights, but sometimes the envelope's lane height in the state chunk will be 0 as well.
Alkamist is offline   Reply With Quote