algorithmic modeling for Rhino
I've tried searching for this and hope I'm not rehashing something already covered:
I have created some C# classes in Visual Studio and used them to make some GH components (GHA) which all seem to work fine. I would like to be able to declare and instantiate those classes as new objects (so not passing them into or out of the script as a parameter) in the script as a tool to do stuff, then output normal GH geometry as a parameter from the script. Is this possible? My assumption was that I need to turn on a reference to that GHA, but I can't figure out how to do that. And I can't find it in the documentation or threads I've seen here.
Many thanks!
Jason
Tags:
A GHA file is just a renamed .dll - you can add it to a scripting component as a reference the same way you would any other - right click on the scripting component and select 'Manage Assemblies'.
You know, I figured it would be something really simple like that. I just couldn't find it!
Thanks, that was exactly what I needed.
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
Added by Parametric House 0 Comments 0 Likes
© 2024 Created by Scott Davidson. Powered by