    

 ## On this page

  

 

 # Class NodalBodyAPI

 Last update: 09.03.2026 

<a id="VM_API_Pre_FE_NodalBodyAPI"></a>

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

This class implements APIs for  class.

```csharp
public static class NodalBodyAPI

```

#### Inheritance

object ← [NodalBodyAPI](VM.API.Pre.FE.NodalBodyAPI.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

### <a id="VM_API_Pre_FE_NodalBodyAPI_ChangeNodalModal_VM_API_Pre_Obj_VM_Managed_DAFUL_BodyAnalysisType_"></a> ChangeNodalModal(Obj, BodyAnalysisType)

Change body analysis type.

```csharp
[NotNullObj(new string[] { "nodalBody" })]
[MatchTypeObj(new object[] { "nodalBody", typeof(NodalBody) })]
public static void ChangeNodalModal(this Obj nodalBody, BodyAnalysisType type)

```

#### Parameters

`nodalBody` [Obj](https://github.com/AnsysVirtualMotion/DAFUL/blob/9110677a5f6a53d7604f8dfd35b4c5fceb59e8e0/DAFUL/ClassicPre/API/VM.API.Pre/Models/Obj.cs)

The .

`type` BodyAnalysisType

The body analysis type.

#### Exceptions

ArgumentNullException

Will be thrown if 'nodalBody' argument is empty.

ArgumentException

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

### <a id="VM_API_Pre_FE_NodalBodyAPI_CreateNodalBody_VM_Managed_DAFUL_SubSystemDocument_System_String_VM_Managed_DAFUL_FE_MeshDocument_VM_Managed_TransformBase_"></a> CreateNodalBody(SubSystemDocument, string, MeshDocument, TransformBase)

Create New  class with given  and .

```csharp
[NotNull(new string[] { "meshDocument" })]
public static Obj CreateNodalBody(this SubSystemDocument docToAdd, string strBodyName, MeshDocument meshDocument, TransformBase transformMesh)

```

#### Parameters

`docToAdd` [SubSystemDocument](https://github.com/AnsysVirtualMotion/DAFUL/blob/9110677a5f6a53d7604f8dfd35b4c5fceb59e8e0/DAFUL/ClassicPre/Data/VMDFBase/SubSystemDocument.cs)

The  to add created .

`strBodyName` string

The body name of new .

`meshDocument` MeshDocument

The  to create

`transformMesh` TransformBase

The  for the new .

#### Returns

[Obj](https://github.com/AnsysVirtualMotion/DAFUL/blob/9110677a5f6a53d7604f8dfd35b4c5fceb59e8e0/DAFUL/ClassicPre/API/VM.API.Pre/Models/Obj.cs)

The new .

#### Exceptions

ArgumentNullException

Will be thrown if 'meshDocument' argument is empty.

### <a id="VM_API_Pre_FE_NodalBodyAPI_CreateNodalBody_VM_Managed_DAFUL_SubSystemDocument_System_String_System_String_VM_Managed_TransformBase_"></a> CreateNodalBody(SubSystemDocument, string, string, TransformBase)

Create New  class with given file path of the  and .

```csharp
[NotNull(new string[] { "docToAdd", "transformMesh" })]
[ExistFile(new string[] { "meshFilePath" })]
public static Obj CreateNodalBody(this SubSystemDocument docToAdd, string strBodyName, string meshFilePath, TransformBase transformMesh)

```

#### Parameters

`docToAdd` [SubSystemDocument](https://github.com/AnsysVirtualMotion/DAFUL/blob/9110677a5f6a53d7604f8dfd35b4c5fceb59e8e0/DAFUL/ClassicPre/Data/VMDFBase/SubSystemDocument.cs)

The  to add created .

`strBodyName` string

The body name of new .

`meshFilePath` string

The path of the  to create

`transformMesh` TransformBase

The  for the new .

#### Returns

[Obj](https://github.com/AnsysVirtualMotion/DAFUL/blob/9110677a5f6a53d7604f8dfd35b4c5fceb59e8e0/DAFUL/ClassicPre/API/VM.API.Pre/Models/Obj.cs)

The new .

#### Exceptions

ArgumentNullException

Will be thrown if 'docToAdd' or 'transformMesh' arguments are empty.

Exception

Will be thrown if meshFilePath file is not exist.

### <a id="VM_API_Pre_FE_NodalBodyAPI_CreateNodalBody_VM_Managed_DAFUL_SubSystemDocument_System_String_VM_Managed_DAFUL_FE_MeshDocument_"></a> CreateNodalBody(SubSystemDocument, string, MeshDocument)

Create New  class with given  with identity transformation.

```csharp
[NotNull(new string[] { "meshDocument" })]
public static Obj CreateNodalBody(this SubSystemDocument docToAdd, string strBodyName, MeshDocument meshDocument)

```

#### Parameters

`docToAdd` [SubSystemDocument](https://github.com/AnsysVirtualMotion/DAFUL/blob/9110677a5f6a53d7604f8dfd35b4c5fceb59e8e0/DAFUL/ClassicPre/Data/VMDFBase/SubSystemDocument.cs)

The  to add created .

`strBodyName` string

The body name of new .

`meshDocument` MeshDocument

The  to create

#### Returns

[Obj](https://github.com/AnsysVirtualMotion/DAFUL/blob/9110677a5f6a53d7604f8dfd35b4c5fceb59e8e0/DAFUL/ClassicPre/API/VM.API.Pre/Models/Obj.cs)

The new .

#### Exceptions

ArgumentNullException

Will be thrown if 'meshDocument' argument is empty.

### <a id="VM_API_Pre_FE_NodalBodyAPI_CreateNodalBody_VM_Managed_DAFUL_SubSystemDocument_System_String_System_String_"></a> CreateNodalBody(SubSystemDocument, string, string)

Create New  class with given file path of the  with identity transformation.

```csharp
public static Obj CreateNodalBody(this SubSystemDocument docToAdd, string strBodyName, string meshFilePath)

```

#### Parameters

`docToAdd` [SubSystemDocument](https://github.com/AnsysVirtualMotion/DAFUL/blob/9110677a5f6a53d7604f8dfd35b4c5fceb59e8e0/DAFUL/ClassicPre/Data/VMDFBase/SubSystemDocument.cs)

The  to add created .

`strBodyName` string

The body name of new .

`meshFilePath` string

The path of the  to create

#### Returns

[Obj](https://github.com/AnsysVirtualMotion/DAFUL/blob/9110677a5f6a53d7604f8dfd35b4c5fceb59e8e0/DAFUL/ClassicPre/API/VM.API.Pre/Models/Obj.cs)

The new .