Print at Dec 22, 2025, 4:27:21 PM View all posts in this thread on one page
Posted by tsionik at Mar 2, 2012, 11:18:57 PM
Change the first position of furnitures in the plan
Dear SH3D community,

when I choose more than one furnitures of the catalog and click on the "Add catalog selected furniture to home" button, all of them are putted together in the same possition(the one inside the other). Is it possible to change this, and put every furniture near the other? If yes, is that simple or it is something difficult? In which class I have to focus?

My first thought was to see in the PlanComponent Class but I didn't manage to find something..

Thank you for your help!

Posted by Puybaret at Mar 3, 2012, 9:14:20 AM
Re: Change the first position of furnitures in the plan
Modifications of the model instances are all done by the classes of the com.eteks.sweethome3d.viewcontroller package. Among these classes, have a look to FurnitureController class. As this class controls how furniture is added and aligned, it shouldn't be too difficult to program this modification.
----------------------------------------
Emmanuel Puybaret, Sweet Home 3D creator

Posted by tsionik at Mar 3, 2012, 4:49:23 PM
Re: Change the first position of furnitures in the plan
Thank you very much for your help!