A Revit window is automatically placed in a Revit room with reference to a Revit furniture desk. Algorithm searches the closest external wall to the desk to place the window.
Revit 2018
Dynamo 2.03
IronPython >= 2.7.5
Open Revit and create some walls & place a furniture in a room.
Open Dynamo under Manage tab.
Make sure that you installed IronPython properly.
Choose Python component in Dynamo.
Copy and paste the code OR use the dynamo file provided in this repository directly.