|
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 Jan 30, 2026, 2:11:28 AM |
| Posted by omrico at Jan 4, 2018, 8: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 Jan 30, 2026, 2:11:28 AM |