MCPcopy Create free account
hub / github.com/HeisenbergJY1/PySap2000 / get_all

Method get_all

loading/load_pattern.py:278–294  ·  view source on GitHub ↗

Get all load patterns. Args: model: SAP2000 SapModel object Returns: List of `LoadPattern`.

(cls, model)

Source from the content-addressed store, hash-verified

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

Callers

nothing calls this directly

Calls 2

get_name_listMethod · 0.45
get_by_nameMethod · 0.45

Tested by

no test coverage detected