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

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

src/d/e/defense-and-intel-analysis-toolbox-HEAD/toolboxes/scripts/Trajectory_Path.py   defense-and-intel-analysis-toolbox(Download)
    # Extract Z values from surface
    extractPoints = os.path.join("in_memory","extractPoints")
    arcpy.sa.ExtractValuesToPoints(inputFeature,inputSurface,extractPoints,"NONE","VALUE_ONLY")
    arcpy.AddField_management(extractPoints,"Z","DOUBLE")
    arcpy.CalculateField_management(extractPoints,"Z","!RASTERVALU!","PYTHON_9.3")