How to load up Tekla DLLs and a Hello World Application (Tekla Open API Course)

Tekla - "open" api

This post and tutorial shows you how to set up your Tekla Dependencies (i.e. DLLs) on an Tekla Open API project:

Source code:

Directly Embedded code:

Model model =  new Model();

if (model.GetConnectionStatus())
{
    Beam beam = new Beam();
    beam.StartPoint = new Point(0, 0, 0);
    beam.EndPoint = new Point(1000, 0, 0);
    beam.Profile.ProfileString = "UB150*14"; // make sure this is available in your environment.
    beam.Finish = "PAINT";

    beam.Insert();


    model.CommitChanges();
}

Nuget Packages:

And if you prefer vimeo (i.e. if you hate youtube ads) checkout this link:

https://vimeo.com/manage/videos/1196894990

Comments

Leave a Reply

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