-
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
Fix Bug when Creating Bars in ETABS21 #482
Comments
@IsakNaslundBh, The BHoM method cFrameObj.SetInsertionPoint() works perfectly on ETABS20 but fails when using ETABS21. Checked the ETABS API documentation for ETABS 21 but nothing looks to have changed. Tried also to decompile it and looks identical to the .dll of ETABS2020.... no clue what's going on here :D Do you have any ideas what the problem could be? |
@GCRA101 no real initial idea without further investigation. What is the exception being thrown saying? Might be possible to at least deactivate this row for ETABS2021 in particular in case we cant find a better solution to actually get it to work. Have not checked, but would hope that the |
@IsakNaslundBh, @peterjamesnugent, I've tested the function cFrameObj.SetInsertionPoint() (the one that is giving problems) in a VBA script and it's giving the same error. Tried different possible sorting of the input parameters but none of them works. Looks that inside the function they are trying to cast a double array into a boolean variable. Error Message in screenshot below. |
Description:
When running the push of bars using ETABS 21, the ETABS API method cFrameObj.SetInsertionPoint() called within the BHoM Create.Bar.cs class fires an exception that interrupts the push.
Neither the BHoM Code and the ETABS API method have changed since the previous version (ETABS 20).
This bug prevents any push of bar objects to ETABS 21 models using the BHoM.
Steps to reproduce:
Expected behaviour:
Bars get pushed into the ETABS 21 model as expected.
Test file(s):
https://burohappold.sharepoint.com/:u:/r/sites/BHoM/02_Current/12_Scripts/01_Issue/BHoM/ETABS_Toolkit/%23482-FixBugWhenCreatingBarsInEtabs21/BHoM%207.3.1%20Test%20-%20Bar%20Object%20Push%20to%20ETABS%2021%201.gh?csf=1&web=1&e=2XWgCj
The text was updated successfully, but these errors were encountered: