SketchUcation Premium Membership

 

 

[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,
Please, register (free) to access all the attachments on the forums.
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
 
Posts: 1238
Joined: Wed Nov 14, 2007 10:07 pm
Location: Nancy, France
Operating system: Windows
SketchUp version: 8
License type: Pro
SketchUp use: architecture
Level of SketchUp: Advanced

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
watkins
 
Posts: 1366
Joined: Wed Nov 14, 2007 5:47 pm

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
Government rushes to help the irresponsible and does little for the responsible.
User avatar
Ken
Premium Member
Premium Member
 
Posts: 701
Joined: Thu Nov 15, 2007 1:38 pm
Location: Fort Mill, SC
Operating system: Windows
SketchUp version: 8
License type: Pro
SketchUp use: engineering and mechanical design
Level of SketchUp: Advanced

Re: [PLUGIN] Layer manager Update

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

Thanks Didier and good tip Ken.

Mike
User avatar
Mike Lucey
Mayor
 
Posts: 7235
Joined: Mon Oct 22, 2007 1:22 pm
Location: Co. Clare, Ireland
Name: Mike Lucey
Operating system: Mac
SketchUp version: 8
License type: Pro
SketchUp use: architecture
Level of SketchUp: Advanced

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 ;) )
Gai...
User avatar
Gaieus
Administrator
 
Posts: 27601
Joined: Sat Oct 20, 2007 8:24 am
Location: Pécs, Hungary
Name: Csaba Pozsárkó
Operating system: Windows
SketchUp version: 8
License type: Pro
SketchUp use: historical reconstruction
Level of SketchUp: Advanced

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.
Didier Bur (Bytes Farmer)
Ecole Nationale Supérieure d'Architecture de Nancy (F)
http://rld.crai.archi.fr/rubylibrarydepot/
User avatar
Didier Bur
 
Posts: 1238
Joined: Wed Nov 14, 2007 10:07 pm
Location: Nancy, France
Operating system: Windows
SketchUp version: 8
License type: Pro
SketchUp use: architecture
Level of SketchUp: Advanced

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
"If you don't plan ahead you'll be at the mercy of those that do" - Ashleigh Brilliant

"Bad is not good until worse happens" - Bob James
User avatar
Bob James
Premium Member
Premium Member
 
Posts: 605
Joined: Fri Jan 18, 2008 9:29 pm
Location: Lompoc, CA, USA
Operating system: Windows
SketchUp version: 8
License type: Pro
SketchUp use: other
Level of SketchUp: Advanced

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?
lexmonteiro
 
Posts: 21
Joined: Thu Feb 14, 2008 1:19 pm

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.
"If you don't plan ahead you'll be at the mercy of those that do" - Ashleigh Brilliant

"Bad is not good until worse happens" - Bob James
User avatar
Bob James
Premium Member
Premium Member
 
Posts: 605
Joined: Fri Jan 18, 2008 9:29 pm
Location: Lompoc, CA, USA
Operating system: Windows
SketchUp version: 8
License type: Pro
SketchUp use: other
Level of SketchUp: Advanced

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.
My book "Let's SketchUp!" Download from here
tfdesign
Top SketchUcator
 
Posts: 1246
Joined: Tue Sep 29, 2009 11:26 am
Location: Balsall Heath, Birmingham, UK.
Name: Tom

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... :?:
TIG
User avatar
TIG
Global Moderator
 
Posts: 13903
Joined: Mon Nov 12, 2007 7:24 pm
Location: Northumbria UK
Name: TIG
Operating system: Windows
SketchUp version: 8
License type: Pro
SketchUp use: architecture
Level of SketchUp: Advanced

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 :)
My book "Let's SketchUp!" Download from here
tfdesign
Top SketchUcator
 
Posts: 1246
Joined: Tue Sep 29, 2009 11:26 am
Location: Balsall Heath, Birmingham, UK.
Name: Tom

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:
My book "Let's SketchUp!" Download from here
tfdesign
Top SketchUcator
 
Posts: 1246
Joined: Tue Sep 29, 2009 11:26 am
Location: Balsall Heath, Birmingham, UK.
Name: Tom

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.
My book "Let's SketchUp!" Download from here
tfdesign
Top SketchUcator
 
Posts: 1246
Joined: Tue Sep 29, 2009 11:26 am
Location: Balsall Heath, Birmingham, UK.
Name: Tom

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)
NewOne
 
Posts: 329
Joined: Thu Oct 23, 2008 6:21 pm
Location: Maramures, Romania

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
AcesHigh
 
Posts: 428
Joined: Wed Mar 05, 2008 1:58 pm

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,
bararaboat
 
Posts: 1
Joined: Thu May 21, 2009 10:42 am

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
diegog321
 
