Skip to main content

ModelCenter APIs 2026 R1 SP03

toFile

Last update: 30.07.2026

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