A new version of Cineversity has been launched. This legacy site and its tutorials will remain accessible for a limited transition period

Visit the New Cineversity
   
 
Using Environment Variables in File Paths
Posted: 17 July 2021 05:27 PM   [ Ignore ]  
Total Posts:  1
Joined  2017-04-05

I’m working on a C4D project right now with several other artists. We are using dropbox as our server as we are all remote. We each have our own folders we are working out of. The issue is the dropbox folder is in a different path / drive for each of us. It would be more convenient to 1. not have to package up the files when having someone else open (collect all textures into a relative path local to the .c4d file) and 2. not have to go in and change the render location for our AOVs each time it is handed off for network rendering.

Is there a way to use OS environment variables in the file path strings similar to how tokens are used? That way each user can set up their own environment variables for the project.
ImageTexture—> %PROJECT_NAME_ENV%\ASSETS\TEXTURES\SHOT030\Spaceship\diffuse.tif
AOV Output Path—> %PROJECT_NAME_ENV%\RENDERS\SEQUENCE\SHOT020\aovs\

Profile
 
 
Posted: 17 July 2021 06:13 PM   [ Ignore ]   [ # 1 ]  
Administrator
Avatar
Total Posts:  12043
Joined  2011-03-04

Hi extralushhh,

I assume you have seen this tutorial, but just in case.
https://www.cineversity.com/vidplaytut/custom_folders_for_presets_plugins_and_scripts_via_environment_variables

We had used Dropbox here, but as a single source:
https://youtu.be/4TFXYeOrvIQ?t=1020

Besides, have you explored (I don’t, as I can’t simulate a multi-account set up) the options via Asset Browser?
This allows for URL links to shared folders. (See Preferences> Asset Browser)
https://help.maxon.net/c4d/s24/en-us/Default.htm#html/PREFSBROWSER-PREF_BROWSER_MAIN_GROUP.html?TocPath=Configuration|Preferences|_____12

https://help.maxon.net/c4d/s24/en-us/Default.htm#html/60627.html

Typically I do any step here that I suggest first with the current version. Here I leave it as brainstorming and say sorry about this blurry answer.

Perhaps the tech-support already has an answer for that, and if so, will share it, of course.
https://www.maxon.net/en/support-center

My best wishes for your teamwork.

 Signature 

Dr. Sassi V. Sassmannshausen Ph.D.
Cinema 4D Mentor since 2004
Maxon Master Trainer, VES, DCS

Photography For C4D Artists: 200 Free Tutorials.
https://www.youtube.com/user/DrSassiLA/playlists

NEW:

NEW: Cineversity [CV4]

Profile