Skip to main content

ModelCenter APIs 2025 R2

toFile

Last update: 16.07.2025

public toFile(mIndex: String, fileName: String, encoding: String)

write a file member to a file

Parameters

mIndex name of the member
fileName destination file name
encoding (e.g., utf8, binary, ascii) ascii is assumed if empty

Throws

ModelCenterException

Connect with Ansys