THE POST BELOW IS MORE THAN 5 YEARS OLD. RELATED SUPPORT INFORMATION MIGHT BE OUTDATED OR DEPRECATED
On 24/03/2008 at 09:41, xxxxxxxx wrote:
User Information:
Cinema 4D Version: 10.5
Platform: Mac OSX ;
Language(s) : C++ ;
---------
Hi!
I have a big problem with the SDK and the documentation to get the following case. I want to create one inport / one outport (Datatype: Real).
The outport should only forward a number of the inport.
I created 3 functions / classes.
> `
\> GeData GvGetPortGeData(GvNode* node, GvPort* port, GvRun* run)
\> {
\> //and so on...//
\> }
\>
`
> `
\> Bool GvSetPortGeData(const GeData& ge_data, GvNode* node, GvPort* port, GvRun* run)
\> {
\> //and so on...//
\> }
\>
`
> `
\> class GVIteratorTest : public GvOperatorData
\> {
\> //and so on...//
\>
\> Bool Calculate(GvNode *bn, GvPort *port, GvRun *run, GvCalc *calc)
\> {
\>
\> GvSetPortGeData(GeData(3000),bn, port, run);
\> return FALSE;
\> }
\>
\> //..blabla//
\> }
\>
`
Alright. It works. With the line GvSetPortGeData(... I am able to set the Real 3000 from the outport. But how do I get the Real from the inport called inport_LINK.
Thank you very much.