Attempted to read or write protected memory. This is often an indication that other memory is corrupt

there is a bug in this node - thanks for reporting it:

these curves need to be disposed, I will report it to the Revit team.

potential fix:

1 Like