pipe and manhole
DESCRIPTION
Pipe and ManholeTRANSCRIPT
Sheet1Pipe and Manhole Plotting Routine for AutoCADCopy everything in yellow and paste to AutoCAD command line.ScriptComments_-LayerSets current layerMakePipesLayer nameUCSSets UCSWorldPoint NumberXYZLineDraws steps using line segments.10,0.00,200.000,0,200Survey points210,20.00,200.0010,20,200320,30.00,200.0020,30,200440,20.00,200.0040,20,200560,30.00,200.0060,30,200680,20.00,200.0080,20,2007100,30.00,200.00100,30,2008120,20.00,200.00120,20,2009140,30.00,200.00140,30,20010160,20.00,200.00160,20,20011180,30.00,200.00180,30,20012200,20.00,200.00200,20,20013220,30.00,200.00220,30,20014240,20.00,200.00240,20,20015260,30.00,200.00260,30,20016280,20.00,200.00280,20,20017300,30.00,200.00300,30,20018320,20.00,200.00320,20,20019340,30.00,200.00340,30,20020360,20.00,200.00360,20,20021380,30.00,200.00380,30,20022400,20.00,200.00400,20,20023420,30.00,200.00420,30,200_-LayerMakes layerMakeManholes_-InsertInserts blockManholeBlock name, must be previously defined in drawing0,0.00,200.000,0,200Insertion point1.00X scale1.00Y scale0.00Rotation_copyCopies block for easier insertionlastXYZ0,0,200Base point10,20.00,200.0010,20,200Insertion points20,30.00,200.0020,30,20040,20.00,200.0040,20,20060,30.00,200.0060,30,20080,20.00,200.0080,20,200100,30.00,200.00100,30,200120,20.00,200.00120,20,200140,30.00,200.00140,30,200160,20.00,200.00160,20,200180,30.00,200.00180,30,200200,20.00,200.00200,20,200220,30.00,200.00220,30,200240,20.00,200.00240,20,200260,30.00,200.00260,30,200280,20.00,200.00280,20,200300,30.00,200.00300,30,200320,20.00,200.00320,20,200340,30.00,200.00340,30,200360,20.00,200.00360,20,200380,30.00,200.00380,30,200400,20.00,200.00400,20,200420,30.00,200.00420,30,200ZoomZooms ExtentsExtents