-
Notifications
You must be signed in to change notification settings - Fork 10
Add Pull of Base Level + Support for Multiple Towers #512
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
Add Pull of Base Level + Support for Multiple Towers #512
Conversation
Tower.cs implements the IFragment interface and allows to store the name of the tower the level belongs to when it gets pulled from the ETABS model.
The new code gets the list of Towers in the model, extracts the data regarding the base levels of the towers from the Database Tables of the models and return to the user all the levels beloning to all towers.
The API of ETABS v16 and v17 doesn't have the interfaces cDatabaseTables and cTower that are key to get information on levels (including the base level) when multitower feature is active. To prevent the code from crashing, whenever the ETABS version run by the user is recognized to be v16 or v17, the original algorithm is used. This won't return base levels and won't deal with multitowers.
cd6f144 to
cc31e58
Compare
|
@BHoMBot check installer |
|
@GCRA101 to confirm, the following actions are now queued:
There are 8 requests in the queue ahead of you. |
|
The check |
|
@BHoMBot check installer |
|
@GCRA101 to confirm, the following actions are now queued:
There are 20 requests in the queue ahead of you. |
peterjamesnugent
left a comment
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.
Change of namespace - sorry had this on pending
Change namespace from Elements to Fragments. Co-authored-by: Peter Nugent <[email protected]>
|
@peterjamesnugent, |
|
@BHoMBot check installer |
peterjamesnugent
left a comment
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.
Changes addressed.
peterjamesnugent
left a comment
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.
Rerequested by mistake - still approved.
|
@BHoMBot ready-to-merge |
|
@peterjamesnugent sorry, I didn't understand. |
|
@BHoMBot check ready-to-merge |
|
@peterjamesnugent to confirm, the following actions are now queued:
|

Issues addressed by this PR
Fixes #507
ETABS Toolkit now can allow to pull all levels (including the Base Level) for all the towers that are defined in the ETABS Model (using the AllowMultipleTower feature).
Test files
Grasshopper File
https://burohappold.sharepoint.com/:u:/r/sites/BHoM/02_Current/12_Scripts/02_Pull%20Request/BHoM/ETABS_Toolkit/%23512-AddPullBaseLevel+SupportforMultipleTowers/Test%20Script.gh?csf=1&web=1&e=G8rRvd
ETABS File
https://burohappold.sharepoint.com/:u:/r/sites/BHoM/02_Current/12_Scripts/02_Pull%20Request/BHoM/ETABS_Toolkit/%23512-AddPullBaseLevel+SupportforMultipleTowers/[TestModel_22_MultiTower.EDB](https://burohappold.sharepoint.com/:u:/r/sites/BHoM/02_Current/12_Scripts/02_Pull%20Request/BHoM/ETABS_Toolkit/%23512-AddPullBaseLevel+SupportforMultipleTowers/TestModel_22_MultiTower.EDB?csf=1&web=1&e=ydAZhq)?csf=1&web=1&e=ydAZhq
Changelog