algorithmic modeling for Rhino
Hi Suryansh,
you can call methods in unmanaged dlls using standard Interop methods (see PInvoke for a lot of examples). However the limitation is that only primitive data types can be coerced across the managed/unmanaged boundary. So you'll need to create a C++ SDK that can be used with purely primitive types. This is what we do with RhinoCommon btw. The Rhino SDK is not 'pinvokeable', so we create a pure C++ dll that exposes native Rhino SDK methods and classes in such a way that we can call them from the C# part of RhinoCommon.
--
David Rutten
david@mcneel.com
Poprad, Slovakia
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
Added by Parametric House 0 Comments 0 Likes
© 2024 Created by Scott Davidson. Powered by