my plugin folder looks like this:
/SP/core.rb /SP/foo.rb /SP/... SP_ext.rb
SP_ext.rb I register my extension:
plugin = SketchupExtension.new('SP', File.expand_path('../SP/core.rb', __FILE__)) Sketchup.register_extension(plugin, true)
SP/core.rb I load my other files and create everything my extension needs:
Sketchup.require('file') it will load the correct file, but in the initializer of
SketchupExtension I need to register a specific file. Do I need to make the distinction myself? Is the registration itself in the proper place or should this go into another file?
Is there supposed to be another way now that SU2016 encrypts some file itself?