I won't get into details, but I need the ability to import into a scene 344 VRay proxies at once. Is there script that can do this?
Thanks!
Thanks!
global rlt_massVRayProxyImport global thepath, thefiles try ( destroyDialog rlt_massVRayProxyImport ) catch () rollout rlt_massVRayProxyImport "Mass VRayProxy Import" ( button btn_browse "Browse" label lbl_found "0 files found" button btn_import "Import" enabled:false offset:[0,10] width:70 on btn_browse pressed do ( if (thepath = getSavePath caption:"Select the folder where the vrmesh files are located." ) != undefined then ( if (thefiles = getFiles (thepath + "/*.vrmesh")).count != 0 then ( if thefiles.count == 1 then lbl_found.caption = "1 file found" else lbl_found.caption = (thefiles.count as string) + " files found" btn_import.enabled = true ) else messageBox "No vrmesh files found" beep:false ) ) on btn_import pressed do ( clearselection() for f in thefiles do ( newProxy = VRayProxy filename:f newProxy.pos = [0,0,0] selectmore newProxy ) ) ) createDialog rlt_massVRayProxyImport 100 93
Comment