• Registers a cleanup function to be called when the Clear Measurements command runs. Use this only for CAD transient entities — DOM overlays are managed by the useMeasurements composable in cad-viewer via the measurements-cleared event.

    Parameters

    • fn: () => void

    Returns void