Hey Thank you for answering.
So I’m going to describe a bit better what I’m trying to achieve:
I’m getting files from artists that are all working in their own network/server/workstation environments. Furthermore, I’m getting 3d-files, in order for me to render those scenes from said artists. Now since the artists all have their own environments there is no unified locations and naming. One artist would have a drive called X:\ the other one H:\Projects\BigElefant, one other would map directly to UNC Paths like //my-Server/g/…
So overall this is pretty messy to deal with, I cannot force them all to change their workflows and infrastructure to a specific one. My goal is that instead of them giving me something like 3ds max or maya files in order for me to render these scenes with vray, they could just give me .vrscene files with all neccessary assets collected, all paths stripped so I don’t have to deal with re-pathing all those scenes manually.
Now I’ve written scripts for the artists which automate the .vrscene export (with paths stripped) so they don’t have to deal with the the details. Further the scripts also generate the job info and plugin info files for deadline, this way I can easily batch submissions. I want to be able to submit these .vrscene files as a vray-standalone job with the necessary assets as auxiliary files (lots of textures and proxy meshes, alembics etc.). The goal is that the assets will be copied with the job to the rendernode and the .vrscene file can “see” those assets (other thread) and will render without errors. I do need to be able to wrangle output paths using path remapping though because the outputs are defined with windows paths and need to be changed to Linux locations while rendering.
I would prefer the way like I just described because it feels like the most practical one.
Alternatively I’d need a way to submit job-specific path remapping in the “jobinfo.txt” for the deadlinecommand submission. This way I could make a path remapping “rule” for every one of these artists I’m getting the files from. I could just define those remapping rules for the specific job and the specific artist with the .vrscene exporter script and submit the rules with the job. It is definitely not as sleek as the other solution but It’s definitely possible.
Do you have any alternative ideas?
btw. Just doing these path remapping rules globally will not work because I’ve already checked and I’ve quickly gotten to the point where some path mappings would “interfere” with path mappings of others like:
rule 1
win: \houseA
linux: /houseA-new/
rule 2:
win: X:\myprojects\housebuildingproject\houseA\ <-- Would not exist like that anymore because of rule 1
linux: /mnt/x/myprojects/housebuildingproject/houseA/
again, the path remapping solution would be not at all be as good as the sleek solution using auxiliary files.
Thank you
-Robert