PDA

View Full Version : How to access external .Max files


BebeteLANUITE
09-25-2006, 07:54 PM
Hello everybodies,

I have a trees bank in a .max files.
I want to use this bank through a script to import trees in the scene by choosing maps pictures or names in a .max files.

I have an idea of interface :
- A button to find the .max files on the harddisk.
- A Edittext to see the choosen .max files.
- Some bitmap to see the maps of the trees.
- A checkbox under each bitmap to choose it.
- A edittext under each bitmap to have the name of the bitmap and/or object name.
- and a button to merge all choosen trees from the .max files in the scene.

This is the way to use the script.
- Click on the "Choose .max files" button.
- Choose a .max files.
- Bitmap with the diffuse map of each trees in the .max files appears in the interface of in a separate rollout.
- Click on checkbox of bitmap you want to merge.
- click on "Import" button to merge the tree in the scene at [0,0,0].

There is a way to access an external .max files to gather diffuse bitmap names and objects names ?
Do you know how to do this ?
There is a way to generate interface controls into a rollout or and external rollout ?

Thank you for your help guys ;)

antonv
09-25-2006, 08:34 PM
You can have each tree as a sepparate file with a jpg of the rendered tree, both named the same. Then you don't need to go in a file to gather the object name. And having all of them in the same folder is much easier to acess.

Hope this helps!

BebeteLANUITE
09-25-2006, 10:46 PM
Hello vasilescu_anton,

It's a good way to make the bank you give me ;)
But the guy for who i make this script want his bank accessible directly via max interface and switch from one bank files to an other easily and rapidly.

Thank for your interest.

BebeteLANUITE
09-27-2006, 12:05 PM
Nobody knows if it's possible to access an external max file to have information about objects and maps in the scene ?

Maybe there is no way :sad:

CGTalk Moderation
09-27-2006, 12:05 PM
This thread has been automatically closed as it remained inactive for 12 months. If you wish to continue the discussion, please create a new thread in the appropriate forum.