Skip to main content

ModelCenter APIs 2026 R1 SP03

toFormattedString

Last update: 30.07.2026

public toFormattedString(index: Long): String

converts the variable value to a formatted string representation. If the variable is not currently valid, it is first validated.

Return

the string value of the formatted variable

Parameters

index the array element to get (0-based index)

Throws

ModelCenterException

Connect with Ansys