Tekla Live link not working on 2024 but ok in 2021

I’ve installed and worked with Tekla 2021 and live link in Rhino 7 withour an issue.
Now I decided to use GH with Tekla 2024 and the link just doesnt work. It always defauts to saying I don’t have a Tekla model open.
It is still working with 2021

I’ve seen several topics about problems that seem similar and i tried all the solutions that seemed to work but in this case none of them does

Deleted everything from the Libraries folder but the live link 2024.
Copied the Tekla.Structures.Model.dll to the libraries folder
Copied the Tekla.Structures.Dialog.dll to the libraries folder

The result is always the same.

Hi Carlos
Solution is to copy all *.dll files from c:\Program Files\Tekla Structures\2024.0\bin\ to libraries folder

See also topic
Can I have several versions of tekla live link at once? - Grasshopper / Tekla - McNeel Forum

Hi Carlos, give this new installer/loader a go and see if it helps. The Loader.gha will point to the Tekla 2024 bin folder, so remove any Tekla .dlls that you have copied to the Libraries folder.

Cheers,

-b

1 Like

Hi Sebastian,

I am currently experiencing difficulties with the Grasshopper-Tekla Link version 2024.1.18. Below are the details of my setup and the issues encountered:
Software Versions: Rhino 8 &Tekla Structures 2024 (Educational License)

Installation Process:

  • I downloaded and executed GrasshopperTeklaLink.Setup.exe for version GrasshopperTeklaLink_Educational_2024.1.18.
  • The following files are present in C:\Users\myname\AppData\Roaming\Grasshopper\Libraries: GrasshopperTeklaLink.2024.dll & GrasshopperTeklaLink.Loader.gha

Configuration:

  • In Rhino 8, executed the SetDotNetRuntime command and confirmed it is running on .NET Framework.
  • Verified in Grasshopper’s Preferences under the Solver section that “Grasshopper Tekla Link” is listed.

Issue Encountered:

  • After launching Tekla Structures and opening a model, I proceed to open Rhino and then Grasshopper. However, the Tekla components are not visible in Grasshopper.
  • Btw, when using version GrasshopperTeklaLink_Educational_2024.1.17, the link functioned correctly a few days ago but I now try with this version, it is not work too.

I have ensured that I am following the recommended sequence of operations: opening a model in Tekla Structures first, then launching Rhino and Grasshopper. Despite this, the Tekla components fail to appear in Grasshopper with version 2024.1.18.

I would appreciate any solutions you can provide to resolve this issue.

Thank you!

Hi Duy,

You say that

Do you see two Grasshopper-Tekla related plugins, i.e. Grasshopper-Tekla Link 2024.1.18 and Grasshopper-Tekla Link Loader? If so it doesn’t seem to be an unblocking or loading issue.

Next things to try:

  • Do the Tekla components show up when you search for them?
  • If you open an old definition, are the inserted Tekla components there or are they replaced by white boxes?
  • Is there any info in the Rhino command line window after loading GRasshopper that might be related to this?

Cheers,

-b

Hi Sebastian,

Thank you for response. I have followed all the suggested troubleshooting steps, but unfortunately, the issue still persists. I have attached screenshots showing the issue for further reference. Please have a look and let me know if there’s anything else I should try.




Hi, it seems there’s a mismatch between the running Tekla version and the link version, as indicated by the Rhino Command line message in your last image.

  • Do you have more than one Tekla version running? Maybe there’s a hung Tekla process somewhere in the Task Manager, in that case kill it.

  • Check the version of the running Tekla instance:

  • And the version of the GrasshopperTeklaLink.2024.dll (right-click > Properties…)

  • Do they both refer to 2024?

  • Is the Tekla configuration “Educational”?

Cheers,

-b

That worked.

Thanks,

Although the solution is preety bad to have to copy all those dlls.

I tried that but it didn’t work.

I got the following error.

It seems you have something somewhere that tries to reference Tekla 2023, or then actual Tekla dlls that target 2023 laying around. Could be in your Libraries folder, or somewhere else that Grasshopper tries to load plugins from.

  • Any folders added to the GrasshopperDeveloperSettings dialog? (type the command in the Rhino command prompt to check)
  • Make sure there aren’t any .ghlink files anywhere pointing to the Tekla bin folder.
  • Make sure there aren’t any Tekla API dll:s e.g. Tekla.Structures.Model.dll or Tekla.Structures.Drawing.dll in the Libraries folder.
  • Do you have e.g. a version of the Tekla drawing link installed that targets Tekla 2023 or any other Tekla-related Grasshopper plugin?

No folders added.
Libraries folder empty but for the files that the 1.19 WIP installer put there.
No Tekla drawing link installed for the 2023 version.

Really strange. That message is exactly what you would get if there was another .gha that got loaded before the link gets loaded, and that first gha referenced Tekla Structures 2023.

Try this definition, it’ll list all loaded .ghas and where they originated from:

LoadedGHAs.gh (17.0 KB)

Let us know if you see anything suspicious or post the whole output list here.

Cheers,

-b

At startup i got this message:

and then no data was collected. Got the following errors:

Alright GH in Rhino 7 apparently doesn’t have support for the same language features as Rhino 8. Change the bottom line to

LoadedGHas = Grasshopper.Instances.ComponentServer.Libraries.Select(l => l.Name + " (" + (l.Assembly != null && !string.IsNullOrWhiteSpace(l.Assembly.Location) ? l.Assembly.Location : l.LoadingMechanism.ToString()) + ")");

Or use this update:

LoadedGHAs.gh (13.2 KB)

Hi Sebastian,

I assumed that only one Tekla version (2024) with the “Educational” configuration was running. I have checked for additional instances and any hung Tekla processes in the Task Manager, but none were found. I also verified the version of GrasshopperTeklaLink.2024.dll, and it matches 2024.

Please check the attached photo.



Hi Sebastian, it now works with GrasshopperTeklaLink_2024.1.19 (not 1.18 which I tried before).

Thanks for your support!

That’s good news! 1.19 WIP doesn’t check the Tekla configuration so that makes sense, I think it should work fine in most configs.

However I’m still curious about why 1.18 doesn’t recognize the Educational config. Your screenshots look fine.

Do you have a chance to open this definition when the link is loaded:

GetTeklaInfoScript.gh (7.3 KB)

When I run this definition using the Educational configuration it produces this output:

The “CONFIGURATION_EDUCATIONAL” is what the link looks for, wondering if that shows something else for some reason.

Cheers,

-b

You’re absolutely right, 1.19 WIP doesn’t check the Tekla configuration, which is why the Tekla components appear in Grasshopper, but none of the functions actually work.

I reinstalled 1.18, and it now shows Tekla Structures as “Viewer,” which is strange because I’m using a student license, and the only available option should be “CONFIGURATION_EDUCATIONAL.”

Would you be able to help me figure this out?