Skip to main content

Motion Standalone Preprocessor C# library 2025 R1

Class Body.VertexContainer

Last update: 16.07.2025

Namespace: VM.Managed.CAD
Assembly: VMAppCore.dll

This interface is to represent the vertex container.

public sealed class Body.VertexContainer : LinkContainer, IObservableObject, IDisposableObject, ILinkable, IObject, ILinkContainer, IOwned, IHasID, IEventProvider, ILinkContainerEvent, IVerifiable, IPostDeserialized

Inheritance

object ← ObservableObject ← LinkableBase ← LinkContainerBody.VertexContainer

Implements

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

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.SetContainer(IOwned, bool), LinkContainer.Container, LinkContainer.Owner, LinkContainer.Document, LinkContainer.ID, LinkContainer.IsChildExternable, LinkContainer.IsExternable, LinkContainer.OnRemoved, LinkContainer.OnAdded, LinkContainer.OnDestroy, LinkContainer.OnDestroying, LinkContainer.OnUpdate, LinkContainer.OnUpdating, ObservableObject.Dispose(), ObservableObject.RaisePropertyChanged(string), ObservableObject.RaisePropertyChanged(string, object, object), ObservableObject.IsDisposed, ObservableObject.TryDisposing, ObservableObject.Disposed, ObservableObject.Disposing, ObservableObject.PropertyChanged

Extension Methods

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

Properties

Count

Gets the number of elements contained in the .

public int Count { get; }

Property Value

int

IsReadOnly

Gets a value indicating whether the is read-only.

public bool IsReadOnly { get; }

Property Value

bool

this[uint]

public Vertex this[uint nIndex] { get; }

Property Value

Vertex

Methods

Add(Vertex)

Adds an item to the [Not Supported].

public void Add(Vertex A_0)

Parameters

A_0 Vertex

Clear()

Removes all items from the [Not Supported].

public void Clear()

Contains(Vertex)

Determines whether the contains a specific value.

public bool Contains(Vertex vertex)

Parameters

vertex Vertex

The object to locate in the .

Returns

bool

true if vertex is found in the ; otherwise, false.

CopyTo(Vertex[], int)

Copies the elements of the to an , starting at a particular index.

public void CopyTo(Vertex[] arr, int arrayIndex)

Parameters

arr Vertex[]

The one-dimensional that is the destination of the elements copied from . The must have zero-based indexing.

arrayIndex int

The zero-based index in arr at which copying begins.

Exceptions

ArgumentNullException

arr is null.

ArgumentOutOfRangeException

arrayIndex is less than 0.

ArgumentException

<code class="paramref">arr</code> is multidimensional.

-or- arrayIndex is equal to or greater than the length of arr. -or- The number of elements in the source is greater than the available space from arrayIndex to the end of the destination arr. -or- Type arr cannot be cast automatically to the type of the destination arr.

GetCreatedVertex(uint)

Gets the created vertex.

public Vertex GetCreatedVertex(uint nIndex)

Parameters

nIndex uint

Index of the n.

Returns

Vertex

GetEnumerator()

Returns an enumerator that iterates through the collection.

public IEnumerator<vertex> GetEnumerator()

Returns

IEnumeratorVertex&gt;

A that can be used to iterate through the collection.

GetSchema()

This method is reserved and should not be used. When implementing the IXmlSerializable interface, you should return nullNothingnullptra null reference (Nothing in Visual Basic) (Nothing in Visual Basic) from this method, and instead, if specifying a custom schema is required, apply the XmlSchemaProviderAttribute to the class.

public XmlSchema GetSchema()

Returns

XmlSchema

An that describes the XML representation of the object that is produced by the method and consumed by the method.

GetTargetListForUpdate()

Gets the update objects.

public override sealed List<ieventprovider> GetTargetListForUpdate()

Returns

List

GetTemporaryVertex(uint)

Gets the temporary vertex.

public Vertex GetTemporaryVertex(uint nIndex)

Parameters

nIndex uint

The vertex index.

Returns

Vertex

The specified vertex.

LinkRequestUpdate(object, LinkEventArgs)

Request for update the linked object.

protected override sealed void LinkRequestUpdate(object objNotifier, LinkEventArgs arg)

Parameters

objNotifier object

The linked object.

arg LinkEventArgs

The instance containing the event data.

OnPostDeserialized(StreamingContext)

public void OnPostDeserialized(StreamingContext context)

Parameters

context StreamingContext

ReadXml(XmlReader)

Generates an object from its XML representation.

public void ReadXml(XmlReader reader)

Parameters

reader XmlReader

The XmlReader stream from which the object is deserialized.

Remove(Vertex)

Removes the specified name [Not Supported].

public bool Remove(Vertex A_0)

Parameters

A_0 Vertex

Returns

bool

true if success; otherwise, false.

WriteXml(XmlWriter)

Converts an object into its XML representation.

public void WriteXml(XmlWriter writer)

Parameters

writer XmlWriter

The XmlWriter stream to which the object is serialized.

Connect with Ansys