Agisoft Metashape
Agisoft Metashape => Python and Java API => Topic started by: geo_enth3 on March 28, 2022, 11:56:30 AM
-
Dear Metashape Team,
I was wondering if the tool "Gradual Selection" for models is also accessible via the Python API? I couldn't find such a function in the documentation but I might have overseen it. Specifically I am searching for the "Connected Component Size" criterion to "filter" my model.
Thanks!
-
If you're looking to delete all components smaller than a certain size (which was why I was using this selection), then you can do model.removeComponents(size) where size is the minimum number of faces to keep in each component