Lusas_Toolkit: Pushing loadcases not possible if the current loadcase (number) is used in a combination.
- Dominant language
- C#
- Stars
- 3
- Forks
- 2
- PR merge metrics
- No merged PRs in 30d
Description
Lusas always has a single Loadcase that cannot be deleted, normally: 1: Loadcase 1
This bug arises when the model file has a Load Combination that references Loadcase 1 and the loadcase to be pushed shares the same load number as Loadcase 1 (in this case 1).
This could be circumvented by:
Check whether any load combinations exists
1. If no (which will be 99%) of the time as you need to push loadcases before load combinations - the program can continue as normal
i. If they do exist then...
ii. Grab all the loadcase numbers from the loadcase objects to be pushed and check whether they are referenced in the combinations that are present.
2. If they are, throw an exception as a loadcase cannot be created to overwrite a loadcase that exists in a combination
i. If they are not, then continue as normal
ii. This will also need to feed in to Wiki
Contributor guide
Assessment
This issue has not been assessed yet.