Index  | Recent Threads  | List Attachments  | Search
 Welcome Guest  |  Register  |  Login
Login Name  Password
 

Sweet Home 3D Forum



No member browsing this thread
Thread Status: Active
Total posts in this thread: 10
[ Jump to Last Post ]
Post new Thread
Author
Previous Thread This topic has been viewed 3135 times and has 9 replies Next Thread
2manyprojects
Newbie



US
Joined: Feb 23, 2020
Post Count: 1
Status: Offline
Reply to this Post  Reply with Quote 
Launch multiple instances of SweetHome3D?

I searched around and could not find an answer.

Is there a way to launch multiple instances of SweetHome3D?

I am using the linux version and launching SweetHome3D-Java3D-1_5_2.

Attempts so far to launch multiple instances, even from different source locations just shows the one currently running instance.

Thanks,

M-
[Feb 23, 2020, 6:09:51 PM] Show Printable Version of Post    View Member Profile    Send Private Message [Link] Report threatening or abusive post: please login first  Go to top 
Puybaret
Expert
Member's Avatar

France
Joined: Nov 7, 2005
Post Count: 9430
Status: Offline
Reply to this Post  Reply with Quote 
Re: Launch multiple instances of SweetHome3D?

It’s not possible without dirty tricks, but I could add an option for that in a future version. Why do you need that?
----------------------------------------
Emmanuel Puybaret, Sweet Home 3D creator
[Feb 25, 2020, 6:07:31 AM] Show Printable Version of Post    View Member Profile    Send Private Message [Link] Report threatening or abusive post: please login first  Go to top 
rrraf
Newbie




Joined: May 5, 2020
Post Count: 2
Status: Offline
Reply to this Post  Reply with Quote 
Re: Launch multiple instances of SweetHome3D?

It’s not possible without dirty tricks, but I could add an option for that in a future version. Why do you need that?


Hi,

I would also love that in order to be able to launch (night long) "multiple photo rendering" in multiple designs/files. Unless there's another way to achieve this?

Regards
[Mar 1, 2021, 12:26:38 AM] Show Printable Version of Post    View Member Profile    Send Private Message [Link] Report threatening or abusive post: please login first  Go to top 
Puybaret
Expert
Member's Avatar

France
Joined: Nov 7, 2005
Post Count: 9430
Status: Offline
Reply to this Post  Reply with Quote 
Re: Launch multiple instances of SweetHome3D?

I added the com.eteks.sweethome3d.singleInstance system property in Sweet Home 3D 6.5 to make each launch of the application run in a separated process when set to false.

To use this property, add the line
-Dcom.eteks.sweethome3d.singleInstance=false
to a file named SweetHome3D.l4j.ini and stored in Sweet Home 3D installation folder.
----------------------------------------
Emmanuel Puybaret, Sweet Home 3D creator
[Mar 3, 2021, 6:55:18 PM] Show Printable Version of Post    View Member Profile    Send Private Message [Link] Report threatening or abusive post: please login first  Go to top 
Mike53
Advanced Member



UK
Joined: Jan 6, 2018
Post Count: 677
Status: Offline
Reply to this Post  Reply with Quote 
Re: Launch multiple instances of SweetHome3D?

Would that enable us to use 2 instances of sunflow too?
[Mar 3, 2021, 10:07:11 PM] Show Printable Version of Post    View Member Profile    Send Private Message [Link] Report threatening or abusive post: please login first  Go to top 
Puybaret
Expert
Member's Avatar

France
Joined: Nov 7, 2005
Post Count: 9430
Status: Offline
Reply to this Post  Reply with Quote 
Re: Launch multiple instances of SweetHome3D?

Yes, but both instances will try to use all the cores of the CPU, so I’m not sure it will be efficient.
----------------------------------------
Emmanuel Puybaret, Sweet Home 3D creator
[Mar 3, 2021, 10:11:06 PM] Show Printable Version of Post    View Member Profile    Send Private Message [Link] Report threatening or abusive post: please login first  Go to top 
The_Highlander
Newbie
Member's Avatar

