cancel
Showing results for 
Search instead for 
Did you mean: 
EN
cancel
Showing results for 
Search instead for 
Did you mean: 
LeeJaeYoung
Virtuoso

index value greater than array dimension

LeeJaeYoung_1-1679204032927.png

LeeJaeYoung_0-1679202608653.png

 

dim  WallskinThk[4]

WALL_SKINS_NUMBER = 4

i use WallskinThk[4]

 

Sometimes the error message doesn't come out, then it comes up again.

 

Saving is possible, but it doesn't feel good.

AC27 on window 11
1 Solution

Accepted Solutions

Assuming you always want the last skin, 

WallSkinThk[WALL_SKINS_NUMBER]

 

Seeing the actual code would make it much easier to help.

Go to post

5 Replies 5

The array is defined by the number of skins in the wall. So if at any time it's related to a wall with less than 4 skins you will get this error

LeeJaeYoung
Virtuoso

So how should I set it up?

AC27 on window 11

Assuming you always want the last skin, 

WallSkinThk[WALL_SKINS_NUMBER]

 

Seeing the actual code would make it much easier to help.

LeeJaeYoung
Virtuoso

thank you so much

AC27 on window 11
LeeJaeYoung
Virtuoso

if WALL_SKINS_PARAMS[idx][SKIN_CORE_STATUS] > EPS then
            cumCoPen = WALL_SKINS_PARAMS[idx][SKIN_CONT_PEN]

endif

 

 

PEN cumCoPen

-----------------------------

 

Error occurs here too.
What should I do?

AC27 on window 11

Didn't find the answer?

Check other topics in this Forum

Back to Forum

Read the latest accepted solutions!

Accepted Solutions

Start a new conversation!