Skip to main content

Motion Standalone Preprocessor C# library 2025 R1

Class BeamInfo

Last update: 16.07.2025

Namespace: VM.Managed.DAFUL.Beam
Assembly: VMDBeamGroup.dll

Beam Information Class Beam Group have several beam information classes

public class BeamInfo : LinkContainer, IObservableObject, IDisposableObject, ILinkable, IObject, ILinkContainer, IOwned, IHasID, IEventProvider, ILinkContainerEvent, IVerifiable

Inheritance

object ← ObservableObject ← LinkableBase ← LinkContainer ← BeamInfo

Implements

IObservableObject, IDisposableObject, ILinkable, IObject, ILinkContainer, IOwned, IHasID, IEventProvider, ILinkContainerEvent, IVerifiable

Inherited Members

LinkContainer.SetModified(), LinkContainer.raise_OnUpdating(object, LinkEventArgs), LinkContainer.raise_OnUpdate(object, LinkEventArgs), LinkContainer.raise_OnDestroying(object, LinkEventArgs), LinkContainer.raise_OnDestroy(object, LinkEventArgs), LinkContainer.raise_OnAdded(object, AddToDocEventArgs), LinkContainer.raise_OnRemoved(object, RemoveFromDocEventArgs), LinkContainer.GetTargetListForUpdate(), LinkContainer.SkipUpdateObjectImpl(), LinkContainer.Initialize(Unit.ConvertFactor), LinkContainer.SetFlagWhenXMLFile(string, bool), LinkContainer.IsSerializableEvent(Delegate), LinkContainer.CustomGetObjectData(SerializationInfo, StreamingContext), LinkContainer.GetSerializedData(SerializationInfo, StreamingContext), LinkContainer.LinkRequestUpdating(object, LinkEventArgs), LinkContainer.LinkRequestUpdate(object, LinkEventArgs), LinkContainer.LinkRequestDestroying(object, LinkEventArgs), LinkContainer.LinkRequestDestroy(object, LinkEventArgs), LinkContainer.LinkAddedToDocument(object, AddToDocEventArgs), LinkContainer.LinkRemovedFromDocument(object, RemoveFromDocEventArgs), LinkContainer.OnLinkReserved(ILink, object, EventArgs), LinkContainer.CanBeDestroy(object), LinkContainer.DisposeManagedResources(), LinkContainer.SetContainer(IOwned, bool), LinkContainer.OnChildUpdated(object, LinkEventArgs), LinkContainer.OnContainerDestroy(object, LinkEventArgs), LinkContainer.OnDeserialization(object), LinkContainer.Verify(VerifiedResult), LinkContainer.GetCopy(object), LinkContainer.Dispose(bool), LinkContainer.ClearChildInfoBeforeDeserialize, LinkContainer.Container, LinkContainer.Owner, LinkContainer.Document, LinkContainer.ID, LinkContainer.IsChildExternable, LinkContainer.IsExternable, LinkContainer.OnRemoved, LinkContainer.OnAdded, LinkContainer.OnDestroy, LinkContainer.OnDestroying, LinkContainer.OnUpdate, LinkContainer.OnUpdating, LinkableBase.OnDeserialization(object), ObservableObject.Dispose(), ObservableObject.RaisePropertyChanged(string), ObservableObject.RaisePropertyChanged(string, object, object), ObservableObject.Dispose(bool), ObservableObject.DisposeManagedResources(), ObservableObject.DisposeUnmanagedResources(), ObservableObject.IsDisposed, ObservableObject.TryDisposing, ObservableObject.Disposed, ObservableObject.Disposing, ObservableObject.PropertyChanged

Extension Methods

LinkPropertyItemCache.GetLinkProperties(object, LinkPropertyType), LinkPropertyItemCache.GetLinkPropertiesAndValues(object, LinkPropertyType), LinkPropertyItemCache.GetLinkedObjects(object, LinkPropertyType)

Constructors

BeamInfo()

Constructor of BeamInfo Class

public BeamInfo()

Fields

m_CrossSectionType

Cross section type of beam information

protected CrossSectionType m_CrossSectionType

Field Value

CrossSectionType

Properties

BeamElements

Container of beam elements

public BeamElement[] BeamElements { get; set; }

Property Value

BeamElement[]

Color

Gets or sets the color.

public Color Color { get; set; }

Property Value

Color

CrossSectionType

Cross section type of beam information

public CrossSectionType CrossSectionType { get; set; }

Property Value

CrossSectionType

DampingRatio

Damping ratio of material

public double DampingRatio { get; }

Property Value

double

DefaultStraightBodyPoints

Get containers of points of bodies

public List<vector> DefaultStraightBodyPoints { get; }

Property Value

List

Density

Density of material

public double Density { get; }

Property Value

double

EndPoint

