I've made it.
If anyone need, i just leave it here
TexturesCatalog texturesCatalog = userPreferences.getTexturesCatalog();
java.util.List<TexturesCategory> texturesCategories = texturesCatalog.getCategories();
TexturesCategory garderobCategory = null;
for (TexturesCategory category ...
Search found 11 matches
- Tue Aug 17, 2021 12:59 pm
- Forum: Developers
- Topic: How do i Change Texture in Plugin?
- Replies: 3
- Views: 5792
- Mon Aug 16, 2021 9:15 pm
- Forum: Developers
- Topic: How do i Change Texture in Plugin?
- Replies: 3
- Views: 5792
Re: How do i Change Texture in Plugin?
Thank you.
Will try.
Will try.
- Sat Aug 14, 2021 7:20 pm
- Forum: Developers
- Topic: How do i Change Texture in Plugin?
- Replies: 3
- Views: 5792
How do i Change Texture in Plugin?
Hi.
I need some help on my plugin.
I need to change pieceoffurniture texture to specific one from catalog.
I've found one in catalog and setting it with setTexture, but it requires HomeTexture object type.
How do i set it?
private void placeFurniture(float[] XYZRot, CatalogPieceOfFurniture ...
I need some help on my plugin.
I need to change pieceoffurniture texture to specific one from catalog.
I've found one in catalog and setting it with setTexture, but it requires HomeTexture object type.
How do i set it?
private void placeFurniture(float[] XYZRot, CatalogPieceOfFurniture ...
- Sun Aug 23, 2020 8:59 pm
- Forum: Developers
- Topic: Cannot make it work setBackgroundImageVisibleOnGround3D.
- Replies: 0
- Views: 5161
Cannot make it work setBackgroundImageVisibleOnGround3D.
Good day to the community.
Would really appreciate if someone could give me a hand.
I spent ages in making my plugin.
Now it works and only one small feature is not working.
I'm loading from plugin background picture and i need it wo be shown on 3d view.
I've found ...
Would really appreciate if someone could give me a hand.
I spent ages in making my plugin.
Now it works and only one small feature is not working.
I'm loading from plugin background picture and i need it wo be shown on 3d view.
I've found ...
- Mon Aug 17, 2020 10:35 pm
- Forum: Developers
- Topic: Check if item is selected.
- Replies: 5
- Views: 4844
Re: Check if item is selected.
I've made it. Thanks for your help.
- Mon Aug 17, 2020 7:02 pm
- Forum: Developers
- Topic: Check if item is selected.
- Replies: 5
- Views: 4844
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 ...
cannot be resolved to a type
List<Selectable> selectedItems = home.getSelectedItems();
List<HomePieceOfFurniture> furniture = selectedItems.getFurniture();
for (HomePieceOfFurniture homePiece : furniture) {
if (selectedItems ...
- Mon Aug 17, 2020 6:43 pm
- Forum: Developers
- Topic: Check if item is selected.
- Replies: 5
- Views: 4844
Re: Check if item is selected.
Emmanuel, Thank you very much for your reply.
I know that it is very brazenly, but i ask you to help in making a code piece to obtain a list за selected furniture, by the algorithm you've described?
I know that it is very brazenly, but i ask you to help in making a code piece to obtain a list за selected furniture, by the algorithm you've described?
- Sun Aug 16, 2020 11:04 pm
- Forum: Developers
- Topic: Check if item is selected.
- Replies: 5
- Views: 4844
Re: Check if item is selected.
I'm trying this way
List<selectableItem> selectedItems = home.getSelectedItems();
List<HomePieceOfFurniture> furniture = selectedItems.getFurniture();
But it fires an error selectableItem cannot be resolved to a type. Same with type "Selectable".
List<selectableItem> selectedItems = home.getSelectedItems();
List<HomePieceOfFurniture> furniture = selectedItems.getFurniture();
But it fires an error selectableItem cannot be resolved to a type. Same with type "Selectable".
- Sun Aug 16, 2020 2:40 pm
- Forum: Developers
- Topic: Check if item is selected.
- Replies: 5
- Views: 4844
Check if item is selected.
Good day everyone.
Spent hours in developers guide, trying to find out, how do check in plugin if PieceOfFurniture is selected.
Found only getSelectedItems() method, but maybe there is easier way to check it, intead of checking, if my items are in group?
If there is no easier way, would you be so ...
Spent hours in developers guide, trying to find out, how do check in plugin if PieceOfFurniture is selected.
Found only getSelectedItems() method, but maybe there is easier way to check it, intead of checking, if my items are in group?
If there is no easier way, would you be so ...
- Fri Aug 14, 2020 12:42 pm
- Forum: Developers
- Topic: How do i reset materials of furniture to default?
- Replies: 2
- Views: 5305
Re: How do i reset materials of furniture to default?
Great. Thanks so much.