Skip to main content

Motion Standalone Preprocessor C# library 2024 R2

Class NodalBodyAPI

Last update: 16.07.2025

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

This class implements APIs for class.

public static class NodalBodyAPI

Inheritance

object ← NodalBodyAPI

Extension Methods

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

Methods

ChangeNodalModal(Obj, BodyAnalysisType)

Change body analysis type.

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

Parameters

nodalBody Obj

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 .

CreateNodalBody(SubSystemDocument, string, MeshDocument, TransformBase)

Create New class with given and .

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

Parameters

docToAdd SubSystemDocument

The to add created .

strBodyName string

The body name of new .

meshDocument MeshDocument

The to create

transformMesh TransformBase

The for the new .

Returns

Obj

The new .

Exceptions

ArgumentNullException

Will be thrown if 'meshDocument' argument is empty.

CreateNodalBody(SubSystemDocument, string, string, TransformBase)

Create New class with given file path of the and .

[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

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

The new .

Exceptions

ArgumentNullException

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

Exception

Will be thrown if meshFilePath file is not exist.

CreateNodalBody(SubSystemDocument, string, MeshDocument)

Create New class with given with identity transformation.

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

Parameters

docToAdd SubSystemDocument

The to add created .

strBodyName string

The body name of new .

meshDocument MeshDocument

The to create

Returns

Obj

The new .

Exceptions

ArgumentNullException

Will be thrown if 'meshDocument' argument is empty.

CreateNodalBody(SubSystemDocument, string, string)

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

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

Parameters

docToAdd SubSystemDocument

The to add created .

strBodyName string

The body name of new .

meshFilePath string

The path of the to create

Returns

Obj

The new .

Connect with Ansys