ScriptSpot home

Bitmap Collector

Downloads

3ds Max compatibility
See original listing claims
Community compatibilityNo compatibility reports yet

No reports yet for the available releases.

Community reviewsNo reviews yet.

Listing details

Version
1.00
From original requirements
2011
Original version requirement
3ds Max 2011
Author’s update date
Legacy votes
4
Listing created
How compatibility works

Compatibility comes from the author’s supported range or requirements in the original listing. A tested version records what the author tried.

“2020 unconfirmed” in the catalog means support for 3ds Max 2020 is still unknown.

Community reports record successful tests on specific releases.

Posted by

loocas

More by this author

This script was created in order to help artists with collecting and re-pathing bitmaps (textures) that are coming into the scene files from all over the places.

This tool will let you automatically re-name the bitmaps based on dynamic names as well as your defined static names. It will then copy all the bitmaps to a single directory of your choosing and automatically re-path the bitmaps in your scene, so that you don't have to manually do a thing.

Here's a quick video demonstrating how it works

Setup & notes

Installation:

Copy the duberBitmapCollector.mcr to the UserMacros folder.
Additionally copy the duberBitmapCollector.ini to the plugcfg folder, or, modify lines 23 and 24 of the script to point to your preferred path. This way your defaults will be saved for each session.

Comments (15)
fajar

find "windows.processPostedMessages() " and make it comment like "--windows.processPostedMessages()". done.

also it work in max 9 too if you make delete @ and make the path "//". BTw you need avg extension.

asymptote

Same message in 2010 64 :(>>

Same message in 2010 64 :(

>> MAXScript Rollout Handler Exception: -- Unknown property: "processPostedMessages" in #Struct:windows(
getMAXHWND:,
getChildHWND:,
getDesktopHWND:,
getChildrenHWND:,
addChild:,
sendMessage:) <<

Edit: Ahh, just seem your version requirement, that's a shame...thanks anyway.

Ralf120

max 2009 error message

this is what happen when using it in max 2009 ...

>> MAXScript Rollout Handler Exception: -- Unknown property: "processPostedMessages" in #Struct:windows(
  getMAXHWND:<fn>,
  getChildHWND:<fn>,
  getDesktopHWND:<fn>,
  getChildrenHWND:<fn>,
  addChild:<fn>,
  sendMessage:<fn>) <<

Viola

Great script, thanks for your work! I gave it a try with my new project ( it's about how to download free swf player ) and it worked perfectly. Cheers!

Ralf120

The line causes the problem in max 2009 is line 189:
--windows.processPostedMessages()

Ralf120

Error with the collect process

This is what the listener says:

 

Copied: C:\Maps 01\AS2_leather_01.jpg to: C:\Maps\MyProject_0001.jpg
Retargeted: C:\Maps 01\AS2_leather_01.jpg to: C:\Maps\MyProject_0001.jpg
-- Error occurred in i loop; filename: C:\Program Files\Autodesk\3ds Max 2009\UI\MacroScripts\duberbitmapcollector.mcr; position: 6762
--  Frame:
--   i: 1
--   called in btnCollect.pressed(); filename: C:\Program Files\Autodesk\3ds Max 2009\UI\MacroScripts\duberbitmapcollector.mcr; position: 6833
--  Frame:
--   allInputBitmaps: #("C:\Maps 01\AS2_leather_01.jpg", "C:\Maps 01\AS2_leather_01.jpg", "C:\Maps 01\AS2_leather_01.jpg", "C:\Maps 01\Wood_39_seamless_1024.jpg", "C:\Maps 01\Wood_39_seamless_1024.jpg", "C:\Maps 01\Wood (93).JPG", "C:\Maps 01\AS2_leather_01.jpg", "C:\Maps 01\AS2_leather_01.jpg", "C:\Maps 01\AS2_leather_01.jpg", "C:\Maps 01\Granite (10).JPG", "C:\Maps 01\Granite (1).JPG", "C:\Maps 01\11db9_RedkenSpikeyHair.jpg", "C:\Maps 01\style-102.jpg", "C:\Maps 01\1218-01_hair_in_tub_li.jpg", "C:\Maps 01\aamir-hair-style.jpg", "C:\Maps 01\land08.jpg", "C:\Maps 01\01.JPG", "C:\Maps 01\01.JPG", "C:\Maps 01\46_towel03_diff.jpg", "C:\Maps 01\46_towel03_disp.jpg", ...)
>> MAXScript Rollout Handler Exception: -- Unknown property: "processPostedMessages" in #Struct:windows(
  getMAXHWND:<fn>,
  getChildHWND:<fn>,
  getDesktopHWND:<fn>,
  getChildrenHWND:<fn>,
  addChild:<fn>,
  sendMessage:<fn>) <<

Reply to Ralf120
Ralf120

i really need help .. every time i click the collect button it stops on the line 189 and i get error message
please see the attached picture ..

Attachments
br0t

Without having tested, this looks amazingly useful ;) Thanks

loocas

Actually, that shouldn't be a problem.

I'll see about that in the near future as I'm very busy these days. Thanks for the input. :)

By the way, it supports HDRs already.

grasshopper

Great Script

Hi,

Great script it is really handy to gather all those assets up at the end of a project and prepare the scene for archiving. Is there any chance you can include .ies files and .hdr files in the collection too?? xrefs and Vrayproxy's would be a welcom addition as well. :)

Bob Morane

Error ?

Hello,
really nice script ! Thank you for sharing :)

I got an error on the script launch but it still works and begin to collect files and do his stuff ; then the same error appears again and stop the script :

Copy of the listener :
>> MAXScript Rollout Handler Exception:
-- Runtime error: No method found which matched argument list << (this is the error message)

So it stops on the line 73 :

(line73) local curFileExt = dnPath.GetExtension(curBmp)

Any idea ?

Config :
XP64
MaxDesign2012 SP2

Maybe some plugins can cause errors ?

Anyway thank you !

Reply to Bob Morane
loocas

Hey, bobmorane, this is weird. It seems that you have an old installation of .NET, because the dnPath is a .NET class and its method.

Try updating your .NET via the windows update, that should help.

loocas

Error

Ah! Of course, my apologies, gentlemen. :) The bitmapHDR is a finalRender specific thing, I forgot about that.

Here's an update.

Attachments
Al

max 2012

error in line 128:
join allBitmaps (for o in getClassInstances bitmapHDR processChildren:True collect o.fileName)

message: --Type error getClassInstances requires Maxclass, got: undefined

fajar

cant run it on max 2012