Skip to main content

ModelCenter APIs 2025 R1

toFileAbsolute

Last update: 16.07.2025

public toFileAbsolute(fileName: String, encoding: String, index: String)

writes out contents to a file without validating the variable

Parameters

fileName the file to write
encoding file encoding to be used (ascii, utf-8, binary)
index index in string form, i.e. [1][2][3]

Throws

ModelCenterException

public toFileAbsolute(fileName: String, encoding: String, d1: Long)

writes out contents to a file without validating the variable

Parameters

fileName the file to write
encoding file encoding to be used (ascii, utf-8, binary)
d1 index in the 1st dimension (0-based index)

Throws

ModelCenterException

public toFileAbsolute(fileName: String, encoding: String, d1: Long, d2: Long)

writes out contents to a file without validating the variable

Parameters

fileName the file to write
encoding file encoding to be used (ascii, utf-8, binary)
d1 index in the 1st dimension (0-based index)
d2 index in the 2nd dimension (0-based index)

Throws

ModelCenterException

public toFileAbsolute(fileName: String, encoding: String, d1: Long, d2: Long, d3: Long)

public toFileAbsolute(fileName: String, encoding: String, d1: Long, d2: Long, d3: Long, d4: Long)

public toFileAbsolute(fileName: String, encoding: String, d1: Long, d2: Long, d3: Long, d4: Long, d5: Long)

public toFileAbsolute(fileName: String, encoding: String, d1: Long, d2: Long, d3: Long, d4: Long, d5: Long, d6: Long)

public toFileAbsolute(fileName: String, encoding: String, d1: Long, d2: Long, d3: Long, d4: Long, d5: Long, d6: Long, d7: Long)

public toFileAbsolute(fileName: String, encoding: String, d1: Long, d2: Long, d3: Long, d4: Long, d5: Long, d6: Long, d7: Long, d8: Long)

public toFileAbsolute(fileName: String, encoding: String, d1: Long, d2: Long, d3: Long, d4: Long, d5: Long, d6: Long, d7: Long, d8: Long, d9: Long)

public toFileAbsolute(fileName: String, encoding: String, d1: Long, d2: Long, d3: Long, d4: Long, d5: Long, d6: Long, d7: Long, d8: Long, d9: Long, d10: Long)

Connect with Ansys