Hello,
how can i solve this? i just wanna collect elements in my active view (in python2 works well)
active_view_id = doc.ActiveView.Id
elems = FilteredElementCollector(doc, active_view_id).WhereElementIsNotElementType().ToElements()
thats the result in Python2
KR
Andreas
Hi, works for me with the boiler plate code
in CPython3
Under Revit 2023
Cordially
christian.stan
1 Like
@christian.stan ,
i don`t know whats going on in Revit 2024.1
KR
Andreas
Switch to IronPython3 (If your company allows it, me as a teacher, we are more or less dependent on the detached guy who takes care of the network (who is often a teacher), in short, we basically do as we feel )
sorry
Cordially
christian.stan
1 Like