I am trying to use a graph from a post found in the link below to apply area loads to a model.
The script works great if you want to apply a single load to multiple floors, but if I try to feed a list of multiple different loads to the to multiple floors the python node fails and I get the following message:
Warning: IronPythonEvaluator.EvaluateIronPythonScript operation failed.
Traceback (most recent call last):
File “”, line 25, in
AttributeError: ‘list’ object has no attribute ‘ToXyz’
I found the below post that suggests why I get the error but I don’t understand where to place the correction in the script.
It’ll probably be very clear by the screenshot below of my attempted fix that I have little knowledge of python. This didn’t fix this issue.
Anything that could help me understand this better would be great. Apologies if this doesn’t satisfy point 7 of the ‘how to post’ post. I have so far been unable to find many similar posts that help me understand where I’m going wrong.
Create_Hosted_Area_Loads.dyn (6.8 KB)