Hello dear professionals. I did some research regarding the coordinate systems in Dynamo already.
I would be glad to here from you some new ideas about how you can deal with this task.
Very often I have a groups of elements (composite ceiling panels lets say). And the grid of paneling is not perpendicular to the default Revit coordinate system (Pic 1). So I have already those panels modeled. I need to create the supporting system for those. In order to have this done I need a Grid of points so I will be able to create the supporting system. But since Dynamo gives to us points coordinates in it’s default coordinate system (CS at Origin), I can not sort and group the points as per their X and Y coordinates values what will give me rows and columns.
The only way what I found is to go with Geometry.Transform Node with all it’s train of nodes that it requires (Pic 2). And as result I have the points that were transformed to Revit default coordinates system (Pic 3).
So I placed my custom CS in the lower corner of elements and aligned the axes with lines (Pic 4) and I got the result as shown on Pic 3 with which I can create a points grid.
But what I would like to hear from you is your ideas about that. Maybe you know more efficient way with less quantity of nodes for transformation of coordinates. Maybe there is a way how to get relative coordinates directly with out this Geometry transform Node, which I don’t like because it regenerates the geometry that I don’t need in origin so it makes the logic heavier for computation.
Or you know the way how I can sort and group the points in rows and columns with out any manipulations with coordinate systems at all…