Not applicable
04-15-2017
03:08 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
I need to be able to create new family types in the Project, I have implemented the duplicate method fine. However if a user deletes all types from the project I cant duplicate an existing type, yet this can be done from the project browser> family browser.
if (typeCount > 0)
{
//Duplicate the element type, works perfectly when types exist already
FamilySymbol famSym = oldfamilyObj.Duplicate(newFamilyType) as FamilySymbol;
}
else
{
//if no types exist by default after user deletes all types in family......
//how can i now duplicate the type?
//FamilySymbol famSym = //can i use the default type of create new type like can be done in the revit project browser?
}
Solved! Go to Solution.