Skip to main content

ModelCenter APIs 2025 R1

toXMLFile

Last update: 16.07.2025

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