Set filename to node-outport

THE POST BELOW IS MORE THAN 5 YEARS OLD. RELATED SUPPORT INFORMATION MIGHT BE OUTDATED OR DEPRECATED

On 30/06/2008 at 03:16, xxxxxxxx wrote:

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

---------
Hi!

I try to set the datatype "Filename" to a xpresso-node-outport, but GvPort has no such member.

Bool Calculate(GvNode *bn, GvPort *port, GvRun *run, GvCalc *calc)
[...]

port->SetInteger.. <--works
port->SetFilename <-- not avaible

What can I do?

Thanks and bye 🙂

THE POST BELOW IS MORE THAN 5 YEARS OLD. RELATED SUPPORT INFORMATION MIGHT BE OUTDATED OR DEPRECATED

On 30/06/2008 at 15:03, xxxxxxxx wrote:

port->SetString() ? Any particular reason why you couldn't use that?

THE POST BELOW IS MORE THAN 5 YEARS OLD. RELATED SUPPORT INFORMATION MIGHT BE OUTDATED OR DEPRECATED

On 30/06/2008 at 17:40, xxxxxxxx wrote:

Did you try port->SetData()? GeData has direct Filename access. Check the "Graph view data format" chapter of the docu for examples of port->SetData().

cheers,
Matthias