Announcements

Between mid-October and November, the content on AREA will be relocated to the Autodesk Community M&E Hub and the Autodesk Community Gallery. Learn more HERE.

Updating bitmaptexture paths

Updating bitmaptexture paths

Anonymous
Not applicable
348 Views
2 Replies
Message 1 of 3

Updating bitmaptexture paths

Anonymous
Not applicable
Howdy,

I have a bit of a problem with a bunch of maxfiles where the textures paths are broken.
I would like to write a script to update all the path information to the correct paths rather than go through and edit them by hand which will take weeks.

The problems I'm running into are:

1 getting the bad path from the bitmaptexture/bitmap. map.filename only works for me is the path is good. If it's bad, reading the filename generates a cannot open bitmap error. I just want to get the bad path.

2 Is there a way to access all the bitmaps in the scene? Right now, the only way I know to access them is through the object material.
0 Likes
349 Views
2 Replies
Replies (2)
Message 2 of 3

Anonymous
Not applicable
Try Asset Tracking under File->Asset Tracking or Shift+T. Basically it covers your second point. And you can choose your bad bitmaps, right click and set a new path.

Strange my text keeps getting cut off and the start.
0 Likes
Message 3 of 3

Anonymous
Not applicable
While that works, I'd like to have a script do all the work.
I don't want to have to update hundreds of texture paths over dozens of files by hand.
I'd like to have a script do the work.
0 Likes