Continue to Site

Eng-Tips is the largest engineering community on the Internet

Intelligent Work Forums for Engineering Professionals

  • Congratulations waross on being selected by the Eng-Tips community for having the most helpful posts in the forums last week. Way to Go!

ETABS API Pier and Spandrel Forces ETABSv1.dll ETABS 21 & 22

InnovatorX

Structural
Oct 17, 2024
2
I am trying to extract forces for a specified spandrel at a specific story and location, but the results are provides for all spandrels on all stories and at left & right. I have tried double and single quotations or defining parameters as arrays but no change in results. There seems to be no difference between the followings. Any help is greatly appreciated.


ret = self.sapmodel.Results.SpandrelForce(0, 'ST1', 'S1', [], 'Left', [], [], [], [], [], [])
ret = self.sapmodel.Results.SpandrelForce(0, “ST1”, “S1”, [], “Left”, [], [], [], [], [], [])
ret = self.sapmodel.Results.SpandrelForce()

results:
[4, ('ST2', 'ST2', 'ST1', 'ST1'), ('S2', 'S2', 'S1', 'S1'), ('Dead', 'Dead', 'Dead', 'Dead'), ('Right', 'Left', 'Right', 'Left'), (-342.67, …

ETASB 21.1/22.2
ETABSv1.dll
Python
comtypes

Thanks
 
Replies continue below

Recommended for you

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.

spandrel_results_zxm5h9.png


It is helpful to think of "ref" as what is returned from the function, anything with the "ref" keyword is output and not input to the API call.

ref_d5qxpl.png




S&T
 
@sticksandtriangles thanks for your quick reply. Truly appreciated.
 

Part and Inventory Search

Sponsor