• Login
sketchucation logo sketchucation
  • Login
🤑 SketchPlus 1.3 | 44 Tools for $15 until June 20th Buy Now

Code snippet request

Scheduled Pinned Locked Moved SketchUp Discussions
sketchup
1 Posts 1 Posters 41 Views 1 Watching
Loading More Posts
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • G Offline
    genma saotome
    last edited by 4 Jan 2013, 00:55

    Would someone be kind enough to help me write what I think will be a very short ruby script?

    I have a library of about 5000 SU models and I need to loop thru that list and for each of the materials replace the source file extension of .tga with .bmp. If there is a path to the file I need to edit that too. As you can imagine it would be an impossible task to do by hand.

    I've found a script that loops thru a directory of files so I figure I can "borrow" that code but I don't know what to do about editing the materials values.

    1 Reply Last reply Reply Quote 0
    • 1 / 1
    1 / 1
    • First post
      1/1
      Last post
    Buy SketchPlus
    Buy SUbD
    Buy WrapR
    Buy eBook
    Buy Modelur
    Buy Vertex Tools
    Buy SketchCuisine
    Buy FormFonts

    Advertisement