Tagged: 

Viewing 13 posts
  • #16664
    Posts: 16
    Threads: 21
    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
    Posts: 256
    Threads: 1129
    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: 16
    Threads: 21
    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
    Posts: 256
    Threads: 1129
    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
      Posts: 256
      Threads: 1129
      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: 16
    Threads: 21
    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

       

  • #32042
    Posts: 16
    Threads: 21
    Joined: Jun 2017

      Hi Alexander, im looking to run another script with the code you send me before but its not working, the process runs without errors but seems that the script isn’t  doing anything. Here is the script Script

      Thanks for your Help

    • #32057
      Posts: 256
      Threads: 1129
      Joined: Aug 2009

        This is not my code.

        As I see you placed your code outside the brackets

  • #32059
    Posts: 16
    Threads: 21
    Joined: Jun 2017

      Hi Alexander thx for the clarification, here is the code as you said but its still not working, the script isnt doing anything to the file. It should be converting vray mats to corona and a bunch of other stuff

      New script

      Thanks for the help

  • #32062
    Posts: 256
    Threads: 1129
    Joined: Aug 2009

      I didn’t check the script as a whole, but in general, it should be like this

  • #32063
    Posts: 16
    Threads: 21
    Joined: Jun 2017

      Hi Alex, thx, it seems to run the script but nothing  changes in the files, it keeps as a vray mats and vray engine and everything else won’t change..

  • #32064
    Posts: 256
    Threads: 1129
    Joined: Aug 2009

      Sorry, but writing extensions don’t include in support. You can write to work@3d-kstudio.com to order to write a script for you.

  • #32066
    Posts: 16
    Threads: 21
    Joined: Jun 2017

      Thx Alexander will do!

Viewing 13 posts

You must be logged in to reply to this topic.