Thanks for the replies,
I sorted out the problem of empty lists by using a second Passthrough. Before ungrouping i needed to obtain the group members and then ungroup.
Although the problem is the same, the new groups dont take the name they should, i tried out with export in excel as Yna_Db propposed, but the problem is still there. I think the problem is that the Python skript of the node doesnt work out properly with my list structure. I think the node Group.FromElements is prepare to create only one group but not serveral groups with several names, at least that is my opinion after looking at the code… although I am not good at python…
As a second option that I am going to try is to do a second dyn. file and rename the groups with the excel list system from Yna_Db.
Attacht is also the dyn and the revit file.
thanks in advance
The Python script from Group.fromElements:
doc = DocumentManager.Instance.CurrentDBDocument
items = UnwrapElement(IN)
ids = list()
rejects = list()
for item in items:
items = List[ElementId] (ids)
—group = doc.Create.NewGroup(items);
—group.GroupType.Name = IN
—group = list()
OUT = (group,rejects)
Fassade Numerierung_02.dyn (24.7 KB)
Test_Ign_05.rvt (1.2 MB)