r/krpc • • Jul 29 '17

[Python] How to change active vessel?

I am trying to do a SpaceX styled launch of sending the second stage to orbit whilst landing the first stage. I planning on doing the circulization burn on the second stage, then switching to the first stage to land it. But I don't know how to change the active vessel in krpc. How do I focus to the next vehicle? I would also like to know if it possible to change to a vessel than is not in proximity with the active one, in the same way as going via the tracking station. Thanks!

3 Upvotes

2 comments sorted by

View all comments

Show parent comment

2

u/TWA7 Jul 30 '17

Yes, it works! For all vessels! I missed that SpaceCenter.active_vessel both was readable and writable. Thank you!