Tagged: 

Viewing 6 posts
  • #16664
    Posts: 2
    Threads: 3
    Joined: Jun 2017

      Hi guys, how can i use the utility that runs a script on a entire 3dsmax library without doing anything else (no material render or thumbnails)

      If i de-select those options i cant run the batch render and relink

      THX

    Plugin version: last
    3ds Max version: 2016
    Renderer: corona

  • #16665
    Alexander KramerAlexander KramerModerator
    Posts: 187
    Threads: 460
    Joined: Aug 2009

      Turn on the checkbox “Batch Thumbnail Render” and place path to your script to “Post-open script” field.

      Your script have to contains next code:

      if BatchPostScript != undefined and (BatchPostScript.GetMode() == #BeforeRender or BatchPostScript.GetMode() == #Test) do (
      	/* Your code here  */
      	
          /* disable rendering using 'Batch Render&Relink' */
          BatchPostScript.SkipRender = true
      )
      
  • #16669
    Posts: 2
    Threads: 3
    Joined: Jun 2017

      Hi, but it will only run on the files that doesn’t have a preview ?

      my entire library has a preview and i DONT wank to make them again, i would be too long.

      just need to run a scipt on my entore library to get rid of the infamous 3dsmax virus..

  • #16670
    Alexander KramerAlexander KramerModerator
    Posts: 187
    Threads: 460
    Joined: Aug 2009

      Please be careful.

      As you can see in comment this line disables the rendering

          /* disable rendering using ‘Batch Render&Relink’ */
      BatchPostScript.SkipRender = true

       

      Hi, but it will only run on the files that doesn’t have a preview ?…

      Skip rendering

       

    • #16671
      Alexander KramerAlexander KramerModerator
      Posts: 187
      Threads: 460
      Joined: Aug 2009

        just need to run a scipt on my entore library to get rid of the infamous 3dsmax virus..

        In this case you also have to save changes – it’s mean that  previous solution will not suit you.

        You can download an example script here.

         

  • #16672
    Posts: 2
    Threads: 3
    Joined: Jun 2017

      Thx Alexander, yes i need to save the changes made in each file, will give this info to the guy that knows max script, will let you know how it goes

       

Viewing 6 posts

You must be logged in to reply to this topic.