sketchucation logo sketchucation
    • Login
    Oops, your profile's looking a bit empty! To help us tailor your experience, please fill in key details like your SketchUp version, skill level, operating system, and more. Update and save your info on your profile page today!
    🫛 Lightbeans Update | Metallic and Roughness auto-applied in SketchUp 2025+ Download

    Exporting scene names

    Scheduled Pinned Locked Moved SketchUp Discussions
    sketchup
    3 Posts 2 Posters 319 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.
    • D Offline
      dieter10
      last edited by

      Is there a way to export all the scene names (of 1 file) into a text or excel file?
      Because every scene of my file contains a part of the assembly scene, so it would be great to make a partlist that uses the scene names.

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

        This one-liner prints all scene names in the Ruby Console.
        Copy+Paste +<enter> the text.

        puts;Sketchup.active_model.pages.each{|p|puts p.name};puts
        

        you can then copy+paste the output into a text file as desired...

        TIG

        1 Reply Last reply Reply Quote 0
        • D Offline
          dieter10
          last edited by

          Thanks!

          It helps me a lot to automate my proces.
          I use the plugin Comp2Layer2Scene in combination with MakeOrthoView.
          Every part of the assembly is a layer and a scene, named like this: partnumber-partname
          With the code I can make partlist in excel in a short time.

          Thanks again to TIG

          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