Skip to main content

ModelCenter APIs 2026 R1 SP03

toXMLFile

Last update: 30.07.2026

public toXMLFile(fileName: String)

turns the given file into an XML file

Parameters

fileName the file to turn into an XML file in format

Throws

ModelCenterException

public toXMLFile(fileName: String, includeRunData: Boolean)

turns the given file into an XML file

Parameters

fileName the file to turn into an XML file in format
includeRunData whether or not to include run data into the XML

Throws

ModelCenterException

Connect with Ansys