Nodeditor Gears

 From:  wayne hill (WAYNEHILL5202)
11007.2 In reply to 11007.1 
Hi Barry,

This is what I use to record variables to a log within the Node Editor. It writes to a file, but is not accessible until exiting the node editor.

Wayne

code:

datapop = moi.filesystem.openFileStream('c:\\temp\\datapop.txt', 'w');

// Usage;
for (var i = 0; i < 10; i++) {
datapop.writeLine("Title " + i);
}
;

// Exit node editor to view results.