Display full version of the post: Script trouble - quick help please!

Anders79
16.10.2015, 11:03

Hello. I have a huuuge file containing coordinate pairs, looking like this: 1: XYZ XYZ2: XYZ XYZ3: XYZ XYZ and so on. I want to dra a polyline in the middle of the coordinates in pont one, to the middle of the coordinates in point 2, to the middle of the coordinates in point 3, and so on, but my script fails every time.It looks like this: plinem2p 6193787.8410,109433.9310,1.3720 6193788.8800,109434.3230,1.3820m2p 6193781.0240,109450.3600,1.2950 6193782.0470,109450.7510,1.2800m2p 6193773.9710,109466.9570,1.3030 6193774.9960,109467.3160,1.2660 and so on for 1783 points... What is wrong? Boss is waiting...  
Anders792015-10-16 11:23:22

Anders79
16.10.2015, 13:10

Ok, I solved it myself:   Since there is z-coordinates it's concidereed a 3d-line, and pline cant be useed.I changed  to 3Dpoly, and it worked fine.