THE POST BELOW IS MORE THAN 5 YEARS OLD. RELATED SUPPORT INFORMATION MIGHT BE OUTDATED OR DEPRECATED
On 24/03/2006 at 15:51, xxxxxxxx wrote:
Cinema 4D Version: 9.102
Platform: Windows ;
Language(s) : C.O.F.F.E.E ;
Hi there guy's
Im quite new to playing with c.o.f.f.e.e. - hopefully you can help
im trying to read from a file.
Ive got a c.o.f.f.e.e. node in an xpresso tag...
in it it includes the lines of...
var srcfile = new(BaseFile);
var myreal = srcfile->ReadReal();
filename contains the path\filename to a file. (hardcoded at the moment :)
Does absolutely bugger all. Doesnt even seem to try to open the file.
Now would I be right in saying that you cant use file operations from c.o.f.f.e.e. nodes in xpresso tags? Im sure i remember reading that somewhere - cant see it in the sdk I downloaded though!
If that is the case, can I just stick it in a propper c.o.f.f.e.e. tag instead and it should work? (I have no idea how to create simple input/output ports that i can attatch to other stuff on a c.o.f.f.e.e. tag, like you can with an xpresso tag - so dont really know how to go down this route yet)
Is there a coffee instruction to return the path of the current document, i can only seem to find an instruction to return the current c4d install path.
If all that makes sense!
Many thanks in advance