CR vs LF. How a new line is exported by the TEXT I/O Add-on
Anonymous
Not applicable
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎2014-01-29
11:10 AM
- last edited on
‎2023-05-24
12:33 PM
by
Rubia Torres
‎2014-01-29
11:10 AM
Wikipedia tells me that there are two different ASCII codes used: 10=LF=Line Feed, and 13=CR=Carriage Return.
ArchiCAD seems to be outputting only one of these characters, it's not creating the correct line breaks on the PC platform. (And I've tried it from ArchiCAD in OS 10.8, OS 10.9 and Win7.)
I've also tried using "Separator='\r\n' " as part of the OPEN command, but so far without any improvement.
Does anyone know how to get it to output CR,LF?
4 REPLIES 4

Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎2014-02-05 08:44 AM
‎2014-02-05
08:44 AM
Hi Rhonie
Did you have any success with the line endings?
Did you have any success with the line endings?
Anonymous
Not applicable
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎2014-02-06 08:10 AM
‎2014-02-06
08:10 AM
I haven't had any joy yet. Do you have the magic bullet?

Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎2014-02-07 06:53 AM
‎2014-02-07
06:53 AM
no sorry. I was hoping you found an answer 
I have tried a few work arounds but nothing has worked.

I have tried a few work arounds but nothing has worked.

Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎2014-02-18 03:19 AM
‎2014-02-18
03:19 AM
Rhonie,
If it is just viewing the file that is the issue have you tried using Wordpad or MS Word rather than Notepad? The newer programs (incl MS Excel) will read the variants of the line break correctly.
I suppose it depends on what your passing the file to as your next step towards the CNC machine.
If it is just viewing the file that is the issue have you tried using Wordpad or MS Word rather than Notepad? The newer programs (incl MS Excel) will read the variants of the line break correctly.
I suppose it depends on what your passing the file to as your next step towards the CNC machine.
Matthew Johnson - POWE Architects
AC4.5 --> AC28 & Revit 2016 --> 2023
Asus Zenbook Pro 16x i9-13900H w/ Nvidia RTX 4070 4K dual, Windows 11 64bit + Quest3
I'd rather be sailing.
Asus Zenbook Pro 16x i9-13900H w/ Nvidia RTX 4070 4K dual, Windows 11 64bit + Quest3
I'd rather be sailing.