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

    Math Node third Input port [SOLVED]

    SDK Help
    0
    2
    237
    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
      Helper
      last edited by

      On 20/08/2015 at 02:03, xxxxxxxx wrote:

      User Information:
      Cinema 4D Version:   R16 
      Platform:      Mac OSX  ; 
      Language(s) :     C++  ;

      ---------
      Hi,

      How does one create a third Input port for the Math Node?
      I have no problem getting the first and second Input port, since they are allready there.
      But creating a new one gives me problems.

      Does somebody know how to do this?

      Thanks in advance for your help and time!
      Greetings,

      Casimir Smets

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

        On 20/08/2015 at 02:48, xxxxxxxx wrote:

        Never mind, found the answer:

        GvPort* mathThirdInPort = mathNode->AddPort(GV_PORT_INPUT, GV_MATH_INPUT);
        if (!mathThirdInPort) return false;

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