Did I find the right examples for you? yes no      Crawl my project      Python Jobs

All Samples(2)  |  Call(2)  |  Derive(0)  |  Import(0)

src/d/e/defense-and-intel-analysis-toolbox-HEAD/toolboxes/scripts/Trajectory_Path.py   defense-and-intel-analysis-toolbox(Download)
        # add the trajectory path and attributes to the output features
        if debug == True: arcpy.AddMessage("Adding row to output FC...")
        addRows.insertRow([arcpy.Polyline(pathArray,prjWebMercator,True,True),maxHeight,dddRange,tMax,azimuthAngleDegrees,elevationAngleDegrees,initialVelocityMPS])
        del pathArray
 

src/d/e/defense-and-intel-analysis-toolbox-HEAD/toolboxes/scripts/FM5-33CCM.py   defense-and-intel-analysis-toolbox(Download)
            diagArray2 = arcpy.Array([arcpy.Point(rndPt[0] - offset,rndPt[1] - offset),arcpy.Point(rndPt[0] + offset,rndPt[1] + offset)])
            diagArray = arcpy.Array([diagArray1,diagArray2])
            diagLine = arcpy.Polyline(diagArray)
            insert.insertRow([diagLine,rndPtOID])
        del insert