    

 ## On this page

  

 

 # setNumDimensions

 Last update: 30.07.2026 

public [setNumDimensions](set-num-dimensions.md)(num: [Long](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-long/index.html))

sets the number of dimensions

#### Parameters

numthe number of dimensions to have in the array#### Throws

[ModelCenterException](./../-model-center-exception/index.md)