Each track has an automation tracklist with automation tracks to be generated at runtime, and filled in with automation points/curves when loading projects.
Automation tracks in this automation tracklist.
These should be updated with ALL of the automatables available in the channel and its plugins every time there is an update.
Active automation lanes that are shown in the UI, including hidden ones, can be found using the struct member created and visible.
Automation tracks become active automation lanes when they have automation or are selected.