Skip to main content

ModelCenter APIs 2026 R1

setPreference

Last update: 18.06.2026

abstract fun setPreference(prefName: String, value: String)

Sets a preference

Parameters

prefName the name of the preference
value the new preference value

Connect with Ansys