[Plugin] Layer manager

[Plugin] Layer manager

Postby Didier Bur » Sat Aug 01, 2009 6:17 pm

Hi all,
Time to release the new version of my Layer Manager. Many new tools and enhancements, new toolbars.
Unzip in your Plugins folder. PDF doc included in the Layer Manager sub-folder.

lmtb.jpg


Features list:

Tools:
--------
Set layer of clicked object current
Set layer of clicked object current and isolated
Set layer of clicked object invisible
All layers visible
All layers invisible (except current)
Toggle visibility of all layers
Select/Deselect layer content
Move selection to current layer (digs in compos and groups)
Set layers of selection isolated (digs in compos and groups)
Set layers of selection invisible (digs in compos and groups)
Show layers by filter (add to visible layers)
Isolate layers by filter (digs in compos and groups)
Hide layers by filter (digs in compos and groups)
Toggle display color by layer
Match layer property of clicked object
Create layer and control behavior
Delete layer (digs in compos and groups)
Lock layer
Unlock layer

Layers Management:
-------------------------
Display a layers configuration status
Save a layers state in the drawing
Restore a layers state from the model
Load a layers state from the drawing – Show only
Load a layers state from the drawing – Append
Update layers states
Delete a layers state
Save your layers states to an external file
Load layers states from an external file



French version soon to come.
I'll be on holidays in Croatia :enlight: until Aug 19th so don't except quick bug fixes, but please leave your comments and bug reports here, I'll look at them when i'll be back.

Best regards,
1
Last edited by Jim on Sun Feb 17, 2013 1:12 pm, edited 2 times in total.
Reason: Just cleaning up and organizing the Plugin forum. Correcting [Plugin] tag
Didier Bur (Bytes Farmer)
Ecole Nationale Supérieure d'Architecture de Nancy (F)
http://rld.crai.archi.fr/rubylibrarydepot/
User avatar
Didier Bur 
 

Re: [PLUGIN] Layer manager Update

Postby watkins » Sat Aug 01, 2009 7:11 pm

Dear Didier,

Many thanks for all your hard work.

Have a good holiday.

Regards,
Bob
1

watkins 
 

Re: [PLUGIN] Layer manager Update

Postby Ken » Sat Aug 01, 2009 7:49 pm

Mr. Bur

Thanks for you very useful script.

Just a side note, installation of your script has re-arranged all my toolbars. This is nothing new, it happens with every script installation that adds a new toolbar. So I have to re-arrange the menus, and usually they are not in the same order, and another learning curve is required.

But this time, I have outwitted this darn re-organizational mess. I took a JPG screen snap shot of the toolbars before installation. Imported this JPG into a Sketchup model and saved the model as SketchupToolbars. So now I just load this program and re-arrange all the tools bars as the JPG indicates. Now no new learning curve.

Mr. Bur again thanks for the script.

Ken
0
Government rushes to help the irresponsible and does little for the responsible.
User avatar
Ken 
Premium Member
Premium Member
 

Re: [PLUGIN] Layer manager Update

Postby Mike Lucey » Sun Aug 02, 2009 12:33 am

Thanks Didier and good tip Ken.

Mike
0
User avatar
Mike Lucey 
Mayor
 

Re: [PLUGIN] Layer manager Update

Postby Gaieus » Sun Aug 02, 2009 10:15 am

Thanks Didier and have fun in Croatia (again - you seem to like the place ;) )
0
User avatar
Gaieus 
 

Re: [PLUGIN] Layer manager Update

Postby Didier Bur » Sun Aug 02, 2009 3:45 pm

you seem to like the place

You're right. Wonderful and quiet country + nice people.
0
Didier Bur (Bytes Farmer)
Ecole Nationale Supérieure d'Architecture de Nancy (F)
http://rld.crai.archi.fr/rubylibrarydepot/
User avatar
Didier Bur 
 

Re: [PLUGIN] Layer manager Update

Postby Bob James » Sun Aug 02, 2009 11:57 pm

Great update to an already great tool.

Curious fact however: this new version only works if I install it in my users/library/application/... folder rather than the HD/library/applications/... folder. Any particular reason for this?

Intel iMac, OS X 10.5.7
0
2x Xeon E5-2690, 2x GeForce GTX TITAN 6GB, 64GB Crucial DDR3-1600, 2x Vertex 4 500GB RAID 1, WD Black 8TB RAID 5, SpaceMouse Pro
User avatar
Bob James 
Premium Member
Premium Member
 

