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

Namespace: [VM.Managed.DAFUL.DOE.Result](https://developer.synopsys.com/docs/motion/motion-standalone-preprocessor-c-sharp-library/2025-r1/lib/VM.Managed.DAFUL.DOE.Result)\
Assembly: VMDDOEResult.dll

```csharp theme={null}
public class DOEFile
```

#### Inheritance

[object](https://learn.microsoft.com/dotnet/api/system.object) ←
[DOEFile](https://developer.synopsys.com/docs/motion/motion-standalone-preprocessor-c-sharp-library/2025-r1/lib/VM.Managed.DAFUL.DOE.Result.DOEFile.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_)

## Constructors

### DOEFile(enProc)

```csharp theme={null}
public DOEFile(enProc proc)
```

#### Parameters

`proc` [enProc](https://developer.synopsys.com/docs/motion/motion-standalone-preprocessor-c-sharp-library/2025-r1/lib/VM.Managed.DAFUL.DOE.Result.enProc.md)

### DOEFile(enProc, string)

```csharp theme={null}
public DOEFile(enProc proc, string strPath)
```

#### Parameters

`proc` [enProc](https://developer.synopsys.com/docs/motion/motion-standalone-preprocessor-c-sharp-library/2025-r1/lib/VM.Managed.DAFUL.DOE.Result.enProc.md)

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

## Methods

### CanWrite()

```csharp theme={null}
public bool CanWrite()
```

#### Returns

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

### CanWrite(string)

```csharp theme={null}
public static bool CanWrite(string strPath)
```

#### Parameters

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

#### Returns

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

### ClosePost()

```csharp theme={null}
public bool ClosePost()
```

#### Returns

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

### CloseSolver()

```csharp theme={null}
public bool CloseSolver()
```

#### Returns

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

### ConverMemToObjet(MemoryStream, Type)

```csharp theme={null}
public static object ConverMemToObjet(MemoryStream stream, Type type)
```

#### Parameters

`stream` [MemoryStream](https://learn.microsoft.com/dotnet/api/system.io.memorystream)

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

#### Returns

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

### Create(string)

```csharp theme={null}
public bool Create(string strPath)
```

#### Parameters

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

#### Returns

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

### \~DOEFile()

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

### GetCurrentCase()

```csharp theme={null}
public int GetCurrentCase()
```

#### Returns

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

### GetDefaultInnerFileName(enProc)

```csharp theme={null}
public string GetDefaultInnerFileName(enProc proc)
```

#### Parameters

`proc` [enProc](https://developer.synopsys.com/docs/motion/motion-standalone-preprocessor-c-sharp-library/2025-r1/lib/VM.Managed.DAFUL.DOE.Result.enProc.md)

#### Returns

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

### GetDefaultInnerFileName(enProc, int)

```csharp theme={null}
public string GetDefaultInnerFileName(enProc proc, int nCaseIdx)
```

#### Parameters

`proc` [enProc](https://developer.synopsys.com/docs/motion/motion-standalone-preprocessor-c-sharp-library/2025-r1/lib/VM.Managed.DAFUL.DOE.Result.enProc.md)

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

#### Returns

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

### GetResult(DOEFile, enProc)

```csharp theme={null}
public static object GetResult(DOEFile doe_file, enProc proc)
```

#### Parameters

`doe_file` [DOEFile](https://developer.synopsys.com/docs/motion/motion-standalone-preprocessor-c-sharp-library/2025-r1/lib/VM.Managed.DAFUL.DOE.Result.DOEFile.md)

`proc` [enProc](https://developer.synopsys.com/docs/motion/motion-standalone-preprocessor-c-sharp-library/2025-r1/lib/VM.Managed.DAFUL.DOE.Result.enProc.md)

#### Returns

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

### GetResult(DOEFile, enProc, int)

```csharp theme={null}
public static object GetResult(DOEFile doe_file, enProc proc, int nIdx)
```

#### Parameters

`doe_file` [DOEFile](https://developer.synopsys.com/docs/motion/motion-standalone-preprocessor-c-sharp-library/2025-r1/lib/VM.Managed.DAFUL.DOE.Result.DOEFile.md)

`proc` [enProc](https://developer.synopsys.com/docs/motion/motion-standalone-preprocessor-c-sharp-library/2025-r1/lib/VM.Managed.DAFUL.DOE.Result.enProc.md)

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

#### Returns

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

### IsExists()

```csharp theme={null}
public bool IsExists()
```

#### Returns

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

### IsExists(enProc)

```csharp theme={null}
public bool IsExists(enProc proc)
```

#### Parameters

`proc` [enProc](https://developer.synopsys.com/docs/motion/motion-standalone-preprocessor-c-sharp-library/2025-r1/lib/VM.Managed.DAFUL.DOE.Result.enProc.md)

#### Returns

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

### Load(enProc, ref MemoryStream)

```csharp theme={null}
public bool Load(enProc proc, ref MemoryStream stream)
```

#### Parameters

`proc` [enProc](https://developer.synopsys.com/docs/motion/motion-standalone-preprocessor-c-sharp-library/2025-r1/lib/VM.Managed.DAFUL.DOE.Result.enProc.md)

`stream` [MemoryStream](https://learn.microsoft.com/dotnet/api/system.io.memorystream)

#### Returns

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

### LoadCase(int, ref MemoryStream)

```csharp theme={null}
public bool LoadCase(int nCaseIdx, ref MemoryStream stream)
```

#### Parameters

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

`stream` [MemoryStream](https://learn.microsoft.com/dotnet/api/system.io.memorystream)

#### Returns

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

### Save(MemoryStream)

```csharp theme={null}
public bool Save(MemoryStream stream)
```

#### Parameters

`stream` [MemoryStream](https://learn.microsoft.com/dotnet/api/system.io.memorystream)

#### Returns

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

### SaveAs(string, MemoryStream)

```csharp theme={null}
public bool SaveAs(string strNewPath, MemoryStream stream)
```

#### Parameters

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

`stream` [MemoryStream](https://learn.microsoft.com/dotnet/api/system.io.memorystream)

#### Returns

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

### SaveCase(int, MemoryStream)

```csharp theme={null}
public bool SaveCase(int nCaseIdx, MemoryStream stream)
```

#### Parameters

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

`stream` [MemoryStream](https://learn.microsoft.com/dotnet/api/system.io.memorystream)

#### Returns

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