bolo17

script irmap: Searching map cache in parent

Apr 4th, 2020
118
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1.  script irmap: Searching map cache in parent
  2. -- This script merges multiple *.vrmap files from a selected folder
  3. -- Tested on Max 2012, Vray 2.0
  4. -------------------------------------------------------------------------------------
  5.  
  6. --------------------------------------------------------- IMPORTANT ------------------------------------------------------------
  7.  
  8. -- Location of your imapviewer.exe. Change this path to your V-Ray installation folder if you get the error message
  9. toolPath = "C:\\Program Files\\Chaos Group\\V-Ray\\3dsmax 2012 for x64\\tools\\"
  10.  
  11. --------------------------------------------------------------------------------------------------------------------------------------
  12.  
  13. toolTest = doesFileExist (toolPath + "\\imapviewer.exe")
  14. if not toolTest then
  15.     messagebox " Please follow the instructions inside this script" title:" Error: imapviewer.exe Not Found"
  16.  
  17. try (destroyDialog IRmerge) catch()
  18.  
  19. rollout IRmerge "IRMap Merger v1.5" width:584 height:136
  20. (
  21.     button btn_Browse " Select Folder" pos:[8,8] width:80 height:32
  22.     button btn_Merge " Merge!" pos:[8,48] width:80 height:56 enabled:false
  23.     label lab1 " Total Files loaded:" pos:[192,8] width:91 height:16
  24.     label lab2 "0" pos:[288,8] width:40 height:16
  25.     listbox lbx1 "" pos:[96,32] width:229 height:7
  26.  
  27.     listbox lbx2 "" pos:[336,32] width:240 height:7 readOnly:true
  28.     label lab7 " Folders:" pos:[96,8] width:48 height:16
  29.     label lab8 "0" pos:[144,8] width:40 height:16
  30.     button btn_arch "Archive" pos:[8,112] width:80 height:16 enabled:false
  31.     label lbl9 "File size:" pos:[336,8] width:48 height:16
  32.     label lbl_Size "0" pos:[384,8] width:128 height:16
  33.    
  34.     local BatFile = "C://IRMerge.bat"
  35.  
  36.  
  37. get link here:http://gestyy.com/w9zRka
Add Comment
Please, Sign In to add comment