Sketchup Unable to Save Model

If you don’t want to use the extension, you can just use the snipet of code inside.