Is "myETABSObject" created?
Have you tried this from the sample code provided with ETABS 22 documention?
Visual Basic for Applications (VBA) via Excel
'create an instance of the ETABS object from the latest installed ETABS
Set myETABSObject =...
My bad, i thought that this was (3) individual line (frame) segments already broken up.
It would be helpful to see the applied loading to the element and see what you are trying to retrieve. Can you post some more info?
It looks like in your output, there is an applied load at 3.33 ft in...
Did you see this post?
https://www.eng-tips.com/threads/etabs-api-steel-beam-design-shear-reactions.477440/
You can access results for your beam with the code in the post. You can access along stations as well if you like. With this info you could recreate your applied forces.
You could also...
@ElyasCivil
What version of ETABs are you running? I tried on v22..0.0 and was able to reproduce the error.
Image of the functional load case.
Before:
After:
Error:
I would submit a ticket on this to CSI.
Did you manually apply that load to the joint under seismic Y? The double arrow head in your image means that is a twisting moment (Mz), not a vertical load.
That function returns all of the spandrel forces in the whole project, you would have to do some post processing to edit down the spandrel data to a per level/per spandrel result.
It is helpful to think of "ref" as what is returned from the function, anything with the "ref" keyword is output...
Not many of the API functions have examples written with python as one of the examples, but it's generally not too hard to piece together what to throw in there given the VBA/C# example code.
There is some boiler plate python code at the beginning of the API documentation now as well.
S&T
Have you tried through database table methods?
Generally, if you can access a table through the GUI, you should be able to programmatically access it through database table methods.
My github has a few examples of interacting with database tables...
Hi Raj,
I have not coded in VBA before, but the code in C Sharp needs to look a bit different than what you have shown.
int NumberItems = 0;
int[] ObjectType = null;
string[] ObjectName = null;
_SapModel.SelectObj.GetSelected(ref NumberItems, ref ObjectType, ref ObjectName);
S&T
Rajavardhan, I would think a combination of getting selected objects, filtering out frames and areas and then testing for material property types would do the trick.
S&T
It is likely that your deck is not very stiff, therefore in your semi rigid diaphragm model, your model is probably very closely mimicking a "flexible diaphragm" where load is distributed based on tributary area.
With a rigid diaphragm, your loads are distributed based on the stiffness of the...
To be a contrarian, I have not had any trouble with applying user defined loads to semi-rigid diaphragms. Hopefully CSI expanded a bit more than the quote that you posted.
If you have your semi rigid diaphragm modelled with enough sub-divisions, I feel like this is a non-issue. I typically...
If you put in a single point load, yeah you will get some odd diaphragm results. If you make a rigid diaphragm, you get no results in your diaphragm.
If you have wind tunnel loading, you can make your input in ETABs as detailed as you would like. If you want down and dirty, apply the load to...
Solved this one, seems like databasetables are the play moving forward with API. All this info is contained in the database table, using GetTableForDisplayArray function
S&T - www.re-tug.com
I am trying to retreive auto seismic loading information with the ETABs API.
A few problems I am running into.
The documentation points to this AutoSeismic.GetASCE716() being available and it would expose a lot of the information I am looking for:
The problem is that I do not see this...
A little more info, applyedited tables seems to acknowledge that only some tables are editable.
You can do add section cut through regular user interface with the model being locked,
In addition, the function returns 0 which means it was able to execute correctly, but that database table...
I have been trying to make some upgrades to the section cut tool, mainly trying to prevent needless re-runs of the analysis if analysis has already run.
In doing this, I have checked to see if results are available, and if they are, I am skipping the run analysis call on the ETABs model...