Hello,
I think I found a bug in parts assemblies. When Revit native groups assembly instances to assembly types, only geometry (and maybe material) is taken into account. This leads to inconsistencies in the rotation of the assembly origin (or better, its coordinate system), as neither wall orientation nor span direction of the original element are seen.
It can be found, for example, in walls of 3 layers where the two outer layers are defined the same way. If parts have the same size, some assemblies may be flipped and others not.
Also, in parts deriving from floors, the issue is the same.
This occurs even if I set the orientation of the assembly origin by code the same way - in the Revit model, they then may be flipped.
I attached some pictures to make clearer what I meant.
Thanks for your reply!