setSize Last update: 30.07.2026 public setSize(size: Long) sets the size of the array. Same as setLength() Parameters size the number of elements to store in the array Throws ModelCenterException public setSize(size: Long, dimension: Long) sets the size of a specific dimension in the array. Same as setLength() Parameters size the number of elements to store in the array dimension the dimension of interest (0-based index) Throws ModelCenterException