    

 ## On this page

  

 

 # Class NodeSetAPI

 Last update: 16.07.2025 

Namespace: [VM.API.Pre.FE](VM.API.Pre.FE.md)  
Assembly: VM.API.Pre.FE.dll

This class implements APIs to create node set.

```csharp
public static class NodeSetAPI

```

#### Inheritance

[object](https://learn.microsoft.com/dotnet/api/system.object) ← [NodeSetAPI](VM.API.Pre.FE.NodeSetAPI.md)

#### Extension Methods

[LinkPropertyItemCache.GetLinkProperties(object, LinkPropertyType)](VM.Models.Pre.Cache.LinkPropertyItemCache.md#VM_Models_Pre_Cache_LinkPropertyItemCache_GetLinkProperties_System_Object_VM_Models_Pre_LinkPropertyType_), [LinkPropertyItemCache.GetLinkPropertiesAndValues(object, LinkPropertyType)](VM.Models.Pre.Cache.LinkPropertyItemCache.md#VM_Models_Pre_Cache_LinkPropertyItemCache_GetLinkPropertiesAndValues_System_Object_VM_Models_Pre_LinkPropertyType_), [LinkPropertyItemCache.GetLinkedObjects&lt;T&gt;(object, LinkPropertyType)](VM.Models.Pre.Cache.LinkPropertyItemCache.md#VM_Models_Pre_Cache_LinkPropertyItemCache_GetLinkedObjects__1_System_Object_VM_Models_Pre_LinkPropertyType_)

## Methods

### AddDesignPoint(Obj, Vector)

Create .

```csharp
[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](https://learn.microsoft.com/dotnet/api/system.argumentnullexception)

Will be thrown if 'mesh' argument is empty.

[ArgumentException](https://learn.microsoft.com/dotnet/api/system.argumentexception)

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

### CreateNodeset(MeshDocument, IEnumerable&lt;uint&gt;, string, RBEType, bool, Vector?, bool, bool, Color?)

Create .

```csharp
[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](https://learn.microsoft.com/dotnet/api/system.collections.generic.ienumerable-1)&lt;[uint](https://learn.microsoft.com/dotnet/api/system.uint32)&gt;

The node indexes.

`name` [string](https://learn.microsoft.com/dotnet/api/system.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](https://learn.microsoft.com/dotnet/api/system.boolean)

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](https://learn.microsoft.com/dotnet/api/system.boolean)

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

`imposeRotationalUnitDisplacement` [bool](https://learn.microsoft.com/dotnet/api/system.boolean)

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

`color` [Color](https://learn.microsoft.com/dotnet/api/system.drawing.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](https://learn.microsoft.com/dotnet/api/system.argumentnullexception)

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