Skip to main content

Motion Standalone Preprocessor C# library 2024 R2

Class ExportModel

Last update: 16.07.2025

Namespace: VM.Managed.DAFUL.CoSim.FMI.Operation
Assembly: VMOpCoSimFMI.dll

public class ExportModel : OperationBase, IOperation

Inheritance

object ← OperationBase ← ExportModel

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), LinkPropertyItemCache.GetLinkPropertiesAndValues(object, LinkPropertyType), LinkPropertyItemCache.GetLinkedObjects<T>(object, LinkPropertyType)

Constructors

ExportModel(Document)

public ExportModel(Document doc)

Parameters

doc Document

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

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

interfaceTimeStep ExpressionValueVariable

modelDescription string

interfacePath string

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

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

interfaceTimeStep ExpressionValueVariable

modelDescription string

interfacePath string

scalefactor string

strMessageLevel string

ExportModel(Document, List<object>)

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

Parameters

doc Document

lstInfo List<object>

ExportModel(JournalParameter)

public ExportModel(JournalParameter jp)

Parameters

jp JournalParameter

Properties

Name

Gets the operation name.

public override string Name { get; }

Property Value

string

Methods

Execute()

Execute the operation.

public override void Execute()

GetInformation(XmlWriter)

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)

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

lstInputName IList<ObjectBase>

lstOutputName IList<ObjectBase>

lstInputSeq IList<int>

lstOutputSeq IList<int>

version double

description string

stepSize double

scalefactor string

messagelevel string

Returns

XmlDocument

Connect with Ansys