Launch multiple instances of SweetHome3D?

This topic has been viewed 7689 times and has 12 replies
Thread status: Active
How can I do this? [img]http://www.sweethome3d.com/images/flags/en_small.gif[/img]
2manyprojects
Posts: 1
Joined: Sun Feb 23, 2020 6:02 pm
Country: US

Launch multiple instances of SweetHome3D?

Post by 2manyprojects »

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-
User avatar
Puybaret
Posts: 9440
Joined: Mon Nov 07, 2005 12:00 pm
Country: Paris, France
Contact:

Re: Launch multiple instances of SweetHome3D?

Post by Puybaret »

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
rrraf
Posts: 2
Joined: Tue May 05, 2020 1:06 am

Re: Launch multiple instances of SweetHome3D?

Post by rrraf »

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
User avatar
Puybaret
Posts: 9440
Joined: Mon Nov 07, 2005 12:00 pm
Country: Paris, France
Contact:

Re: Launch multiple instances of SweetHome3D?

Post by Puybaret »

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

To use this property, add the line

Code: Select all

-Dcom.eteks.sweethome3d.singleInstance=false
to a file named [font=courier new]SweetHome3D.l4j.ini[/font] and stored in Sweet Home 3D installation folder.
Emmanuel Puybaret, Sweet Home 3D creator
Mike53
Posts: 678
Joined: Sat Jan 06, 2018 1:02 am
Country: UK

Re: Launch multiple instances of SweetHome3D?

Post by Mike53 »

Would that enable us to use 2 instances of sunflow too?
User avatar
Puybaret
Posts: 9440
Joined: Mon Nov 07, 2005 12:00 pm
Country: Paris, France
Contact:

Re: Launch multiple instances of SweetHome3D?

Post by Puybaret »

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
The_Highlander
Posts: 4
Joined: Fri Jul 04, 2025 12:16 am
Country: United Kingdom

Re: Launch multiple instances of SweetHome3D?

Post by The_Highlander »

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

To use this property, add the line

Code: Select all

-Dcom.eteks.sweethome3d.singleInstance=false
to a file named [font=courier new]SweetHome3D.l4j.ini[/font] 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: "[font=courier new]SweetHome3D.l4j.ini[/font]" 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! 😊
User avatar
Puybaret
Posts: 9440
Joined: Mon Nov 07, 2005 12:00 pm
Country: Paris, France
Contact:

Re: Launch multiple instances of SweetHome3D?

Post by Puybaret »

Just create the file [font=courier new]SweetHome3D.l4j.ini[/font] in the same folder as [font=courier new]SweetHome3D.exe[/font]
Emmanuel Puybaret, Sweet Home 3D creator
The_Highlander
Posts: 4
Joined: Fri Jul 04, 2025 12:16 am
Country: United Kingdom

Re: Launch multiple instances of SweetHome3D?

Post by The_Highlander »

Just create the file [font=courier new]SweetHome3D.l4j.ini[/font] in the same folder as [font=courier new]SweetHome3D.exe[/font]
Hoping that I had understood you correctly, I created a new text file (as shown below), renamed it as:"[font=courier new]SweetHome3D.l4j.ini[/font]", opened it (with r/click > [font=courier new]Edit[/font] ) and inserted the single line:-

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

then saved it and moved it into the folder containing: "[font=courier new]SweetHome3D.exe[/font]"

Image

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!). [=D>]

Best Regards. [:D]
There can be only one! 😊
User avatar
Keet
Posts: 1807
Joined: Fri Apr 08, 2022 7:13 am
Country: Netherlands

Re: Launch multiple instances of SweetHome3D?

Post by Keet »

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
Post Reply New Topic

Who is online

Users browsing this forum: No registered users and 2 guests