Sorry about the misuse, In fact it was the first issue (I tried to delete it but I can't), and I had the right to show only one photo. The issue isn't the same because I changed completely my approach.
Here is my Dynamo File (can't open Revit without the company's server licence).
I can Send you screens monday.
To explain what I did for the moment:
Objective: Créacte a lintel (beam) on each window or door of my projet (for structural analysis, I export my model on Arche Ossature)
What I did, I Selected all my windows of the project, used the function
- Bounding box by geometry
- Bounding box min point
- Bounding box max point
To extract two point suse them to create a curve and a beam based on that curve.
But the problem is as shown on the photo the points are not alined with the wall, I want to project them on the wall and my problem will be solved.
I found another subject "http://dynamobim.org/forums/topic/always-get-the-outer-faces-of-walls/ " so the idea is to project my points on this surface.
Thaank you for your time
E2 création poutres sur fenetres V3.dyn (29.7 KB)