Forum Replies Created

Viewing 2 posts - 1 through 2 (of 2 total)
  • ss ss
    Participant
    Posts: 0
    Threads: 2
    Joined: Jan 2020

      Thank you so much for the fast answer,

      However as I told you I am almost completely ignorant about coding and scripting.

      My problem is that I made a huge library of my own models and some of them is exported from corrupted files with animlayers and notetracks that needs to be removed. I thought that we can add the cleaning scripts to this batch converter somewhere in the script and it should clean every file that it opens and resaves.

      However is this #preFileExport callback will batch clean and save them again? or do I have to open each file again?

      I hope its not to much to if I ask you for a little more detailed instruction on how to do that.

      Thank you!

       

    ss ss
    Participant
    Posts: 0
    Threads: 2
    Joined: Jan 2020

      Thank you so much for this,

      Is there a way to make it clean or purge the file before saving it? Like removing note-tracks

      t=trackviewnodes;n=t[#Anim_Layer_Control_Manager];deleteTrackViewController t n.controller;gc()

      t=trackviewnodes;n=t[#Max_MotionClip_Manager];deleteTrackViewController t n.controller;gc()

      These scripts usually clean files. But I am no scripting expert is there anyway to include them in the batch process??

      Also can you batch run those scripts using project manager post script and save the file??

      Thank you,

       

Viewing 2 posts - 1 through 2 (of 2 total)