I have searched the forum but yet to find any answers regarding writing curve geometry to another family including setting Element.SetSubCategory to set the line-type and if possible associate parameters if possible but not required.
I have seen lots of nodes to write solid geometry to family’s and family instance but nothing for curves. Is this something that can be scripted or will ModelCurve.ByCurve only ever write to the open family connected to the dynamo document.
I have found this but it looks like its still going to create the curve in the open family document and not in a different one. http://wiki.theprovingground.org/revit-api-py-curves.