Create Elements from Curve - Family Symbol error and C# related question

Hi,

I been trying out Rhino inside and it’s awesome. However, there are certain things I could not get around. I tried to create Revit elements from curve using RhinoInside Gh component. It seems that only element created from architectural family is created, not structural. I’m not sure if I have used RhinoInside properly or is it a setback that is going to be fixed the future?

Because of that, I tried to script my own component to create Revit structural element. There are two c# component in the attached grasshopper file. Both produced the same error which I could not understand thoroughly.AddElementByCurve Questions.zip (5.8 MB)