Skip to main content

ModelCenter APIs 2026 R1 SP03

setHighlightedRuns

Last update: 30.07.2026

public setHighlightedRuns(selectedRunIndices: Array<Long>)

Specify the set of currently highlighted run indices. Note: This will overwrite the existing highlighted runs.

Parameters

selectedRunIndices the set of run indices to highlight, specified by either a single integer, numeric string, array of integers, or array of numeric strings. Specifying an empty or null value will remove all highlighted run indices.

Throws

ModelCenterException if something goes wrong setting the highlighted runs

Connect with Ansys