[Plugin] List Layers Colors

[Plugin] List Layers Colors

Postby TIG » Sat Dec 01, 2007 1:26 pm

ListLayerColors.rb

Does what it says on the wrapper...
1
TIG
User avatar
TIG 
Global Moderator
 

Re: [Plugin] List Layers Colors

Postby Dan Rathbun » Mon Jun 21, 2010 10:32 am

Uses .obj file export functions.

Will NOT work with Sketchup Free ver 7.1+, requires Pro version.
0
    I'm not here much anymore. But a PM will fire email notifications.
    User avatar
    Dan Rathbun 
    PluginStore Author
    PluginStore Author
     

    Re: [Plugin] List Layers Colors

    Postby TIG » Mon Jun 21, 2010 11:25 am

    I completely forgot that I wrote that !
    But it was three and a half years ago - when I didn't know what I was doing even more than I don't now [?] :oops:

    It IS now Pro only because it uses OBJ export to find the colors - although probably there weren't even the two versions back then !

    Unfortunately the Pro/Free .dae exporter doesn't pick up color-by-layer so it can't be utilized.

    At least we do have some sort of a temporary layer.color 'get' for Pro users - though again it's pretty clunky :roll:
    0
    TIG
    User avatar
    TIG 
    Global Moderator
     

    Re: [Plugin] List Layers Colors

    Postby Dan Rathbun » Mon Jun 21, 2010 12:48 pm

    Dan Rathbun wrote:Changes you might try:

    EDIT - PM'd you a renamed file with snippets added.

    SNIP (...removed code snppets...)
    0
      I'm not here much anymore. But a PM will fire email notifications.
      User avatar
      Dan Rathbun 
      PluginStore Author
      PluginStore Author
       

      Re: [Plugin] List Layers Colors

      Postby Miner_Jeff » Wed May 06, 2015 5:41 pm

      Hello!

      Thanks for sharing this script. The ruby code gurus and their shared code are what make Sketchup and this site so vibrant.
      I realize it is several years old now.

      Any chance this could be changed/morphed to do the reverse? I used it to export the layer names and colors to a file. Now wish to import the layer list (creating layers in a new file ) and/or change layer colors to the rgb values in the file.
      Could also be useful for en masse layer color changes. I see it being useful to highlight a particular layer and setting colors on others to shades of grey and switching back to full color. I could see the list being changed programmatically using Excel VBA. I can hack my way through the VBA but ruby not so much. I would be willing to post the VBA code to the forum as a small repayment to the Sketchup community for all the free code and advice received over the years.

      Perhaps this deserves its own thread?

      Thanks & Cheers!

      Miner_Jeff
      0
      User avatar
      Miner_Jeff 
       

      Re: [Plugin] List Layers Colors

      Postby TIG » Thu May 07, 2015 5:13 pm

      @Miner_Jeff

      Here TIG-LayersFromList

      viewtopic.php?p=566286#p566286
      0
      TIG
      User avatar
      TIG 
      Global Moderator
       

      Re: [Plugin] List Layers Colors

      Postby Miner_Jeff » Thu May 07, 2015 5:51 pm

      :thumb:
      TIG:
      Thank you so very much for the quick response and code!

      Much appreciated!!

      Cheers!

      Miner_Jeff
      0
      User avatar
      Miner_Jeff 
       

      Re: [Plugin] List Layers Colors

      Postby juju » Fri May 08, 2015 8:50 am

      yep, TIG's a tiger when it comes to solutions and coding

      :p
      0
      Save the Earth, it's the only planet with chocolate.
      User avatar
      juju 
      Premium Member
      Premium Member
       

      SketchUcation One-Liner Adverts

      by Ad Machine » 5 minutes ago



      Ad Machine 
      Robot
       



       

      Return to Plugins

      Who is online

      Users browsing this forum: JUNGHEE, karistodimos, kohji, sketchy22 and 13 guests

      Visit our sponsors: