    

 ## On this page

  

 

 # Class ExportModel

 Last update: 09.03.2026 

<a id="VM_Managed_DAFUL_CoSim_FMI_Operation_ExportModel"></a>

Namespace: [VM.Managed.DAFUL.CoSim.FMI.Operation](VM.Managed.DAFUL.CoSim.FMI.Operation.md)  
Assembly: VMOpCoSimFMI.dll

```csharp
public class ExportModel : OperationBase, IOperation

```

#### Inheritance

object ← OperationBase ← [ExportModel](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)](VM.Models.Pre.Cache.LinkPropertyItemCache.md#VM_Models_Pre_Cache_LinkPropertyItemCache_GetLinkProperties_System_Object_VM_Models_Pre_LinkPropertyType_), [LinkPropertyItemCache.GetLinkPropertiesAndValues(object, LinkPropertyType)](VM.Models.Pre.Cache.LinkPropertyItemCache.md#VM_Models_Pre_Cache_LinkPropertyItemCache_GetLinkPropertiesAndValues_System_Object_VM_Models_Pre_LinkPropertyType_), [LinkPropertyItemCache.GetLinkedObjects&lt;T&gt;(object, LinkPropertyType)](VM.Models.Pre.Cache.LinkPropertyItemCache.md#VM_Models_Pre_Cache_LinkPropertyItemCache_GetLinkedObjects__1_System_Object_VM_Models_Pre_LinkPropertyType_)

## Constructors

### <a id="VM_Managed_DAFUL_CoSim_FMI_Operation_ExportModel__ctor_VM_Managed_Document_"></a> ExportModel(Document)

```csharp
public ExportModel(Document doc)

```

#### Parameters

`doc` Document

### <a id="VM_Managed_DAFUL_CoSim_FMI_Operation_ExportModel__ctor_VM_Managed_Document_System_String_System_String_System_String_System_Collections_Generic_IEnumerable_VM_Managed_ObjectBase__System_Collections_Generic_IEnumerable_VM_Managed_ObjectBase__VM_Models_Pre_ExpressionValueVariable_VM_Models_Pre_ExpressionValueVariable_System_String_System_String_"></a> ExportModel(Document, string, string, string, IEnumerable&lt;ObjectBase&gt;, IEnumerable&lt;ObjectBase&gt;, ExpressionValueVariable, ExpressionValueVariable, string, string)

```csharp
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&lt;ObjectBase&gt;

`outputs` IEnumerable&lt;ObjectBase&gt;

`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

### <a id="VM_Managed_DAFUL_CoSim_FMI_Operation_ExportModel__ctor_VM_Managed_Document_System_String_System_String_System_String_System_Collections_Generic_IEnumerable_VM_Managed_ObjectBase__System_Collections_Generic_IEnumerable_VM_Managed_ObjectBase__VM_Models_Pre_ExpressionValueVariable_VM_Models_Pre_ExpressionValueVariable_System_String_System_String_System_String_System_String_"></a> ExportModel(Document, string, string, string, IEnumerable&lt;ObjectBase&gt;, IEnumerable&lt;ObjectBase&gt;, ExpressionValueVariable, ExpressionValueVariable, string, string, string, string)

```csharp
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&lt;ObjectBase&gt;

`outputs` IEnumerable&lt;ObjectBase&gt;

`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

### <a id="VM_Managed_DAFUL_CoSim_FMI_Operation_ExportModel__ctor_VM_Managed_Document_System_Collections_Generic_List_System_Object__"></a> ExportModel(Document, List&lt;object&gt;)

```csharp
public ExportModel(Document doc, List<object> lstInfo)

```

#### Parameters

`doc` Document

`lstInfo` List&lt;object&gt;

### <a id="VM_Managed_DAFUL_CoSim_FMI_Operation_ExportModel__ctor_VM_Managed_Operation_JournalParameter_"></a> ExportModel(JournalParameter)

```csharp
public ExportModel(JournalParameter jp)

```

#### Parameters

`jp` JournalParameter

## Properties

### <a id="VM_Managed_DAFUL_CoSim_FMI_Operation_ExportModel_Name"></a> Name

Gets the operation name.

```csharp
public override string Name { get; }

```

#### Property Value

string

## Methods

### <a id="VM_Managed_DAFUL_CoSim_FMI_Operation_ExportModel_Execute"></a> Execute()

Execute the operation.

```csharp
public override void Execute()

```

### <a id="VM_Managed_DAFUL_CoSim_FMI_Operation_ExportModel_GetInformation_System_Xml_XmlWriter_"></a> GetInformation(XmlWriter)

```csharp
public override void GetInformation(XmlWriter writer)

```

#### Parameters

`writer` XmlWriter

### <a id="VM_Managed_DAFUL_CoSim_FMI_Operation_ExportModel_Get_ModelDescription_VM_Managed_DAFUL_SubSystemDocument_System_String_System_Collections_Generic_IList_VM_Managed_ObjectBase__System_Collections_Generic_IList_VM_Managed_ObjectBase__System_Collections_Generic_IList_System_Int32__System_Collections_Generic_IList_System_Int32__System_Double_System_String_System_Double_System_String_System_String_"></a> Get\_ModelDescription(SubSystemDocument, string, IList&lt;ObjectBase&gt;, IList&lt;ObjectBase&gt;, IList&lt;int&gt;, IList&lt;int&gt;, double, string, double, string, string)

```csharp
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&lt;ObjectBase&gt;

`lstOutputName` IList&lt;ObjectBase&gt;

`lstInputSeq` IList&lt;int&gt;

`lstOutputSeq` IList&lt;int&gt;

`version` double

`description` string

`stepSize` double

`scalefactor` string

`messagelevel` string

#### Returns

XmlDocument