GvValue* from SubPort
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:
Cinema 4D Version: 10.5
Platform: Mac OSX ;
Language(s) : C++ ; XPRESSO ;
Does somebody know how to get a GvValue from a SubPort?
GvValue* vinportA = ports.in_values;
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?