Creating new system type for an empty system family.

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
Im trying to create a new type with the Revit API for a system family. Specifically trying to create a new MullionType if a project has purged any of the Rectangular and Quad Corner types.
What I know:
There is plenty of documentation to create a duplicate of an existing type using the familyType.Duplicate(stringName) method.
Also, I know that one can use the document.EditFamily(family).FamilyManager.NewType(stringName) method if you have an editable family.
But for system families, such as the Rectangular Mullion Family, you cannot use the document.EditFamily(family).FamilyManager.NewType(stringName) method. This throws the exception note: "This family is not editable".
Question:
How do I create a new type for an empty system family without manually selecting "New Type". Halp!
Thanks!