SketchUp Extension Template
Multi-File, Multi-Class with SharedConstants Mixin Module
MultiClass_MultiFile.zip (2.8 KB)
NOTE: Typo error (reported below.)
Change module name “Author” in the template files to your own unique top-level company name, brand name, initials, or online nickname. (Do not use some other entity’s trademarks, salesmarks, brandnames, patented names, etc. Ie, do not use “Sketchup” or “Layout” in any form, in any case combination, with or without appended or prepended words.)
Change the “MultiClassPlugin” sub-module name (in all files,) to the name of your particular plugin.
Save your template as encoding UTF-8 without BOM (Bit Order Mark.)
It is also recommend that Unix type end of lines be used. (Although some prefer Windows EOLs on PC because snippets can be pasted into the Ruby Console and line breaks work. Snippets with Unix EOLs will not line break in the PC console. I personally have only the little snippet files in my “Snippets” folder set to Windows EOLs.)