BHoM / BHoM/MidasCivil_Toolkit
LoadCombination Reading does not take in to account mulitple lines per loadcase
- Dominant language
- C#
- Stars
- 7
- Forks
- 4
- PR merge metrics
- No merged PRs in 30d
Description
#### Description:
When a LoadCombination has multiple lines it results in an index error.
LoadCombination syntax:
```
*LOADCOMB ; Combinations
; NAME=NAME, KIND, ACTIVE, bES, iTYPE, DESC, iSERV-TYPE, nLCOMTYPE, nSEISTYPE ; line 1
; ANAL1, LCNAME1, FACT1, ... ; from line 2
```
```
NAME=Wind +V-L, GEN, ACTIVE, 0, 0, , 0, 0, 0
ST, Wind V +, 1, ST, Wind L -, 1
NAME=Ped C + N + H, GEN, ACTIVE, 0, 0, , 0, 0, 0
ST, Pedestrian Cantilever, 1, ST, Pedestrian North, 1
ST, Pedestrian Cantilever Horizontal, 1
ST, Pedestrian North Horizontal, 1
```
#### How to replicate:
1. Create multiple loadcases and combine them in to a `LoadCombination `in MidasCivil
2. Output the file as an MCT file
3. Create MidasCivil Adapter
4. Pull `LoadCombination `objects
#### Expected behaviour:
LoadCombination to be read for `LoadCombination `objects with along list of `Loadcase `objects
#### Test file(s):
Contributor guide
Assessment
This issue has not been assessed yet.