You need to convert your Solid to a Revit Family with FamilyType.ByGeometry. You get a family inside your project that you can place anywhere.
Take a look a this post:
https://forum.dynamobim.com/t/sweep-using-model-line-and-2-d-profile/26551
You need to convert your Solid to a Revit Family with FamilyType.ByGeometry. You get a family inside your project that you can place anywhere.
Take a look a this post:
https://forum.dynamobim.com/t/sweep-using-model-line-and-2-d-profile/26551