GvValue* from SubPort
-
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