Print at Dec 20, 2025, 9:13:55 PM

Posted by Puybaret at Jun 22, 2012, 7:00:27 PM
Re: use private elements of the classes HomePane and HomeController for made a plugin to export the furniture in separated obj
I think you missed the following point:
Version 3.5 gave access to the HomeController instance from a plug-in instance. Then, from the HomeController instance you can access to the other controllers and their views if necessary.

If exportToOBJ method doesn't perform like you want, I don't see the problem to write your own method in your plug-in. But if you want to change the behavior of the existing exportToOBJ method, you'll have to create a derived version of Sweet Home 3D, not a plug-in.
----------------------------------------
Emmanuel Puybaret, Sweet Home 3D creator