get_object_list#

dlubal.api.rstab.Application.get_object_list(self, objs, model_id=None)#

Retrieves a list of objects from the model.

Parameters:
  • objs (list[obj]) – An object list to be retrieved. Refer to the Model for available objects.

  • model_id (ModelId | None) – Unique identifier of the model.

Returns:

A list of retrieved objects.

Return type:

Model


Example

rstab_app.get_object_list()
# Get all objects from specific type without parent
all_members = rstab_app.get_object_list([rstab.structure_core.Member()])
# Get all objects from specific type with parent
all_member_load = rstab_app.get_object_list([rstab.loads.MemberLoad(load_case = '')])
# Get all objects
all_objects = rstab_app.get_object_list([rstab.All()])