|
Sweet Home 3D Forum » List all forums » » Forum: Features use and tips » » » Thread: zoom for HTML5 tool file is weak compared to program zoom » » » » Post: Re: zoom for HTML5 tool file is weak compared to program zoom |
Print at Dec 17, 2025, 12:52:34 PM |
| Posted by Puybaret at Mar 14, 2018, 10:26:42 AM |
|
Re: zoom for HTML5 tool file is weak compared to program zoom It's great that you could achieve it by yourself ![]() As you finally found out, setSelectedItems method takes an array of objects (furniture, walls or other objects stored in a Home instance) and not an array of numbers or quoted numbers. How can I tell when the "Home" is loaded? The home loading process can be tracked in the onprogression callback. Just change the existing callback in the condition part === HomeRecorder.READING_HOME. Doing so will be much safer than programming a timer with a delay that may vary with bandwidth and CPU power.Thanks for the donation ![]() ---------------------------------------- Emmanuel Puybaret, Sweet Home 3D creator |
|
|
Current timezone is GMT Dec 17, 2025, 12:52:34 PM |