> ## 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/lib/VM.Managed.DAFUL.CoSim.FMI.Operation)\
Assembly: VMOpCoSimFMI.dll

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

#### Inheritance

object ←
OperationBase ←
[ExportModel](https://developer.synopsys.com/docs/motion/motion-standalone-preprocessor-c-sharp-library/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/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_)

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

`strDFSFile` string

`strRESFile` string

`inputs` IEnumerable\<ObjectBase>

`outputs` IEnumerable\<ObjectBase>

`version` [ExpressionValueVariable](https://github.com/AnsysVirtualMotion/DAFUL/blob/9110677a5f6a53d7604f8dfd35b4c5fceb59e8e0/DAFUL/Pre/Data/VM.Models.Pre/Models/ExpressionValueVariable.cs)

`interfaceTimeStep` [ExpressionValueVariable](https://github.com/AnsysVirtualMotion/DAFUL/blob/9110677a5f6a53d7604f8dfd35b4c5fceb59e8e0/DAFUL/Pre/Data/VM.Models.Pre/Models/ExpressionValueVariable.cs)

`modelDescription` string

`interfacePath` 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

`strDFSFile` string

`strRESFile` string

`inputs` IEnumerable\<ObjectBase>

`outputs` IEnumerable\<ObjectBase>

`version` [ExpressionValueVariable](https://github.com/AnsysVirtualMotion/DAFUL/blob/9110677a5f6a53d7604f8dfd35b4c5fceb59e8e0/DAFUL/Pre/Data/VM.Models.Pre/Models/ExpressionValueVariable.cs)

`interfaceTimeStep` [ExpressionValueVariable](https://github.com/AnsysVirtualMotion/DAFUL/blob/9110677a5f6a53d7604f8dfd35b4c5fceb59e8e0/DAFUL/Pre/Data/VM.Models.Pre/Models/ExpressionValueVariable.cs)

`modelDescription` string

`interfacePath` string

`scalefactor` string

`strMessageLevel` string

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

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

#### Parameters

`doc` Document

`lstInfo` List\<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

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

### 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](https://github.com/AnsysVirtualMotion/DAFUL/blob/9110677a5f6a53d7604f8dfd35b4c5fceb59e8e0/DAFUL/ClassicPre/Data/VMDFBase/SubSystemDocument.cs)

`strFileFullPath` string

`lstInputName` IList\<ObjectBase>

`lstOutputName` IList\<ObjectBase>

`lstInputSeq` IList\<int>

`lstOutputSeq` IList\<int>

`version` double

`description` string

`stepSize` double

`scalefactor` string

`messagelevel` string

#### Returns

XmlDocument
