PDA

View Full Version : Free Script: Search Layers



Matt
04-14-2017, 05:19 PM
Another script some might find useful.

Opens a searchable list of the active object's layers, which you can then select to set as foreground / background layers. Also allows adding to the existing layers.

Script:
136545

Video:
136546

Cheers
Matt

Chris S. (Fez)
04-14-2017, 07:45 PM
Another script some might find useful.

Opens a searchable list of the active object's layers, which you can then select to set as foreground / background layers. Also allows adding to the existing layers.136546136546

Script:
136545

Video:
136546

Cheers
Matt

This is ridiculously useful. Thank you.

Matt
04-14-2017, 07:49 PM
This is ridiculously useful. Thank you.

Why thank you!

I ended up demoing this and some other scripts (also on the forum) on the LightWiki Google Hangout:
https://youtu.be/TEs6DEs_PJg

daforum
04-18-2017, 06:23 AM
Thanks Matt! :thumbsup:

Will this work with all versions of LW (9.6+)?

Matt
04-18-2017, 10:37 AM
Thanks Matt! :thumbsup:

Will this work with all versions of LW (9.6+)?

No reason why it shouldn't.

That said, there is an LScript issue when you have 3,000+ layers, it can cause a crash when the script passes that many items to the listbox. I'm tempted to put in a check for that, or bite the bullet and attempt a Python version (which doesn't have the same issue).

daforum
04-19-2017, 08:20 AM
No reason why it shouldn't.

That said, there is an LScript issue when you have 3,000+ layers, it can cause a crash when the script passes that many items to the listbox. I'm tempted to put in a check for that, or bite the bullet and attempt a Python version (which doesn't have the same issue).

Thanks for the info Matt.
I'll probably never hit the 3000+ layers mark (other LW'vers might though ) but it's good to know.

joseba
07-06-2017, 09:27 AM
Thank you very much, Mark.
I am trying to use the script, but i get this annoying message everytime i type a surface name and hit enter.

line 274, invalid argument 1 type to srtupper()

erikals
07-06-2017, 08:05 PM
I ended up demoing this and some other scripts (also on the forum) on the LightWiki Google Hangout:
https://youtu.be/TEs6DEs_PJg
fixed, direct link > https://www.youtube.com/watch?v=TEs6DEs_PJg#t=136m00s
(need to check this plugin out later on > saved. thanks  :)

Waves of light
08-08-2017, 05:12 AM
Thank you very much, Mark.
I am trying to use the script, but i get this annoying message everytime i type a surface name and hit enter.

line 274, invalid argument 1 type to srtupper()

Ok - I had this error. I found out it's because you have gaps in your layers (i.e. layers with nothing in them and no name). To combat this I ran Kevin Phillips' Layers Plugin (A collection of layer tools - for moving, deleting and cleaning) which can be found here:

http://kevman3d.blogspot.co.uk/2013/12/free-lw-scripts-just-in-time-for.html

Matt
08-10-2017, 11:10 AM
Thank you very much, Mark.
I am trying to use the script, but i get this annoying message everytime i type a surface name and hit enter.

line 274, invalid argument 1 type to srtupper()

Try this one:

137637

Over
08-10-2017, 11:35 AM
Daaaaaamn... I was waiting for something like this.

Thanks Matt!


I'll probably never hit the 3000+ layers mark (other LW'vers might though )...

I can hit that mark from time to time. :)

joseba
08-10-2017, 12:51 PM
Thanks Matt.
I will try it.