Tags

, , ,

This article explains how to open a Tekla Structure from VB.Net.


Step 1

The first step would be to add reference to the Tekla.Structures.Model.dll Assembly:
Reference

The assembly can be found in the path “C:\Program Files\Tekla Structures\20.0\nt\bin\plugins”.


Step 2:

Any code written for tekla requires that the application  be running. So step 2 would be to manually open tekla:
Manula Open


Step 3:

The code below opens the project located in the path “D:\Software Resources\Tekla\Sample Project”:

Module Module1
Sub main()
Tekla.Structures.Model.Operations.Operation.Open( _
"D:\Software Resources\Tekla\aaaa")
End Sub
End Module

Result:
Result

Advertisements