A prerequisite to writing SketchUp extensions is to understand how SketchUp works and how it’s models are organized.
(1) First learn core Ruby
(2) Understand how Ruby extensions files and folders are organized:
-
https://help.sketchup.com/en/extension-warehouse/extension-encryption-and-signing
-
When organized correctly with an extension registrar script in the “Plugins” folder, SketchUp will load the extension when it starts up. The registrar script must instantiate an extension data object of class:
SketchupExtension
API data class
(3) Study the SketchUp Ruby API which extends core Ruby.
(4) Examine example extensions:
(5) Learn how to search the forum and a specific forum subcategory using the forum’s search feature (the icon at the top right.)