    

 ## On this page

  

 

 # setDimensions

 Last update: 30.07.2026 

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

sets the size of the dimensions of the array

#### Parameters

d1the size of the 1st dimension#### Throws

[ModelCenterException](./../-model-center-exception/index.md)public [setDimensions](set-dimensions.md)(d1: [Long](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-long/index.html), d2: [Long](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-long/index.html))

sets the size of the dimensions of the array

#### Parameters

d1the size of the 1st dimensiond2the size of the 2nd dimension#### Throws

[ModelCenterException](./../-model-center-exception/index.md)public [setDimensions](set-dimensions.md)(d1: [Long](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-long/index.html), d2: [Long](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-long/index.html), d3: [Long](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-long/index.html))

sets the size of the dimensions of the array

#### Parameters

d1the size of the 1st dimensiond2the size of the 2nd dimensiond3the size of the 3rd dimension#### Throws

[ModelCenterException](./../-model-center-exception/index.md)public [setDimensions](set-dimensions.md)(d1: [Long](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-long/index.html), d2: [Long](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-long/index.html), d3: [Long](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-long/index.html), d4: [Long](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-long/index.html))

sets the size of the dimensions of the array

#### Parameters

d1the size of the 1st dimensiond2the size of the 2nd dimensiond3the size of the 3rd dimensiond4the size of the 4th dimension#### Throws

[ModelCenterException](./../-model-center-exception/index.md)public [setDimensions](set-dimensions.md)(d1: [Long](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-long/index.html), d2: [Long](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-long/index.html), d3: [Long](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-long/index.html), d4: [Long](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-long/index.html), d5: [Long](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-long/index.html))

sets the size of the dimensions of the array

#### Parameters

d1the size of the 1st dimensiond2the size of the 2nd dimensiond3the size of the 3rd dimensiond4the size of the 4th dimensiond5the size of the 5th dimension#### Throws

[ModelCenterException](./../-model-center-exception/index.md)public [setDimensions](set-dimensions.md)(d1: [Long](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-long/index.html), d2: [Long](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-long/index.html), d3: [Long](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-long/index.html), d4: [Long](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-long/index.html), d5: [Long](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-long/index.html), d6: [Long](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-long/index.html))

sets the size of the dimensions of the array

#### Parameters

d1the size of the 1st dimensiond2the size of the 2nd dimensiond3the size of the 3rd dimensiond4the size of the 4th dimensiond5the size of the 5th dimensiond6the size of the 6th dimension#### Throws

[ModelCenterException](./../-model-center-exception/index.md)public [setDimensions](set-dimensions.md)(d1: [Long](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-long/index.html), d2: [Long](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-long/index.html), d3: [Long](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-long/index.html), d4: [Long](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-long/index.html), d5: [Long](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-long/index.html), d6: [Long](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-long/index.html), d7: [Long](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-long/index.html))

sets the size of the dimensions of the array

#### Parameters

d1the size of the 1st dimensiond2the size of the 2nd dimensiond3the size of the 3rd dimensiond4the size of the 4th dimensiond5the size of the 5th dimensiond6the size of the 6th dimensiond7the size of the 7th dimension#### Throws

[ModelCenterException](./../-model-center-exception/index.md)public [setDimensions](set-dimensions.md)(d1: [Long](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-long/index.html), d2: [Long](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-long/index.html), d3: [Long](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-long/index.html), d4: [Long](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-long/index.html), d5: [Long](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-long/index.html), d6: [Long](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-long/index.html), d7: [Long](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-long/index.html), d8: [Long](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-long/index.html))

sets the size of the dimensions of the array

#### Parameters

d1the size of the 1st dimensiond2the size of the 2nd dimensiond3the size of the 3rd dimensiond4the size of the 4th dimensiond5the size of the 5th dimensiond6the size of the 6th dimensiond7the size of the 7th dimensiond8the size of the 8th dimension#### Throws

[ModelCenterException](./../-model-center-exception/index.md)public [setDimensions](set-dimensions.md)(d1: [Long](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-long/index.html), d2: [Long](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-long/index.html), d3: [Long](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-long/index.html), d4: [Long](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-long/index.html), d5: [Long](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-long/index.html), d6: [Long](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-long/index.html), d7: [Long](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-long/index.html), d8: [Long](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-long/index.html), d9: [Long](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-long/index.html))

sets the size of the dimensions of the array

#### Parameters

d1the size of the 1st dimensiond2the size of the 2nd dimensiond3the size of the 3rd dimensiond4the size of the 4th dimensiond5the size of the 5th dimensiond6the size of the 6th dimensiond7the size of the 7th dimensiond8the size of the 8th dimensiond9the size of the 9th dimension#### Throws

[ModelCenterException](./../-model-center-exception/index.md)public [setDimensions](set-dimensions.md)(d1: [Long](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-long/index.html), d2: [Long](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-long/index.html), d3: [Long](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-long/index.html), d4: [Long](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-long/index.html), d5: [Long](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-long/index.html), d6: [Long](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-long/index.html), d7: [Long](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-long/index.html), d8: [Long](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-long/index.html), d9: [Long](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-long/index.html), d10: [Long](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-long/index.html))

sets the size of the dimensions of the array

#### Parameters

d1the size of the 1st dimensiond2the size of the 2nd dimensiond3the size of the 3rd dimensiond4the size of the 4th dimensiond5the size of the 5th dimensiond6the size of the 6th dimensiond7the size of the 7th dimensiond8the size of the 8th dimensiond9the size of the 9th dimensiond10the size of the 10th dimension#### Throws

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