1 form loaded from #<editor "<Untitled-0> loading..."> AutoLISP error

1 form loaded from #<editor "<Untitled-0> loading..."> AutoLISP error

xxpochita123
Enthusiast Enthusiast
249 Views
3 Replies
Message 1 of 4

1 form loaded from #<editor "<Untitled-0> loading..."> AutoLISP error

xxpochita123
Enthusiast
Enthusiast

I was trying to import my csv file using this line of code:

 

(setq f (open "C:\\Users\\김민정\\A1B_Simulation_01.csv" "r"))

 

And when I run it, this message shows up in the console:

 

; 1 form loaded from #<editor "<Untitled-0> loading...">

 

xxpochita123_0-1669342762163.png

 

 

Just a bit of background:

  • This is not the first time I wrote an AutoLisp code. I've written one or two routines before and it ran successfully.
  • Now, I'm creating a new one (using the same code but different file to import, and other few/minor changes) on a new file but I still get that message. It seems like AutoCAD doesn't read my file properly.
  • In this new routine that I'm making, I've only written one line so far (since it doesn't work properly).

I've been stuck here for hours so I'd really appreciate it if someone could help me out as soon as possible. Thank you!

 

0 Likes
250 Views
3 Replies
Replies (3)
Message 2 of 4

Moshe-A
Mentor
Mentor

@xxpochita123 hi,

 


@xxpochita123 wrote:

I was trying to import my csv file using this line of code:

 

 

(setq f (open "C:\\Users\\김민정\\A1B_Simulation_01.csv" "r"))

 

 

And when I run it, this message shows up in the console:

 

 

; 1 form loaded from #<editor "<Untitled-0> loading...">

 

 

Just a bit of background:

  • This is not the first time I wrote an AutoLisp code. I've written one or two routines before and it ran successfully.
  • Now, I'm creating a new one (using the same code but different file to import, and other few/minor changes) on a new file but I still get that message. It seems like AutoCAD doesn't read my file properly.
  • In this new routine that I'm making, I've only written one line so far (since it doesn't work properly).

I've been stuck here for hours so I'd really appreciate it if someone could help me out as soon as possible. Thank you!

 

this is not a normal respond to opening text file for read (should be FILE type) so i bet there is something else wrong in your code that causing this. Can you post the whole code for review?

 

Moshe

 

 

 

 


 

0 Likes
Message 3 of 4

xuantientutungXUK6E
Advocate
Advocate

post your code.

0 Likes
Message 4 of 4

paullimapa
Mentor
Mentor

I wonder if it’s these characters 

김민정

that may be causing problems.  What if you placed the csv file in a location with only English character folder names?


Paul Li
IT Specialist
@The Office
Apps & Publications | Video Demos
0 Likes