Good afternoon everyone.
I have a question regarding replacing objects in a scene.
I’d like to make this as specific and easy to understand as possible so I would first like to say that I have downloaded more than 20 different object replacement scripts which have not really improved my speed at all. I have scoured tutorials, books and dvds and still have yet to find the one method I am lacking.
The premise of my script is to import an ASCII file exported from a bit of software that my office is producing. The file format outputted from the program is .dae (if it matters). What I need to do is open the file in max and replace every geometry instance with a reference file on our server. Meaning that if there are 350 objects exported in the file I am going to be replacing each individual object with its own reference file.
Object 1 would be replaced with Reference Z1
Object 2 - Reference z2 and so on and so forth.
There will commonly be times where I will have 35 object1’s - in which case I am turning them into instances.
What my script does right now is selects all like furniture (Object 1) and then brings up the default max replace window where you navigate to your file.
I have roughly figured out how max opens a file and how I can read and write data to and from them however I cannot figure out how to do a replace.
As it stands right now I have 65 different objects that need replacing at most (this number grows by the month though) so having to select 65 different files via 65 different replace windows is still mighty frustrating.
If someone could suggest how to implement the replace feature without having a user select the files (say in the quiet dialog mode) or a better method to do what I am trying to do could you please help me out?
If you are going to post a link to another script please indicate why you think it would be useful. As I mentioned before, I have tried a ton of scripts and just can’t get the usability and time saving I need out of them.
Thank you very much for reading to this point and thank you for replying and helping me!