For some reason I cannot export my GEM file after getting the whole model successfully validated. I’m not sure what this error code is indicating?
Hi @kevinhertig1,
There is a small degenerate geometry in your model that is causing the issue. Can you email us the PoMF file? I’ll have a closer look and get back to you.
cc: @chriswmackey
Thanks for bringing this to our attention, @kevinhertig1 .
I took a look at the line of code where the error originated from and found two pretty obvious bugs. So I think it is likely that one of these is to blame for the error here. It seems I must have written this code years ago before I learned the lesson “do not edit a list as you are iterating over it… unless you are prepared for the consequences.”
I pushed a fix here:
If you can share your model with us, I can verify that the fix addresses your issue and send you the exported to GEM to unblock you.
Alternatively (or additionally), I think running the Repair Windows command on all of the rooms your model with a “Small Area Threshold” of at least 1 cm2 might be able to fix it and unblock you but that will depend a little on how your model is set up.
Lastly, @mostapha can let you know once there’s an official version of the Revit plugin that has the fix in it.
Hey @kevinhertig1 ,
Sorry that I forgot to update you and say that Mostapha shared your model with me and I confirmed that the fix I had pushed addressed the issue. We just updated the production version of the model editor with the fix 20 minutes ago. So the issue should be addressed now and, if you open your original POMF in the model editor now, you should find that you are able to export it to GEM.
Given that everything has been addressed, I’m going to unassign myself from this topic but just let me know if you have any other questions and I can reassign myself.
Thanks again for reporting the issue. It seems that this bug was in there for quite some time but it remained hidden because it was only possible to experience it if you had a sliver-like door in your model. We probably would not have found it without you letting us know.