Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Lusas_Toolkit: Pushing loadcases not possible if the current loadcase (number) is used in a combination. #70

Open
peterjamesnugent opened this issue Oct 23, 2018 · 0 comments
Assignees
Labels
severity:low Doesn't stop/slow current workflow type:bug Error or unexpected behaviour

Comments

@peterjamesnugent
Copy link
Member

peterjamesnugent commented Oct 23, 2018

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
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
severity:low Doesn't stop/slow current workflow type:bug Error or unexpected behaviour
Projects
None yet
Development

No branches or pull requests

4 participants