Away from my PC right now, I have a workflow which might be useful…
I can have more of a look tomorrow.
Cheers,
Mark
Edit: I’m thinking of the first Python in there, it converts references to curves and makes them usable in Dynamo with the ToProtoType()… there is also the ToRevitType() method as defined here…