how to copy views between files

General discussion related to SketchUp Pro and Make

how to copy views between files

Postby Weetie » Wed May 19, 2010 5:43 pm

Is there a way to copy a view or scene from one sketchup file to another?
0

Weetie 
 

Re: how to copy views between files

Postby Gaieus » Wed May 19, 2010 5:48 pm

There is a plugin called PageExIm.rb (scenes used to be called pages up to version 5 so this is for "Page Export Import") at Smustard:
http://www.smustard.com/script/PageExIm
It's a $5 commercial plugin tho (I have it; love it).
0
User avatar
Gaieus 
 

Re: how to copy views between files

Postby Jean Lemire » Wed May 19, 2010 11:32 pm

Hi folks.

Another possibility. Lets pretend that the file that you want to export the file is called A and that the file into which you want to place then is called B.

1 - Open file A.

2 - Save as C.

3 - Delete the model in the C file. All you want to keep are the scenes.

4 - Use File --> Import to import the model from file B. Place it where the previous model was. You may wait untill this is done before deleting the model from A to keep a positioning point.

5 - Save as B, overwriting old file B with a new one that inherited all the scenes from A.

Just ideas.
2
Jean (Johnny) Lemire from Richelieu, Quebec, Canada.
User avatar
Jean Lemire 
Global Moderator
 

Re: how to copy views between files

Postby flipya » Thu May 20, 2010 12:06 am

Jean Lemire wrote:Just ideas


Just ideas indeed, but not bad ideas :D
0

flipya 
 

Re: how to copy views between files

Postby DavidBoulder » Thu May 20, 2010 6:23 pm

Often I have various design options for a site, but I want to evaluate them with the same set of scenes, which may change from day to day, or I might add background photos.

My technique is similar to what is described above, but I don't explode my component.

My file with the scenes is called something like "Project master file.skp"

There are a few top level components.
Site Context
Building Design
Landscaping

The Building design component is what I have 4-5 versions of, and I swap out which one I want to view or work on. When I make change to it, I save the component back out before swapping out for another one. I don't rely on it being saved in the master file. This was particularly useful when I had a project with tons of high res photo match scenes. I had to send my design back and forth via email, and this way I only had to send the model element, and not the larger file with the images. In this case my photo match was for the site context, not for the building design.
0
--

David Goldwasser
OpenStudio Developer
National Renewable Energy Laboratory
User avatar
DavidBoulder 
 

Re: how to copy views between files

Postby JPMays » Thu Mar 03, 2011 8:35 pm

Jean Lemire wrote:4 - Use File --> Import to import the model from file B. Place it where the previous model was. You may wait untill this is done before deleting the model from A to keep a positioning point.


i have experienced problems with this method that I could use some help on: I had model A, which my boss saved off a copy of (B) to start creating views for our presentation, while I continued to develop the original file (A). When it came time to merge the two, I deleted all the geometry from B, and then did File>Import>A. However, it did not import in the same location. Is there a way to specify the origin or something?
0
Hofstadter's Law: It always takes longer than you expect, even when you take into account Hofstadter's Law.

JPMays 
 

Re: how to copy views between files

Postby Dave R » Thu Mar 03, 2011 9:04 pm

As Jean indicated, you could leave the original in place in B until after you've imported A so that you have a reference to use for location.

An alternative would be to make a component of the entire A model. Set the component axis to either the global origin or relative to some point perhaps defined by the intersection of two guidelines. If you use guidelines, place corresponding guidelines in the B file. Then delete the model in B, copy (Ctrl+C) the component in A and paste (Ctrl+V) it in B making sure you click on the intersection of the guidelines.

Or, even easier, Select all of model A and copy it (again Ctrl+C). Then, in Model B, click Edit>Paste in Place.
1
Inspecting mirrors is a job I could easily see myself doing.

3 out 4 people make up 75% of the population.
User avatar
Dave R 
Global Moderator
 

Re: how to copy views between files

Postby ledisnomad » Thu Mar 03, 2011 10:01 pm

I have a script that says it is copyrighted by @LastSoftware that allows you to create a camera object and look through said object. I use it to copy my cameras from file to file like you want, Weetie. I don't know where I got it, so I'll attach it here. You have to create a camera for each scene, copy all cameras and paste them, then create a new scene for each camera, so it's not fully automated, but it does the trick for free.
0

ledisnomad 
 

Re: how to copy views between files

Postby dtrarch » Fri Mar 04, 2011 5:33 pm

FYI

The $5 pageExim.rb from SMustard works for both SU 7.1 free and SU 8 Pro. :thumb:
Even though it is named as a page util it will copy over all the user defined scene names properly.
Very slick. :thumb: :thumb:

dtr
0

dtrarch 
Premium Member
Premium Member
 

Re: how to copy views between files

Postby Gaieus » Sat Mar 05, 2011 10:46 am

Yes, that's an old plugin. Until SU version 6, scenes were called pages (then LayOut with its "real" pages came in and took the name).

Same with construction lines and guide lines etc. I think the ruby api still calls them by their "old" name (so that plugins are cross-version compatible)
0
User avatar
Gaieus 
 

SketchUcation One-Liner Adverts

by Ad Machine » 5 minutes ago



Ad Machine 
Robot
 



 

Return to SketchUp Pro & Make Discussions

Who is online

Users browsing this forum: No registered users and 11 guests

Visit our sponsors: