We’ve had a nice post how to get a mirrored state of a group (Group is mirrored (or not)), you created your own ‘version’ more robust etc. of it.
Now I’m running into this interesting dynamo/revit thing which will fail your script.
The fail is because the list order of items isn’t the same for the reference groups… or for some.
Since you use a counter to check the mirrored state of that specific instance, in my case it checks a wall. So original num=0 (a door), checked groups has num 0: door, door, wall, door, wall etc.
So SOMETIMES it’s ok, SOMETIMES the list order has changed and therefor compares the wrong item.
Now things get really interesting. -.-
I’ve created a simplefied version of what I experience.
the screencast should be explaining itself (can’t do voice / audio).
Any thoughts on how to further bulletproof your node?
Or how to prevent / ensure the list order is always the same.
BTW: removing the strange-order-groups results in a correct working GroupIsMirrored node (returning false/true)