Seperate meshes using specfic fields into layers and then Batch Export Seprate Meshes Into Layer Specfic Folders

Hi everyone, ok what I am after i have seen in one form or another but not an all in one..

I would like to get all my meshes to separate into layers depending on what tags they have in the mesh's name, layers such as "Residential" or "Hotel" or "Retail" etc... once they are separated I can then assign them into levels manually (such as -01, 00, 01, 02 etc..) unless there is a way to also assign it automatically using level tags in the mesh name also?? after which the structure of the layers would like this...

00 Layer
-Resi
-Retail
-office

02 Layer
-Resi
-Retail
-office

03 Layer
-Resi
-Retail
-office

04 Layer
-Resi
-Retail
-office

Once the script has done this I would like to clean each mesh name down to just a number, for instance right now the mesh name would like this:

"6624.747240~Leisure 6624.747240~Leisure [2594735]"

- we basically managed to get Revit using Dynamo to export "rooms" with bits of info attached to each mesh. once we have cleaned it up so it's just showing the area number "6624.747240" I would then like to get all individual meshes to export as .fbx files,

BUT in to there corresponding level folder and sub category folder on my desktop / network location.

I am sure it is possible but then again I have no idea how to script in 3dmax!

any insight, or someone who would like to make this?

Comments

Comment viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.
THINKTANK's picture

Thanks fajar - however I am

Thanks fajar - however I am not trying to learn how to do this, I would like this script made for me, I am happy to pay for it but I do not have the time to learn it my self (currently teaching my self three other programs!)

fajar's picture

how about you learning

how about you learning mxs first...

how about you start rename object first...

lets start

-- if you have only one box selected then write this
$.name = "Hello box"
-- if you have multiple box in selection do this
for i in selection do (i.name = uniqueName "myBox_")
-- how bout that as first step
 
-- then you open maxscript help , search "layer"

for as mentioned script above , its bit complicated but I believe by using "layer manager and name" function all could be done but it be little bit complicated since I need to "operate" your scene and know what you want to do with it exactly .

Comment viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.