Skip to main content

ModelCenter APIs 2025 R2

toXMLFile

Last update: 16.07.2025

public toXMLFile(fileName: String)

save data history data as an XML file

Parameters

fileName the file to turn into an XML file in String format

Throws

ModelCenterException

public toXMLFile(fileName: String, includeRunData: Boolean)

save data history data as an XML file

Parameters

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

Throws

ModelCenterException

Connect with Ansys