    

 ## On this page

  

 

 # Class TopologyUtil

 Last update: 16.07.2025 

Namespace: [VM.Managed.CAD](VM.Managed.CAD.md)  
Assembly: VMAppCore.dll

```csharp
public class TopologyUtil

```

#### Inheritance

[object](https://learn.microsoft.com/dotnet/api/system.object) ← [TopologyUtil](VM.Managed.CAD.TopologyUtil.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_)

## Constructors

### TopologyUtil()

```csharp
public TopologyUtil()

```

## Methods

### GetTopologyType(Body, UIntPtr)

```csharp
public static IBody.enToplogyType GetTopologyType(Body body, UIntPtr ptrEntityKey)

```

#### Parameters

`body` [Body](VM.Managed.CAD.Body.md)

`ptrEntityKey` [UIntPtr](https://learn.microsoft.com/dotnet/api/system.uintptr)

#### Returns

[IBody](VM.CAD.IBody.md).[enToplogyType](VM.CAD.IBody.enToplogyType.md)

### GetVMPID(Body, UIntPtr)

```csharp
public static int GetVMPID(Body body, UIntPtr ptrEntityKey)

```

#### Parameters

`body` [Body](VM.Managed.CAD.Body.md)

`ptrEntityKey` [UIntPtr](https://learn.microsoft.com/dotnet/api/system.uintptr)

#### Returns

[int](https://learn.microsoft.com/dotnet/api/system.int32)