Reply To: WALL_​​​SKINS_​​​PARAMS and Building_​​​Material_​​​info

Home Forums Problems and solutions in GDL Doors and windows WALL_​SKINS_​PARAMS and Building_​Material_​info Reply To: WALL_​​SKINS_​​PARAMS and Building_​​Material_​​info

#4097
Kristian Bursell
Participant

Hi Gergely (and Joachim),
I thought i would add this question here as it is related.
I have a problem where the WALL_SKINS_PARAMS is not working in the 3D script but works in the 2D script.
I am creating plaster returns for my windows and the 2D works fine but the 3D is acting as if the wall is a single skin saying the index is greater than the array dimension.

SCRIPT (identical in 2D and 3D)
if WALL_SKINS_NUMBER > 1 then
!!——————————————-INTERNAL
SKINFillInt = “”
SKINThickInt = .010
SKINPenInt = 1
SKINPenFillInt = 1
SKINPenBGInt = 1
if GLOB_CONTEXT # 5 then
SKINFillInt = WALL_SKINS_PARAMS[WALL_SKINS_NUMBER][1]
SKINThickInt = WALL_SKINS_PARAMS[WALL_SKINS_NUMBER][2]
SKINPenInt = WALL_SKINS_PARAMS[WALL_SKINS_NUMBER][9]
SKINPenFillInt = WALL_SKINS_PARAMS[WALL_SKINS_NUMBER][4]
SKINPenBGInt = WALL_SKINS_PARAMS[WALL_SKINS_NUMBER][5]
endif
material WALL_MAT_A

CADSWIFT
Australia