Getting error in Layer Manager v2
-
I have just downloaded, unzipped, and installed in the Plugins folder Didier Bur's Layer Manager v2, including the Layer Manager folder and its contents, as instructed in the PDF.
It loads without error and displays the toolbar, but none of the buttons appear to do anything when clicked.
In the Ruby Console, when I click (for example) the first button 'Set layer of selection current', I get this error message:
Error: #<NameError: undefined local variable or method
lm_set_current' for main:Object> D:/Program Files/Google/Google SketchUp 6/Plugins/layer_manager_extension_v6.rb:33 D:/Program Files/Google/Google SketchUp 6/Plugins/layer_manager_extension_v6.rb:33:in
call'I have tried it both with nothing selected in the drawing, and with an object selected - same error message, and nothing happens. And similar messages appear for a few other buttons that I tried - 'undefined local variable or method ...' with different names corresponding to the different buttons.
A Google search for the error message turns up nothing, either in this forum, or the wider Internet.
The only two things I can think of that are not entirely standard in my installation of Sketchup, are that it is installed on the drive, not the drive; and that I had an educational Pro licence, which I have not renewed - but I thought that merely reverted the program to behave like the free version.
I have tried to look in the \Plugins\layer_manager_v6.rb script to see if that would point me in the right direction, but is is encrypted.
Any suggestions, please, for what might be preventing this from working? I have a good number of other Ruby scripts, which all seem to work fine. And I used the earlier version of Layer Manager and found it very useful, so would really like to get this to work.
Thanks if anyone can point me in the right direction to fix this. I can do simple Ruby scripting, but not enough to diagnose this error.
John McC
-
I posted earlier about a problem in getting Layer Manager to do anything after apparently successful installation.
I had to reinstall Sketchup for other reasons, and I find that Layer Manager now works. So perhaps something had gone missing, either in the built-in files that Layer Manager uses, or in the Windows Registry.
Anyway, problem solved.
John McC
-
Hi,
Try to replace the min script in your plugins folder with the attached one. I have found a small glitch that may cause the command "lm_set_current" to bug.
No sure if it will solve the problem, but...P.S.: nothing to do with an install on D:/ instead of C:/
Advertisement