|
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 19, 2025, 6:33:36 AM |
| Posted by PacWood at Mar 14, 2018, 8:18:48 AM |
|
Re: zoom for HTML5 tool file is weak compared to program zoom Hello, I put in a 6 second delay timer and then did the getUserPreferences(); The code is able to access the HOME data. When the setSelectedItems is called, I pass in a list: var itemSel = ["209","210"]; HOME.setSelectedItems(itemSel); However, the zoom in the .html file does not zoom into the selected Item. Below is the code: Included at the bottom of this post is a screen shot. The building is on the left and the list of selectable items is shown in the console. The zoom is not zooming into the selection. Am I doing the selection correctly? Is there some line of code that I may be missing? Thank you very much for your advice. ![]() |
|
|
Current timezone is GMT Dec 19, 2025, 6:33:36 AM |