> ## 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 LinksDocumentAPI.DocumentAPIImpl

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

This class implements APIs for document.

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

#### Inheritance

object ←
[LinksDocumentAPI.DocumentAPIImpl](https://developer.synopsys.com/docs/motion/motion-standalone-preprocessor-c-sharp-library/lib/VM.API.Pre.Links.LinksDocumentAPI.DocumentAPIImpl.md)

#### Extension Methods

[LinkPropertyItemCache.GetLinkProperties(object, LinkPropertyType)](https://developer.synopsys.com/docs/motion/motion-standalone-preprocessor-c-sharp-library/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/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/lib/VM.Models.Pre.Cache.LinkPropertyItemCache.md#VM_Models_Pre_Cache_LinkPropertyItemCache_GetLinkedObjects__1_System_Object_VM_Models_Pre_LinkPropertyType_)

## Methods

### CreateNewLinksDocumentImpl\<T>(string, string, Unit, Plane, LengthUnitType, string, string)

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

```csharp theme={null}
[NotNullOrEmpty(new string[] { "newLinksSubsystemFilePath" })]
public static T CreateNewLinksDocumentImpl<T>(string newLinksSubsystemFilePath, string documentName, Unit unit, Plane workingPlane, LengthUnitType kernelLengthUnit, string extension, string documentType) where T : DocumentAnalysis
```

#### Parameters

`newLinksSubsystemFilePath` string

The file path of new subsystem file path.

`documentName` string

The name of document. The default value is Subsystem\_LinksPath.

`unit` Unit

The unit information.

`workingPlane` Plane

The working plane. The default value is XZ.

`kernelLengthUnit` LengthUnitType

The length unit of kernel. The default value is mm.

`extension` string

The extension.

`documentType` string

The document type.

#### Returns

T

The new [DocumentAnalysis](https://developer.synopsys.com/docs/motion/motion-standalone-preprocessor-c-sharp-library/lib/VM.Managed.DAFUL.DocumentAnalysis.md) object that is created by this API.

#### Type Parameters

`T`

The document type

#### Exceptions

ArgumentNullException

Will be thrown if 'newLinksSubsystemFilePath' argument is null.
