Class BeamGroup
Last update: 16.07.2025Namespace: 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
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
Extension Methods
LinkPropertyItemCache.GetLinkProperties(object, LinkPropertyType),
LinkPropertyItemCache.GetLinkPropertiesAndValues(object, LinkPropertyType),
LinkPropertyItemCache.GetLinkedObjects
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
Hide
Gets or sets a value indicating whether this instance is hide.
public bool Hide { get; set; }
Property Value
RestoretoStraight
Whether maintain straight status
public bool RestoretoStraight { get; set; }
Property Value
SyncBeamBodyProp
Whether syncronise beam and body properties
public bool SyncBeamBodyProp { get; set; }
Property Value
UseBeamForce
Whether use beam force or matrix force
public bool UseBeamForce { get; set; }
Property Value
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
Document of Group object is null.
GetNextBeamInfo(BeamInfo)
Get next beam information
public BeamInfo GetNextBeamInfo(BeamInfo beamInfo)
Parameters
beamInfo BeamInfo
Current beam information
Returns
Next beam information
GetPrevBeamInfo(BeamInfo)
Get previous beam information
public BeamInfo GetPrevBeamInfo(BeamInfo beamInfo)
Parameters
beamInfo BeamInfo
Current beam information
Returns
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
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
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
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
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
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
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()