Continue to Site

Eng-Tips is the largest engineering community on the Internet

Intelligent Work Forums for Engineering Professionals

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

Etabs API with python

Status
Not open for further replies.

M.FZL

Student
Feb 17, 2022
1
Hi.I'm trying to assign loads to area objects. As you know there are different load values for different areas and stories in a building.
For example the value of dead load is 5 kN/m2 for stories and 5.5 kN/m2 for the roof.
Here is some code that I developed, but it assigns to all of area objects of my model(the model has 80 area objects)and of course,the name of these area objects are not in order to their floors, so I can't divide this code to a few subsets.
Python:
for i in range(1,81):
    SapModel.AreaObj.SetLoadUniform(str(i),"SDEAD",5.3,10)
Is there any solution to assign a specified load to area objects on a specific floor?
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor