> Script Details
Create 3d Polylines from Text File
report inappropriate content
Apr 27 2006
Status of work
ArcScripts is intended for the free exchange of scripts and tools related to ESRI software products. Please alert the moderator if this script is a demo, trial-version, or an advertisement for a retail product.
'Purpose: Creates 3D polylines from a comma-delimited textfile with X,Y,Z points. The
' textfile should be in X,Y,Z,ID format with each polyline vertex on a separate
' row, in the same order the line is to be constructed. The form will prompt the
' user to select a textfile (with a .txt extension) and an output shapefile in which
' to create and add the 3D lines. Included is a sample text file that is in the
' correct format (sampletextfile.txt).
'Notes: The form is meant to be run in ArcMap (developed in V9.1). Simplest
' way to use is the form is to use the provided .mxd file that has the form
' attached to a UIControl (smiley face button). The form frmtxtto3dpln.frm can also
' be imported into a Visual Basic Editor in ArcMap. This program works similarly
' to the Arc/Info "generate" command (except works for 3D rather than 2d features).