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.
Is there any solution to assign a specified load to area objects on a specific floor?
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)