Batch rendering different layers visibility in rhino7?

Hi Paul,

just tried this in python and it seems to work:

import scriptcontext as sc
import rhinoscriptsyntax as rs


names = sc.doc.Snapshots.Names
for name in names:
    cmd = "-_Snapshots _Restore %s EnterEnd" %name
    rs.Command(cmd)
    rs.Redraw()
    rs.Command("_Render")
1 Like