Skip to content

measurement_log

MeasurementLog

Bases: Photoshop

The log of measurements taken.

Source code in photoshop/api/_measurement_log.py
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
class MeasurementLog(Photoshop):
    """The log of measurements taken."""

    def __init__(self, parent):
        super().__init__(parent=parent)
        self._flag_as_method(
            "exportMeasurements",
            "deleteMeasurements",
        )

    def exportMeasurements(self, file_path: str, range_: int = None, data_point=None):
        if data_point is None:
            data_point = []
        self.app.exportMeasurements(file_path, range_, data_point)

    def deleteMeasurements(self, range_: int):
        self.app.deleteMeasurements(range_)

Last update: 2024-11-17
Created: 2024-11-17