Skip to main content

ModelCenter APIs 2025 R1

getItem

Last update: 16.07.2025

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