sketchucation logo sketchucation
    • Login
    ℹ️ Licensed Extensions | FredoBatch, ElevationProfile, FredoSketch, LayOps, MatSim and Pic2Shape will require license from Sept 1st More Info

    How to batch modify description of sketchup file?

    Scheduled Pinned Locked Moved Developers' Forum
    3 Posts 2 Posters 182 Views 2 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.
    • dereiD Offline
      derei
      last edited by

      I want to edit/change the Description in several SketchUp files... (the description I am talking about is in Model Info->File->Description). But, as I have several files where I need to write the same thing, I want to know if is any method to do it in batch, without opening each file.

      Thank you.

      DESIGNER AND ARTIST [DEREI.UK](http://derei.uk/l)

      1 Reply Last reply Reply Quote 0
      • TIGT Offline
        TIG Moderator
        last edited by

        As far as I know you'll need to open each SKP file and use
        Sketchup.active_model.description="xxxxx"
        save it and then close/open the next.
        There already some examples of batch SKP file processing.
        For example my DAE-exporter, where you open one SKP in a folder of SKPs, run the tool and it processes all of the SKPs in turn automatically...
        http://forums.sketchucation.com/viewtopic.php?p=347277#p347277
        All you need to do is replace the 'export' part with the description-adding code and a Sketchup.send_action("saveDocument:") to save it [NOT model.save() !]...

        TIG

        1 Reply Last reply Reply Quote 0
        • dereiD Offline
          derei
          last edited by

          thank you very much, TIG ! I will look over your plugin!

          DESIGNER AND ARTIST [DEREI.UK](http://derei.uk/l)

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

          Advertisement