Building upon ArcPy IDW interpolation with LiDAR point cloud data, suppose I want to select certain classes in the las file and then export the final output in its original format (.las), how do I do that?
I have seen a similar question at Exporting ground returns (.las) from classified point cloud? but it does not solve my problem.
# Create the LAS dataset layer
lasd_layer = arcpy.management.MakeLasDatasetLayer(las_dataset, "LASD_Layer", class_code=[4, 5])
# Save the LAS dataset layer to a new LAS file
arcpy.management.ExtractLas(lasd_layer, output_las)
AttributeError: module 'arcpy.management' has no attribute 'ExtractLas'