Skip to main content

ModelCenter APIs 2025 R1

getFileExtension

Last update: 16.07.2025

public getFileExtension(index: String): String

gets the extension used for the file (used to associate the file with an application).

Return

the file extension, e.g. ".xls"

Parameters

index index in string form, i.e. [1][2][3]

Throws

ModelCenterException

public getFileExtension(d1: Long): String

gets the extension used for the file (used to associate the file with an application).

Return

the file extension, e.g. ".xls"

Parameters

d1 index in the 1st dimension (0-based index)

Throws

ModelCenterException

public getFileExtension(d1: Long, d2: Long): String

gets the extension used for the file (used to associate the file with an application).

Return

the file extension, e.g. ".xls"

Parameters

d1 index in the 1st dimension (0-based index)
d2 index in the 2nd dimension (0-based index)

Throws

ModelCenterException

public getFileExtension(d1: Long, d2: Long, d3: Long): String

public getFileExtension(d1: Long, d2: Long, d3: Long, d4: Long): String

public getFileExtension(d1: Long, d2: Long, d3: Long, d4: Long, d5: Long): String

public getFileExtension(d1: Long, d2: Long, d3: Long, d4: Long, d5: Long, d6: Long): String

public getFileExtension(d1: Long, d2: Long, d3: Long, d4: Long, d5: Long, d6: Long, d7: Long): String

public getFileExtension(d1: Long, d2: Long, d3: Long, d4: Long, d5: Long, d6: Long, d7: Long, d8: Long): String

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

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

Connect with Ansys