C4D_PLUGINS_DIR env var removed in R20+

138 views
Skip to first unread message

Don Culwell

unread,
May 15, 2020, 3:22:50 PM5/15/20
to Royal Render Knights Tavern
Hey Holger!  Hope you are well!!

Finally got around to consolidating our C4D plugins to a network share.
To get that to working with R21 GUI version I had to use the g_additionalModulePath  env var instead of the C4D_PLUGINS_DIR env var.

Question: Does the rr plugins folder have to be set for R21 in the 'cinema 4d__inhouse.rrEnv' file or will RR use the sytem env var to find them?
Like so:
# C4D_rrPluginFolder requires Cinema4D R20.
# Your path should contain the variable <rrExeVersionMajor>, this will be replaced with the Cinema4D version.

C4D_rrPluginFolder
=  \\fs1\g\_WORKGROUPS\cinema4d\C4D_PLUGINS_R<rrExeVersionMajor>


The 2 plugins specifically are Redshift 2.0.54 and Xparticles 7.32.
Redshift has the REDSHIFT_COREDATAPATH var set on the system to a network share as well.


Best,

Don



RR, Schoenberger

unread,
May 15, 2020, 4:02:09 PM5/15/20
to rrKn...@googlegroups.com

Hi

 

The “cinema 4d.rrEnv” file takes the system env var g_additionalModulePath and adds the C4D_rrPluginFolder.

But: If you change any system vars, then you have to restart the RR service or restart the machine.

 

If you have redshift in your plugin folder, then you have to make sure that redshift network is set to 0 in file “cinema 4d__inhouse.rrEnv”.

RR_REDSHIFT_NETWORK  =  0

Otherwise “cinema 4d.rrEnv” sets REDSHIFT_COREDATAPATH.

 

regards,
Holger Schönberger

 

Please use the rrKnights Tavern
or our support system for new questions.

Don Culwell

unread,
May 15, 2020, 5:13:10 PM5/15/20
to Royal Render Knights Tavern
Very helpful Thx!  

It's working now but attempts to load duplicates. (first from the network share and then from the local RR renderer_plugins folder).
Is there a flag for telling RR not to cache a 2nd set of plugins in the local data folder but rather to only use the network share plugins?

I have these system variables:

REDSHIFT _COREDATAPATH = \\fs1\g\_REDSHIFT
g_additionalModulePath = \\fs1\g\_WORKGROUPS\cinema4d\C4D_PLUGINS_R21


I have these set in cinema 4d__inhouse.rrEnv:


C4D_rrPluginFolder =  \\fs1\g\_WORKGROUPS\cinema4d\C4D_PLUGINS_R<rrExeVersionMajor>
RR_REDSHIFT_NETWORK  =  0


I removed everything cached here: C:\RR_localdata\renderer_plugins\cinema 4d\win_x64\21
Then restarted the client machine
Also restarted the Server machine

Thx again for your thoughts!

-Don

Don Culwell

unread,
May 15, 2020, 5:23:34 PM5/15/20
to Royal Render Knights Tavern
For clarification, I noticed the duplicate plugins and figured they were there locally from before I started pulling from a shared drive.
So I removed them.  But they came back when running the scene again.

-Don

Don Culwell

unread,
May 15, 2020, 5:32:35 PM5/15/20
to Royal Render Knights Tavern
0515_16261____0_Katrina.txt uploaded in case you find it helpful.

RR, Schoenberger

unread,
May 17, 2020, 4:28:58 AM5/17/20
to rrKn...@googlegroups.com

Hi

 

You have to decide if you want to

  1. use the C4D_rrPluginFolder for your plugins.
    In this case RR caches them on the local drive which is faster in execution and reduces constant network traffic.

 

  1. OR you use g_additionalModulePath.

 

I would recommend a.

In this case please clear the system end by adding this line to your inhouse.rrEnv file:
g_additionalModulePath =

Don Culwell

unread,
May 18, 2020, 4:23:02 PM5/18/20
to Royal Render Knights Tavern
'a.' it is!    Thx Holger!!
Scrubbing the sys env var with the inhouse.rrEnv worked great.

-Don
Reply all
Reply to author
Forward
0 new messages