Hi,
I am trying to use the function to reduce the dense cloud "filterdensecloud" command.
Manual workflow:
Generate the dense cloud> Right click on the "filter dense cloud"> Point Space> "0.30m"> Replace Default dense cloud> "No".
chunk.dense_cloud.label = "Full"
task = Metashape.Tasks.DuplicateChunk ()
chunk.dense_cloud = None
task.copy_dense_clouds = True
task.apply(chunk)
task1 = Metashape.Tasks.FilterDenseCloud ()
task1.point_spacing = 0.30
task1.assets = [cloud.key for cloud in chunk.dense_clouds]
task1.apply(chunk)
chunk.dense_cloud.label = "Reduced"
On the end the result is "AttributeError:"