I have an Error occuring at the"Curve.Length", when i try to calculate the length from delaunay surface. When I run it in my some project, this script runs smoothly, but when i try in another project this message appear.
Thank you for your Help
Im pretty sure if you check your list of analysis grid, you have a
value somewhere so the
Curve.Length node is outputting an error.
i’ve checked manually and also checked with “list.clean” script, and i didnt found any null data
can you provide the script and a sample revit file?
there are the script and my revit file
October 16, 2020, 6:04am
filter out the value that cause the problem or use list.map.
@paris, i am new to this thing, and i don’t know what you mean. Can you please explain to me
Try using an Object.Type node after your codeblock for the analysis grid and then a List.UniqueItems, and preview the results. If any of those object types don’t have a valid length.
October 16, 2020, 11:30am
@farhanardianzaf can you show the error of your node “Curve.Length” and the image of your graph? check also the output of “Curve.Length” node like this:
October 16, 2020, 11:37am
@jacob.small I don’t see your post before…
No worries! The visual is likely more helpful here.