Re: Sweet Home 3D 6.5
If I understand correctly, these new setters currently only allow permutations as in your example or the Paste style function.<technical answer>
Most of the properties that could be only retrieved from an instance of HomePieceOfFurniture or a subclass can now be modified too with their new setters ([font=courier new]setModel[/font], [font=courier new]setPlanIcon[/font], [font=courier new]setInformation[/font]...). Of course, I also added some listeners in the plan and 3D view components to update them when a call to these methods is done, but there's no user interface to call them yet, even if I checked they correctly work. Some of these methods were added for modifications I had to make to EvidenceMarkerGenerator plug-in.
The easiest way to test them is probably with the JavaScript console in a browser running with a SweetHome3DJS example. For example, the following JavaScript instruction will replace the model of the piece selected in the plan by the model of the piece selected in the furniture catalog:</technical answer>Code: Select all
application.getHomes()[0].getSelectedItems()[0].setModel( application.getHomeController(application.getHomes()[0]). getFurnitureCatalogController().getSelectedFurniture()[0].getModel());