Export a SketchUp file
-
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
-
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?
-
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
-
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,
-
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
-
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.
-
@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
Advertisement