I am trying to make a script where when a user constructs a window on revit, it automatically gets you a point in front of a window and makes a triangle between that point and two other points from the lower window corners.
I was able to achieve it and it worked however when I added more windows on Revit and pressed Run, it became like an image below. It seems like I’m not organizing the data well that its not modular.
Is there a way to organize your data so that it can be modular? thank you for your help.