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

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

```csharp theme={null}
public class ExportModel : OperationBase, IOperation
```

#### Inheritance

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

#### Implements

IOperation

#### Inherited Members

OperationBase.g\_bRedrawKernel,
OperationBase.g\_bVerify,
OperationBase.g\_bSkipAddEvent,
OperationBase.g\_bDupicateMsg,
OperationBase.m\_bIsHistoryMerge,
OperationBase.Execute(),
OperationBase.PostExecute(),
OperationBase.GetInformation(XmlWriter),
OperationBase.Create(string, View, object),
OperationBase.Create(string, IDocument, object),
OperationBase.Create(string, object),
OperationBase.Create(string),
OperationBase.StartSession(),
OperationBase.StartSession(OperationBase, OperationBase.PostOperation),
OperationBase.StartSession(OperationBase),
OperationBase.StartSessionAndWait(),
OperationBase.StartSessionAndWait(OperationBase, OperationBase.PostOperation),
OperationBase.StartSessionAndWait(OperationBase),
OperationBase.Initialize(OperationBase.ShowVerifyResult),
OperationBase.RecordJournal(OperationBase),
OperationBase.UseSession(string),
OperationBase.raise\_OnOperationStatusChanged(object, OperationStatusEventArgs),
OperationBase.raise\_OnEndOperation(object, EventArgs),
OperationBase.ClearCurrentMark(string),
OperationBase.ClearCurrentMark(IDocument),
OperationBase.ClearCurrentMark(),
OperationBase.GlobalOverride,
OperationBase.IsDoingThread,
OperationBase.ExecuteMacro,
OperationBase.SimStatus,
OperationBase.Status,
OperationBase.autoEvents,
OperationBase.IsHistoryMerge,
OperationBase.SkipClearTemporaryLinkContainer,
OperationBase.PostExecuteClearTemporaryLinkContainer,
OperationBase.SkipEndOperation,
OperationBase.UseMacro,
OperationBase.MarkStatus,
OperationBase.UseThread,
OperationBase.Name,
OperationBase.ExecutableOnHold,
OperationBase.Override,
OperationBase.Parameter,
OperationBase.View,
OperationBase.Document,
OperationBase.OnEndOperation,
OperationBase.OnOperationStatusChanged

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

### ExportModel(Document)

```csharp theme={null}
public ExportModel(Document doc)
```

#### Parameters

`doc` Document

### ExportModel(Document, string, string, string, IEnumerable\<ObjectBase>, IEnumerable\<ObjectBase>, ExpressionValueVariable, ExpressionValueVariable, string, string)

```csharp theme={null}
public ExportModel(Document doc, string filePath, string strDFSFile, string strRESFile, IEnumerable<ObjectBase> inputs, IEnumerable<ObjectBase> outputs, ExpressionValueVariable version, ExpressionValueVariable interfaceTimeStep, string modelDescription, string interfacePath)
```

#### Parameters

`doc` Document

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

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

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

`inputs` [IEnumerable](https://learn.microsoft.com/dotnet/api/system.collections.generic.ienumerable-1)\<ObjectBase>

`outputs` [IEnumerable](https://learn.microsoft.com/dotnet/api/system.collections.generic.ienumerable-1)\<ObjectBase>

`version` ExpressionValueVariable

`interfaceTimeStep` ExpressionValueVariable

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

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

### ExportModel(Document, string, string, string, IEnumerable\<ObjectBase>, IEnumerable\<ObjectBase>, ExpressionValueVariable, ExpressionValueVariable, string, string, string, string)

```csharp theme={null}
public ExportModel(Document doc, string filePath, string strDFSFile, string strRESFile, IEnumerable<ObjectBase> inputs, IEnumerable<ObjectBase> outputs, ExpressionValueVariable version, ExpressionValueVariable interfaceTimeStep, string modelDescription, string interfacePath, string scalefactor, string strMessageLevel)
```

#### Parameters

`doc` Document

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

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

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

`inputs` [IEnumerable](https://learn.microsoft.com/dotnet/api/system.collections.generic.ienumerable-1)\<ObjectBase>

`outputs` [IEnumerable](https://learn.microsoft.com/dotnet/api/system.collections.generic.ienumerable-1)\<ObjectBase>

`version` ExpressionValueVariable

`interfaceTimeStep` ExpressionValueVariable

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

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

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

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

### ExportModel(Document, List\<object>)

```csharp theme={null}
public ExportModel(Document doc, List<object> lstInfo)
```

#### Parameters

`doc` Document

`lstInfo` [List](https://learn.microsoft.com/dotnet/api/system.collections.generic.list-1)\<[object](https://learn.microsoft.com/dotnet/api/system.object)>

### ExportModel(JournalParameter)

```csharp theme={null}
public ExportModel(JournalParameter jp)
```

#### Parameters

`jp` JournalParameter

## Properties

### Name

Gets the operation name.

```csharp theme={null}
public override string Name { get; }
```

#### Property Value

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

## Methods

### Execute()

Execute the operation.

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

### GetInformation(XmlWriter)

```csharp theme={null}
public override void GetInformation(XmlWriter writer)
```

#### Parameters

`writer` [XmlWriter](https://learn.microsoft.com/dotnet/api/system.xml.xmlwriter)

### Get\_ModelDescription(SubSystemDocument, string, IList\<ObjectBase>, IList\<ObjectBase>, IList\<int>, IList\<int>, double, string, double, string, string)

```csharp theme={null}
public XmlDocument Get_ModelDescription(SubSystemDocument subSystem, string strFileFullPath, IList<ObjectBase> lstInputName, IList<ObjectBase> lstOutputName, IList<int> lstInputSeq, IList<int> lstOutputSeq, double version, string description, double stepSize, string scalefactor = null, string messagelevel = null)
```

#### Parameters

`subSystem` SubSystemDocument

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

`lstInputName` [IList](https://learn.microsoft.com/dotnet/api/system.collections.generic.ilist-1)\<ObjectBase>

`lstOutputName` [IList](https://learn.microsoft.com/dotnet/api/system.collections.generic.ilist-1)\<ObjectBase>

`lstInputSeq` [IList](https://learn.microsoft.com/dotnet/api/system.collections.generic.ilist-1)\<[int](https://learn.microsoft.com/dotnet/api/system.int32)>

`lstOutputSeq` [IList](https://learn.microsoft.com/dotnet/api/system.collections.generic.ilist-1)\<[int](https://learn.microsoft.com/dotnet/api/system.int32)>

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

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

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

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

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

#### Returns

[XmlDocument](https://learn.microsoft.com/dotnet/api/system.xml.xmldocument)
