> ## 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 Application

Namespace: [VM.Managed](https://developer.synopsys.com/docs/motion/motion-standalone-preprocessor-c-sharp-library/2025-r2/lib/VM.Managed)\
Assembly: VMAppCore.dll

This class is to represent the application.

```csharp theme={null}
public abstract class Application : IHasVerifyLevel
```

#### Inheritance

[object](https://learn.microsoft.com/dotnet/api/system.object) ←
[Application](https://developer.synopsys.com/docs/motion/motion-standalone-preprocessor-c-sharp-library/2025-r2/lib/VM.Managed.Application.md)

#### Implements

[IHasVerifyLevel](https://developer.synopsys.com/docs/motion/motion-standalone-preprocessor-c-sharp-library/2025-r2/lib/VM.Managed.IHasVerifyLevel.md)

#### Extension Methods

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

## Constructors

### Application(IApplication\*)

Initializes a new instance of the [Application](https://developer.synopsys.com/docs/motion/motion-standalone-preprocessor-c-sharp-library/2025-r2/lib/VM.Managed.Application.md) class.

```csharp theme={null}
public Application(IApplication* pApp)
```

#### Parameters

`pApp` [IApplication](VM.DAFUL.IApplication.md)\*

The info of application.

## Properties

### ConversionMethod

```csharp theme={null}
public static ConversionMethod ConversionMethod { get; set; }
```

#### Property Value

ConversionMethod

### DialogManager

Gets or sets the threading of picker.

```csharp theme={null}
public static IDlgManager DialogManager { get; set; }
```

#### Property Value

IDlgManager

### DocumentForUpdateContents

```csharp theme={null}
public Document DocumentForUpdateContents { get; }
```

#### Property Value

[Document](https://developer.synopsys.com/docs/motion/motion-standalone-preprocessor-c-sharp-library/2025-r2/lib/VM.Managed.Document.md)

### Documents

Gets all opened documents

```csharp theme={null}
public ICollection<Document> Documents { get; }
```

#### Property Value

[ICollection](https://learn.microsoft.com/dotnet/api/system.collections.generic.icollection-1)\<[Document](https://developer.synopsys.com/docs/motion/motion-standalone-preprocessor-c-sharp-library/2025-r2/lib/VM.Managed.Document.md)>

### Kernel

Gets the Kernel.

```csharp theme={null}
public Kernel Kernel { get; }
```

#### Property Value

[Kernel](https://developer.synopsys.com/docs/motion/motion-standalone-preprocessor-c-sharp-library/2025-r2/lib/VM.Managed.CAD.Kernel.md)

### LoadPrior242Sp3Files

```csharp theme={null}
public static bool LoadPrior242Sp3Files { get; set; }
```

#### Property Value

[bool](https://learn.microsoft.com/dotnet/api/system.boolean)

### OEMMode

```csharp theme={null}
public static bool OEMMode { get; set; }
```

#### Property Value

[bool](https://learn.microsoft.com/dotnet/api/system.boolean)

### ShowOEMError

```csharp theme={null}
public static bool ShowOEMError { get; set; }
```

#### Property Value

[bool](https://learn.microsoft.com/dotnet/api/system.boolean)

### SupportLegacyACISBasedFile

```csharp theme={null}
public static bool SupportLegacyACISBasedFile { get; set; }
```

#### Property Value

[bool](https://learn.microsoft.com/dotnet/api/system.boolean)

## Methods

### CreateDocument(DocumentType, Type, string\[], DocCreateInfo)

Creates the document.

```csharp theme={null}
public Document3D CreateDocument(DocumentType type, Type typeDoc, string[] arIconFiles, DocCreateInfo docCreateInfo)
```

#### Parameters

`type` DocumentType

The type of document.

`typeDoc` [Type](https://learn.microsoft.com/dotnet/api/system.type)

The system type of document.

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

Icon files.

`docCreateInfo` [DocCreateInfo](https://developer.synopsys.com/docs/motion/motion-standalone-preprocessor-c-sharp-library/2025-r2/lib/VM.Managed.DocCreateInfo.md)

The info of creating document.

#### Returns

[Document3D](https://developer.synopsys.com/docs/motion/motion-standalone-preprocessor-c-sharp-library/2025-r2/lib/VM.Managed.Document3D.md)

The created document.

### CreateDocument(DocumentType, Type)

Creates the document.

```csharp theme={null}
public Document CreateDocument(DocumentType type, Type typeDoc)
```

#### Parameters

`type` DocumentType

The type of document.

`typeDoc` [Type](https://learn.microsoft.com/dotnet/api/system.type)

The system type of document.

#### Returns

[Document](https://developer.synopsys.com/docs/motion/motion-standalone-preprocessor-c-sharp-library/2025-r2/lib/VM.Managed.Document.md)

The created document.

### Dispose(bool)

```csharp theme={null}
[HandleProcessCorruptedStateExceptions]
protected virtual void Dispose(bool A_0)
```

#### Parameters

`A_0` [bool](https://learn.microsoft.com/dotnet/api/system.boolean)

### Dispose()

destroy a instance of the [Application](https://developer.synopsys.com/docs/motion/motion-standalone-preprocessor-c-sharp-library/2025-r2/lib/VM.Managed.Application.md) class.

```csharp theme={null}
public override sealed void Dispose()
```

### \~Application()

Releases unmanaged resources and performs other cleanup operations before the
[Application](https://developer.synopsys.com/docs/motion/motion-standalone-preprocessor-c-sharp-library/2025-r2/lib/VM.Managed.Application.md) is reclaimed by garbage collection.

```csharp theme={null}
protected ~Application()
```

### GetTranslateFilter(string)

```csharp theme={null}
public string GetTranslateFilter(string strFilter)
```

#### Parameters

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

#### Returns

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

### GetTranslateForExportFilter(string)

```csharp theme={null}
public string GetTranslateForExportFilter(string strFilter)
```

#### Parameters

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

#### Returns

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

### InitPlugins(string\[])

Initializes a plugin.

```csharp theme={null}
public abstract void InitPlugins(string[] arStrPluginPath)
```

#### Parameters

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

The path of plugin.

### OpenDocument(string, DocumentType, string\[], PostOpenDocument)

Opens the document.

```csharp theme={null}
public Document3D OpenDocument(string strFilePath, DocumentType type, string[] arIconFiles, Application.PostOpenDocument delPostOpen)
```

#### Parameters

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

The path of opened document.

`type` DocumentType

The type of document.

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

Icon files.

`delPostOpen` [Application](https://developer.synopsys.com/docs/motion/motion-standalone-preprocessor-c-sharp-library/2025-r2/lib/VM.Managed.Application.md).[PostOpenDocument](https://developer.synopsys.com/docs/motion/motion-standalone-preprocessor-c-sharp-library/2025-r2/lib/VM.Managed.Application.PostOpenDocument.md)

The delegate of post open.

#### Returns

[Document3D](https://developer.synopsys.com/docs/motion/motion-standalone-preprocessor-c-sharp-library/2025-r2/lib/VM.Managed.Document3D.md)

The open document.

### OpenTemplateBasedDocument(string, DocumentType, string\[], PostOpenDocument)

Opens the document of template base.

```csharp theme={null}
public Document3D OpenTemplateBasedDocument(string strFilePath, DocumentType type, string[] arIconFiles, Application.PostOpenDocument delPostOpen)
```

#### Parameters

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

The path of opened document.

`type` DocumentType

The type of document.

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

Icon files.

`delPostOpen` [Application](https://developer.synopsys.com/docs/motion/motion-standalone-preprocessor-c-sharp-library/2025-r2/lib/VM.Managed.Application.md).[PostOpenDocument](https://developer.synopsys.com/docs/motion/motion-standalone-preprocessor-c-sharp-library/2025-r2/lib/VM.Managed.Application.PostOpenDocument.md)

The delegate of post open.

#### Returns

[Document3D](https://developer.synopsys.com/docs/motion/motion-standalone-preprocessor-c-sharp-library/2025-r2/lib/VM.Managed.Document3D.md)

The open document.

### OpenXmlDocument(string, DocumentType, string\[], PostOpenDocument)

Opens the xml document

```csharp theme={null}
public Document3D OpenXmlDocument(string strFilePath, DocumentType type, string[] arIconFiles, Application.PostOpenDocument delPostOpen)
```

#### Parameters

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

The path of opened document.

`type` DocumentType

The type of document.

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

Icon files.

`delPostOpen` [Application](https://developer.synopsys.com/docs/motion/motion-standalone-preprocessor-c-sharp-library/2025-r2/lib/VM.Managed.Application.md).[PostOpenDocument](https://developer.synopsys.com/docs/motion/motion-standalone-preprocessor-c-sharp-library/2025-r2/lib/VM.Managed.Application.PostOpenDocument.md)

The delegate of post open.

#### Returns

[Document3D](https://developer.synopsys.com/docs/motion/motion-standalone-preprocessor-c-sharp-library/2025-r2/lib/VM.Managed.Document3D.md)

The open document.

### SetAxisSetting(bool, AxisLocation)

Sets Axis Setting.

```csharp theme={null}
public static void SetAxisSetting(bool bUseRotate, AxisLocation enLocation)
```

#### Parameters

`bUseRotate` [bool](https://learn.microsoft.com/dotnet/api/system.boolean)

Use rotate in axis area

`enLocation` [AxisLocation](https://developer.synopsys.com/docs/motion/motion-standalone-preprocessor-c-sharp-library/2025-r2/lib/VM.Managed.AxisLocation.md)

Axis Location

### SetBinderDictionary(Dictionary\<string, BinderInfo>, Dictionary\<string, BinderInfo>)

```csharp theme={null}
public static void SetBinderDictionary(Dictionary<string, Application.BinderInfo> dicBinder, Dictionary<string, Application.BinderInfo> dicBinderForCollection)
```

#### Parameters

`dicBinder` [Dictionary](https://learn.microsoft.com/dotnet/api/system.collections.generic.dictionary-2)\<[string](https://learn.microsoft.com/dotnet/api/system.string), [Application](https://developer.synopsys.com/docs/motion/motion-standalone-preprocessor-c-sharp-library/2025-r2/lib/VM.Managed.Application.md).[BinderInfo](https://developer.synopsys.com/docs/motion/motion-standalone-preprocessor-c-sharp-library/2025-r2/lib/VM.Managed.Application.BinderInfo.md)>

`dicBinderForCollection` [Dictionary](https://learn.microsoft.com/dotnet/api/system.collections.generic.dictionary-2)\<[string](https://learn.microsoft.com/dotnet/api/system.string), [Application](https://developer.synopsys.com/docs/motion/motion-standalone-preprocessor-c-sharp-library/2025-r2/lib/VM.Managed.Application.md).[BinderInfo](https://developer.synopsys.com/docs/motion/motion-standalone-preprocessor-c-sharp-library/2025-r2/lib/VM.Managed.Application.BinderInfo.md)>

### SetDoubleFormat(int)

Sets the double format.

```csharp theme={null}
public static void SetDoubleFormat(int nValue)
```

#### Parameters

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

The value.

### SetInforceBuild(string, bool)

```csharp theme={null}
public void SetInforceBuild(string strFile, bool bOnOff)
```

#### Parameters

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

`bOnOff` [bool](https://learn.microsoft.com/dotnet/api/system.boolean)

### SetKernelLogLevel(int, int)

Set kernel log level

```csharp theme={null}
public void SetKernelLogLevel(int nKernelLogLevel, int nTranslatorLogLevel)
```

#### Parameters

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

Log level for the kernel messages.

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

Log level for the translator messages.

### SetNavigationSetting(NavigationKeys, NavigationKeys, NavigationKeys, NavigationKeys, NavigationKeys, NavigationKeys, NavigationKeys, NavigationKeys, bool, bool, bool, int, int)

```csharp theme={null}
public static void SetNavigationSetting(NavigationKeys oRotateMain, NavigationKeys oRotateSub, NavigationKeys oTranslateMain, NavigationKeys oTranslateSub, NavigationKeys oZoomMain, NavigationKeys oZoomSub, NavigationKeys oCenterMain, NavigationKeys oCenterSub, bool bZoomInMouseDown, bool bZoomInWheelDown, bool bTrackball, int nRotateSpeed, int nZoomSpeed)
```

#### Parameters

`oRotateMain` [NavigationKeys](https://developer.synopsys.com/docs/motion/motion-standalone-preprocessor-c-sharp-library/2025-r2/lib/VM.Managed.NavigationKeys.md)

`oRotateSub` [NavigationKeys](https://developer.synopsys.com/docs/motion/motion-standalone-preprocessor-c-sharp-library/2025-r2/lib/VM.Managed.NavigationKeys.md)

`oTranslateMain` [NavigationKeys](https://developer.synopsys.com/docs/motion/motion-standalone-preprocessor-c-sharp-library/2025-r2/lib/VM.Managed.NavigationKeys.md)

`oTranslateSub` [NavigationKeys](https://developer.synopsys.com/docs/motion/motion-standalone-preprocessor-c-sharp-library/2025-r2/lib/VM.Managed.NavigationKeys.md)

`oZoomMain` [NavigationKeys](https://developer.synopsys.com/docs/motion/motion-standalone-preprocessor-c-sharp-library/2025-r2/lib/VM.Managed.NavigationKeys.md)

`oZoomSub` [NavigationKeys](https://developer.synopsys.com/docs/motion/motion-standalone-preprocessor-c-sharp-library/2025-r2/lib/VM.Managed.NavigationKeys.md)

`oCenterMain` [NavigationKeys](https://developer.synopsys.com/docs/motion/motion-standalone-preprocessor-c-sharp-library/2025-r2/lib/VM.Managed.NavigationKeys.md)

`oCenterSub` [NavigationKeys](https://developer.synopsys.com/docs/motion/motion-standalone-preprocessor-c-sharp-library/2025-r2/lib/VM.Managed.NavigationKeys.md)

`bZoomInMouseDown` [bool](https://learn.microsoft.com/dotnet/api/system.boolean)

`bZoomInWheelDown` [bool](https://learn.microsoft.com/dotnet/api/system.boolean)

`bTrackball` [bool](https://learn.microsoft.com/dotnet/api/system.boolean)

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

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

### Start(string, StartOption)

Start application.

```csharp theme={null}
public static Application Start(string strKernelPath, Application.StartOption obOption)
```

#### Parameters

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

The path of kernel.

`obOption` [Application](https://developer.synopsys.com/docs/motion/motion-standalone-preprocessor-c-sharp-library/2025-r2/lib/VM.Managed.Application.md).[StartOption](https://developer.synopsys.com/docs/motion/motion-standalone-preprocessor-c-sharp-library/2025-r2/lib/VM.Managed.Application.StartOption.md)

The application start option

#### Returns

[Application](https://developer.synopsys.com/docs/motion/motion-standalone-preprocessor-c-sharp-library/2025-r2/lib/VM.Managed.Application.md)
