Skip to content

LoadCombination Reading does not take in to account mulitple lines per loadcase #152

Open
@peterjamesnugent

Description

@peterjamesnugent

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):

Metadata

Metadata

Labels

type:bugError or unexpected behaviour

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions