> ## Documentation Index
> Fetch the complete documentation index at: https://developer.synopsys.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Class BeamInfo

Namespace: [VM.Managed.DAFUL.Beam](https://developer.synopsys.com/docs/motion/motion-standalone-preprocessor-c-sharp-library/lib/VM.Managed.DAFUL.Beam)\
Assembly: VMDBeamGroup.dll

Beam Information Class
Beam Group have several beam information classes

```csharp theme={null}
public class BeamInfo : LinkContainer, IObservableObject, IDisposableObject, ILinkable, IObject, ILinkContainer, IOwned, IHasID, IEventProvider, ILinkContainerEvent, IVerifiable
```

#### Inheritance

object ←
ObservableObject ←
[LinkableBase](https://github.com/AnsysVirtualMotion/DAFUL/blob/9110677a5f6a53d7604f8dfd35b4c5fceb59e8e0/DAFUL/Pre/Data/VM.Models.Pre/Models/LinkableBase.cs) ←
LinkContainer ←
[BeamInfo](https://developer.synopsys.com/docs/motion/motion-standalone-preprocessor-c-sharp-library/lib/VM.Managed.DAFUL.Beam.BeamInfo.md)

#### 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)](https://github.com/AnsysVirtualMotion/DAFUL/blob/9110677a5f6a53d7604f8dfd35b4c5fceb59e8e0/DAFUL/Pre/Data/VM.Models.Pre/Models/LinkableBase.cs),
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)](https://developer.synopsys.com/docs/motion/motion-standalone-preprocessor-c-sharp-library/lib/VM.Models.Pre.Cache.LinkPropertyItemCache.md#VM_Models_Pre_Cache_LinkPropertyItemCache_GetLinkProperties_System_Object_VM_Models_Pre_LinkPropertyType_),
[LinkPropertyItemCache.GetLinkPropertiesAndValues(object, LinkPropertyType)](https://developer.synopsys.com/docs/motion/motion-standalone-preprocessor-c-sharp-library/lib/VM.Models.Pre.Cache.LinkPropertyItemCache.md#VM_Models_Pre_Cache_LinkPropertyItemCache_GetLinkPropertiesAndValues_System_Object_VM_Models_Pre_LinkPropertyType_),
[LinkPropertyItemCache.GetLinkedObjects\<T>(object, LinkPropertyType)](https://developer.synopsys.com/docs/motion/motion-standalone-preprocessor-c-sharp-library/lib/VM.Models.Pre.Cache.LinkPropertyItemCache.md#VM_Models_Pre_Cache_LinkPropertyItemCache_GetLinkedObjects__1_System_Object_VM_Models_Pre_LinkPropertyType_)

## Constructors

### BeamInfo()

Constructor of BeamInfo Class

```csharp theme={null}
public BeamInfo()
```

## Fields

### m\_CrossSectionType

Cross section type of beam information

```csharp theme={null}
protected CrossSectionType m_CrossSectionType
```

#### Field Value

[CrossSectionType](https://github.com/AnsysVirtualMotion/DAFUL/blob/9110677a5f6a53d7604f8dfd35b4c5fceb59e8e0/DAFUL/Common/VM.Models.FE.BeamCrossSection/BeamCrossSection.cs)

## Properties

### BeamElements

Container of beam elements

```csharp theme={null}
public BeamElement[] BeamElements { get; set; }
```

#### Property Value

[BeamElement](https://developer.synopsys.com/docs/motion/motion-standalone-preprocessor-c-sharp-library/lib/VM.Managed.DAFUL.Beam.BeamElement.md)\[]

### Color

Gets or sets the color.

```csharp theme={null}
public Color Color { get; set; }
```

#### Property Value

Color

### CrossSectionType

Cross section type of beam information

```csharp theme={null}
public CrossSectionType CrossSectionType { get; set; }
```

#### Property Value

[CrossSectionType](https://github.com/AnsysVirtualMotion/DAFUL/blob/9110677a5f6a53d7604f8dfd35b4c5fceb59e8e0/DAFUL/Common/VM.Models.FE.BeamCrossSection/BeamCrossSection.cs)

### DampingRatio

Damping ratio of material

```csharp theme={null}
public double DampingRatio { get; }
```

#### Property Value

double

### DefaultStraightBodyPoints

Get containers of points of bodies

```csharp theme={null}
public List<Vector> DefaultStraightBodyPoints { get; }
```

#### Property Value

List\<Vector>

### Density

Density of material

```csharp theme={null}
public double Density { get; }
```

#### Property Value

double

### EndPoint

End point of beam information

```csharp theme={null}
public PointBase EndPoint { get; set; }
```

#### Property Value

PointBase

### EndPointVector

End point of beam information using vector class

```csharp theme={null}
public VectorBase EndPointVector { get; set; }
```

#### Property Value

VectorBase

### GeomInfoArray

Gets or sets the geom info array.

```csharp theme={null}
public double[] GeomInfoArray { get; set; }
```

#### Property Value

double\[]

### GeomInfos

Gets or sets the geom infos.

```csharp theme={null}
public Variable[] GeomInfos { get; set; }
```

#### Property Value

Variable\[]

### HtmlColor

Gets or sets the color of the HTML.

```csharp theme={null}
public string HtmlColor { get; set; }
```

#### Property Value

string

### IsFirstBeamInfo

Whether the beam information is first among beam informations.

```csharp theme={null}
public bool IsFirstBeamInfo { get; }
```

#### Property Value

bool

### IsLastBeamInfo

Whether the beam information is last among beam informations.

```csharp theme={null}
public bool IsLastBeamInfo { get; }
```

#### Property Value

bool

### Material

Matrial object of beam information to use

```csharp theme={null}
public IMaterial Material { get; set; }
```

#### Property Value

IMaterial

### MaterialISO

Matrial object casted by ISO type of beam information

```csharp theme={null}
public ISO MaterialISO { get; }
```

#### Property Value

[ISO](https://github.com/AnsysVirtualMotion/DAFUL/blob/9110677a5f6a53d7604f8dfd35b4c5fceb59e8e0/DAFUL/ClassicPre/Data/VMObjBase/MaterialISO.cs)

### NumOfElements

The number of element of beam information

```csharp theme={null}
public uint NumOfElements { get; set; }
```

#### Property Value

uint

### PoissonRatio

Poisson ratio of material

```csharp theme={null}
public double PoissonRatio { get; }
```

#### Property Value

double

### ShearModulus

Shear's modulus of material

```csharp theme={null}
public double ShearModulus { get; }
```

#### Property Value

double

### StartPoint

Start point of beam information

```csharp theme={null}
public PointBase StartPoint { get; set; }
```

#### Property Value

PointBase

### StartPointVector

Start point of beam information using vector class

```csharp theme={null}
public VectorBase StartPointVector { get; set; }
```

#### Property Value

VectorBase

### UseMiddleElementReferenceFrame

Use middle element reference frame

```csharp theme={null}
public bool UseMiddleElementReferenceFrame { get; set; }
```

#### Property Value

bool

### YDirection

Normal direction of beam cross geometry

```csharp theme={null}
public DirectionBase YDirection { get; set; }
```

#### Property Value

DirectionBase

### YDirectionArray

Normal direction of beam cross geometry using double array

```csharp theme={null}
public double[] YDirectionArray { get; }
```

#### Property Value

double\[]

### YoungsModulus

Young's modulus of material

```csharp theme={null}
public double YoungsModulus { get; }
```

#### Property Value

double

### \_Material

Matrial object of beam information to save

```csharp theme={null}
public Linker<IMaterial> _Material { get; set; }
```

#### Property Value

Linker\<IMaterial>

## Methods

### AddBeamElement(BeamElement)

Add beam element

```csharp theme={null}
public void AddBeamElement(BeamElement beamEle)
```

#### Parameters

`beamEle` [BeamElement](https://developer.synopsys.com/docs/motion/motion-standalone-preprocessor-c-sharp-library/lib/VM.Managed.DAFUL.Beam.BeamElement.md)

Beam element to add

### Draw(ref Canvas)

Draw Beam information geometry

```csharp theme={null}
public void Draw(ref Canvas canvas)
```

#### Parameters

`canvas` [Canvas](https://github.com/AnsysVirtualMotion/DAFUL/blob/9110677a5f6a53d7604f8dfd35b4c5fceb59e8e0/DAFUL/ClassicPre/Data/VM.CAD.Kernel/Render/Canvas.cs)

Canvas to draw beam geometry

### GetFirstBeamElement()

Get first beam element among all beam elements

```csharp theme={null}
public BeamElement GetFirstBeamElement()
```

#### Returns

[BeamElement](https://developer.synopsys.com/docs/motion/motion-standalone-preprocessor-c-sharp-library/lib/VM.Managed.DAFUL.Beam.BeamElement.md)

First beam element

### GetLastBeamElement()

Get last beam element among all beam elements

```csharp theme={null}
public BeamElement GetLastBeamElement()
```

#### Returns

[BeamElement](https://developer.synopsys.com/docs/motion/motion-standalone-preprocessor-c-sharp-library/lib/VM.Managed.DAFUL.Beam.BeamElement.md)

Last beam element

### GetNextBeamElement(BeamElement)

Get next beam element

```csharp theme={null}
public BeamElement GetNextBeamElement(BeamElement beamEle)
```

#### Parameters

`beamEle` [BeamElement](https://developer.synopsys.com/docs/motion/motion-standalone-preprocessor-c-sharp-library/lib/VM.Managed.DAFUL.Beam.BeamElement.md)

Current beam element

#### Returns

[BeamElement](https://developer.synopsys.com/docs/motion/motion-standalone-preprocessor-c-sharp-library/lib/VM.Managed.DAFUL.Beam.BeamElement.md)

Next beam element

### GetPrevBeamElement(BeamElement)

Get previous beam element

```csharp theme={null}
public BeamElement GetPrevBeamElement(BeamElement beamEle)
```

#### Parameters

`beamEle` [BeamElement](https://developer.synopsys.com/docs/motion/motion-standalone-preprocessor-c-sharp-library/lib/VM.Managed.DAFUL.Beam.BeamElement.md)

Current beam element

#### Returns

[BeamElement](https://developer.synopsys.com/docs/motion/motion-standalone-preprocessor-c-sharp-library/lib/VM.Managed.DAFUL.Beam.BeamElement.md)

Previous beam element

### IsEndBeamElement(BeamElement)

Whether ending beam element among current beam information

```csharp theme={null}
public bool IsEndBeamElement(BeamElement beamEle)
```

#### Parameters

`beamEle` [BeamElement](https://developer.synopsys.com/docs/motion/motion-standalone-preprocessor-c-sharp-library/lib/VM.Managed.DAFUL.Beam.BeamElement.md)

Currnet beam element

#### Returns

bool

It's true or false

### IsEndSolidBody(SolidBody)

Whether ending solid body among current beam information

```csharp theme={null}
public bool IsEndSolidBody(SolidBody solidBody)
```

#### Parameters

`solidBody` [SolidBody](https://github.com/AnsysVirtualMotion/DAFUL/blob/9110677a5f6a53d7604f8dfd35b4c5fceb59e8e0/DAFUL/ClassicPre/Data/VMDFBase/Body.cs)

SolidBody to check

#### Returns

bool

It's true or false

### IsStartBeamElement(BeamElement)

Whether starting beam element among current beam information

```csharp theme={null}
public bool IsStartBeamElement(BeamElement beamEle)
```

#### Parameters

`beamEle` [BeamElement](https://developer.synopsys.com/docs/motion/motion-standalone-preprocessor-c-sharp-library/lib/VM.Managed.DAFUL.Beam.BeamElement.md)

Currnet beam element

#### Returns

bool

It's true or false

### IsStartSolidBody(SolidBody)

Whether starting solid body among current beam information

```csharp theme={null}
public bool IsStartSolidBody(SolidBody solidBody)
```

#### Parameters

`solidBody` [SolidBody](https://github.com/AnsysVirtualMotion/DAFUL/blob/9110677a5f6a53d7604f8dfd35b4c5fceb59e8e0/DAFUL/ClassicPre/Data/VMDFBase/Body.cs)

SolidBody to check

#### Returns

bool

It's true or false

### LinkRequestUpdate(object, LinkEventArgs)

Request to update the linked object.

```csharp theme={null}
protected override void LinkRequestUpdate(object objNotifier, LinkEventArgs arg)
```

#### Parameters

`objNotifier` object

The linked object.

`arg` LinkEventArgs

The [LinkEventArgs](https://developer.synopsys.com/docs/motion/motion-standalone-preprocessor-c-sharp-library/lib/VM.Managed.LinkEventArgs.md) instance containing the event data.

### OnDeserialization(object)

Called when \[deserialization].

```csharp theme={null}
protected override void OnDeserialization(object sender)
```

#### Parameters

`sender` object

The sender.

### UpdateBeamElements()

Update beam elements of area and mass properties

```csharp theme={null}
public void UpdateBeamElements()
```

### UpdateBeamNodes()

Update body properties of position and orientation

```csharp theme={null}
public void UpdateBeamNodes()
```
