Professional Documents
Culture Documents
Model;
using TSG = Tekla.Structures.Geometry3d;
// Check if we have a Tekla Structures Model that you can connect to.
if (myModel.GetConnectionStatus())
{
// Create a new instance of the Beam class based on created start and end
points for the beam.
Beam myBeam = new Beam(new TSG.Point(1000, 1000, 1000), new TSG.Point(6000,
6000, 1000));
//Make sure all changes that have been done are updated in Tekla Structures
and that the model views are redrawn
//accordingly.
myModel.CommitChanges();
}
}