algorithmic modeling for Rhino
I'm trying to extend a custom Rhino plugin, by building a suite of grasshopper components in .NET. I want to access commands from the .rhp from within my code. I've tried using Rhino.RhinoApp.GetPlugInObject, but it's kicking back errors. I assume others have traversed this before?
Could someone possibly share process or a snippet of code that brings the .rhp into .NET, so that I can access the library?
Cheers,
TS
Tags:
My code:
protected override void SolveInstance(IGH_DataAccess DA)
{
Rhino.RhinoApp.GetPlugInObject("pluginName");
}
The error I'm getting back in VS:
GetPlugInObject The name 'GetPlugInObject' does not exist in the current context
I don't know if there was ever a time when that method wasn't available. Is it possible you're referencing a different RhinoCommon.dll than you're running against?
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