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

    Connected user node to variadic port does not trigger dependent nodes preview updates

    Cinema 4D SDK
    c++
    3
    10
    1.3k
    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.
    • D
      Deyan
      last edited by

      Hi,

      I have several user nodes declared in a custom user nodespace, very similar to the example.nodes project in the SDK examples.
      Unfortunately I encountered a problem while declaring a node with variadic input attribute, that has a portbundle as data type. The exact problem I notice is that the previews of dependent nodes of the one with the variadic input are not updated when any connected nodes to the variadic portbundles are changed. As a detail here - I noticed this only happens if the connected nodes (as inputs) to the variadic portbundles are also user nodes and having the builtin Color or Value nodes used as inputs properly triggers preview updates.

      So from the above description I think I'm missing something in the declarations of my user nodes, that leads to this behavior. Can you assist me in what might be wrong in the user nodes setup or in the definition of the nodespace?

      Thanks in advance,
      Deyan

      D 1 Reply Last reply Reply Quote 0
      • D
        Deyan @Deyan
        last edited by

        Upon some further investigation and testing I found this is reproducible only on R21, S22 and R23.
        Is this a known issue that has been fixed for S24, and is there a workaround for earlier versions?

        1 Reply Last reply Reply Quote 0
        • ManuelM
          Manuel
          last edited by

          Hi,

          Sorry for the delay, I'm asking the devs and that could take longer than usually.

          Cheers,
          Manuel

          MAXON SDK Specialist

          MAXON Registered Developer

          1 Reply Last reply Reply Quote 0
          • ManuelM
            Manuel
            last edited by

            Hi,

            would it be possible that you share with us the code and the database to reproduce the issue?
            We got some tools to see behind the curtain that could help to tell what's going wrong.

            [email protected]

            Cheers,
            Manuel

            MAXON SDK Specialist

            MAXON Registered Developer

            1 Reply Last reply Reply Quote 0
            • D
              Deyan
              last edited by

              Hi,

              Could you be more specific what parts of the code are necessary - only the node space declaration, the preview image provider implementation or something else additionally?

              Cheers,
              Deyan

              1 Reply Last reply Reply Quote 0
              • ManuelM
                Manuel
                last edited by

                Hi,

                you created a bundle GUI? or are you just creating user nodes with the resource editor?

                If you created the bundle GUI, i would need the nodespace declaration, the database declaration, the database itself to have the user nodes.

                Is this doable without too much work?

                Cheers,
                Manuel

                MAXON SDK Specialist

                MAXON Registered Developer

                1 Reply Last reply Reply Quote 0
                • D
                  Deyan
                  last edited by

                  Hi,

                  I'm just creating the portbundles from the resource editor, without a custom bundle GUI.
                  So I guess you only need the database? I'll try to minimize the database to include only the necessary nodes and portbundle declarations and email it to [email protected]

                  Cheers,
                  Deyan

                  1 Reply Last reply Reply Quote 0
                  • ManuelM
                    Manuel
                    last edited by Manuel

                    Hoo sorry i thought you have implemented everything, so in that case, yes only the database should be enough.

                    MAXON SDK Specialist

                    MAXON Registered Developer

                    1 Reply Last reply Reply Quote 0
                    • ferdinandF
                      ferdinand
                      last edited by

                      Hello @Deyan,

                      without any further questions or postings, we will consider this topic as solved by Wednesday and flag it accordingly.

                      Cheers,
                      Ferdinand

                      MAXON SDK Specialist
                      developers.maxon.net

                      1 Reply Last reply Reply Quote 0
                      • ManuelM
                        Manuel
                        last edited by

                        Hi,

                        This question has been answered by email. You can use the DescriptionProcessors to build/rebuild the wires inside the Usernode.

                        Cheers,
                        Manuel

                        MAXON SDK Specialist

                        MAXON Registered Developer

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