Skip to main content

Motion Standalone Preprocessor C# library 2026 R1

Class EdgeSetAPI

Last update: 09.03.2026

Namespace: VM.API.Pre.FE
Assembly: VM.API.Pre.FE.dll

This class implements APIs to create edge set.

public static class EdgeSetAPI

Inheritance

object ← EdgeSetAPI

Extension Methods

LinkPropertyItemCache.GetLinkProperties(object, LinkPropertyType), LinkPropertyItemCache.GetLinkPropertiesAndValues(object, LinkPropertyType), LinkPropertyItemCache.GetLinkedObjects<T>(object, LinkPropertyType)

Methods

CreateEdgeset(MeshDocument, IEnumerable<uint>, string, ExpressionValueVariable?, ExpressionValueVariable?, SurfaceSmoothing, Color?)

Create .

[NotNull(new string[] { "document", "nodeIndex" })]
public static Obj CreateEdgeset(this MeshDocument document, IEnumerable<uint> nodeIndex, string name = "", ExpressionValueVariable? maxPenetration = null, ExpressionValueVariable? offset = null, SurfaceSmoothing surfaceSmoothing = SurfaceSmoothing.AUTOMATIC, Color? color = null)

Parameters

document MeshDocument

The document to create edge set.

nodeIndex IEnumerable<uint>

The node indexes for creating edgeset.

name string

The name to be cteated edge set.

maxPenetration ExpressionValueVariable?

The maximum penetration to be cteated edge set. The default value is 0.

offset ExpressionValueVariable?

The offset to be cteated edge set. The default value is 1.

surfaceSmoothing SurfaceSmoothing

The surface smoothing to be cteated edge set. The default value is AUTOMATIC.

color Color?

The color to be cteated edge set. The default value is Red.

Returns

Obj

The new object that is created by this API.

Exceptions

ArgumentNullException

Will be thrown if 'document' or 'nodeIndex' arguments are empty.

Connect with Ansys