Print at Jan 29, 2022, 8:21:23 AM

Posted by omrico at Jan 4, 2018, 7:06:36 PM
Re: Export to HTML5 plug-in
Selecting an object of the displayed home should have the same effect as in Sweet Home 3D. From the HomePreviewComponent returned by viewHome, you'll be able to access to the displayed Home instance, which lets you access to all its objects and select the ones you want with its setSelectedItems method.

I tried what you said but didn't succeed with changing the camera. I fetched all the selected items via
function and randomly chose an object from the array.
Then used
function but the camera didn't change the angle and position. What am I missing here?
Thank you.