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

Export a SketchUp file

Scheduled Pinned Locked Moved Developers' Forum
7 Posts 4 Posters 863 Views 4 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.
  • I Offline
    Insitebuilders
    last edited by 30 Jan 2008, 23:10

    Rubiers

    Is there a (way or) Ruby that will export a SU model from a SU model?? I'm trying to avoid the SaveAs command for a series of 15 saves that involve a very large orig file (hence it would save having to reopen the (23min/open) "mother" file).

    Thx

    /Dennis

    1 Reply Last reply Reply Quote 0
    • J Offline
      Jim
      last edited by 31 Jan 2008, 02:11

      Dennis,

      Absolutely this can be done. Can you be a little more specific about what you want to save 15 times? Is it simply different scenes? Different parts of the model?

      Hi

      1 Reply Last reply Reply Quote 0
      • I Offline
        Insitebuilders
        last edited by 31 Jan 2008, 02:39

        J

        I can try to explain it.

        The files are phases of the installation of MEP in a large construction model (aka the "mother" @ 331mb). The phases are both in layers and in Groups/subgroups in the Outliner (Grouped for scenes and various combinations of floors and systems).

        I need to save various combinations of these groups (separate building systems) as diff model files (so that lay readers of our new book can open smaller files and nav the models in SkUp (w/ limited powerd computers/g-cards). Each of these files will have defined sets of scenes and match diff chapters of the book.

        I can do it the old fashion way. Open the mother file, select combos of phases (groups) in the Outliner, delete the appropriate groups, do a SaveAs, etc. Doing the SaveAs is relatively straight forward and we also could export them as one of TIG's Xrefs, the prob is each SaveAs is abt 20minutes and it then takes another 20-25min to reopen the mother and do it again. (BTW exporting a large grouped category as an Xref takes a little longer per file than a straight SaveAs).

        All pretty tedious. I was wonderg if there was a Ruby that would allow me to Export > 3DModel > SketchUp Model (.skp) from the mother file, and then let me reset the combos and Export again, w/o havg to repeat the cycle and reopen the mother.

        Sorry, I'm writing a book abt the book here....😉 Hope that explains it...

        Gracias

        /Dennis

        1 Reply Last reply Reply Quote 0
        • R Offline
          RickW
          last edited by 31 Jan 2008, 19:45

          If you have 100 or fewer actions to do your mods, you can undo them all.
          You can also use "Save a copy as..." to avoid re-opening the master file.

          The following code will automate the Undo actions:

          100.times { Sketchup.send_action "editUndo;" }
          

          Hope that helps,

          RickW
          [www.smustard.com](http://www.smustard.com)

          1 Reply Last reply Reply Quote 0
          • I Offline
            Insitebuilders
            last edited by 31 Jan 2008, 21:22

            R

            Thx that will help a lot. We've been inching thru the saves in the backgrd on one computer and forget sometimes what was chgd by the time it saves a copy.

            Not that I need more, but I guess 100 is the set limit. I can figure that out tho.

            Thx again

            /D

            1 Reply Last reply Reply Quote 0
            • J Offline
              Jim
              last edited by 31 Jan 2008, 21:40

              You could also use a "master" scene that would reset the model when selected. And there is the File > Revert menu option, which will revert the model back to the state when first opened.

              Hi

              1 Reply Last reply Reply Quote 0
              • K Offline
                ken
                last edited by 31 Jan 2008, 22:29

                @jim said:

                You could also use a "master" scene that would reset the model when selected. And there is the File > Revert menu option, which will revert the model back to the state when first opened.

                Checked my "file revert". My revert is grey out, and I haven't found any way to ungrey the revert. So what do I need to do to use revert?

                Ken

                Oops, never mind. Was looking at a file that I had not done anything to, so when I added a new section, saw that revert was not greyed. So, thanks for at least making me aware of the revert option, because I sometimes can realy mess up my work.

                Ken again

                Fight like your the third monkey on Noah's Ark gangway.

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

                Advertisement