Message 1 of 3
Updating bitmaptexture paths

Not applicable
08-21-2009
03:05 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
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.
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.