Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations JAE 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

Status
Not open for further replies.

InnovatorX

Structural
Joined
Oct 17, 2024
Messages
5
Location
CA
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
 
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.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top