get_object_list#
- dlubal.api.rfem.Application.get_object_list(self, objs, only_selected=False, model_id=None)#
Retrieves a list of objects from the model.
- Parameters:
- Returns:
A list of the retrieved objects.
- Return type:
list[obj]
Example
rfem_app.get_object_list()
# Get all objects from specific type without parent
all_members = rfem_app.get_object_list([rfem.structure_core.Member()])
# Get all objects from specific type with parent
all_member_load = rfem_app.get_object_list([rfem.loads.MemberLoad(load_case = '')])
# Get all objects
all_objects = rfem_app.get_object_list([rfem.All()])
await rfem_app.get_object_list();
// Get all objects from specific type without parent
var all_members = await rfem_app.get_object_list([rfem.structure_core.Member()]);
// Get all objects from specific type with parent
var all_member_load = await rfem_app.get_object_list([rfem.loads.MemberLoad(load_case = "")]);
// Get all objects
var all_objects = await rfem_app.get_object_list([rfem.All()]);