Forum

Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.


Topics - szabo.robert@bimlab.hu

Pages: [1]
1
Python and Java API / Volume report script
« on: July 05, 2019, 10:34:44 PM »
Dear Agisoft Support!

I am looking for a method to calculate all the shapes volumes in a chunk on a DEM model and export them to a volume report.
I would like to do this after with all the chunks in a project.

Similar to Right-click-on-a-drawn-polygon/Measure/Volume/Save

2
Python and Java API / KML export script
« on: April 02, 2019, 09:27:06 PM »
Dear Support!

Could you please help me, what is wrong with my script below?
I get an error message that says: "Can't create file. Access denied. (5): (*path to be exported)"
Attached the error message window.

chunk=Metashape.app.document.chunk
kmlpath=Metashape.app.getExistingDirectory("Export mappa")
kmlformat=Metashape.ShapesFormatKML
kmlprojection=Metashape.CoordinateSystem("EPSG::4326")
chunk.exportShapes(path=kmlpath, format=kmlformat, projection=kmlprojection, polygons_as_polylines=True, export_labels=False, export_attributes=True)

Thanks for your support!

Pages: [1]