|
Sweet Home 3D Forum » List all forums » » Forum: Developers » » » Thread: Check if item is selected. » » » » Post: Re: Check if item is selected. |
Print at Jan 21, 2026, 6:49:38 AM |
| Posted by jrmobile at Aug 17, 2020, 9: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 Jan 21, 2026, 6:49:38 AM |