Description

Exécute la commande Zoom All Extents dans chaque layout.

Le script suivant fonctionne sur :

  • Rhino pour Windows ;
  • Rhino pour macOS.

Script par MLAV.LAND, sous licence GNU GPL 3.

Code

import rhinoscriptsyntax as rs
 
for view_name in rs.ViewNames(return_names = True, view_type=1):
    rs.CurrentView(view_name)
    rs.Command('_Zoom _All _Extents')