> ## Documentation Index
> Fetch the complete documentation index at: https://developer.synopsys.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Class DocumentAPIImpl

Namespace: [VM.API.Pre.FE](https://developer.synopsys.com/docs/motion/motion-standalone-preprocessor-c-sharp-library/2025-r1/lib/VM.API.Pre.FE)\
Assembly: VM.API.Pre.FE.dll

This class implements APIs for document.

```csharp theme={null}
public static class DocumentAPIImpl
```

#### Inheritance

[object](https://learn.microsoft.com/dotnet/api/system.object) ←
[DocumentAPIImpl](https://developer.synopsys.com/docs/motion/motion-standalone-preprocessor-c-sharp-library/2025-r1/lib/VM.API.Pre.FE.DocumentAPIImpl.md)

#### Extension Methods

[LinkPropertyItemCache.GetLinkProperties(object, LinkPropertyType)](https://developer.synopsys.com/docs/motion/motion-standalone-preprocessor-c-sharp-library/2025-r1/lib/VM.Models.Pre.Cache.LinkPropertyItemCache.md#VM_Models_Pre_Cache_LinkPropertyItemCache_GetLinkProperties_System_Object_VM_Models_Pre_LinkPropertyType_),
[LinkPropertyItemCache.GetLinkPropertiesAndValues(object, LinkPropertyType)](https://developer.synopsys.com/docs/motion/motion-standalone-preprocessor-c-sharp-library/2025-r1/lib/VM.Models.Pre.Cache.LinkPropertyItemCache.md#VM_Models_Pre_Cache_LinkPropertyItemCache_GetLinkPropertiesAndValues_System_Object_VM_Models_Pre_LinkPropertyType_),
[LinkPropertyItemCache.GetLinkedObjects\<T>(object, LinkPropertyType)](https://developer.synopsys.com/docs/motion/motion-standalone-preprocessor-c-sharp-library/2025-r1/lib/VM.Models.Pre.Cache.LinkPropertyItemCache.md#VM_Models_Pre_Cache_LinkPropertyItemCache_GetLinkedObjects__1_System_Object_VM_Models_Pre_LinkPropertyType_)

## Methods

### CreateNewMeshDocumentImpl\<T>(string, string, Unit, double, string, string)

Create [MeshDocument](https://developer.synopsys.com/docs/motion/motion-standalone-preprocessor-c-sharp-library/2025-r1/lib/VM.Managed.DAFUL.FE.MeshDocument.md).

```csharp theme={null}
[NotNullOrEmpty(new string[] { "newMeshFilePath" })]
public static T CreateNewMeshDocumentImpl<T>(string newMeshFilePath, string documentName, Unit unit, double iconSize, string extension, string documentType) where T : MeshDocument
```

#### Parameters

`newMeshFilePath` [string](https://learn.microsoft.com/dotnet/api/system.string)

The file path of new mesh.

`documentName` [string](https://learn.microsoft.com/dotnet/api/system.string)

The name of document.

`unit` Unit

The unit information.

`iconSize` [double](https://learn.microsoft.com/dotnet/api/system.double)

The size of icon.

`extension` [string](https://learn.microsoft.com/dotnet/api/system.string)

The extension.

`documentType` [string](https://learn.microsoft.com/dotnet/api/system.string)

The document type.

#### Returns

T

The new SubSystemDocument object that is created by this API.

#### Type Parameters

`T`

The document type

#### Exceptions

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

Will be thrown if 'newMeshFilePath' argument is empty.
