Skip to main content

ModelCenter APIs 2026 R1

getSize

Last update: 18.06.2026

public getSize(): Long

gets the size of the array. Same as getLength()

Return

the number of elements in the array

Throws

ModelCenterException

public getSize(dimension: Long): Long

gets the size of a specific dimension in the array. Same as getLength()

Return

the number of elements in the array

Parameters

dimension the dimension of interest (0-based index)

Throws

ModelCenterException

Connect with Ansys