Agisoft Metashape
Agisoft Metashape => Feature Requests => Topic started by: Vladimir Denisov on May 08, 2021, 09:44:18 AM
-
Add menu for removing not pinned markers (for selected marker) on all project or in selected images.
-
https://www.agisoft.com/forum/index.php?topic=10969.msg49466#msg49466 (https://www.agisoft.com/forum/index.php?topic=10969.msg49466#msg49466)
There is a script to remove all the blue flags.
-
https://www.agisoft.com/forum/index.php?topic=10969.msg49466#msg49466 (https://www.agisoft.com/forum/index.php?topic=10969.msg49466#msg49466)
There is a script to remove all the blue flags.
fixed
import Metashape
for chunk in Metashape.app.document.chunks:
for marker in chunk.markers:
for camera in list(marker.projections.keys()):
if not marker.projections[camera].pinned:
marker.projections[camera] = None
-
Hello Vladimir,
In that post the chunk definition has been missing, please check the updated script sample:
import Metashape
chunk = Metashape.app.document.chunk
for marker in chunk.markers:
for camera in list(marker.projections.keys()):
if not marker.projections[camera].pinned:
marker.projections[camera] = None