def set_subcase(self, subcase):
        self.subcases[subcase.id] = subcase
        if self.__class__.__name__.find('Load') > -1:
            for combloadid in self.loads:
                for load in self.model.loaddict.values():
                    if load.id == combloadid:
                        load.set_subcase(subcase)
dataset/ETHPy150Open saullocastro/mapy/mapy/model/loads/loads.py/Loads.set_subcase/original