Need some help here please.
I have probably missed something fundamental but I can’t seem to remap the filepath of my vrayproxies (vrmesh-files). Using Asset tracking only allows me to remap textures and xref’s and such. All vrmesh files is “uneditable”. I have loads and loads of proxies and it would really save me some time not to have to remap all of them manually.
I don’t have a script for relinking them, but this should certainly aid you.
(
local vrproxies -- Holds instances of VRayProxy
local deps = #()-- Holds dependents of VRayProxies
clearListener()
-- Get Instances of VRayProxies
vrproxies = getClassInstances VRayProxy
-- Create the array of dependents
for v in vrproxies do join deps (refs.dependents v)
-- Selects all the VRayProxies
for d in deps where isValidNode d do selectmore d
-- Hide Everything except the Proxies for easier editing
max hide inv
)
It will select all vrayproxies in the scene and hide the rest (comment out the line “max hide inv” to not hide the rest. Relinking the proxies shouldn’t take long at all since they should be instanced.
Yes Colin - they are all instanced. Still there are a huge number of proxies so it would have been nice just to be able to change the file path in the asset tracker or Bitmap/Photometric Paths as is possible with bitmaps.
Thanks for the script though - it will still come in handy.
Well thanks to all anyway.
I guess the old rule comes to mind. Instead of spending hours on finding a solution to a timeconsuming task (read “boring”) it’s better to just take on the task and do it.