Is it possible to transfer scenes from one file to another?
-
I've got a large interior hospital model I've had to break up for file size reasons. Each file will have it's on walkthrough consisting of about 20 scenes. If/When I bring all of the pieces into a single model again, is it possible to also consolidate the scenes as well?
-Brodie
-
Ya, the issue with that though is that I've got to compile several files with scenes (not just transfer a file with scenes to a file without scenes). I'm not sure that's possible through the method you mention.
-Brodie
-
You could handle this by using a master file where you have all your scenes (I strongly dislike that choice of word - it should be called pages or views IMO). You could make a component of all interior parts in, say "WingAFloor02". Then you save the component and rename it to "WingAFloor02Proxy". Edit the component and delete all the contents except for one simple "placeholder", if there are any suitable parts there for such use - otherwise just make a simple cube or something. Make sure that they have the same component axes. Save the new component with its new name.
Now you can use the 'reload' command to quickly replace the proxy with the "real" component, or vice versa, or have different versions that can easily be swapped without having to juggle with a lot of layers.
To save file size for this master file you should remember to purge all unused components first. -
Not a bad idea, but certainly a bit more complex. Unfortunately, I've already started so I have about 4 files with 20 scenes each which I'd need to recreate.
-Brodie
-
There is a plugin that is available but i have never got it to work,
a work around I found was to open the file you want the scenes in, in a second SU window and copy and paste in place into the file with the scenes you want. -
There is also a camera.rb plugin that puts a camera in the position you are in that moment. I believe you can the copy/paste in place the cameras in the new file, thus creating the scenes from the cameras...
I don't have the time to try it out right now, I'll get back to you to tell you if it worked!
-
@unknownuser said:
Not a bad idea, but certainly a bit more complex. Unfortunately, I've already started so I have about 4 files with 20 scenes each which I'd need to recreate.
-Brodie
Well, it is actually a lot less complex to do than to explain -
I confirm now that you can put cameras in the model with the camera.rb script and copy/paste in place them in the new file.
Since I didn't find the original thread for that plugin, I'll just upload it here, hope it helps
-
Try Smustard.com for pageExIm.rb which will export/import Scenes [aka pages, with camera, shadow-settings, behaviors etc] - be aware that it always imports in inches so reset your source-SKP's units to inches before exporting as it exports in current units
There are also some other useful Scene [page] tools available there [$] -
Thanks TIG, that sounds exactly like what I need. It allows me to continue with my workflow without losing any time and if I need to join everything up later I can do so. Awesome.
-Brodie
-
Good!
Beware of what I said about the SKP's units...
It exports in current units but then imports in inches, which will mess up your new SKP's camera positions if the source-SKP isn't in inches [at least temporarily while you export]!
Actually I rewrote the code in my version so that it remembers the current units, then sets the SKP's units to inches, then does the export and finally sets the units as they were before - that avoids having to worry about units at all - the import is always in inches irrespective of your SKP's units anyway... -
@tig said:
Actually I rewrote the code in my version so that it remembers the current ...
Any chance you could make that version available for download?
Advertisement