Skip to main content

ModelCenter APIs 2025 R2

getLength

Last update: 16.07.2025

public getLength(): Long

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

Return

the number of elements in the array

Throws

ModelCenterException

public getLength(dimension: Long): Long

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

Return

the number of elements in the array

Parameters

dimension the dimension of interest (0-based index)

Throws

ModelCenterException

Connect with Ansys