Search found 11 matches

by jrmobile
Tue Aug 17, 2021 12:59 pm
Forum: Developers
Topic: How do i Change Texture in Plugin?
Replies: 3
Views: 5667

Re: How do i Change Texture in Plugin?

<r>I've made it. <br/>
If anyone need, i just leave it here<br/>

<CODE><s>[code]</s>TexturesCatalog texturesCatalog = userPreferences.getTexturesCatalog();
java.util.List<TexturesCategory> texturesCategories = texturesCatalog.getCategories();

TexturesCategory garderobCategory = null;
for ...
by jrmobile
Mon Aug 16, 2021 9:15 pm
Forum: Developers
Topic: How do i Change Texture in Plugin?
Replies: 3
Views: 5667

Re: How do i Change Texture in Plugin?

Thank you.
Will try.
by jrmobile
Sat Aug 14, 2021 7:20 pm
Forum: Developers
Topic: How do i Change Texture in Plugin?
Replies: 3
Views: 5667

How do i Change Texture in Plugin?

<r>Hi.<br/>
I need some help on my plugin. <br/>
I need to change pieceoffurniture texture to specific one from catalog. <br/>
I've found one in catalog and setting it with setTexture, but it requires HomeTexture object type. <br/>
How do i set it? <br/>

<CODE><s>[code]</s>private void ...
by jrmobile
Sun Aug 23, 2020 8:59 pm
Forum: Developers
Topic: Cannot make it work setBackgroundImageVisibleOnGround3D.
Replies: 0
Views: 5087

Cannot make it work setBackgroundImageVisibleOnGround3D.

<t>Good day to the community. <br/>
Would really appreciate if someone could give me a hand. <br/>
I spent ages in making my plugin. <br/>
Now it works and only one small feature is not working. <br/>
I'm loading from plugin background picture and i need it wo be shown on 3d view. <br/>
<br/>
I've ...
by jrmobile
Mon Aug 17, 2020 10:35 pm
Forum: Developers
Topic: Check if item is selected.
Replies: 5
Views: 4767

Re: Check if item is selected.

I've made it. Thanks for your help.
by jrmobile
Mon Aug 17, 2020 7:02 pm
Forum: Developers
Topic: Check if item is selected.
Replies: 5
Views: 4767

Re: Check if item is selected.

<t>I'm trying this one, but it still fires an error selectable<br/>
cannot be resolved to a type<br/>
<br/>
<br/>
List<Selectable> selectedItems = home.getSelectedItems();<br/>
List<HomePieceOfFurniture> furniture = selectedItems.getFurniture();<br/>
<br/>
for (HomePieceOfFurniture homePiece ...
by jrmobile
Mon Aug 17, 2020 6:43 pm
Forum: Developers
Topic: Check if item is selected.
Replies: 5
Views: 4767

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?
by jrmobile
Sun Aug 16, 2020 11:04 pm
Forum: Developers
Topic: Check if item is selected.
Replies: 5
Views: 4767

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".
by jrmobile
Sun Aug 16, 2020 2:40 pm
Forum: Developers
Topic: Check if item is selected.
Replies: 5
Views: 4767

Check if item is selected.

<t>Good day everyone.<br/>
Spent hours in developers guide, trying to find out, how do check in plugin if PieceOfFurniture is selected.<br/>
<br/>
Found only getSelectedItems() method, but maybe there is easier way to check it, intead of checking, if my items are in group?<br/>
<br/>
If there is no ...
by jrmobile
Fri Aug 14, 2020 12:42 pm
Forum: Developers
Topic: How do i reset materials of furniture to default?
Replies: 2
Views: 5234

Re: How do i reset materials of furniture to default?

Great. Thanks so much.