Get all load patterns. Args: model: SAP2000 SapModel object Returns: List of `LoadPattern`.
(cls, model)
| 276 | |
| 277 | @classmethod |
| 278 | def get_all(cls, model) -> List["LoadPattern"]: |
| 279 | """ |
| 280 | Get all load patterns. |
| 281 | |
| 282 | Args: |
| 283 | model: SAP2000 SapModel object |
| 284 | |
| 285 | Returns: |
| 286 | List of `LoadPattern`. |
| 287 | """ |
| 288 | names = cls.get_name_list(model) |
| 289 | result = [] |
| 290 | for name in names: |
| 291 | lp = cls.get_by_name(model, name) |
| 292 | if lp: |
| 293 | result.append(lp) |
| 294 | return result |
nothing calls this directly
no test coverage detected