load_on_start doesn't work in Sketchup.register_extension for SU 2016

25 views
Skip to first unread message

Alexandre Guillemé

unread,
Jan 19, 2016, 10:23:52 AM1/19/16
to SketchUp Ruby API
Hi,
I'm experiencing a problem registering my extension, which appears only in SU2016
I'm creating a file in %ProgramFiles%\Sketchup\Sketchup 2016\tools\ named myPlugin.rb which contains only
include"sketchup.rb"
require_all
("
C:/Program Files/MyProduct/Plugins/")

in C:/Program Files/MyProduct/Plugins/, there's the rb file that registers my extension, containing
...
myExt
= SketchupExtension.new "My product", "subFolder/aplugin"
...
Sketchup.register_extension myExt, true

and in subfolder, the file aplugin.rbs implementing the plugin.


When I do that on older versions of SU (2013-2015), it works perfectly.
Now, on SU 2016, the extension is visible in window->preferences->extensions but is not checked by default.
Why does this behavior has changed since this version ?!

Thanks.

Dan M

unread,
Jan 21, 2016, 10:59:24 PM1/21/16
to SketchUp Ruby API
I am hearing about this exact same behavior from some users and have not been able to figure out what is going on.  Our plugin is not installed through the extension warehouse but it is digitally signed.

Alexandre Guillemé

unread,
Jan 22, 2016, 2:54:34 PM1/22/16
to sketch...@googlegroups.com

I posted the question on the new SU forum and had an answer :
http://forums.sketchup.com/t/load-on-start-doesnt-work-in-sketchup-register-extension-for-su-2016/19252/1

--
You received this message because you are subscribed to a topic in the Google Groups "SketchUp Ruby API" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/sketchupruby/16LKPfN32vs/unsubscribe.
To unsubscribe from this group and all its topics, send an email to sketchupruby...@googlegroups.com.
To post to this group, send email to sketch...@googlegroups.com.
Visit this group at https://groups.google.com/group/sketchupruby.
For more options, visit https://groups.google.com/d/optout.
Reply all
Reply to author
Forward
0 new messages