Create Beam

You might also like

Download as txt, pdf, or txt
Download as txt, pdf, or txt
You are on page 1of 1

using Tekla.Structures.

Model;
using TSG = Tekla.Structures.Geometry3d;

private void button1_Click(object sender, EventArgs e)


{
Model myModel = new Model();

if (myModel.GetConnectionStatus())
{
Beam myBeam = new Beam(new TSG.Point(1000, 1000, 1000), new TSG.Point(6000,
6000, 1000));

myBeam.Material.MaterialString = "S235JR";
myBeam.Profile.ProfileString = "HEA400";

myBeam.Insert();

myModel.CommitChanges();
}
}

You might also like