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
    • Login

    Object plugin and res file(s)

    Scheduled Pinned Locked Moved SDK Help
    3 Posts 0 Posters 320 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 16/06/2010 at 14:59, xxxxxxxx wrote:

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

      ---------
      Hi,

      I am trying to create an object node plugin that is supposed
      to start an external process to create some geometry. The
      plugin will then watch for an output file and read the file
      when it finds it. I am starting from a skeleton implementation
      similar to

      https://developers.maxon.net/forum/topic/4809/4699_object-doesnt-show-up-in-plugin-menu

      I can get the plugin to load, but I immediately get an error
      message saying that

      <C4D folder>\resource\res\description<plugin name>.res

      cannot be found. I have created a dialog to show when the node is
      displayed, and I would assume this file would have to reside in

      <C4D folder>\plugins<plugin name>\res\description<plugin name>.res,

      but Cinema 4D apparently does not find it there. When I put it in both
      paths, I get another message indicating a parse error in line 2, which
      reads

      DIALOG <plugin name>

      where <plugin name> is the name of my plugin. This leaves me with
      a number of questions:

      - Why do I need a .res file for an object node plugin?
      - What contents must be put into that file - a dialog?
      - What defines the connection between the .res file and the cdl file?

      I am using ResEdit 3.10 deluxe together with Cinema 4D and MSVC 2008.

      Thanks in advance.

      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 16/06/2010 at 16:47, xxxxxxxx wrote:

        resedit will not generate valid resource files for an object plugin. Please search the forum for more information, check out the docs (there is tons of info on "Descriptions" in there) and also the example projects in the SDK.

        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 17/06/2010 at 05:23, xxxxxxxx wrote:

          Thanks, looks like C4DR115SDKHTML/pages/description_resource/doc_DescriptionResou376.html
          ("Description resource") contains the relevant information. I simply didn't see the connection.

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