-
Notifications
You must be signed in to change notification settings - Fork 10
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
Load, Result and Element fixes #201
Conversation
Accounts for loadCases, loadCombos, and caseIds being input
If we want to add a couple more fixes to this branch before merging and the MVP, I'm open to it. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Generally looks ok to me after just reading through the code.
Wondering a bit regarding if dead cases always should have a gravity factor of 1, see comment.
Etabs_Adapter/Create/Load.cs
Outdated
CreateElementError("Loadcase", loadcase.Name); | ||
} | ||
double selfWeight = 0; | ||
if (loadcase.Nature == LoadNature.Dead) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Are we sure we want to do this? This will make this adapter behave quite differently to the other ones. Have solved this using the GravityLoad before for Etabs, same as is done in the other adapters.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Not sure at all! This was in the ETABS toolkit when I copied the code into SAP, so I figured it was good.
I don't know about GravityLoad- I'll read up and see if I can implement quickly (if it's not done already)
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
After reviewing, I've removed the selfweight bit from Loadcase.
I also noticed a naming inconsistency: Etabs_Adapter vs. ETABS_Engine. Is this as simple a fix as I think it is? Will anything be impacted by changing the name of Etabs_Adapter to ETABS_Adapter?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I'll start by saying that I don't know ETABS, but this message appears despite materials being applied in ETABS on the slab section property. I don't know why Deck1
appears but it gets an material, but not the right one (if it's suppose to get the same?) But the pushed materials are present in the dropdown list for Deck1
1. Could not get material from ETABS. Material for surface property Deck1 will be null
Not sure what that is about
Then I must say that this: 2. Surface properties with no name will be assigned 'None'.
was not initially apparent. I thought that its name was assigned to "None" but in ETABS it seems like it's assigned no surface properties, which is a property named "None" in ETABS. On a closer read I get what it means but it could also be more apparent at a glance like 2. Surface properties with no name will not be assigned.
Then despite the object being pushed and appearing in ETABS the component returns False
and the object
output is empty, not sure if that is intended with partial failures.
This is when the panel property is nameless
The first bit is a note- when you push surfaces, it has to read the existing surface properties, and any that it doesn't understand it will send back that note. it doesn't matter during push, and I'd like to know a way to suppress the note, but I don't know at this point. |
Added no name check for create bar sections Changed create bar method to get section by AdapterId Changed no name note to warning
@kThorsager I've just changed both bar and panel to this behavior, have a look. |
@IsakNaslundBh @enarhi please review so I can merge tomorrow. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good to me!
Issues addressed by this PR
Closes #199
Closes #198
Closes #200
Closes #202
Closes #130
Test files
Any old test file for general fixes
for Issue 202
Changelog