Hey, recently i started converting my dynamo scripts into complete codes and here i’m facing an issue right now with the shortcurve tolerance error
I could suggest you use Application.ShortCurveTolerance property as a length guide
As this is the Dynamo forum and you are working in pyRevit please direct your questions the pyRevit forum