Identifying scene tab numbers for printing


I have a large drawing with 99 scene tabs, all named.
If I wanted to print a certain number of them in sequence, (e.g. 51-61) is there any way of knowing the scene numbers within the program, or do I have to count them along the tab bar and add the number manually for future reference?

Don’t take my word for it but I think running this snippet in the Ruby console at least gives you the number of the active scene:

Sketchup.active_model.pages.to_a.index(Sketchup.active_model.pages.selected_page) + 1

The + 1 is because Ruby (as well as most other programming languages) starts counting at 0, but I think the UI starts counting at 1.

1 Like

Many thanks for that, it works a treat!