Maxon Developers Maxon Developers
    • Documentation
      • Cinema 4D Python API
      • Cinema 4D C++ API
      • Cineware API
      • ZBrush Python 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

    Global/Shared Scripts Directory

    Scheduled Pinned Locked Moved PYTHON Development
    6 Posts 0 Posters 516 Views
    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.
    • H Offline
      Helper
      last edited by

      On 06/09/2016 at 08:08, xxxxxxxx wrote:

      Hello all, I was wondering if there is a say to make additional scripts folders. Specifically, I want to have a shared scripts folder over a network so that all our artist can be connected to a single updatable scripts folder. I was looking into the C4D_PLUGS_DIR and the C4D_BROWSERLIBS global variable was not having luck getting it to work with scripts. Does anyone know if that or any other technique I can get this to work. Thank you everyone in advanced.

      1 Reply Last reply Reply Quote 0
      • H Offline
        Helper
        last edited by

        On 07/09/2016 at 06:03, xxxxxxxx wrote:

        Hi,

        there are no built-in means to move the scripts folder to another location. Sorry.
        But I do like the idea and forwarded it to our product management.

        1 Reply Last reply Reply Quote 0
        • H Offline
          Helper
          last edited by

          On 07/09/2016 at 08:54, xxxxxxxx wrote:

          Bummer seems like something that should be easily customizable and would be super useful for small and big studios. Thanks for the quick response Andreas! 😄

          1 Reply Last reply Reply Quote 0
          • H Offline
            Helper
            last edited by

            On 07/09/2016 at 09:05, xxxxxxxx wrote:

            Well, as I said, I have already forwarded the idea to product management and it is already being looked into.

            A completely C4D independent solution could be soft links (not those Windows shortcuts, but real soft links). So you would have a scripts directory on some network drive available (and mounted) to all your C4D workplaces. And in every C4D installation you replace the scripts directory by a soft link pointing to the script directory on the network drive.
            One word of caution though, not all systems like it equally well if the target of such a soft link disappears (so if the server with the network drive gets shut down). Also you should probably make sure, the files aren't written in parallel from multiple sides. Though C4D tries to establish proper locking, this may not always succeed, depending on the file system on the network drive and there's nothing really C4D can do about this then (it might not even know).

            1 Reply Last reply Reply Quote 0
            • H Offline
              Helper
              last edited by

              On 07/09/2016 at 09:10, xxxxxxxx wrote:

              Originally posted by xxxxxxxx

              But I do like the idea and forwarded it to our product management.

              Second that and at best also for browser libraries and maybe even plugins.

              I'd like it in a way like with the additional texture paths that can be defined in the settings.

              The usual default paths should of course still be valid beyond.
              (Also like it works with the texture paths.)

              1 Reply Last reply Reply Quote 0
              • H Offline
                Helper
                last edited by

                On 07/12/2016 at 03:46, xxxxxxxx wrote:

                Working across a Mac Pro and a MacBook, I use Symbolic links to reference all of those types of folders (Scripts & Plugins etc) from dropbox. I just work on the files on Dropbox and all of the files are referenced on both machines. Works great!

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