[Plugin] Layers Panel 1.2.1
-
-
I spoke to the Trimble guys, and it seems to be an issue with SU2014 itself. In some cases, ruby fails to load properly, when double-clicking on a file.
There's not much I can do... Trimble is working to fix it.
Meanwhile, try to open Sketchup, and then open your files with "Files > Open".EDIT : Oh well, I'm too slow
-
vremennyi, yinliangxxxx, babak,
Try replacing the file"Plugins/jbb_layers_panel/layers_panel.rb"
by the attached one (see below), and tell me if it works.
-
%(#004080)[jiminy-billy-bob, thank you for your quick answer.
I still get the following error while launching from d:\ or network.]Erreur de chargement du fichier C:/Users/vfr/AppData/Roaming/SketchUp/SketchUp 2014/SketchUp/Plugins/jbb_layers_panel/layers_panel.rb
Error: #<LoadError: cannot load such file -- dl>
C:/Program Files (x86)/SketchUp/SketchUp 2014/Tools/RubyStdLib/Win32API.rb:5:inrequire' C:/Program Files (x86)/SketchUp/SketchUp 2014/Tools/RubyStdLib/Win32API.rb:5:in
<top (required)>'
C:/Users/vfr/AppData/Roaming/SketchUp/SketchUp 2014/SketchUp/Plugins/jbb_layers_panel/layers_panel.rb:32:inrequire' C:/Users/vfr/AppData/Roaming/SketchUp/SketchUp 2014/SketchUp/Plugins/jbb_layers_panel/layers_panel.rb:32:in
rescue in module:JBB_LayersPanel'
C:/Users/vfr/AppData/Roaming/SketchUp/SketchUp 2014/SketchUp/Plugins/jbb_layers_panel/layers_panel.rb:28:in<module:JBB_LayersPanel>' C:/Users/vfr/AppData/Roaming/SketchUp/SketchUp 2014/SketchUp/Plugins/jbb_layers_panel/layers_panel.rb:5:in
<top (required)>'
C:/Program Files (x86)/SketchUp/SketchUp 2014/Tools/extensions.rb:197:inrequire' C:/Program Files (x86)/SketchUp/SketchUp 2014/Tools/extensions.rb:197:in
load'
C:/Users/vfr/AppData/Roaming/SketchUp/SketchUp 2014/SketchUp/Plugins/jbb_layers_panel.rb:39:inregister_extension' C:/Users/vfr/AppData/Roaming/SketchUp/SketchUp 2014/SketchUp/Plugins /jbb_layers_panel.rb:39:in
<top (required)>' -
Well, in that case we just need to wait for trimble to fix this.
-
Error Loading File C:/Users/Administrator/AppData/Roaming/SketchUp/SketchUp 2014/SketchUp/Plugins/jbb_layers_panel/layers_panel.rb
Error: #<LoadError: cannot load such file -- Win32API>
C:/Users/Administrator/AppData/Roaming/SketchUp/SketchUp 2014/SketchUp/Plugins/jbb_layers_panel/layers_panel.rb:19:inrequire' C:/Users/Administrator/AppData/Roaming/SketchUp/SketchUp 2014/SketchUp/Plugins/jbb_layers_panel/layers_panel.rb:19:in
module:JBB_LayersPanel'
C:/Users/Administrator/AppData/Roaming/SketchUp/SketchUp 2014/SketchUp/Plugins/jbb_layers_panel/layers_panel.rb:5:in<top (required)>' E:/Trimble/Sketchup.14/Tools/extensions.rb:197:in
require'
E:/Trimble/Sketchup.14/Tools/extensions.rb:197:inload' C:/Users/Administrator/AppData/Roaming/SketchUp/SketchUp 2014/SketchUp/Plugins/jbb_layers_panel.rb:39:in
register_extension'
C:/Users/Administrator/AppData/Roaming/SketchUp/SketchUp 2014/SketchUp/Plugins/jbb_layers_panel.rb:39:in `<top (required)>'it's same problem
su2014en @ win7x64chinese
so I guess, that's something about system, Trimble had better fix it -
interestingly, if you pin a file to sketchup 2014, and launch from the taskbar jumplist, it will open without errors - dont know if that helps
-
Here is a short video showing how the render feature works.
-
@unclebim said:
@jiminy-billy-bob said:
@unclebim said:
@unclebim said:
- Not sure whether since ver. 0.4 or 0.5 but in both SU 8 and SU 2013 Edit->Paste and Ctrl+V do not work, Edit->Paste in place works though. Removing the plugin files from SU Plugins folder resolved the problem in both SU 8 and SU 2013. Also renaming layers in the native SU Layers window sometimes caused bugsplat with the plugin installed in SU 2013.
Weird. Does it work when Layers Panel is installed but closed ?
- Well it does happen no matter whether Layers Panel is open or closed. What happens is that you can see the pasted object shortly on the screen and then it disappears and the move tool cursor reverts back to the formally active tool. I tried this with groups and components and with ungrouped geometry. The problem occurs when the pasted object requires the creation of a new layer that does not exist in the file already. If I make a layer with the same name that the pasted object is on then it can be pasted. Although I have a problem pasting a nesting group in Layer 0 and I have no problem pasting the nested groups together (also on Layer 0). Moving the same nesting group on a newly created (after Layers Panel installation) layer does not help. Making the group a component also.
I can still report the same problem with both SU 2013 and SU 2014. Here are the respective error reports:
Error: #<TypeError: reference to deleted Entity>
C:/PROGRA~2/SketchUp/SKETCH~1/Plugins/jbb_layers_panel/rb/methods.rb:48:inget_attribute' C:/PROGRA~2/SketchUp/SKETCH~1/Plugins/jbb_layers_panel/rb/methods.rb:48:in
IdLayer'
C:/PROGRA~2/SketchUp/SKETCH~1/Plugins/jbb_layers_panel/rb/observers.rb:73:inonLayerAdded' C:/PROGRA~2/SketchUp/SKETCH~1/Plugins/#WorkPlane.rb:274:in
call'
C:/PROGRA~2/SketchUp/SKETCH~1/Plugins/#WorkPlane.rb:274
Error: #<TypeError: reference to deleted Entity>
C:/PROGRA~2/SketchUp/SKETCH~1/Plugins/jbb_layers_panel/rb/methods.rb:48:inget_attribute' C:/PROGRA~2/SketchUp/SKETCH~1/Plugins/jbb_layers_panel/rb/methods.rb:48:in
IdLayer'
C:/PROGRA~2/SketchUp/SKETCH~1/Plugins/jbb_layers_panel/rb/observers.rb:73:inonLayerAdded' C:/PROGRA~2/SketchUp/SKETCH~1/Plugins/jbb_layers_panel/rb/methods.rb:48:in
call'
C:/PROGRA~2/SketchUp/SKETCH~1/Plugins/jbb_layers_panel/rb/methods.rb:48
Error: #<TypeError: reference to deleted Entity>
C:/PROGRA~2/SketchUp/SKETCH~1/Plugins/jbb_layers_panel/rb/methods.rb:48:inget_attribute' C:/PROGRA~2/SketchUp/SKETCH~1/Plugins/jbb_layers_panel/rb/methods.rb:48:in
IdLayer'
C:/PROGRA~2/SketchUp/SKETCH~1/Plugins/jbb_layers_panel/rb/observers.rb:73:inonLayerAdded' C:/PROGRA~2/SketchUp/SKETCH~1/Plugins/jbb_layers_panel/rb/methods.rb:48:in
call'
C:/PROGRA~2/SketchUp/SKETCH~1/Plugins/jbb_layers_panel/rb/methods.rb:48
Error: #<TypeError: reference to deleted Entity>
C:/PROGRA~2/SketchUp/SKETCH~1/Plugins/jbb_layers_panel/rb/methods.rb:48:inget_attribute' C:/PROGRA~2/SketchUp/SKETCH~1/Plugins/jbb_layers_panel/rb/methods.rb:48:in
IdLayer'
C:/PROGRA~2/SketchUp/SKETCH~1/Plugins/jbb_layers_panel/rb/observers.rb:73:inonLayerAdded' C:/PROGRA~2/SketchUp/SKETCH~1/Plugins/jbb_layers_panel/rb/methods.rb:48:in
call'
C:/PROGRA~2/SketchUp/SKETCH~1/Plugins/jbb_layers_panel/rb/methods.rb:48
Error: #<TypeError: reference to deleted Entity>
C:/PROGRA~2/SketchUp/SKETCH~1/Plugins/jbb_layers_panel/rb/methods.rb:48:inget_attribute' C:/PROGRA~2/SketchUp/SKETCH~1/Plugins/jbb_layers_panel/rb/methods.rb:48:in
IdLayer'
C:/PROGRA~2/SketchUp/SKETCH~1/Plugins/jbb_layers_panel/rb/observers.rb:73:inonLayerAdded' C:/PROGRA~2/SketchUp/SKETCH~1/Plugins/jbb_layers_panel/rb/methods.rb:48:in
call'
C:/PROGRA~2/SketchUp/SKETCH~1/Plugins/jbb_layers_panel/rb/methods.rb:48
Error: #<TypeError: reference to deleted Entity>
C:/PROGRA~2/SketchUp/SKETCH~1/Plugins/jbb_layers_panel/rb/methods.rb:48:inget_attribute' C:/PROGRA~2/SketchUp/SKETCH~1/Plugins/jbb_layers_panel/rb/methods.rb:48:in
IdLayer'
C:/PROGRA~2/SketchUp/SKETCH~1/Plugins/jbb_layers_panel/rb/observers.rb:73:inonLayerAdded' C:/PROGRA~2/SketchUp/SKETCH~1/Plugins/jbb_layers_panel/rb/methods.rb:48:in
call'
C:/PROGRA~2/SketchUp/SKETCH~1/Plugins/jbb_layers_panel/rb/methods.rb:48Error: #<TypeError: reference to deleted Entity>
C:/Users/Bim/AppData/Roaming/SketchUp/SketchUp 2014/SketchUp/Plugins/jbb_layers_panel/rb/methods.rb:48:inget_attribute' C:/Users/Bim/AppData/Roaming/SketchUp/SketchUp 2014/SketchUp/Plugins/jbb_layers_panel/rb/methods.rb:48:in
IdLayer'
C:/Users/Bim/AppData/Roaming/SketchUp/SketchUp 2014/SketchUp/Plugins/jbb_layers_panel/rb/observers.rb:73:inblock in onLayerAdded' -e:1:in
call'
Error: #<TypeError: reference to deleted Entity>
C:/Users/Bim/AppData/Roaming/SketchUp/SketchUp 2014/SketchUp/Plugins/jbb_layers_panel/rb/methods.rb:48:inget_attribute' C:/Users/Bim/AppData/Roaming/SketchUp/SketchUp 2014/SketchUp/Plugins/jbb_layers_panel/rb/methods.rb:48:in
IdLayer'
C:/Users/Bim/AppData/Roaming/SketchUp/SketchUp 2014/SketchUp/Plugins/jbb_layers_panel/rb/observers.rb:73:inblock in onLayerAdded' -e:1:in
call'
Error: #<TypeError: reference to deleted Entity>
C:/Users/Bim/AppData/Roaming/SketchUp/SketchUp 2014/SketchUp/Plugins/jbb_layers_panel/rb/methods.rb:48:inget_attribute' C:/Users/Bim/AppData/Roaming/SketchUp/SketchUp 2014/SketchUp/Plugins/jbb_layers_panel/rb/methods.rb:48:in
IdLayer'
C:/Users/Bim/AppData/Roaming/SketchUp/SketchUp 2014/SketchUp/Plugins/jbb_layers_panel/rb/observers.rb:73:inblock in onLayerAdded' -e:1:in
call'
Error: #<TypeError: reference to deleted Entity>
C:/Users/Bim/AppData/Roaming/SketchUp/SketchUp 2014/SketchUp/Plugins/jbb_layers_panel/rb/methods.rb:48:inget_attribute' C:/Users/Bim/AppData/Roaming/SketchUp/SketchUp 2014/SketchUp/Plugins/jbb_layers_panel/rb/methods.rb:48:in
IdLayer'
C:/Users/Bim/AppData/Roaming/SketchUp/SketchUp 2014/SketchUp/Plugins/jbb_layers_panel/rb/observers.rb:73:inblock in onLayerAdded' -e:1:in
call'
Error: #<TypeError: reference to deleted Entity>
C:/Users/Bim/AppData/Roaming/SketchUp/SketchUp 2014/SketchUp/Plugins/jbb_layers_panel/rb/methods.rb:48:inget_attribute' C:/Users/Bim/AppData/Roaming/SketchUp/SketchUp 2014/SketchUp/Plugins/jbb_layers_panel/rb/methods.rb:48:in
IdLayer'
C:/Users/Bim/AppData/Roaming/SketchUp/SketchUp 2014/SketchUp/Plugins/jbb_layers_panel/rb/observers.rb:73:inblock in onLayerAdded' -e:1:in
call'
Error: #<TypeError: reference to deleted Entity>
C:/Users/Bim/AppData/Roaming/SketchUp/SketchUp 2014/SketchUp/Plugins/jbb_layers_panel/rb/methods.rb:48:inget_attribute' C:/Users/Bim/AppData/Roaming/SketchUp/SketchUp 2014/SketchUp/Plugins/jbb_layers_panel/rb/methods.rb:48:in
IdLayer'
C:/Users/Bim/AppData/Roaming/SketchUp/SketchUp 2014/SketchUp/Plugins/jbb_layers_panel/rb/observers.rb:73:inblock in onLayerAdded' -e:1:in
call'Thank you again for this great plugin, I would love to use it but for the reported problem.
-
Oh, I thought I had this fixed. I'll take a look at it.
-
Dan Rathbun wrote this fix. Drop it in the "Tools" folder and tell me if it works.
EDIT : It's for the startup issue.
-
Hi Jiminy,
Great updates! The problem is, you keep giving us more, we keep asking for more...
In SU Layers window we can set color to individual layers but not to a group of layers. Wich made me think that with your plugin this would be great!
We could change the color of a group and change all the layers inside it or window select some layers, then changing one, could change all. Maybe selecting a bunch of layers and make all layers same color from the active layer...
Anyway, there might be a way of doing this already that I'm unaware of?
Thanks again, this plugin should be built in SU core...
JQL
-
@jql said:
Great updates! The problem is, you keep giving us more, we keep asking for more...
Good point. I think donations are in order for this great plugin.
passes hat around
-
@jql said:
We could change the color of a group and change all the layers inside it or window select some layers, then changing one, could change all. Maybe selecting a bunch of layers and make all layers same color from the active layer...
It's coming!
TT > Thanks a lot for your generous donation, that's very much appreciated
-
New version 1.0.2 !
Changelog :
- All selected layers are now sorted together
- Added shift-click for multiple selection
- Fixed issue when copy/pasting from another instance creates a new layer
- Fixed minimize/maximize
Download in the plugin store !
-
Have to praise this tool!! working on big projects and having loooooooooong list on the SU layers is just a pain.
Notice you have added a render icon for different engines on your tool. Artlantis is not there…. doesn't affect my work. but at first i though it was a miracle button to press.
working on Mac machine. works okay, not as smooth as you show it
-
Can't you already choose which layer you want to render in Artlantis?
What's not smooth on Mac? Can you do a small video?
-
@jiminy-billy-bob said:
What's not smooth on Mac? Can you do a small video?
I just noticed that 1.0.2 doesn't update the WebDialog when you add/remove layers via the WebDialog. The model layers are created - it's just the UI doesn't.
Adding layer-groups updates the UI though. -
for the rendering button, at first, i thought it would open up an instant window for quick rendering instead of having to opening Artlantis separately. I think the render function makes more sense for those plug-in engines and so…. ( i used to run Shaderlight… not on your list either)
Keeping Artlantis not saying its a bad thing, there are pros and cons I would say.
Not so smooth wise. it does't happen all the time, but so far i found the following are most common.
1)The subject (layers and names) on your tool window does not response simultaneously to SU window. (i.e.; what I click add layer in your tool, I can see layer is added ONLY in the SU window, but not on tool's window) like they both do not spontaneously correspond.
- Having several SU files open. switching from one to other. The tool struggles to keep up.
ie; the tool's window content still showing the first SU model, even I have jump to working on the second model. (the first model still running at the back ground)
Sorry don't have a video (don't know how to, please enlighten me if there is a way to Screen-capture a video)
will let you know if there is further niggles - Having several SU files open. switching from one to other. The tool struggles to keep up.
-
and just now… it crashes
Advertisement