Click or drag to resize

LoadOnLine Class

Compatible with IDEA StatiCa Beta 21.0 - beta
Load on line
Inheritance Hierarchy

Namespace:  IdeaRS.OpenModel.Loading
Assembly:  IdeaRS.OpenModel (in IdeaRS.OpenModel.dll) Version: 20.0.1.1 (20.0.1.1)
Syntax
public class LoadOnLine : OpenElementId

The LoadOnLine type exposes the following members.

Constructors
  NameDescription
Public methodLoadOnLine
Constructor
Top
Properties
  NameDescription
Public propertyBimp
Impulse at the begin
Public propertyDirection
1=global, 0=local
Public propertyEimp
Impulse at the end
Public propertyExY
Eccentricity local Y on the beginning
Public propertyExYEnd
Eccentricity local Y at the end
Public propertyExZ
Eccentricity local Z on the beginning
Public propertyExZEnd
Eccentricity local Z at the end
Public propertyGeometry
Segment3D or PolyLine3D
Public propertyId
Element Id
(Inherited from OpenElementId.)
Public propertyLoadProjection
Gets, sets load projection
Public propertyRelativeBeginPosition
Begin position on Segment3D
Public propertyRelativeEndPosition
End position on Segment3D
Public propertyType
Type of load
Top
Examples
This sample shows how to create a load on the line.
C#
//Creating the model
OpenModel openModel = new OpenModel();

//Create nodes
Point3D pointA = new Point3D();
pointA.X = 0;
pointA.Y = 0;
pointA.Z = 0;
openModel.AddObject(pointA);

Point3D pointB = new Point3D();
pointB.X = 0;
pointB.Y = 0;
pointB.Z = 1.2;
openModel.AddObject(pointB);

Point3D pointC = new Point3D();
pointC.X = 0;
pointC.Y = 0;
pointC.Z = 2.4;
openModel.AddObject(pointC);

//Line between nodes
LineSegment3D line1 = new LineSegment3D();
line1.StartPoint = new ReferenceElement(pointA);
line1.EndPoint = new ReferenceElement(pointB);
//LCS of line
line1.LocalCoordinateSystem = new CoordSystemByZup();
openModel.AddObject(line1);

//Line between nodes
LineSegment3D line2 = new LineSegment3D();
line2.StartPoint = new ReferenceElement(pointB);
line2.EndPoint = new ReferenceElement(pointC);
//LCS of line
line2.LocalCoordinateSystem = new CoordSystemByZup();
openModel.AddObject(line2);

//Load case
LoadCase loadCase = new LoadCase();
//...
openModel.AddObject(loadCase);

//Uniform load on line2 - relative between 0.1-0.6. In the LCS of line. -2kN in the z-direction
LoadOnLine loadLine = new LoadOnLine();
loadLine.Bimp = new LoadImpulse() { Z = -2e3 };
loadLine.Eimp = new LoadImpulse() { Z = -2e3 };
loadLine.Type = LoadType.LoadForce;
loadLine.Direction = LoadDirection.InLcs;
loadLine.Geometry = new ReferenceElement(line2);
loadLine.LoadProjection = LoadProjection.Length;
loadLine.RelativeBeginPosition = 0.1;
loadLine.RelativeBeginPosition = 0.6;

openModel.AddObject(loadLine);
loadCase.LoadsOnLine.Add(new ReferenceElement(loadLine));
See Also