Hello Shaun,
I went through your workflow and have a few comments:
-The “FloorType.ByName” node does not create new floor types in your Revit file, but instead only selects existing floor types. You might need to create floor types that match your area load types beforehand.
-
When you pull all your lines with the “All Elements of Category” node, they are not ordered. You must think of a way to select only the lines that are inside the boundaries of the particular host floor (or in your case the area loads). I suggest “Tool.GetSurroundingElements” from SteamNodes or a similar way involving BoundingBoxes.
-
The HostedFloorOpening node will accept a list of curves similar to the “Floor.ByOutlineTypeAndLevel” ( or a list with sublists of curves), you could use polycurves if you extract their curves first with “PolyCurve.Curves”.
Hope that helps. Happy New Year and good luck!