VB.Net Open Tekla Structure Model (Tekla Open API)

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


Contents

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 FilesTekla Structures20.0ntbinplugins”.


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 ResourcesTeklaSample Project”:

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

Result:
Result

Leave a Reply

Your email address will not be published. Required fields are marked *