Skip to main content

ModelCenter APIs 2026 R1 SP03

setDimensions

Last update: 30.07.2026

public setDimensions(d1: Long)

sets the size of the dimensions of the array

Parameters

d1 the size of the 1st dimension

Throws

ModelCenterException

public setDimensions(d1: Long, d2: Long)

sets the size of the dimensions of the array

Parameters

d1 the size of the 1st dimension
d2 the size of the 2nd dimension

Throws

ModelCenterException

public setDimensions(d1: Long, d2: Long, d3: Long)

sets the size of the dimensions of the array

Parameters

d1 the size of the 1st dimension
d2 the size of the 2nd dimension
d3 the size of the 3rd dimension

Throws

ModelCenterException

public setDimensions(d1: Long, d2: Long, d3: Long, d4: Long)

sets the size of the dimensions of the array

Parameters

d1 the size of the 1st dimension
d2 the size of the 2nd dimension
d3 the size of the 3rd dimension
d4 the size of the 4th dimension

Throws

ModelCenterException

public setDimensions(d1: Long, d2: Long, d3: Long, d4: Long, d5: Long)

sets the size of the dimensions of the array

Parameters

d1 the size of the 1st dimension
d2 the size of the 2nd dimension
d3 the size of the 3rd dimension
d4 the size of the 4th dimension
d5 the size of the 5th dimension

Throws

ModelCenterException

public setDimensions(d1: Long, d2: Long, d3: Long, d4: Long, d5: Long, d6: Long)

sets the size of the dimensions of the array

Parameters

d1 the size of the 1st dimension
d2 the size of the 2nd dimension
d3 the size of the 3rd dimension
d4 the size of the 4th dimension
d5 the size of the 5th dimension
d6 the size of the 6th dimension

Throws

ModelCenterException

public setDimensions(d1: Long, d2: Long, d3: Long, d4: Long, d5: Long, d6: Long, d7: Long)

sets the size of the dimensions of the array

Parameters

d1 the size of the 1st dimension
d2 the size of the 2nd dimension
d3 the size of the 3rd dimension
d4 the size of the 4th dimension
d5 the size of the 5th dimension
d6 the size of the 6th dimension
d7 the size of the 7th dimension

Throws

ModelCenterException

public setDimensions(d1: Long, d2: Long, d3: Long, d4: Long, d5: Long, d6: Long, d7: Long, d8: Long)

sets the size of the dimensions of the array

Parameters

d1 the size of the 1st dimension
d2 the size of the 2nd dimension
d3 the size of the 3rd dimension
d4 the size of the 4th dimension
d5 the size of the 5th dimension
d6 the size of the 6th dimension
d7 the size of the 7th dimension
d8 the size of the 8th dimension

Throws

ModelCenterException

public setDimensions(d1: Long, d2: Long, d3: Long, d4: Long, d5: Long, d6: Long, d7: Long, d8: Long, d9: Long)

sets the size of the dimensions of the array

Parameters

d1 the size of the 1st dimension
d2 the size of the 2nd dimension
d3 the size of the 3rd dimension
d4 the size of the 4th dimension
d5 the size of the 5th dimension
d6 the size of the 6th dimension
d7 the size of the 7th dimension
d8 the size of the 8th dimension
d9 the size of the 9th dimension

Throws

ModelCenterException

public setDimensions(d1: Long, d2: Long, d3: Long, d4: Long, d5: Long, d6: Long, d7: Long, d8: Long, d9: Long, d10: Long)

sets the size of the dimensions of the array

Parameters

d1 the size of the 1st dimension
d2 the size of the 2nd dimension
d3 the size of the 3rd dimension
d4 the size of the 4th dimension
d5 the size of the 5th dimension
d6 the size of the 6th dimension
d7 the size of the 7th dimension
d8 the size of the 8th dimension
d9 the size of the 9th dimension
d10 the size of the 10th dimension

Throws

ModelCenterException

Connect with Ansys