[Plugin] Layers Panel 1.2.1
-
@ckho1985 said:
- 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)
It's a limitation of the Sketchup API. I can't do better.
You have to move the view for the dialog to update. (Orbit, pan, etc)@ckho1985 said:
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.
@tt_su said:
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.Actually, after some testing, serveral things -including this- were broken since version 1.0.0 on Mac. It's weird that nobody mentionned it earlier.
I fixed it, see below:
- Having several SU files open. switching from one to other. The tool struggles to keep up.
-
@tony bombata said:
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
Thank you! It works!
I think it may be linked with SU current "Working Directory".
I tested some random folders. If current working directory is on other drive than SU installed(maybe it should be only C:) plugin crashes.
I have profile folders on D:. When I'm starting SU with desktop shortcut SU's working dir sets to D:\Profile\Desktop. When starting from pinned shortcut - C:\Windows\System32\jiminy-billy-bob, you are using relative paths in source. Maybe ruby engine tries load file using current working directory and only it's drive(D: in my case)
Maybe there is way to set up current working dir to system drive or any MS API to find system drive and try load required libraries with that path?
Or is this SU bug and about this should think SU developers?I think any can repeat this bug in Windows just changing "Working dir" in shortcut to any folder on any another than system drive.
Is there bugtracker?) -
-
Any updates you'd care to share on the work to make LP and Thea work together?
-
Thea doesn't expose any render funtion in ruby. The render is triggered on C++ side. So there is no way I can trigger it from Layers Panel. Therefore, it must be Thea that reads LP's attribute to see which layers have been tagged 'to be rendered' by the user.
(The same issue applies to render[in], shaderlight, twilight)It's pretty simple:
-
Check if LP is active (optional)
JBB_LayersPanel.isActive == true
-
Determine in which context the user is (active scene if one exists, otherwise the model)
if Sketchup.active_model.pages.selected_page == nil context = Sketchup.active_model else context = Sketchup.active_model.pages.selected_page end#if
-
Read the attributes to see which layers are tagged
layerId = layer.get_attribute("jbb_layerspanel", "ID") context.get_attribute("jbb_layerspanel_render", layerId)
It gives 0 or 1 if the layer should not be rendered, and 2 if the layer should be rendered.
I gave this to Tomasz, I don't know if he tried to add it to Thea or not.
I'll probably simplify all of this in an upcoming update with simply something like:
JBB_LayersPanel.render(layer)
that would returntrue
orfalse
. -
-
@vremennyi said:
Or is this SU bug and about this should think SU developers?
Yes - it's our fault. We're working on a fix.
-
Winx64chinse
SU2013english OK
SU2014english Not Work Still -
@unclex said:
Winx64chinse
SU2013english OK
SU2014english Not Work StillI invite you to read the post just above yours...
-
Hello Jiminy!
I had some time to test this baby and I cannot get it to work.I use Indigo Renderer (SkIndigo exporter 3.6.25.5 version), and:
- none of the peculiar and extra-useful tools of your plugin work (neither the "hide but render" or the "show but not render")
- when clicking on the Indigo Logo on the upper right corner of the plugin, a message is displayed saying that Indigo Is no tinstalled on the pc, whether it is instead, and it works like a charm if I use the SkIndigo export bar...
The plugin seems wonderful, really! Only, at the moment Indigo support is a little bit unconvincing
-
pibuz > It's indeend broken with Indigogo for some reason. I'll fix it.
amis > You're not the first to tell me this. I forgot, thanks to remind me, I'll take a loot at it.
So if I understand right, it works fine on winXP with SU2014, what is yout windows version now, and SU version? -
the update work great on Mac now. thanks!!
I am sure you are award of it⦠many have request a 'sort by name' function on the table. so we could navigate layers easily.
thanks once more -
sorry jiminy
I know it's not your fault
but I was so regretful for cannot using your wonderful plugins -
@unclex said:
sorry jiminy
I know it's not your fault
but I was so regretful for cannot using your wonderful pluginsDon't worry, no hard feelings.
While waiting for a fix, you can start Sketchup and then open your file from SU. It should work fine.
-
Jiminy-Billy-Bob,
First off let me say I love this plugin.
Recently, my layer's panel has become unresponsive in one of my drawings. (This is true for SU13 and SU14) Unresponsive in that the layers do not toggle on or off anymore. This one file was working. I saved multiple copies of it and now none of them work properly. Other files/drawings work. I even created a new drawing. Created a new layers list and pasted the original drawing in layer by layer. This worked until I closed the drawing and restarted my computer. Is there a a easy fix? I could have moved or removed a file when I was trying out SU 14.
Layers Panel 1.03
I'm using SU 13, but have 14 installed
Windows 8I have other layer managing plugin installed (Conflict?) They aren't interfering with my other files.
-
Could you send me the file by PM?
What are the other layer managing plugins? -
@solarwisellc said:
So something strange has happen since I posted. I continued to work on the drawing "DD1", but stopped using the Layer Panel plugin. I was just using the Layers Window. After a while I checked the Layers Panel and it had started working again. I noticed all the folders had been removed and it was now just a list of layers.
Drawing DD1.1 still shows the folders and is still unresponsive.
Addition layer plugins:
Layers Manager (I think that is it)I'm not sure what caused the issue, but here is how to solve it:
- Install Aerilius' AttributeInspector
- Open it
- Click on "jbb_layerspanel"
- Delete all the "
group[22]=null&group[23]=22&layer....
" stuff (Just select and delete) - Reopen Layers Panel, you should loose all the sorting and groups, but it should work fine.
-
@jiminy-billy-bob said:
- Install Aerilius' AttributeInspector
- Open it
- Click on "jbb_layerspanel"
- Delete all the "
group[22]=null&group[23]=22&layer....
" stuff (Just select and delete) - Reopen Layers Panel, you should loose all the sorting and groups, but it should work fine.
Thanks. I will try this. Will I be able to regroup afterwards?
-
Of course, LP should behave normally after this. It's a fresh start.
-
Hi mr.Bob
Seem like the LP 1.0.3 have problems when I updated TT_Lib 2.9.9
I'm using Sketchup 2014 pro_Win8.1-64bit
-
sadyo > Please see:
@tt_su said:
@vremennyi said:
Or is this SU bug and about this should think SU developers?
Yes - it's our fault. We're working on a fix.
Advertisement