Re: [PLUGIN] Layer manager Update

Postby lexmonteiro » Mon Aug 03, 2009 2:04 pm

Thank you!
Another "must have" plug-in!
Just one question the "Match layer property of clicked object" can copy the texture from the original object too?
0

lexmonteiro 
 

Re: [PLUGIN] Layer manager Update

Postby Bob James » Mon Sep 14, 2009 9:21 pm

Just wanted to say again what a great tool this is.

It works fine on both Mac and PC, but on PC the toolbars are not "remembered" (have to use View/Toolbars/ to make them appear again.
0
2x Xeon E5-2690, 2x GeForce GTX TITAN 6GB, 64GB Crucial DDR3-1600, 2x Vertex 4 500GB RAID 1, WD Black 8TB RAID 5, SpaceMouse Pro
User avatar
Bob James 
Premium Member
Premium Member
 

Re: [PLUGIN] Layer manager Update

Postby tfdesign » Sun Oct 11, 2009 11:46 am

Call me thick, but I can't appear to get this working. Should the plug-in be situated in the root or user directory? I went back to 7.0 btw, because I was having a few more 7.1 problems.
0
My book "Let's SketchUp!" Download from here

tfdesign 
Top SketchUcator
 

Re: [PLUGIN] Layer manager Update

Postby TIG » Sun Oct 11, 2009 12:36 pm

tfdesign wrote:Call me thick, but I can't appear to get this working. Should the plug-in be situated in the root or user directory? I went back to 7.0 btw, because I was having a few more 7.1 problems.

If you 'extract' the files from the zip then there should be one ruby .rb file and the rest of the files in a folder.
Then the lone ruby file and the folder go into your Plugins folder... :?:
0
TIG
User avatar
TIG 
Global Moderator
 

Re: [PLUGIN] Layer manager Update

Postby tfdesign » Tue Oct 13, 2009 10:18 pm

TIG wrote:If you 'extract' the files from the zip then there should be one ruby .rb file and the rest of the files in a folder.
Then the lone ruby file and the folder go into your Plugins folder... :?:


Yes I did exactly that, but to no avail. I've had trouble with getting ruby scripts to work before (in SU).

I'll have another go when I'm not maniacally try to reach deadlines! Thanks for your input anyway TIG :)
0
My book "Let's SketchUp!" Download from here

tfdesign 
Top SketchUcator
 

Re: [PLUGIN] Layer manager Update

Postby tfdesign » Sun Oct 25, 2009 1:51 pm

Nope. I can't get this plug in to work at all on my Mac. (BTW, I'm back on SU 7.0, despite my avatar saying otherwise, because I was having many troubles with 7.1. I'm now waiting for the update, before going back to 7.1).

Bob James wrote:Curious fact however: this new version only works if I install it in my users/library/application/... folder rather than the HD/library/applications/... folder. Any particular reason for this?


Aha!! Yes! Indeed (need to try this yet too). This is also how Podium works, and it screws with OS X's directory. Podium is worse, because it uses an installer script, which also makes a SU6 folder, which confuses SU even more! Developers, why can't we just install this ourselves?

