Error message when trying to import windows from Revit

I am very new to Pollination, and while following the tutorial for exporting your first Revit Model on the import window step, i get the following error message:

Traceback (most recent call last): File "/lib/python313.zip/\_pyodide/\_base.py", line 597, in eval_code_async await CodeRunner( ...<9 lines>... .run_async(globals, locals) File "/lib/python313.zip/\_pyodide/\_base.py", line 411, in run_async coroutine = eval(self.code, globals, locals) File "<exec>", line 53, in <module> File "/home/pyodide/dragonfly/room2d.py", line 1563, in assign_sub_faces self.window_parameters = new_win_pars ^^^^^^^^^^^^^^^^  File "/home/pyodide/dragonfly/room2d.py", line 587, in window_parameters assert isinstance(bc, (Outdoors, Surface)), \\ \~\~\~\~\~\~\~\~\~\~^^^^^^^^^^^^^^^^^^^^^^^^^ AssertionError: Ground cannot be assigned to a wall with windows. 

The Model Editor still says that the windows loaded successfully, however, they dont appear on the preview screen.

This is a screenshot of my preview window and where my progress stands with the Model Editor.
P.S. I did try to restart both Revit and the Model Editor, to no effect.

:waving_hand: Hi @goncaloveigacl, welcome to the forum!

The error happens when you try to add windows to an underground wall. It should not happen with this sample model. What are the numbers that you are using for projection distance and angle tolerance when you try to add the windows to the model? I suspect you might be using a very large number, and Pollination is trying to add the skylights to the ground floor.

If that’s not the case, then try to run the Auto top-ground command and set the Basement count to 0.

Then try adding the windows again.

Let me know if this resolves the issue.

Thank you for the quick reply and warm welcome!

I used the same values that were inputed in the video tutorial.
Your second solution did work. Thanks again!