It creates a Frustum of Regular Prism into a Revit family document using Revit .NET API.

Click here to view the entire blog post.