Skip to main content

ModelCenter APIs 2026 R1 SP03

setValue

Last update: 30.07.2026

public setValue(index: String, value: Any)

Sets the value of a global parameter. Creates the parameter if it doesn't exist.

Parameters

index The name of the global parameter to create or set

public setValue(index: Int, value: Any)

Sets the value of a global parameter. Will not creates the parameter if it doesn't exist.

Parameters

index The 0 based index of the parameter to set

Connect with Ansys