Hi,
The OpenSTAAD line in the code below is not working properly and the reference guide does not seem to clarify the requirements. The line has 4 inputs stated then uses 5 inputs in the example. Please can you clarify the issue?
Dim GlobalX As LongDim GlobalY As LongDim VaryInX As LongDim VaryInY As Long
GlobalX = 1GlobalY = 2
VaryInX = 1VaryInY = 2
For j = 0 To UBound(Plate_Array_Index(), 2) k = 0 If Plate_Array_Index(0, j) <> 0 Then For i = 0 To UBound(Plate_Array_Index(), 1) If Plate_Array_Index(i, j) <> 0 Then ReDim Preserve PlateList(k) PlateList(k) = Plate_Array_Index(i, j) k = k + 1 Else End If Next i ObjOPENSTAAD.Load.AddElementTrapPressure PlateList(), GlobalY, VaryInY, CDbl(-2), CDbl(-5) Else End If Next j