guys, How do I write a pts coords, let say a list pts (12000.0 8000.0 0.0) of x,y,z. to a string = "(12000.0 8000.0 0.0)". including the brackets to a file. I have lots of coords to write to a file then read from file back to a list.
I tried breaking up the x and y and write to a file then read from file and its a string. I convert them back to real and turn it back to a list. The problem is here when I use the vl-position the match nth list it returns nil even the number is exactly the same. example after I read from file and make them back as a list
ListReadBackFromFile = ((12000.0 8000.0 0.0) (16000.0 12000.0 0.0) (15000.0 7000.0 0.0))
when I use a getpoint to get the same pt - say Pt1 = (16000.0 12000.0 0.0) which is the same as the list ListReadBackFromFile of nth = 1
(vl-position Pt1 ListReadBackFromFile). it returns nil
Thanks in advance