|
Sweet Home 3D Forum » List all forums » » Forum: New versions » » » Thread: Export to HTML5 plug-in » » » » Post: Re: Export to HTML5 plug-in |
Print at Dec 17, 2025, 3:31:27 PM |
| 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 getSelectableViewableItems()Then used setSelectedItems(selectedItems)Thank you. |
|
|
Current timezone is GMT Dec 17, 2025, 3:31:27 PM |