Skip to main content

Motion Standalone Preprocessor C# library 2024 R2

Class SegmentGroup

Last update: 16.07.2025

Namespace: VM.Managed.DAFUL.CPlacingConnector
Assembly: VMDCPlacingConnector.dll

This class is to represent the segment group.

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

Inheritance

object ← ObservableObject ← LinkableBase ← LinkContainer ← SegmentGroup

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<T>(object, LinkPropertyType)

Constructors

SegmentGroup()

Initializes a new instance of the class.

public SegmentGroup()

Properties

Information

Gets or sets the segment information list.

public SegmentInformation[] Information { get; set; }

Property Value

SegmentInformation[]

Items

Gets or sets the segment list.

public ObjectBase[] Items { get; set; }

Property Value

ObjectBase[]

Methods

AddInformation(SegmentInformation)

Add information

public void AddInformation(SegmentInformation segmentInformation)

Parameters

segmentInformation SegmentInformation

The segment information

AddItem(ObjectBase)

Add segment

public void AddItem(ObjectBase item)

Parameters

item ObjectBase

The segment

FindInformation(string)

Find information

public SegmentInformation FindInformation(string strSegmentName)

Parameters

strSegmentName string

The segment name

Returns

SegmentInformation

FindItemWithInformation(SegmentInformation, Document)

Find item with information

public InstanceContainer FindItemWithInformation(SegmentInformation segmentInformation, Document document)

Parameters

segmentInformation SegmentInformation

The segment information

document Document

The document

Returns

InstanceContainer

FindSegmentWithInformation(SegmentInformation, Document)

Find segment with information

public Document3D FindSegmentWithInformation(SegmentInformation segmentInformation, Document document)

Parameters

segmentInformation SegmentInformation

The segment information

document Document

The document

Returns

Document3D

GetStiffnessWithTwoConnector(string, string, string)

Gets stiffness with two connector

public VectorBase GetStiffnessWithTwoConnector(string strBaseSegmentName, string strActionSegmentName, string strStiffnessName)

Parameters

strBaseSegmentName string

The base segment name

strActionSegmentName string

The action segment name

strStiffnessName string

The stiffness name

Returns

VectorBase

Initialize(ConvertFactor)

Initializes member through unit convert factor.

public override void Initialize(Unit.ConvertFactor factor)

Parameters

factor Unit.ConvertFactor

The unit convert factor.

RemoveInformation(SegmentInformation)

Remove information

public void RemoveInformation(SegmentInformation segmentInformation)

Parameters

segmentInformation SegmentInformation

The segment information

RemoveItem(ObjectBase)

Remove segment

public void RemoveItem(ObjectBase item)

Parameters

item ObjectBase

The segment

Connect with Ansys