End point of beam information

public PointBase EndPoint { get; set; }

Property Value

PointBase

EndPointVector

End point of beam information using vector class

public VectorBase EndPointVector { get; set; }

Property Value

VectorBase

GeomInfoArray

Gets or sets the geom info array.

public double[] GeomInfoArray { get; set; }

Property Value

double[]

GeomInfos

Gets or sets the geom infos.

public Variable[] GeomInfos { get; set; }

Property Value

Variable[]

HtmlColor

Gets or sets the color of the HTML.

public string HtmlColor { get; set; }

Property Value

string

IsFirstBeamInfo

Whether the beam information is first among beam informations.

public bool IsFirstBeamInfo { get; }

Property Value

bool

IsLastBeamInfo

Whether the beam information is last among beam informations.

public bool IsLastBeamInfo { get; }

Property Value

bool

Material

Matrial object of beam information to use

public IMaterial Material { get; set; }

Property Value

IMaterial

MaterialISO

Matrial object casted by ISO type of beam information

public ISO MaterialISO { get; }

Property Value

ISO

NumOfElements

The number of element of beam information

public uint NumOfElements { get; set; }

Property Value

uint

PoissonRatio

Poisson ratio of material

public double PoissonRatio { get; }

Property Value

double

ShearModulus

Shear's modulus of material

public double ShearModulus { get; }

Property Value

double

StartPoint

Start point of beam information

public PointBase StartPoint { get; set; }

Property Value

PointBase

StartPointVector

Start point of beam information using vector class

public VectorBase StartPointVector { get; set; }

Property Value

VectorBase

UseMiddleElementReferenceFrame

Use middle element reference frame

public bool UseMiddleElementReferenceFrame { get; set; }

Property Value

bool

YDirection

Normal direction of beam cross geometry

public DirectionBase YDirection { get; set; }

Property Value

DirectionBase

YDirectionArray

Normal direction of beam cross geometry using double array

public double[] YDirectionArray { get; }

Property Value

double[]

YoungsModulus

Young's modulus of material

public double YoungsModulus { get; }

Property Value

double

_Material

Matrial object of beam information to save

public Linker<imaterial> _Material { get; set; }

Property Value

Linker

Methods

AddBeamElement(BeamElement)

Add beam element

public void AddBeamElement(BeamElement beamEle)

Parameters

beamEle BeamElement

Beam element to add

Draw(ref Canvas)

Draw Beam information geometry

public void Draw(ref Canvas canvas)

Parameters

canvas Canvas

Canvas to draw beam geometry

GetFirstBeamElement()

Get first beam element among all beam elements

public BeamElement GetFirstBeamElement()

Returns

BeamElement

First beam element

GetLastBeamElement()

Get last beam element among all beam elements

public BeamElement GetLastBeamElement()

Returns

BeamElement

Last beam element

GetNextBeamElement(BeamElement)

Get next beam element

public BeamElement GetNextBeamElement(BeamElement beamEle)

Parameters

beamEle BeamElement

Current beam element

Returns

BeamElement

Next beam element

GetPrevBeamElement(BeamElement)

Get previous beam element

public BeamElement GetPrevBeamElement(BeamElement beamEle)

Parameters

beamEle BeamElement

Current beam element

Returns

BeamElement

Previous beam element

IsEndBeamElement(BeamElement)

Whether ending beam element among current beam information

public bool IsEndBeamElement(BeamElement beamEle)

Parameters

beamEle BeamElement

Currnet beam element

Returns

bool

It's true or false

IsEndSolidBody(SolidBody)

Whether ending solid body among current beam information

public bool IsEndSolidBody(SolidBody solidBody)

Parameters

solidBody SolidBody

SolidBody to check

Returns

bool

It's true or false

IsStartBeamElement(BeamElement)

Whether starting beam element among current beam information

public bool IsStartBeamElement(BeamElement beamEle)

Parameters

beamEle BeamElement

Currnet beam element

Returns

bool

It's true or false

IsStartSolidBody(SolidBody)

Whether starting solid body among current beam information

public bool IsStartSolidBody(SolidBody solidBody)

Parameters

solidBody SolidBody

SolidBody to check

Returns

bool

It's true or false

LinkRequestUpdate(object, LinkEventArgs)

Request to update the linked object.

protected override void LinkRequestUpdate(object objNotifier, LinkEventArgs arg)

Parameters

objNotifier object

The linked object.

arg LinkEventArgs

The instance containing the event data.

OnDeserialization(object)

Called when [deserialization].

protected override void OnDeserialization(object sender)

Parameters

sender object

The sender.

UpdateBeamElements()

Update beam elements of area and mass properties

public void UpdateBeamElements()

UpdateBeamNodes()

Update body properties of position and orientation

public void UpdateBeamNodes()

Connect with Ansys