Please Help. Unable to export to Revit geometry

I am new to Dynamo and have followed a tutorial online for generating Pixel to Perforation (from a jpeg).

When using the script provided on the website, the geometry is formed within Dynamo albeit it will not export to a Revit conceptual mass when utilising the modelcurve.by curve tool.

Any help is greatly appreciated.