Skip to main content

ModelCenter APIs 2025 R2

getSize

Last update: 16.07.2025

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