I have a script and I would like it to work with both ModelCurves or Grids as input selection by the end user seamlessly. I have gotten it to work, using the nodes on the right, so it’s not a big deal if I can’t get the DesignScript to work but I would like to understand why my DesignScript doesn’t work here.
PS: The function.apply nodes on the right are just to suppress unwanted errors when trying to convert lines using the Grid.Curve node.
I’m not too familiar with apply list levels and list lacing directly in DesignScript, how would I do that? I’m going to check it in the documentation now but thought to let you know in the meantime.
Thanks for the suggestion @Huettig , however I just can’t get the Grid.Curve to give me anything, no matter what level or lacing option. The Element.Geometry ‘option’ works fine though
Thanks @Nick_Boyts !! I already suspected something regarding that but wasn’t able to get it to work. I knew there was a node specifically for getting the geometry from Revit curves but couldn’t find it so I tried Element.Geometry instead.