icons in a graphical browser
Hi,
How is it possible to get the little icons next to a browsernode in a graphical browser. I can't find a command to do this, but it should be possible, because the structure browser has all kinds of icons in to it. thanks in advance greetings Ruben |
Re: icons in a graphical browser
After a bit of searching in google I found a solution with interrogators. So now I can place an icon next to the browsernodes in my new browser. But I still have a little problem, the icon is next to all the browsernodes instead of next to the selected one. How can I do this? My code is here below.
Code:
(in-package :mat) |
Re: icons in a graphical browser
Hi Ruben,
As I indicated in email, the reason you're seeing icons for all items is that the interrogator isn't actually checking anything -- it's just returning the name of the image to use. So you need to update that function. I've fixed that, and made a few other changes to clean up the code, and I have also added a few comments. I think this will do what you need: Code:
(in-package :mat) andy |
Re: icons in a graphical browser
Hi Andy,
Thanks again for this, works great! Greetings Ruben |
Re: icons in a graphical browser
Is it possible to associate to these icons a "change color part and density" command?
So if I click them and then click on the piece in the 3D window, will I change the color and density of the part? |
All times are GMT -8. The time now is 08:18 AM. |
Powered by vBulletin® Version 3.8.4
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.