Maxon Developers Maxon Developers
    • Documentation
      • Cinema 4D Python API
      • Cinema 4D C++ API
      • Cineware API
      • ZBrush GoZ API
      • Code Examples on Github
    • Forum
    • Downloads
    • Support
      • Support Procedures
      • Registered Developer Program
      • Plugin IDs
      • Contact Us
    • Categories
      • Overview
      • News & Information
      • Cinema 4D SDK Support
      • Cineware SDK Support
      • ZBrush 4D SDK Support
      • Bugs
      • General Talk
    • Unread
    • Recent
    • Tags
    • Users
    • Login

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

    General Talk
    r20 python
    2
    2
    2.5k
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • O
      oscar
      last edited by a_block

      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.

      1 Reply Last reply Reply Quote 0
      • S
        s_bach
        last edited by

        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

        MAXON SDK Specialist

        Development Blog, MAXON Registered Developer

        1 Reply Last reply Reply Quote 2
        • First post
          Last post