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

    Is there a way to change the GvNode Port Index

    Cinema 4D SDK
    c++ r21
    3
    6
    770
    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.
    • J
      Jmelon
      last edited by

      hi,
      i noticed drag port can change the ports order,but haven't find any message about how to resort the GvNode Port index in SDK, is this possible by code?
      hope your help.

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

        Hello,

        can you explain a little bit more what you are doing? What kind of plugin are you writing?

        best wishes,
        Sebastian

        MAXON SDK Specialist

        Development Blog, MAXON Registered Developer

        J 1 Reply Last reply Reply Quote 0
        • J
          Jmelon @s_bach
          last edited by Jmelon

          @s_bach just a sudden thought when i use GvPort* GetInPort(Int32 index) go through all the InPorts. i attempt to change InPorts index but failed, is there a way to do that?

          1 Reply Last reply Reply Quote 0
          • M
            m_adam
            last edited by

            There is actually no function for doing that. The only workaround is to delete/recreate everything by yourself.

            Cheers,
            Maxime.

            MAXON SDK Specialist

            Development Blog, MAXON Registered Developer

            J 1 Reply Last reply Reply Quote 0
            • J
              Jmelon @m_adam
              last edited by

              @m_adam disappointed 😥 😥 😥 , thank you for your answer.
              And if i create my own GvOperatorData, can i get the message when change Port Index by mouse Drag?

              M 1 Reply Last reply Reply Quote 0
              • M
                m_adam @Jmelon
                last edited by

                @Jmelon I'm sorry there is no specific message sent to the GvOperatorData It's all handled in the UI.

                Cheers,
                Maxime.

                MAXON SDK Specialist

                Development Blog, MAXON Registered Developer

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