Connected Tekla Model File Name In Grasshopper

Couldn’t find anything from searching the components in Grasshopper or hee on the Forum, but is it possible yet to get the currently linked Tekla model file name in grasshopper?
So when exporting data to Excel I can also note the the Teka file being used without manually having to copy into the script with each Tekla mode used…

Cheers Matt

Hi Matt,

Yes it’s certainly possible, If you just want to use Tekla toolset you can do this:

Or use this custom C# component to do the job, then you also don’t have to link an object to it.

GetModelInfoScript.gh (10.3 KB)

Cheers,
Oskar

3 Likes

That’s great, hadn’t considered accessing it via the Get Property Component.
Will also check out script as well as that seems to include lots of great info we may need later.
Thanks

1 Like

You’re welcome!