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
    • Recent
    • Tags
    • Users
    • Register
    • Login

    In 9.X Invoke Plugin from another Plugin?

    Scheduled Pinned Locked Moved SDK Help
    3 Posts 0 Posters 333 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

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

      On 31/05/2005 at 21:43, xxxxxxxx wrote:

      User Information:
      Cinema 4D Version:   9.0 
      Platform:    Mac  ;  
      Language(s) :   C.O.F.F.E.E  ;  C++  ;

      ---------
      Greetings,

      We would like to simplify the use of another vendor's import plug-ins by creating our own plugin that would analyze the files to be imported, and then call a series of import plugins in the proper order.

      Is it possible to invoke a plugin, potentially passing parameters, from a plugin coded in C++?

      I know that this can't be done in C.O.F.F.E.E., and could not be done in 8.x, and wanted to try again with 9.

      Thanks,
      Cameron

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

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

        On 01/06/2005 at 10:40, xxxxxxxx wrote:

        Passing parameters could be hard if the other plugin isn't prepared for it, for example if it insists on always opening a dialog of its own.
        If you can make changes to the other plugin you could use SpecialEventAdd() or SendCoreMessage() to communicate.
        You can invoke menu items with CallCommand(), though you have to look up the ID number from the coh resource files manually.

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

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

          On 01/06/2005 at 11:14, xxxxxxxx wrote:

          So if the other plugin was configured to accept parameters in lieu of a dialog, we would invoke it with CallCommand() and then use SpecialEventAdd() to set parameters and kick-off the process?

          You are talking C.O.F.F.E.E., right? I don't see CallCommand() in the C++ SDK. Also, I don't see SendCoreMessage() in the docs for either SDK.

          Thanks,
          Cameron

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