Trying to match Panel centroid

Hey everyone,

I am trying to create a screen in Revit using a pattern I created in Rhino/Grasshopper. I have the centroids defined for each panel, and am trying to move the patterned panel into the position of the corresponding curtain wall panel from Revit. In this picture you can see the patterned panels (right) That I am trying to move to the Revit Panels’ (Left) position. But the order of the points are all messed up. Is there a grasshopper component that will help me match the point organization so that the numbers of each point match? I don’t think it matters which screen point guides the other, I just want the orientation of the numbers for each screen to match.

Screen Imports V2.rvt (17.6 MB)

RhinoInRevit Test V2.gh (84.8 KB)

RhinoInRevit Test V2.3dm (77.4 KB)

Hi Marcus,

Its always helpful to include the Revit / Rhino about info(your image was helpful in this regard but sometimes the details matter). Thanks

There are number of ways to sort, if you break out this question without the Revit components you can get some additional (shorter) methods in the Grasshopper Forum.

Here is a quick go at that groups by the Z, then sorts by the Y.

RE_RhinoInRevit Test V2.gh (89.2 KB)