Skip to main content

Motion Standalone Preprocessor C# library 2024 R2

Class NodeSetAPI

Last update: 16.07.2025

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

This class implements APIs to create node set.

public static class NodeSetAPI

Inheritance

object ← NodeSetAPI

Extension Methods

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

Methods

AddDesignPoint(Obj, Vector)

Create .

[NotNullObj(new string[] { "mesh" })]
[MatchTypeObj(new object[] { "mesh", typeof(Mesh) })]
public static Obj AddDesignPoint(this Obj mesh, Vector position)

Parameters

mesh Obj

The mesh.

position Vector

The position to add design point..

Returns

Obj

The new object that is created by this API.

Exceptions

ArgumentNullException

Will be thrown if 'mesh' argument is empty.

ArgumentException

Will be thrown if type of 'mesh' is not .

CreateNodeset(MeshDocument, IEnumerable<uint>, string, RBEType, bool, Vector?, bool, bool, Color?)

Create .

[NotNull(new string[] { "document", "nodeIndexes" })]
public static Obj CreateNodeset(this MeshDocument document, IEnumerable<uint> nodeIndexes, string name = "", EigenvalueInfo.RBEType rbeType = RBEType.RBE2, bool treatRBE = false, Vector? masterNodePosition = null, bool useStaticCorrectionMode = false, bool imposeRotationalUnitDisplacement = false, Color? color = null)

Parameters

document MeshDocument

The document to create node set.

nodeIndexes IEnumerable<uint>

The node indexes.

name string

The name to be cteated node set.

rbeType EigenvalueInfo.RBEType

The rbe type to be cteated node set. The default value is RBE2.

treatRBE bool

The flag for using like treat. The default value is false.

masterNodePosition Vector?

The master node position to be cteated node set. The default value is 0,0,0.

useStaticCorrectionMode bool

The flag for static correction mode. The default value is false.

imposeRotationalUnitDisplacement bool

The flag for impose rotational unit displacement. The default value is false.

color Color?

The color to be cteated node set. The default value is LightGreen

Returns

Obj

The new object that is created by this API.

Exceptions

ArgumentNullException

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

Connect with Ansys