Skip to main content

Motion Standalone Preprocessor C# library 2025 R1

Class BeamGroup

Last update: 16.07.2025

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

Beam Group Class

[CanNotOpenWithNewPreprocessor]
public class BeamGroup : Group, IObservableObject, IDisposableObject, ILinkable, ILinkContainerEvent, IVerifiable, IHistoryObjectSerializable, IAttributeContainer, ISubEntity, IEntityBase, IObjectBase, IObject, ILinkContainer, IOwned, IHasID, IEventProvider, IHasKeyObject, IHasName, IEnabled, IHasComment, INamed, INavigatorItem, IVisible, IArgument, IMultiChangable, IDraw, ITransformable, IReportable

Inheritance

object ← ObservableObject ← LinkableBase ← ObjectBase ← Object ← SubEntity ← Group ← BeamGroup

Implements

IObservableObject, IDisposableObject, ILinkable, ILinkContainerEvent, IVerifiable, IHistoryObjectSerializable, IAttributeContainer, ISubEntity, IEntityBase, IObjectBase, IObject, ILinkContainer, IOwned, IHasID, IEventProvider, IHasKeyObject, IHasName, IEnabled, IHasComment, INamed, INavigatorItem, IVisible, IArgument, IMultiChangable, IDraw, ITransformable, IReportable

Inherited Members

Group.OnLinkReserved(ILink, object, EventArgs), Group.OnDeserialization(object), Group.FixUp(ObjectBase), Group.GetSolidBody(), Group.GetModelNavigatorInformationImpl(XmlDocument, XmlElement, bool), Group.AddObject(ObjectBase), Group.RemoveObject(ObjectBase), Group.AddAction(GroupActionBase), Group.ActionNames(), Group.ExcuteAction(GroupActionBase, bool), Group.ExcuteAction(string, bool), Group.StateAction(string), Group.GetLayerImpl(), Group.SetLayerImpl(Layer), Group.IsEnabled, Group.Objects, Group.IsVisible, Group.ReferenceType, Group.ArgumentType, SubEntity.Initialize(Unit.ConvertFactor), SubEntity.GetModelNavigatorInformationImpl(XmlDocument, XmlElement, bool), SubEntity.FixUp(ObjectBase), SubEntity.WriteTemplateImpl(XmlWriter), SubEntity.ReadTemplateImpl(XmlReader), SubEntity.Name, SubEntity.FullName, SubEntity.NonSymmetricName, SubEntity.DisplayName, SubEntity.IsEnabled, SubEntity.Comment, Object.GetKey(), Object.Initialize(Unit.ConvertFactor), Object.SetIconColor(Canvas), Object.OnDeserialization(object), Object.CustomGetObjectData(SerializationInfo, StreamingContext), Object.RollbackEvent(), Object.OnDeserializedCore(object), Object.Key, Object.UntypedEventCore, Object.EventCore, Object.Attributes, ObjectBase.ReplaceEventCore(ObjectEventCore), ObjectBase.SetModifiedCore(ModifiedResult.ModifiedType), ObjectBase.AddPostDeserialize(StreamingContext), ObjectBase.LinkAddedToDocumentCore(IOwned, bool), ObjectBase.SetModified(ModifiedResult.ModifiedType), ObjectBase.SetModified(), ObjectBase.SetModified(ModifiedResult.ModifiedType, IDocument), ObjectBase.DestroyObject(object, LinkEventArgs), ObjectBase.DestroyObject(DestroyEventArgs), ObjectBase.DestroyObject(), ObjectBase.Initialize(Unit.ConvertFactor), ObjectBase.FixUp(ObjectBase), ObjectBase.DoWorkAfterUpdateContents(), ObjectBase.SetOldNameWithNewEntity(ObjectBase, ObjectBase), ObjectBase.SetIconColor(Canvas), ObjectBase.RemoveFromCreatedList(), ObjectBase.PostAddToDocument(), ObjectBase.PostRemoveFromDocument(Document), ObjectBase.GetArgumentList(LinkedList), ObjectBase.ResetInvalidEntity(), ObjectBase.OnDeserialization(object), ObjectBase.IsSerializableEvent(Delegate), ObjectBase.CustomGetObjectData(SerializationInfo, StreamingContext), ObjectBase.CheckAndUpdateLink(HashSet), ObjectBase.Verify(VerifiedResult), ObjectBase.ConnectProxy(), ObjectBase.RollbackEvent(), ObjectBase.LinkRequestUpdating(object, LinkEventArgs), ObjectBase.LinkRequestUpdate(object, LinkEventArgs), ObjectBase.LinkRequestDestroying(object, LinkEventArgs), ObjectBase.LinkRequestDestroy(object, LinkEventArgs), ObjectBase.LinkAddedToDocument(object, AddToDocEventArgs), ObjectBase.LinkRemovedFromDocument(object, RemoveFromDocEventArgs), ObjectBase.DisposeManagedResources(), ObjectBase.GetDestroyEventExtraData(), ObjectBase.OnLinkReserved(ILink, object, EventArgs), ObjectBase.CreateEntityWhenUpdateContents(Action), ObjectBase.GetObjectByKey(UIntPtr), ObjectBase.FindObjectOnXmlDeserialize(string), ObjectBase.UpdateContents(XmlReader, ObjectBase, string), ObjectBase.UpdateContents(XmlReader, ObjectBase), ObjectBase.UpdateContents(string, string), ObjectBase.UpdateContents(string), ObjectBase.SetFlagWhenXMLFile(string, bool), ObjectBase.IsEqualArray(T[], T[]), ObjectBase.IsEqualList(List, List), ObjectBase.SetContainer(IOwned, bool), ObjectBase.GetTargetListForUpdate(), ObjectBase.SkipUpdateObjectImpl(), ObjectBase.raise_OnUpdating(object, LinkEventArgs), ObjectBase.raise_OnUpdate(object, LinkEventArgs), ObjectBase.raise_OnDestroying(object, LinkEventArgs), ObjectBase.raise_OnDestroy(object, LinkEventArgs), ObjectBase.raise_Destroying(object, Identifier), ObjectBase.raise_OnAdded(object, AddToDocEventArgs), ObjectBase.raise_OnRemoved(object, RemoveFromDocEventArgs), ObjectBase.raise_OnContentsUpdated(object, EventArgs), ObjectBase.Dispose(bool), ObjectBase.SkipModified, ObjectBase.ClearChildInfoBeforeDeserialize, ObjectBase.KeyImpl, ObjectBase.ID, ObjectBase.TopologyEntityTypeName, ObjectBase.ObjectStateForCircularError, ObjectBase.ObjectState, ObjectBase.IsChildExternable, ObjectBase.IsExternable, ObjectBase.Container, ObjectBase.Owner, ObjectBase.Document, ObjectBase.UntypedEventCore, ObjectBase.KernelKey, ObjectBase.Key, ObjectBase.OnContentsUpdated, ObjectBase.OnRemoved, ObjectBase.OnAdded, ObjectBase.Destroying, ObjectBase.OnDestroy, ObjectBase.OnDestroying, ObjectBase.OnUpdate, ObjectBase.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

