Grasshopper Component loading error (failed to load any libraries)

Grasshopper component in Tekla Structures notifies this error:

More information about service release
Rhino 8: SR18 (8.18.25076.15001, 2025-03-17)
Tekla 2024 Service Pack 2 (Build 36579) with GH component 1.5
Any hints?

I had the same error. Apparently it does not work with Rhino versions newer than 8.16. Something is changed in Rhino. I think @sebastian.lindholm is trying to look at that

1 Like

Hi,

To resolve this quickly, you’d need to copy the file Mono.Cecil.dll from the Rhino 8.17 or 8.18 system folder, and replace this same file in the GrasshopperComponentPlugin folder in the Tekla environment folder.

So copy this file:

C:\Program Files\Rhino 8\System\Mono.Cecil.dll

And use it to replace this file:

C:\ProgramData\Trimble\Tekla Structures\2025.0\Environments\common\extensions\GrasshopperComponentPlugin\Mono.Cecil.dll


(substitute the path with whatever Tekla version you’re using).

The Mono.Cecil.dll versions that ship with Tekla and Rhino are different, and that causes a GH library loading error. To fix this we’ve include the Rhino version of the file with the Grasshopper Component installer so that the correct version is available when run from Tekla.

What’s changed in Rhino 1.17 is the version of Mono.Cecil.dll that ships with Rhino, so now the one in the Grasshopper Component installer doesn’t match this any more.

I’ll update the Grasshopper Component installer, just need to make sure it’s still backwards compatible. For now manually copying the file should do the trick.

Cheers,

Sebastian

1 Like

Hi again, we’ve now put out version 1.6 of the Grasshopper Component that should take care of this:

It’s compatible with Rhino 8 SR 17. Should the version of the offending dll change in a future Rhino SR or if you’re on an older Rhino SR, the GH component will copy and use the new dll instead (in which case you might be prompted to restart TS the first time you try to use it).

Cheers,

Sebastian

2 Likes