United Kingdom
Joined: Jul 4, 2025
Post Count: 2
Status: Offline
Reply to this Post  Reply with Quote 
Re: Launch multiple instances of SweetHome3D?

I added the com.eteks.sweethome3d.singleInstance system property in Sweet Home 3D 6.5 to make each launch of the application run in a separated process when set to false.

To use this property, add the line
-Dcom.eteks.sweethome3d.singleInstance=false
to a file named SweetHome3D.l4j.ini and stored in Sweet Home 3D installation folder.


I too would like to be able to run two instances of your excellent program but I cannot find any file named: "SweetHome3D.l4j.ini" in the Sweet Home 3D installation folder (or anywhere else on my computer).

I am running version 7.5 of the program on a Windows 10 PC.

Does the facility only exist for Linux users or can you tell me how to do it in Windows 10 please?

Thank you, &
Kind Regards.
----------------------------------------
There can be only one! 😊
[Jul 4, 2025, 1:12:42 AM] Show Printable Version of Post    View Member Profile    Send Private Message [Link] Report threatening or abusive post: please login first  Go to top 
Puybaret
Expert
Member's Avatar

France
Joined: Nov 7, 2005
Post Count: 9430
Status: Offline
Reply to this Post  Reply with Quote 
Re: Launch multiple instances of SweetHome3D?

Just create the file SweetHome3D.l4j.ini in the same folder as SweetHome3D.exe
----------------------------------------
Emmanuel Puybaret, Sweet Home 3D creator
[Jul 4, 2025, 10:16:06 AM] Show Printable Version of Post    View Member Profile    Send Private Message [Link] Report threatening or abusive post: please login first  Go to top 
The_Highlander
Newbie
Member's Avatar

United Kingdom
Joined: Jul 4, 2025
Post Count: 2
Status: Offline
Reply to this Post  Reply with Quote 
Re: Launch multiple instances of SweetHome3D?

Just create the file SweetHome3D.l4j.ini in the same folder as SweetHome3D.exe


Hoping that I had understood you correctly, I created a new text file (as shown below), renamed it as:"SweetHome3D.l4j.ini", opened it (with r/click > Edit ) and inserted the single line:-

"-Dcom.eteks.sweethome3d.singleInstance=false"

then saved it and moved it into the folder containing: "SweetHome3D.exe"



Having done that, I can, indeed, now open two instances of the program simultaneously!

Thank you so much for your help (and for your excellent program!). applause

Best Regards. biggrin
----------------------------------------
There can be only one! 😊
[Jul 4, 2025, 8:21:41 PM] Show Printable Version of Post    View Member Profile    Send Private Message [Link] Report threatening or abusive post: please login first  Go to top 
Keet
Advanced Member
Member's Avatar

Netherlands
Joined: Apr 8, 2022
Post Count: 1430
Status: Offline
Reply to this Post  Reply with Quote 
Re: Launch multiple instances of SweetHome3D?

Be aware that with separate instances you won't see a newly imported furniture or texture library in one instance in the other instance until you restart it. With a single instance setup you would see an imported library immediately in all open projects. In your case I don't think that will be a problem but remember it when you have two instances running for normal editing and you import furniture or textures.

Also understand that photo rendering will not be faster by doing it in two instances at the same time instead of one after the other. The only advantage is that you can start them both and let them run through the night.
----------------------------------------
Dodecagon.nl
1300+ 3D models, manuals, and projects
[Jul 5, 2025, 8:48:12 AM] Show Printable Version of Post    View Member Profile    Send Private Message [Link] Report threatening or abusive post: please login first  Go to top 
[ Jump to Last Post ]
Show Printable Version of Thread  Post new Thread

  Get Sweet Home 3D at SourceForge.net. Fast, secure and Free Open Source software downloads  
© Copyright 2024 Space Mushrooms - All rights reserved