Change the first position of furnitures in the plan

This topic has been viewed 3334 times and has 2 replies
Thread status: Active
Questions about extending features and developing plug-ins [img]http://www.sweethome3d.com/images/flags/en_small.gif[/img]
Post Reply New Topic
tsionik
Posts: 4
Joined: Thu Sep 29, 2011 7:18 pm

Change the first position of furnitures in the plan

Post by tsionik »

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

Re: Change the first position of furnitures in the plan

Post by Puybaret »

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
tsionik
Posts: 4
Joined: Thu Sep 29, 2011 7:18 pm

Re: Change the first position of furnitures in the plan

Post by tsionik »

Thank you very much for your help!
Post Reply New Topic

Who is online

Users browsing this forum: No registered users and 2 guests