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

    Plugin not found after switching layout

    Cinema 4D SDK
    r21 c++
    2
    3
    429
    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.
    • C4DSC
      C4DS
      last edited by

      Hi,
      I am using the plugin I provided the complete code here:
      https://developers.maxon.net/forum/topic/12013/r21-geuserarea-in-docked-gedialog-behaves-differently/2

      The plugin simply creates a CommandData which launches a GeDialog, which contains a GeUserArea.
      I have the standard layout active and dock the window between the object manager and the attribute manager. Then I save this layout as "Test".
      I switch to the standard layout, then switch to the newly created Test layout.
      The window reappears at its specific position between object manager and attribute manager, but it displays "Plugin not found". Still I have provided a RestoreLayout function, but this seems never to be called.

      I must be doing something wrong, or simply forgetting to do something to make it work ... but I just cannot seem to put my finger on it.
      Any help would be appreciated.

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

        The ID used with GeDialog::Open() and RestoreLayout() is typically the plugin ID of the CommandData plugin.

        See e.g. activeobject.cpp

        MAXON SDK Specialist

        Development Blog, MAXON Registered Developer

        C4DSC 1 Reply Last reply Reply Quote 0
        • C4DSC
          C4DS @s_bach
          last edited by

          @s_bach said in Plugin not found after switching layout:

          The ID used with GeDialog::Open() and RestoreLayout() is typically the plugin ID of the CommandData plugin.

          See e.g. activeobject.cpp

          Thanks.
          It had to be something so simple I kept missing when reviewing the code.

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