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

    GvValue* from SubPort

    Scheduled Pinned Locked Moved SDK Help
    1 Posts 0 Posters 139 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 14/05/2008 at 09:46, xxxxxxxx wrote:

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

      ---------
            Hi!

      Does somebody know how to get a GvValue from a SubPort?

      >>GvValuesInfo ports;

      GvValue* vinportA = ports.in_values[0];
      if (!vinportA) return FALSE;   
      if (!vinportA->Calculate(bn, GV_PORT_INPUT_OR_GEDATA, run, calc, 0)) return FALSE;

      That is for a MainPort! But I don't get a GvValue for a SubPort! My problem is, that (for example) a constant node does not give his value to my Subport. Only the value I put directly in the AttributeManager of the node are correct.

      On the first picture the constant nodes has the Real-Value "50" in his settings.

      Could someone help me?

      Thanks 🙂

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