[Plugin] Layers Panel 1.2.1
-
-
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.
-
@sadyo said:
Seem like the LP 1.0.3 have problems when I updated TT_Lib 2.9.9
That's a co-incidence. When you launch SketchUp via a SKP file that is located on a drive different from where SketchUp is installed something gets messed up in SketchUp Ruby. Launch SketchUp first, then open your file - that's the workaround until we release a fix.
-
@jiminy-billy-bob said:
Of course, LP should behave normally after this. It's a fresh start.
After resetting the folders as you outlined. I was able to regroup and work in the file successfully. After closing SU and restarting my computer, the layers panel stop being responsive in that file. After working in the same file, using just the layers window, the layers panel reset the folders/grouping by itself. Once it reset itself, the layers panel worked, but the folders/grouping were deleted. Wondering if it's the plugin or my file.
Advertisement