BeamGroup()

Constructor of BeamGroup Class

public BeamGroup()

BeamGroup(string)

Constructor of BeamGroup Class with Name

public BeamGroup(string strName)

Parameters

strName string

BeamGroup Name

Properties

BeamInfos

List container of beam information objects

public BeamInfo[] BeamInfos { get; set; }

Property Value

BeamInfo[]

DefaultBodyPoints

Default body points when beam group is first created.

public List<vector> DefaultBodyPoints { get; }

Property Value

List

Hide

Gets or sets a value indicating whether this instance is hide.

public bool Hide { get; set; }

Property Value

bool

RestoretoStraight

Whether maintain straight status

public bool RestoretoStraight { get; set; }

Property Value

bool

SyncBeamBodyProp

Whether syncronise beam and body properties

public bool SyncBeamBodyProp { get; set; }

Property Value

bool

UseBeamForce

Whether use beam force or matrix force

public bool UseBeamForce { get; set; }

Property Value

bool

Methods

AddBeamInfo(BeamInfo)

Add beam information

public void AddBeamInfo(BeamInfo beamInfo)

Parameters

beamInfo BeamInfo

Beam information to add

CreateSolidBody(string, Vector)

Create Solid Body

public static SolidBody CreateSolidBody(string name, Vector vecPoint)

Parameters

name string

vecPoint Vector

Returns

SolidBody

Draw(Canvas)

Draw Beam information geometry

public void Draw(Canvas canvas)

Parameters

canvas Canvas

Canvas to draw beam geometry

GetLayerImpl()

Gets the layer impl.

protected override Layer GetLayerImpl()

Returns

Layer

Exceptions

Exception

Document of Group object is null.

GetNextBeamInfo(BeamInfo)

Get next beam information

public BeamInfo GetNextBeamInfo(BeamInfo beamInfo)

Parameters

beamInfo BeamInfo

Current beam information

Returns

BeamInfo

Next beam information

GetPrevBeamInfo(BeamInfo)

Get previous beam information

public BeamInfo GetPrevBeamInfo(BeamInfo beamInfo)

Parameters

beamInfo BeamInfo

Current beam information

Returns

BeamInfo

Previous beam information

IsFirstBeamInfo(BeamInfo)

Whether beam element is a first entity among current beam group

public bool IsFirstBeamInfo(BeamInfo beamInfo)

Parameters

beamInfo BeamInfo

Currnet beam information

Returns

bool

It's true or false

IsFirstBody(SolidBody)

Whether body is a first entity among all bodies

public bool IsFirstBody(SolidBody solidBody)

Parameters

solidBody SolidBody

Body to check

Returns

bool

It's true or false

IsLastBeamInfo(BeamInfo)

Whether beam element is a last entity among current beam group

public bool IsLastBeamInfo(BeamInfo beamInfo)

Parameters

beamInfo BeamInfo

Currnet beam information

Returns

bool

It's true or false

IsLastBody(SolidBody)

Whether body is a last entity among all bodies

public bool IsLastBody(SolidBody solidBody)

Parameters

solidBody SolidBody

Body to check

Returns

bool

It's true or false

LinkRequestDestroy(object, LinkEventArgs)

Request for destroy the linked object.

protected override void LinkRequestDestroy(object objNotifier, LinkEventArgs arg)

Parameters

objNotifier object

The linked object.

arg LinkEventArgs

The instance containing the event data.

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.

SetLayerImpl(Layer)

Implemented function to set layer

protected override void SetLayerImpl(Layer layer)

Parameters

layer Layer

Layer Object

UpdateBeamElementsOfAll()

Update beam elements of all

public void UpdateBeamElementsOfAll()

UpdateBeamNodesOfAll()

Update beam nodes of all

public void UpdateBeamNodesOfAll()

Connect with Ansys