Notifications
Clear all

[Closed] Thumbnail viewer control

I’m off to work in a bit but I will check this out tonight to gives you some answers!

Hey Klaas,

I’ll be re-compiling the control tomorrow to do those fixes. I’m also going to add a clear() method so you don’t have to loop through the thumbnail items to remove them.

Cheers!

That’s great Jason. I’ll be looking forward to the update.
Klaas

I just finished re-compiling the control. I fixed the bug with the case of the image’s file extension and the bug when removing items. I also added a method called .clearItems() that will remove all thumbnail items from the control. Hope that helps!

http://www.jasonlabbe3d.com/Files/Scripts/thumbnailViewer.zip

Thanks Jason,
I’m implementing it now in my asset-browser. It’s replacing a listview. I’m missing some functions in your control which i had before with the listview. So if you’re keeping a request-list please put these on there:

[ul]
[li]mousedoubleclick event[/li][li]multiselect property[/li][li]selectedItems property[/li][/ul]I’m working around them now with a contextmenu which works fine.Any improvements are extra. Thanks again.
Klaas

Hmm…, I can’t get it to work at all…, I’m using 3dsmax 2011 and I get this as error:
“– Runtime error: dotNet runtime exception: Invalid directory on URL.”

I tried the sample code from your website and I changed it so it finds the dll file correctly…, but on the row with
“dotNet.loadAssembly thumbnailViewerDll”
I get an error

Anybody has the same problem?
I want to try it out for the same reasons as grabjacket
The fact that I can send it any filepath I want is fabulous…, sad I can’t get it to work at all though =/

edit: it works fine with 3dsmax 2010.

Wow, that’s looking really cool, Klass! Those features sound like a good idea to me. I’ll see what I can do about it.

Hey Lime, I never actually tried this on Max 2011 as I don’t have it. Isn’t 2011’s .net framework a different version than 2010? If that’s all it is then it should be straight forward to release a new build.

Can you try using this assembly, Lime?

www.jasonlabbe3d.com/files/temp/thumbnailViewer_frameWork_4.0.dll

I’m not able to test it, so I’m not sure if this will work.

Hi Jason,

You might find by following JHaywood’s blog and replacing the (recompiled) mxsdotnet that you’ll get some joy with running a v4 assembly on max 2011.

Hi Jason,
I’m looking at using your dll for a character gear loader – but I would really like to have a rightclick option. I’m also still just beginning to mess with dotNet so I was curious whether you would suggest making an rcmenu through maxscript to do that or whether it would be better to add an event to the .dll? seems it could go either way, and like most maxscript/dotNet things, to the inexperienced eye it’s hard to tell which way is the best way to approach it

also, did you mess with implementing multiselect as was suggested earlier in the thread?

Page 2 / 5