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:
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: