Hello
I am working on a script which set a 3D Model Text value as parameter value by all the Group members, including nested Group members. When all the Groups contains the same depths of Nested Groups, the script runs fine.
When the amount of depths of the Nested groups are not the same for multiple Groups, the nested group members will not be assigned to the right parent group.
Group A contains : Model Group 1 - Nested Model Group 11
Group B contains : Model Group 2 - Nested Model Group 21 - Nested Model Group 22
Group C contains : Model Group 3 - Nested Model Group 31 - Nested Model Group 32
In my script the Group members will be listed like this:
Group A
Model Group 1
Nested Model Group 11
Nested Model Group 22
Group B
Model Group 2
Nested Model Group 21
Nested Model Group 32
Group C
Model Group 3
Nested Model Group 31
The problem occur when a sublist does not contain a Model Group, the sublist will be given back as empty list and will be dropped.
Add House-ID-backup.dyn (68.3 KB)