Is C4D_PLUGINS_DIR env var still working (R20.0.28)?



  • Hello all,

    good job on the new forum, looks really nice.

    I was going through the update process from R19 to R20, and I wanted to check if I could get several paths for C4D_PLUGINS_DIR working, since I haven't been able to achive this (see: ).

    But it seems to not be working with even a single path? I'm trying to get Arnold loaded in C4D, here are the environment variables:

    C4D_BROWSERLIBS=C:\env_manager\packages\arnold_for_cinema4d\2.4.1.2/C4DtoA-2.4.1.2/library
    C4D_PLUGINS_DIR=C:\env_manager\packages\arnold_for_cinema4d\2.4.1.2/C4DtoA-2.4.1.2/plugins/
    

    And the folder structure in that path is as follows (normal C4DtoA plugin struct):

    C:\ENV_MANAGER\PACKAGES\ARNOLD_FOR_CINEMA4D\2.4.1.2\C4DTOA-2.4.1.2
    ├───library
    │   ├───browser
    │   ├───materialpreview
    │   └───scripts
    └───plugins
        └───C4DtoA
            ├───api
            │   ├───bin
            │   ├───include
            │   │   ├───customgui
            │   │   ├───meta
            │   │   │   └───param
            │   │   ├───module
            │   │   ├───node
            │   │   ├───render
            │   │   ├───translator
            │   │   │   ├───driver
            │   │   │   ├───light
            │   │   │   ├───material
            │   │   │   ├───object
            │   │   │   ├───shader
            │   │   │   └───tag
            │   │   └───util
            │   └───lib
            ├───arnold
            │   ├───bin
            │   ├───materialx
            │   │   └───arnold
            │   ├───plugins
            │   └───python
            │       └───arnold
            ├───procedurals
            ├───res
            │   ├───description
            │   ├───dialogs
            │   ├───icons
            │   └───strings_en-US
            │       ├───description
            │       └───dialogs
            └───shaders
    

    Yet when I launch Cinema4D, the plugin won't load, if I install this same package inside the Cinema4D folder it does work.

    So any ideas?

    Thanks,

    Oscar.


  • Global Moderator

    Hello,

    in Cinema 4D R20 the environment variable C4D_PLUGINS_DIR has been removed.

    It has been replaced with g_additionalModulePath. You can use this command also as a command line argument.

    See Environment Variables.

    Please notice that you can mark your post also as a question. See Q&A New Functionality.

    best wishes,
    Sebastian