Python Script bakes itself automatically!

When you set scriptcontext.doc to target Rhino.RhinoDoc.ActiveDoc, calling rhinoscriptsyntax functions that generate objects will also add these to the Rhino document (i.e. “baking” it). Here’s once instance of this:

2 Likes