Unfortunately, Revit does not constrain the convention in which the profiles of given shapes need to be defined, i.e. on can create an angle family with one arm pointing leftwards or rightwards. This means that it is hard to draw any convention, therefore we need to account for it in some more direct way (brute force check?).
EDIT: To be resolved together with #986 (see the description for more info).
Self-note: the can possibly be resolved by setting the flips of resultant BHoM profiles based on the relationship between centroid and centre of bounding rectangle of the Revit profile.
Description:
Unfortunately, Revit does not constrain the convention in which the profiles of given shapes need to be defined, i.e. on can create an angle family with one arm pointing leftwards or rightwards. This means that it is hard to draw any convention, therefore we need to account for it in some more direct way (brute force check?).
EDIT: To be resolved together with #986 (see the description for more info).
Test file:
On SharePoint.