Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations LittleInch on being selected by the Eng-Tips community for having the most helpful posts in the forums last week. Way to Go!

point to line

Status
Not open for further replies.

Fuli129

Civil/Environmental
Joined
Aug 1, 2007
Messages
4
Location
US
I have a point file with z values and i was wondering if anyone knows a way to automate a 3d polyline using the points?
 
If you want to draw a 3D polyline to connect the dots try this:
In excel get your data in x,y,z format. This can be done by creating an equation to concatenate the data; e.g =A1&","&B1","&C1 where cells A1, B1 and C1 hold the x, y and z values. Highlight the new column and press Ctrl+C (copy). In autocad start the 3dpoly command, when it prompts you for a start point, paste the coordinates (Ctrl+V) at the command line.

____________________
Acad2006, Terramodel
 
Or in Excel: =CONCATENATE(ROUND(A2,5),","ROUND(B2,5),",ROUND(C2,5)) and then EDIT>FILL down until you have covered all your data assuming the original data starts at A2, B2, C2. Copy all that (not your original data) into the clipboard and then into a text editor; add _3dpoly at the first line and save as *.scr. In Autocad run the script file. Turn OSNAP off when you do.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top