I tried all day to solve a weird problem but I simply can’t find a solution.
I am trying to create multiple roofs which are shaped by points. The user inputs are ModelCurves as the top of the roof outline and RoofTypes. The script than creates
- a planar outline at the bottom of the roofs
- a level at the bottom of the roofs
- control points for the shape
Afterwards it creates the roofs, changes the shape by the given points and saves the element ID’s as a parameter
The script works as intended until I create a custom node out of it. When I use it as custom node the elements get created as intended (judging by the output values) but they never show up in Revit. Furthermore if I try to select the elements by ID outside of the custom node flow they aren’t found.
Does anybody have an idea how to solve that?
Expected result created without CustomNode:
CustomNode.dyf (113.7 KB)
Test-CustomNode.dyn (21.8 KB)