cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
Showing results for 
Search instead for 
Did you mean: 

Community Tip - Did you know you can set a signature that will be added to all your posts? Set it here! X

How to merge 2 experiences in Vuforia Studio

Aditya1702
16-Pearl

How to merge 2 experiences in Vuforia Studio

Hello Everyone,

Good Morning,

 

How can 2 experiences be merged together into a single experience in Vuforia Studio?

 

Thanks in advance.

 

Regards,

Aditya Gupta

4 REPLIES 4

Similar question - "How to do Multi-user experience in vuforia studio?": https://community.ptc.com/t5/Vuforia-Studio/How-to-do-Multi-user-experience-in-vuforia-studio/td-p/645333

Hi @VladimirN ,

 

I don't want to view experience instead I have 2 experiences in Vuforia Studio which

I want to merge them as a single project in Vuforia Studio itself.

 

Regards,

Aditya Gupta

Hi Aditya--

 

If I understand correctly, you have "Project_A" and "Project_B", and you would like to combine them into a single project with two Views, Project_A_View and Project_B_View. Is that right?

 

It would involve some manual work, but I think you could probably do it. I tested with a simple example and it worked for me. Here's what I did:

 

  1. Let's say you want to add Project_B as a new View in Project_A, i.e. Project_A will become the merged project.
  2. Make a backup of Project_A in case something goes wrong!
  3. In Project_A, create a new View called "Project_B" (or whatever descriptive name you would like)
  4. In Project_B, rename the default View with the same name you used in step 2 (e.g. "Project_B")
  5. In Windows Explorer, open the folder where Project_A is stored, probably something like C:\Users\{yourname}\Documents\VuforiaStudio\Projects\Project_A\src\phone\components.
  6. In that folder, you should see "Project_B.js" and "Project_B.json". (Or replace "Project_B" with whatever name you chose in step 2). Delete these files from Project_A
  7. Find the similar folder for Project_B, e.g. C:\Users\{yourname}\Documents\VuforiaStudio\Projects\Project_B\src\phone\components.
  8. In that folder you will find "Project_B.js" and "Project_B.json". Copy those files and paste them in the same location under Project_A (the same path used in step 5).
  9. You'll need to do something similar with the resources (model files, images, etc.). Find the src/phone/resources/Uploaded folder under Project_B, copy everything there, and paste into the corresponding location under Project_A
    1. NB: beware of name collisions--if you have files of the same name that do not have the same contents for the two projects, you'll need to rename some files so they can live together in the same folder, and do some post-merge cleanup in the corresponding widgets to make sure the right widgets refer to the right resources.
  10. That should be it, I think. After this, try opening Project_A in Vuforia Studio, and switching to the "Project_B" view. If everything worked, you should see all your stuff from the other project.

Hello @Aditya1702

 

It looks like you have some responses from some community members. If any of these replies helped you solve your question please mark the appropriate reply as the Accepted Solution. 

Of course, if you have more to share on your issue, please let the Community know so other community members can continue to help you.

Thanks,
Vivek N.
Community Moderation Team.

Announcements
Top Tags