    

 ## On this page

  

 

 # Class CommonAPI

 Last update: 16.07.2025 

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

This class implements common APIs class.

```csharp
public static class CommonAPI

```

#### Inheritance

[object](https://learn.microsoft.com/dotnet/api/system.object) ← [CommonAPI](VM.API.Pre.GearTrain.CommonAPI.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

### OpenHiddenDocument(IOpenDesignerForGearTrain)

Open designer.

```csharp
[NotNull(new string[] { "entity" })]
public static Document3D OpenHiddenDocument(this IOpenDesignerForGearTrain entity)

```

#### Parameters

`entity` IOpenDesignerForGearTrain

The entity to be opened.

#### Returns

Document3D

The opened document .

#### Exceptions

[ArgumentNullException](https://learn.microsoft.com/dotnet/api/system.argumentnullexception)

Will be thrown if 'entity' argument is empty.

### OpenHiddenDocument(Obj)

Open designer.

```csharp
[NotNull(new string[] { "entity" })]
public static Document3D OpenHiddenDocument(this Obj entity)

```

#### Parameters

`entity` Obj

The entity to be opened.

#### Returns

Document3D

The opened document .

#### Exceptions

[ArgumentNullException](https://learn.microsoft.com/dotnet/api/system.argumentnullexception)

Will be thrown if 'entity' argument is empty.