Skip to main content

ModelCenter APIs 2026 R1 SP03

getItem

Last update: 30.07.2026

public getItem(index: Int): Variable

Gets a particular element of this collection

Return

The requested variable

Parameters

index the array element index

Throws

ModelCenterException

public getItem(name: String): Variable

Gets a particular element of this collection

Return

The requested variable

Parameters

name The name of the variable to get.

Throws

ModelCenterException

Connect with Ansys