Family family; FamilySymbol familysy=mdoc.GetElement(family.GetFamilySymbolIds().First()) as FamilySymbol Revit2016版本