My First Extension

Unfortunately this is not an extension rather Snippets.
It is violating one of the main rules (beside many others…):
“Safely namespace your extension to insulate it from other extensions.”

I would recommend to read e.g. this:
https://developer.sketchup.com/hello-cube

You can also use for example the template for extension from Dan:

1 Like