Skip to main content

Motion Standalone Preprocessor C# library 2025 R1

Class Body

Last update: 16.07.2025

Namespace: VM.CAD.Kernel
Assembly: VM.CAD.Kernel.dll

public sealed class Body : Entity, IHasID, IFacetable

Inheritance

objectKernelObjectEntityBody

Implements

IHasID, IFacetable

Inherited Members

Entity.PID, KernelObject.Dispose(), KernelObject.Key

Extension Methods

LinkPropertyItemCache.GetLinkProperties(object, LinkPropertyType), LinkPropertyItemCache.GetLinkPropertiesAndValues(object, LinkPropertyType), LinkPropertyItemCache.GetLinkedObjects(object, LinkPropertyType), IFacetableExtension.SetGeometryOption(IFacetable, string, string, double)

Constructors

Body(UIntPtr)

public Body(UIntPtr key)

Parameters

key UIntPtr

Methods

ClearFacetDictionary()

public void ClearFacetDictionary()

GetEdgeKernelProxy(Identifier, out UIntPtr)

public void GetEdgeKernelProxy(Identifier pid, out UIntPtr edgeProxy)

Parameters

pid Identifier

edgeProxy UIntPtr

GetFaceKernelProxy(Identifier, out UIntPtr)

public void GetFaceKernelProxy(Identifier nPID, out UIntPtr faceProxy)

Parameters

nPID Identifier

faceProxy UIntPtr

GetGeomInfo(double, out Vector[], out uint[], bool)

public bool GetGeomInfo(double lengthFactor, out Vector[] position, out uint[] connectivities, bool bCreateFacetDictionary)

Parameters

lengthFactor double

position Vector[]

connectivities uint[]

bCreateFacetDictionary bool

Returns

bool

GetVoidCount()

public uint GetVoidCount()

Returns

uint

GetVoidPoints(double, out uint)

public Vector[] GetVoidPoints(double offset, out uint countFailed)

Parameters

offset double

countFailed uint

Returns

Vector[]

HasDefect(Action, bool)

public int HasDefect(Action<string> actWriteMessage, bool bDetailedInformation = false)

Parameters

actWriteMessage Actionstring&gt;

bDetailedInformation bool

Returns

int

RemoveUnusedPoints(Vector[], uint[])

public void RemoveUnusedPoints(Vector[] aryPosTria, uint[] aryConTria)

Parameters

aryPosTria Vector[]

aryConTria uint[]

Repair(SimplifyOption, SimplifyOption, double, Action, bool)

public int Repair(SimplifyOption simplifySurface = SimplifyOption.ForceSimplify, SimplifyOption simplifyCurve = SimplifyOption.ForceSimplify, double dDesiredGap = -1, Action<string> actWriteMessage = null, bool bDetailedInformation = false)

Parameters

simplifySurface SimplifyOption

simplifyCurve SimplifyOption

dDesiredGap double

actWriteMessage Actionstring&gt;

bDetailedInformation bool

Returns

int

UpdateDisplay()

public void UpdateDisplay()

Connect with Ansys