Posts: 13
Joined: Thu Feb 25, 2010 9:00 pm
Location: Venezuela
Name: diego

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
Michaelv
 
Posts: 95
Joined: Wed Mar 03, 2010 11:02 pm
Name: Michael

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?
User avatar
bagatelo
 
Posts: 243
Joined: Wed Apr 16, 2008 4:55 pm
Location: São José, Santa Catarina, Brasil
Name: Alex Henrique
Operating system: Windows
SketchUp version: 8
License type: Pro
SketchUp use: interior design
Level of SketchUp: Intermediate

Re: [Plugin] Layer manager Update

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

@bagatelo: No... :(
Didier Bur (Bytes Farmer)
Ecole Nationale Supérieure d'Architecture de Nancy (F)
http://rld.crai.archi.fr/rubylibrarydepot/
User avatar
Didier Bur
 
Posts: 1238
Joined: Wed Nov 14, 2007 10:07 pm
Location: Nancy, France
Operating system: Windows
SketchUp version: 8
License type: Pro
SketchUp use: architecture
Level of SketchUp: Advanced

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
haiarchi
 
Posts: 1
Joined: Sun Oct 10, 2010 9:37 am
Name: hai

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:
tulacong
 
Posts: 38
Joined: Mon Aug 04, 2008 9:29 pm

Re: [Plugin] Layer manager Update

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

Super Plugin!
Vive Nancy!
Tinygrasshopper
 
Posts: 3
Joined: Thu Jun 16, 2011 10:40 am
Name: 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
Please, register (free) to access all the attachments on the forums.
purpose/expression/purpose/....
User avatar
utiler
Top SketchUcator
 
Posts: 1924
Joined: Wed Nov 14, 2007 11:35 am
Location: Queensland, Australia
Name: utiler
Operating system: Windows
SketchUp version: 8
License type: Pro
SketchUp use: architecture
Level of SketchUp: Advanced

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,
Please, register (free) to access all the attachments on the forums.
Didier Bur (Bytes Farmer)
Ecole Nationale Supérieure d'Architecture de Nancy (F)
http://rld.crai.archi.fr/rubylibrarydepot/
User avatar
Didier Bur
 
Posts: 1238
Joined: Wed Nov 14, 2007 10:07 pm
Location: Nancy, France
Operating system: Windows
SketchUp version: 8
License type: Pro
SketchUp use: architecture
Level of SketchUp: Advanced

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:
Please, register (free) to access all the attachments on the forums.
purpose/expression/purpose/....
User avatar
utiler
Top SketchUcator
 
Posts: 1924
Joined: Wed Nov 14, 2007 11:35 am
Location: Queensland, Australia
Name: utiler
Operating system: Windows
SketchUp version: 8
License type: Pro
SketchUp use: architecture
Level of SketchUp: Advanced

Re: [Plugin] Layer manager Update

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

Ooops :oops: Dropdowns were reversed...
Try this one instead.
Please, register (free) to access all the attachments on the forums.
Didier Bur (Bytes Farmer)
Ecole Nationale Supérieure d'Architecture de Nancy (F)
http://rld.crai.archi.fr/rubylibrarydepot/
User avatar
Didier Bur
 
Posts: 1238
Joined: Wed Nov 14, 2007 10:07 pm
Location: Nancy, France
Operating system: Windows
SketchUp version: 8
License type: Pro
SketchUp use: architecture
Level of SketchUp: Advanced

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
Please, register (free) to access all the attachments on the forums.
purpose/expression/purpose/....
User avatar
utiler
Top SketchUcator
 
Posts: 1924
Joined: Wed Nov 14, 2007 11:35 am
Location: Queensland, Australia
Name: utiler
Operating system: Windows
SketchUp version: 8
License type: Pro
SketchUp use: architecture
Level of SketchUp: Advanced

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,
Please, register (free) to access all the attachments on the forums.
Didier Bur (Bytes Farmer)
Ecole Nationale Supérieure d'Architecture de Nancy (F)
http://rld.crai.archi.fr/rubylibrarydepot/
User avatar
Didier Bur
 
Posts: 1238
Joined: Wed Nov 14, 2007 10:07 pm
Location: Nancy, France
Operating system: Windows
SketchUp version: 8
License type: Pro
SketchUp use: architecture
Level of SketchUp: Advanced

SketchUcation One-Liner Adverts

by Ad Machine » 5 minutes ago

Keyframe Animation plugin - animate your SketchUp model by adding movement to any object.

Premium Members get 20% discount!

Ad Machine
Robot
 
Posts: 2012

Next


 

Return to Plugins

Who is online

Users browsing this forum: bangkondi, Bing [Bot], ephi, joiner, kirill2008, kisi_88, peer67, slave and 8 guests