Hi Alexey,
i proceed as follows:
Editing a photogrammetry with coordinate systems. This includes aligning the images, optimizing the camera alignment and checking a control point.
This project is then fully balanced, calculated and assigned the appropriate coordinate systems.
In addition, I read in a scan with the coordinates of the same coordinate system of the images. There are no identical Points between the Pictures and the Scan!!
Then I assign accuracies for the coordinates of the scan of 0.001 meters. This means that the scan should be included in the calculation unchanged. Then I run the script. The same coordinates now appear in the calculated values as in the original data. The errors contain 0,0,0 as the deviation between the original data and the calculated values. That's all right and good.
So far everything is going as it should - apparently (see Picture 1).
However, if I now create a dense point cloud, generate a mesh or calculate anything, the entire coordinate reference is completely destroyed. Updating the transformation also results in completely implausible values (see Picture 2).
Image 1 is after applying the script, all coordinates are plausible and correct.
Image 2 is after pressing "updated transformation", then nothing is correct anymore.