I am trying to select all analytical floors in my revit model and create a new area load that is hosted to those elements. I found some coding that created a new line load (http://dynamobim.org/forums/topic/line-loads-creation-via-python/ ) but when I try to adjust it to create an area load I am getting a syntax error in line 34.
Any ideas what I am doing wrong??
One thing I see is that you need to feed the python a LoadType element, not a name (string).
Also check this for documentation of the method: http://revitapisearch.com/html/c0729559-ba92-5705-2a75-87390584c795.htm
Here is another way to create Area load using Rooms.
1 Like
Thanks Guys, below is how I solved the problem
Kulkul, Id be interested to see your python coding!
Nice thanks @Brett_Taylor .
And for those that work in Metric, we can just add the Convert Node.
Create_Hosted_Area_Loads.dyn (6.8 KB)
1 Like
Hi Kulkul
Is there any chance you will be willing to share the python script with me? Also, do you think there is a way to apply various loads (size of loading, 1.5kPa, 3kPa etc…) onto the floor depending on the usage of the room (room type)?
Hi Kulkul
I am very interesting with your script. can I see your python as you show above ?
Thank you
I’ve follow with this script, but when I run, a message alert " TypeError : iteration over non-sequence [‘File " ", line 31, in \n’]