Import coordinates in SDMS format into Auto Cad
Import coordinates in SDMS format into Auto Cad
(OP)
I am attempting to write a VB app that will import survey design coordinates into acad. I have basicaly written the application I need to know how to convert from a comma or space delimeted format to an sdms ( each value occupies one line ) ex: pt no
north (y)
east (x)
elev (z)
descriptor
any help or reference would be great.
Tim
north (y)
east (x)
elev (z)
descriptor
any help or reference would be great.
Tim





RE: Import coordinates in SDMS format into Auto Cad
What do you want to do with the points?
A 3dpolyline?
What about PO NO and DESCRIPTOR?
Could you send a point-no.csv file and a sample of the drw you wnat to?
If so please do it to k281969@hotmail.com
Pardal
RE: Import coordinates in SDMS format into Auto Cad
Tim
RE: Import coordinates in SDMS format into Auto Cad
k281969@hotmail.com
Pardal
RE: Import coordinates in SDMS format into Auto Cad
I'm waiting for your SMDS file sample, with out it I can not do nothing.
Pardal
RE: Import coordinates in SDMS format into Auto Cad
I have a lisp routine that makes something like this.
It reads text file with point name x y z coordinates and inserts blocks with atributes
It works with separators (, . / and "single space")
If it will help I will send it to you
Zmei
RE: Import coordinates in SDMS format into Auto Cad
I will send you what I did up today.
k281969@hotmail.com
Pardal
RE: Import coordinates in SDMS format into Auto Cad
I have the routine that you need please sent here your email.
just sent them to Pardal!.
Zmei
RE: Import coordinates in SDMS format into Auto Cad
I have a similar situation, I am looking to import a SDMS ali file into AutoCad. Did you get a way of reading the multiline SDMS format in VB? Any help would be appreciated.
Thanks.
Ben
RE: Import coordinates in SDMS format into Auto Cad
I AM SORRY I HAVE TAKEN SO LONG AT GETTING BACK TO YOUR POST. TO BE HONEST I HAVENT REALY HAD ANY OPPORTUNITY TO CONTINUE MY PROGRAM IN VB. BUT I AM DEFINITLEY INTERESTED IN SEEING YOUR LISP ROUTINE.
TO ANSWER YOUR QUESTION BEN NO. WHAT I ENDED UP DOING WAS CREATING A BLOCK CALLED SURVEY POINT THEN INSERTING IT AT THE X,Y,AND Z COORDS AT THE COMMAND LINE. VERY TEDIOUS BUT I AM NOT DEALING WITH MORE THAN 10 POINTS AT A TIME.
RE: Import coordinates in SDMS format into Auto Cad
As i think my routine will need some minor changes for the type of work you need, Please can you give me a little more details.
How exactly looks your SDMS file (I dont know what means SDMS :( ).
The curent routine can read coma space or any other user defined separator ( unfortunately no TAB) from the file looking like this:
Name,Xcoord,Ycoord,ZCoord
Name,Xcoord,Ycoord,ZCoord
The other works with Excell2000
with cells in the same order.
Other versions of excell need to know what version you are using.
ZMEI
RE: Import coordinates in SDMS format into Auto Cad
LINE 1 POINT NO.
LINE 2 X COORD
LINE 3 Y COORD
LINE 4 Z COORD
LINE 5 POINT DESCRIPTOR ( OPTIONAL )
EXAMPLE:
1
1500.00
2500.00
125.00
I GUESS THE PROBLEM I AM HAVING IS FIGURING OUT THE COMMAND TO MAKE ACAD TAKE EACH LINE AND MAKE A SINGLE LINE WITH ALL 5 VALUES BEFORE IT INSERTS THE POINT. IF I FIGURE THAT PART OUT THEN I CAN JUST LINK IT TO A LISP OR VBA ROUTINE THAT READS AN ASCII FILE AND INSERT MY SURVEY BLOCK.
RE: Import coordinates in SDMS format into Auto Cad
Your routine is ready.
Just tell me where to send it.
Zmei
RE: Import coordinates in SDMS format into Auto Cad
RE: Import coordinates in SDMS format into Auto Cad
Zmei
RE: Import coordinates in SDMS format into Auto Cad
I hate to say this but like a doofus I managed to delete all of my in box before I opened your file.Could you send it again.
Thanks Tim