|
Sweet Home 3D Forum » List all forums » » Forum: Developers » » » Thread: Check if item is selected. » » » » Post: Re: Check if item is selected. |
Print at Dec 23, 2025, 8:41:37 AM |
| Posted by jrmobile at Aug 17, 2020, 7:02:45 PM |
|
Re: Check if item is selected. I'm trying this one, but it still fires an error selectable cannot be resolved to a type List<Selectable> selectedItems = home.getSelectedItems(); List<HomePieceOfFurniture> furniture = selectedItems.getFurniture(); for (HomePieceOfFurniture homePiece : furniture) { if (selectedItems.contains(homepiece)) { continue; } } } |
|
|
Current timezone is GMT Dec 23, 2025, 8:41:37 AM |