Skip to main content

ModelCenter APIs 2026 R1 SP03

getLength

Last update: 30.07.2026

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