It seems to me that there really IS a problem with plug-in management with SU and Mac OS X, and where scripts should go. This depresses me, because I have to sit here messing with folder combinations, until it works, which means less money (not that I'm getting any money anyway! :lol:), but worse still, prevents me from doing what I love most, designing things. It's almost as if there is someone in the Mac programming dept at Google who really couldn't give a dingo's kidneys, and has consequently failed to deliver guidelines to all those planning to write ruby scripts for Mac SketchUp. A shame if it were true.

The Podium installer, for starters, installs on the wrong part of the directory (not necessarily Google's fault, but typical behaviour of a developer who has misunderstood the workings of a Mac OS, like coming straight from a better understanding of a Linux one (or Windows in this case, but Mac OS X is NOT Linux, and directories behave very differently to Linux directories! Cappiche?). This basic error, fools the SketchUp directory navigation (viewtopic.php?p=146352#p146352).

The best thing I've found is to remove the ruby script from the folder and put that in the plug-ins file, then any other ancillary files (such as png's etc) stay in a folder, within that folder. But in the case of Podium, this wouldn't work at all, as both files need to be taken out and placed in the main plug-in folder. I'm now worried that if I make a new folder, for a new plug-in for this Layers tool, in my Home directory, instead of the main directory, it's going to screw with SketchUp again, and I'll be back to square one again. :(

A well written Mac application mostly allows you to use from whatever directory or file you choose. This behaviour from SketchUp again, is inconsistent, as some plug-ins work, and others don't. A real shame, because SU also appears to have been written in Apple Cocoa. Perhaps the developers need to get SketchUp to read plugins from both libraries?

Maybe all you folks who are suggesting how to get certain things to work on a Mac, should try giving the advice from a Mac rather than Windows? And those who use Windows, who make plugins, observe from Mac users how plug-in installation is managed? It would really help all of us Mac users! :idea:
0
My book "Let's SketchUp!" Download from here

tfdesign 
Top SketchUcator
 

Re: [PLUGIN] Layer manager Update

Postby tfdesign » Sun Oct 25, 2009 2:08 pm

Just as I predicted. Make a plugins folder in the SketchUp folder within the home application support folder, and other plugins (notably "Booltools") stop working! :evil: :evil: :evil:

I'm really hacked off with this (as you can probably tell). I am paying money to Smustard for plugins, that aren't always working, and this is not right.
0
My book "Let's SketchUp!" Download from here

tfdesign 
Top SketchUcator
 

Re: [PLUGIN] Layer manager Update

Postby NewOne » Sun Oct 25, 2009 2:23 pm

tfdesign wrote:Just as I predicted. Make a plugins folder in the SketchUp folder within the home application support folder, and other plugins (notably "Booltools") stop working! :evil: :evil: :evil:

I'm really hacked off with this (as you can probably tell). I am paying money to Smustard for plugins, that aren't always working, and this is not right.

I agree that some payed plugins from smustard should be revised... Maybe Smustard team should take example from TIG and how he updated 2D Tools plugin :P (and that is a free one)
0

NewOne 
 

Re: [PLUGIN] Layer manager Update

Postby AcesHigh » Sun Oct 25, 2009 9:35 pm

hey Didier, can you tell me if this feature: "Move selection to current layer (digs in compos and groups)" is exactly what I am asking in this thread? viewtopic.php?f=180&t=22986

thanks
0

AcesHigh 
 

Re: [PLUGIN] Layer manager Update

Postby bararaboat » Wed Nov 25, 2009 1:11 am

In this version the layer Management & layer toolbar does not appear automatically.
how can i make it appear automatically went program open? (su7 mac)

Regard,
0

bararaboat 
 

Re: [Plugin] Layer manager Update

Postby diegog321 » Sun Sep 26, 2010 5:08 pm

Hi

Thank you very much for this plug in. Its been very useful.

Diego
0

diegog321 
 

Re: [PLUGIN] Layer manager Update

Postby Michaelv » Sat Feb 19, 2011 12:59 pm

bararaboat wrote:In this version the layer Management & layer toolbar does not appear automatically.
how can i make it appear automatically went program open? (su7 mac)

Regard,


For the status of the toolbars to be registered (new sketchup opens with the last status (open or closed)) on Mac:

Add these two ruby lines after their respective toolbar definition blocks in the original script:

layertools_tb.restore

layerconfigs_tb.restore
0

Michaelv 
 

Re: [Plugin] Layer manager Update

Postby bagatelo » Fri Mar 04, 2011 4:24 pm

Is there a tool that put the selected object in a new hidden / not hidden layer?
0
User avatar
bagatelo 
 

Re: [Plugin] Layer manager Update

Postby Didier Bur » Fri Mar 04, 2011 7:32 pm

@bagatelo: No... :(
0
Didier Bur (Bytes Farmer)
Ecole Nationale Supérieure d'Architecture de Nancy (F)
http://rld.crai.archi.fr/rubylibrarydepot/
User avatar
Didier Bur 
 

Re: [Plugin] Layer manager Update

Postby haiarchi » Thu Mar 24, 2011 5:35 pm

Can you set to Tool of sketchup to shortcut in sketchup
0

haiarchi 
 

Re: [Plugin] Layer manager Update

Postby tulacong » Fri Mar 25, 2011 5:03 pm

Didier Bur wrote:Hi all,
Time to release the new version of my Layer Manager. Many new tools and enhancements, new toolbars.
Unzip in your Plugins folder. PDF doc included in the Layer Manager sub-folder.

lmtb.jpg


Features list:

Tools:
--------
Set layer of clicked object current
Set layer of clicked object current and isolated
Set layer of clicked object invisible
All layers visible
All layers invisible (except current)
Toggle visibility of all layers
Select/Deselect layer content
Move selection to current layer (digs in compos and groups)
Set layers of selection isolated (digs in compos and groups)
Set layers of selection invisible (digs in compos and groups)
Show layers by filter (add to visible layers)
Isolate layers by filter (digs in compos and groups)
Hide layers by filter (digs in compos and groups)
Toggle display color by layer
Match layer property of clicked object
Create layer and control behavior
Delete layer (digs in compos and groups)
Lock layer
Unlock layer

Layers Management:
-------------------------
Display a layers configuration status
Save a layers state in the drawing
Restore a layers state from the model
Load a layers state from the drawing – Show only
Load a layers state from the drawing – Append
Update layers states
Delete a layers state
Save your layers states to an external file
Load layers states from an external file



French version soon to come.
I'll be on holidays in Croatia :enlight: until Aug 19th so don't except quick bug fixes, but please leave your comments and bug reports here, I'll look at them when i'll be back.

Best regards,

ohze hehehe thank showmuch :sketchstatic:
0

tulacong 
 

Re: [Plugin] Layer manager Update

Postby Tinygrasshopper » Tue Jun 21, 2011 11:36 am

Super Plugin!
Vive Nancy!
0

Tinygrasshopper 
 

Re: [Plugin] Layer manager Update

Postby utiler » Fri Aug 19, 2011 2:02 am

Hi Didier, love this toolset!

I have a request; see the attached screenshot and notes...
LayerPlugin-idea.png


Often I select components or groups to move to a new layer that is not there. :oops: Do you think you could add a line on the dialogue box to 'assign to selected' with the option of yes or no?
This saves time deselecting, creating a new layer, selecting the groups again [which as you know can be tedious if you've carefully selected elements to move to a layer...] then accessing the layer drop down to move to the layer.

Is it possible?

cheers
0
purpose/expression/purpose/....
User avatar
utiler 
Top SketchUcator
 

Re: [Plugin] Layer manager Update

Postby Didier Bur » Sat Aug 20, 2011 11:44 pm

Hi Utiler,
Try the attached rbs (replace your old one) and tell me if it works OK, before I incorporate it in a new release.
Regards,
0
Didier Bur (Bytes Farmer)
Ecole Nationale Supérieure d'Architecture de Nancy (F)
http://rld.crai.archi.fr/rubylibrarydepot/
User avatar
Didier Bur 
 

Re: [Plugin] Layer manager Update

Postby utiler » Sun Aug 21, 2011 5:40 am

Thanks Didier, see comments in the screenshot:
LayerManager-issue.png


Thanks for listening! if it can work it will make a whole lot of difference i can assure you!! :berserk:

Cheers :thumb:
0
purpose/expression/purpose/....
User avatar
utiler 
Top SketchUcator
 

Re: [Plugin] Layer manager Update

Postby Didier Bur » Sun Aug 21, 2011 4:28 pm

Ooops :oops: Dropdowns were reversed...
Try this one instead.
0
Didier Bur (Bytes Farmer)
Ecole Nationale Supérieure d'Architecture de Nancy (F)
http://rld.crai.archi.fr/rubylibrarydepot/
User avatar
Didier Bur 
 

Re: [Plugin] Layer manager Update

Postby utiler » Sun Aug 21, 2011 11:52 pm

Thanks Didier, I thought that may be the case.... :thumb:

It's almost right; see attached comments in attached and short screen video...
LayerManager-Fix.png

LayerManager-Fix.swf
0
purpose/expression/purpose/....
User avatar
utiler 
Top SketchUcator
 

Re: [Plugin] Layer manager Update

Postby Didier Bur » Mon Aug 22, 2011 10:09 am

Hi,
The problem is that you cannot have (in a dialog box) dropdown lists that are not following each other, so the "NLN" field must be either on the first place or at the last place.
Attached is a fix that WORKS (this time i've tested it :oops: ).
Would you prefer the new layer name on top ?
Regards,
0
Didier Bur (Bytes Farmer)
Ecole Nationale Supérieure d'Architecture de Nancy (F)
http://rld.crai.archi.fr/rubylibrarydepot/
User avatar
Didier Bur 
 

SketchUcation One-Liner Adverts

by Ad Machine » 5 minutes ago



Ad Machine 
Robot
 

Next


 

Return to Plugins

Who is online

Users browsing this forum: condepayula, goose61, Majestic-12 Bot and 12 guests

Visit our sponsors: