@Ayodeji Please see this post: Auto Transport links and Sequences in PM - Extensions and Python Add-ons / Visual Components Add-on Samples - Visual Components - The Simulation Community
This should help. These could be used in tandem to achieve the desired functionality.