ScriptSpot

Forum topic · Scripts Wanted

Maxscript file structure renaming

By toad32 · 2020-08-25

Description

Hello I am looking for a simple maxscript that will clean up my imported fbx files. This is straight forward just out of my realm of knowledge.

I need a file that will do the following in order

1. Delete all empty Dummy helper layers
2. Loop thru all Dummy objects and

  • A. Merge children objects of Dummy into one layer

  • B. Rename the newly merged layer to the Parent name +'_Mat"

  • C. Unparent the newly created layer

    5. Delete all empty Dummy layers
    6 Create a new Dummy helper layer
    7. Parent all geometry layers into the new Dummy layer

    Attached are two images showing an example of imported file structure and what I need the final file structure to look like.
    Names of layers will always be different.

    More than willing to pay for a working solution, not expecting anything for free.

  • Attachments
    Comments (3)

    .

    miauu · 2020-08-30

    I sent you a PM.

    toad32 · 2020-08-31

    Hmm, no PM but I will send an email from your site

    .

    miauu · 2020-08-31

    Strange. It seems that PM not works properly.
    I sent you an em-mail.