THE POST BELOW IS MORE THAN 5 YEARS OLD. RELATED SUPPORT INFORMATION MIGHT BE OUTDATED OR DEPRECATED
On 07/01/2003 at 07:08, xxxxxxxx wrote:
User Information:
Cinema 4D Version: 8.012
Platform: Windows ;
Language(s) : C++ ; XPRESSO ;
---------
Hi,
I tried to get the inport data of my plugin node but I can only retrieve the data of the first port. The second one is NULL. I tried two ways:
GvPort* ipt = bn->GetInPort(1);
GeData iptdata = GvGetPortGeData(bn, ipt, run);
Vector pos = iptdata.GetVector();
GvPort* inport = vinport->GetPort();
GeData inportdata = GvGetPortGeData(bn, inport, run);
Vector normale = inportdata.GetVector();
the second one does give me the data of the first inport correctly. The first one doesn´t give me the data, though the port is correct and I can also get the name of the port. How can I get the data of several ports then?
Thanks
Samir