Hey everyone! I’m trying to simplify a graph for our staff by containing a number of nodes within a custom node, but once I put the set of nodes in a custom node, the script no longer works. The script is finding the room center boundaries and using those to create area boundaries, place areas at the room locations, then dumps some data from the room elements to the corresponding area elements. The rooms need to get split up by level since the AreaSeparator.FromCurve node requires a view, so my intention was to place all of the nodes I described above in a custom node so they only have to copy-paste the custom node and Views node for each level.
I think the problem lies in drawing the area boundaries, this section below. This works perfectly fine in the graph, but once I contain them in a custom node and bring that into the graph, the area boundaries won’t get drawn. I added some transaction nodes to the custom node as per suggestions in a similar topic on this forum, but still no luck.
The weird thing is that the ModelCurves are still being output from the custom node…but I can’t see them in the area plan and if I Select by ID in Revit, it says the IDs are invalid.
Another weird thing I’ve noticed is that as the script is running, I will see the area boundaries in the area plan view while the script is still running, but the moment it’s done, they disappear! Anybody know what gives?