Print at Dec 16, 2025, 7:15:14 PM View all posts in this thread on one page
Posted by enkonyito at Sep 8, 2017, 2:28:22 AM
Method not accessible from a plug-in
By checking the compatibility of the PhotoVideoRendering-1.3 plug-in with SweetHome3D-5.5, I get an error after integrating the PhotoRenderer file update.
Error message: "The method getPieceOfFurnitureNormalizedModelTransformation (HomePieceOfFurniture, Node) from the type ModelManager is not visible".

PVR-1.3


SH3D-5.5


Is there a way to circumvent this restriction?
----------------------------------------
EnkoNyito

Posted by Puybaret at Sep 8, 2017, 2:50:11 AM
Re: Method not accessible from a plug-in
I guessed you would need getPieceOfFurnitureNormalizedModelTransformation, made it public during half an hour, and finally changed my mind because I didn't want that a method with such parameters be part of the API.
Just copy / paste it in your own code.
----------------------------------------
Emmanuel Puybaret, Sweet Home 3D creator

Posted by enkonyito at Sep 9, 2017, 1:24:57 AM
Re: Method not accessible from a plug-in
At first the solution did not work but with perseverance the problem was solved.


Thank you!
----------------------------------------
EnkoNyito