cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
Showing results for 
Search instead for 
Did you mean: 
Libraries & objects
About Archicad and BIMcloud libraries, their management and migration, objects and other library parts, etc.

Nonexistent channel + cannot modify the file error

JGoode
Expert
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 23

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