Skip to main content

ModelCenter APIs 2025 R1

setEnumAliases

Last update: 16.07.2025

public setEnumAliases(enumAliases: String)

sets the enumerated aliases for the variable. If specified, the enumerated aliases are alias values for enumerated values. For example, if the enumerated values are set to "1,2,3", and the enumerated aliases are set to "one,two,three", then calling fromString( "three" ) will result in the value being set to 3.

Parameters

enumAliases a comma separated list of enumerated aliases

Throws

ModelCenterException

Connect with Ansys