algorithmic modeling for Rhino
Hello everybody
Maybe it's a stupid question but I don't figure out how to get the active GrassHopper document outside of any component. I know the way of OnPingDocument of GH_Component but nothing about generally get that active document.
Thanks in advance,
Andras
Tags:
Grasshopper.Instances contains a lot of static method and properties that give you access to things like the Grasshopper window, the canvas and the currently loaded document. For example:
GH_Document doc = Grasshopper.Instances.ActiveCanvas.Document
gives you the document (if any) loaded in the currently active canvas.
Thanks David
That's what I need.
Welcome to
Grasshopper
Added by Parametric House 0 Comments 0 Likes
Added by Parametric House 0 Comments 0 Likes
Added by Parametric House 0 Comments 0 Likes
© 2024 Created by Scott Davidson. Powered by