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

    running plugin from different folder

    SDK Help
    0
    7
    532
    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
      Helper
      last edited by

      THE POST BELOW IS MORE THAN 5 YEARS OLD. RELATED SUPPORT INFORMATION MIGHT BE OUTDATED OR DEPRECATED

      On 04/12/2012 at 12:17, xxxxxxxx wrote:

      User Information:
      Cinema 4D Version:   14 
      Platform:   Windows  ;   
      Language(s) :     C++  ;

      ---------
      is it possible to run the plugin from different folder 
      example:
      normal plugin is located at Maxon\cinema4d\plugins\myplugin

      can i make it run from path (for example) "c:\myplugin"

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

        THE POST BELOW IS MORE THAN 5 YEARS OLD. RELATED SUPPORT INFORMATION MIGHT BE OUTDATED OR DEPRECATED

        On 04/12/2012 at 13:58, xxxxxxxx wrote:

        No, it isn't, unless you don't load the plugin yourself from a plugin which again lies in Cinema 4D's plugin directory.

        -Nik

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

          THE POST BELOW IS MORE THAN 5 YEARS OLD. RELATED SUPPORT INFORMATION MIGHT BE OUTDATED OR DEPRECATED

          On 04/12/2012 at 14:04, xxxxxxxx wrote:

          well i want to do this ...but how 😄
          (i know i need to load the plugin custom folder path from another plugin inside cinema4d plugins folder)
          i just need basic steps no need for actual code

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

            THE POST BELOW IS MORE THAN 5 YEARS OLD. RELATED SUPPORT INFORMATION MIGHT BE OUTDATED OR DEPRECATED

            On 04/12/2012 at 14:33, xxxxxxxx wrote:

            You should be able to do this using an Environment Variable set up.
            Did this long ago for a while but its very "global" (All Cinema versions see
            this link)

            Some efforts here:
            http://forums.cgsociety.org/showthread.php?f=47&t;=948633&highlight;=Environment

            Cheers
            Lennart

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

              THE POST BELOW IS MORE THAN 5 YEARS OLD. RELATED SUPPORT INFORMATION MIGHT BE OUTDATED OR DEPRECATED

              On 04/12/2012 at 20:01, xxxxxxxx wrote:

              well from what i've seen (what i understand) is that you have changed environment variables to force cinema4d to look at the folder u want ...but that's not exactly what i want (as i want my plugin to be shipped and don't know if it will be possible to change other ppl environment variables in windows)

              what I (imagined) to be possible is to:
              1-make the main plugin file .cdl/.cdl64 inside cinema4d plugins folder
              2-make a part in that main plugin file to refer to a custom path of another precompiled plugin file (another .cdl/.cdl64) -_- like loading plugin from another plugin (if this is possible)

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

                THE POST BELOW IS MORE THAN 5 YEARS OLD. RELATED SUPPORT INFORMATION MIGHT BE OUTDATED OR DEPRECATED

                On 04/12/2012 at 23:28, xxxxxxxx wrote:

                1. Load the library (using the OS API)
                2. Redirect PluginStart(), PluginMessage() and PluginEnd() to it.

                Best,
                Niklas

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

                  THE POST BELOW IS MORE THAN 5 YEARS OLD. RELATED SUPPORT INFORMATION MIGHT BE OUTDATED OR DEPRECATED

                  On 05/12/2012 at 06:31, xxxxxxxx wrote:

                  thanks alot niklas 🙂
                  I think it should do the trick (though i didn't test it yet) but looking promising 😄

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