Turn off & on Grasshopper preview from Python script

A post was split to a new topic: Change preview