I can get Revit Elements type that
type_ = [UnwrapElement(i).Symbol for i in elements]
but i cant get the name:
type_name=[UnwrapElement(i).Symbol.Name for i in elements]
Why?
I can get Revit Elements type that
type_ = [UnwrapElement(i).Symbol for i in elements]
but i cant get the name:
type_name=[UnwrapElement(i).Symbol.Name for i in elements]
Why?
My final goal - its get list from node Family Type , but using python
Hi @til.shviger
Could you show complete screenshot of your script.
Hi @Kulkul
My code doesnt right
doc = DocumentManager.Instance.CurrentDBDocument
uiapp = DocumentManager.Instance.CurrentUIApplication
app = uiapp.Application
uidoc=DocumentManager.Instance.CurrentUIApplication.ActiveUIDocument
collector = FilteredElementCollector(doc)
filter = ElementCategoryFilter(BuiltInCategory.OST_GenericAnnotation)
els=collector.WherePasses(filter).WhereElementIsNotElementType().ToElements()
symbol=[ Element.Name.GetValue(UnwrapElement(i).Symbol) for i in els]
i think i must use this topic
but i cant use self
@til.shviger Is this what your looking?
@Kulkul this work perfect , thank you so much