Set Active Viewport?



  • On 31/07/2014 at 10:20, xxxxxxxx wrote:

    I'm trying to write a script that will frame the selected object in all views. It's easy enough to get one view working - just use CallCommand() with the ID for Frame Selected Objects - but that only works with the active viewport. Is there a way to set a different view (like Top/Front/Right) as the active viewport?

    Barring that - any suggestions on how to move viewport cameras so they're all centered on the selected object?
    Thanks!

    Donovan


Log in to reply