[A] can not be cast to [B]

Good morning @karamba3d, myself and @lfuhrimann tried creating a plugin titled ZZZZZ which we found did not load last whether in the bin directory or in the GH Library / Rhino Plugins directory. We assumed that should work as per the Karamba 3D Scripting Guide (1.3.2).

As per the thread @lfuhrimann posted, @DavidRutten confirmed that plugins load ‘pretty much randomly’:

So our next idea was to try as others have suggested creating a shell plugin that points to solvers in a separate DLL, which means Karamba is only called upon on a component solving. However this means custom components can’t utilise the Karamba Types when creating In/Out parameters as that needs to be done in the plugin project, which can’t reliably reference Karamba.

Evidently people have written custom components using this Scripting Guide, so we must be missing a key detail, any ideas? :slight_smile: