-
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
Add support for future ETABS versions #399
Add support for future ETABS versions #399
Conversation
- Renaming ETABS18Adapter to simply ETABSAdapter to be used with any future version of ETABS - Adjusting default build to target ETABSAdapter, and using ETABSv1 api reference
…pter is starting the latest version of Etabs
@BHoMBot check core |
@IsakNaslundBh to confirm, the following checks are now queued:
There are 10 requests in the queue ahead of you. |
@BHoMBot check compliance |
@IsakNaslundBh to confirm, the following checks are now queued:
|
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.
Checked with ETABS 19, works great!
@IsakNaslundBh to confirm, the following checks are now queued:
|
@BHoMBot check installer |
@IsakNaslundBh to confirm, the following checks are now queued:
|
@IsakNaslundBh just to let you know, I have provided a |
Issues addressed by this PR
Closes #391
WIth the API changed for Etabs from version 18 and onwards, the API is stated to work for future versions of the software. Hence, refactoring the adapter to reflect this. The ETABS18ADapter is renamed ETABSAdapter, as it should work for 18, 19 and future versions, with no requirements for special builds.
Keeping the 2016 and 17 adapters as is for backwards compatibility with those versions of the software.
The initialisation code for starting ETABS has been changed for the new ETABSAdapter to start the latest version of ETABS installed on the system, rather than pointing at a particular source folder. This means this part of the code does not need to be updated for every release of the software, and mimics what has been done for SAP2000.
Also cleaned up a significant amount of unrequired usings of the api reference to simplify the code.
Test files
Specific testfile to test versioning in here. To test the versioning, make sure you manually delete the Etabs18_adapter.dll file from the assemblies folder in ProgramData. On this PR the EtabsAdapter will be marked as prototype, but that will not be the case as soon as the dlls have been updated in the installer.:
https://burohappold.sharepoint.com/:f:/s/BHoM/EjQQjb2k76pDs0Nkecwaq4IBOHDMKP_yNS4dcZnx3nYpVA?e=ubLiiO
The ETABSAdapter should work as the previous ETABS18ADapter did. Regular test scripts or project scripts good to use as a test-case.
Changelog
Additional comments