Use Dynamo to place an object in another revit file

Hello all
I have created some rectangles in dynamo. I now want to place an object from a revit file into those rectangles. I also want to be able to change the number of rectangles and hence the number of objects.

I picture that i need to import the geometry to dynamo, then push it back to revit? How do i do that?

I am quite new to both dynamo and revit, so i don’t know what is possible. If you have a suggestion on how to solve it or if my problem is unclear, please let me know.


rectangles.dyn (53.1 KB)
rectangularWall.rvt (356 KB)

Thanks!