Import Dynamo Geometry to Revit

I’ve created the geometry of a structure using points and lines within the dynamo add-in for Revit 2015 and would like to import the geometry into Revit. What is the best way to do this in a new Revit file? I’ve tried ImportInstance.ByGeometries but nothing is appearing in Revit no matter what view I have displayed. All I want to do for the moment is display nodes and lines in Revit.

Could you share your graph or some screen shots? ImportInstance should work fine.

It’s ok, I’ve got it working now. I was combining rectangles with lines in a list and then flattening it but it worked when I removed the rectangles from the list.