cancel
Showing results for 
Search instead for 
Did you mean: 
EN
cancel
Showing results for 
Search instead for 
Did you mean: 
JGoode
Expert

Nonexistent channel + cannot modify the file error

Hello, I am getting an error with my text file output where it is trying to write to the embedded library but I want it to write to a text file that is already loaded into the library. Fullpath wouldn't work.
chOUT=OPEN ("TEXT", "filelog.TXT", "MODE=WO, LIBRARY")
	OUTPUT chOUT, 1, 1, symb_pos_x
	OUTPUT chOUT, 2, 1, symb_pos_y
	OUTPUT chOUT, 3, 1, symb_pos_z
close chOUT


I was hoping it would seek out the correct file that is loaded into the library (not in LCF format)

Thanks
ArchiCAD 27

Windows 10
1 Reply 1
Podolsky
Ace
I think the problem here with recordID and fieldID in OUTPUT

This probably will work:
chOUT=OPEN ("TEXT", "filelog.TXT", "MODE=WO, LIBRARY")
	OUTPUT chOUT, 1, 0, symb_pos_x
	OUTPUT chOUT, 1, 0, symb_pos_y
	OUTPUT chOUT, 1, 0, symb_pos_z
close chOUT

Didn't find the answer?

Check other topics in this Forum

Back to Forum

Read the latest accepted solutions!

Accepted Solutions

Start a new conversation!