I running into an issue where flipped doors trigger a mirred status where it shouldn’t. Luckily the groups I want to check always some same elements.
So I want to alter your script so it checks not the first familyinstance it finds, but rather if a certain family is used, if so, get that orientation.
test = UnwrapElement(groupelements)
for i in test
if isinstance(i, Revit.Elements.FamilyInstance):
if 'wrap' in i.Symbol.Family:
so my family in the group always contains the word ‘wrap’. What am I doing wrong? Been trying to long now, my head is on lockdown