Agisoft Metashape

Agisoft Metashape => Python and Java API => Topic started by: MaciekK on January 02, 2023, 05:44:21 PM

Title: MS 2.0 script not working
Post by: MaciekK on January 02, 2023, 05:44:21 PM
Hello,
i installed version 2.0 and unfortunately my basic script is not working. I'm getting an error - wrong "projections" parameter:

projections = point_cloud.projections

Has anything been changed? i need to go back to 1.8.4

MK
Title: Re: MS 2.0 script not working
Post by: Paulo on January 02, 2023, 06:37:50 PM
Hi Maciek,
In v.2, point_cloud attribute has been changed to tie_points... please look at API reference manual.
For any further help adapting your scripts you can PM me.
In SA
Title: Re: MS 2.0 script not working
Post by: MaciekK on January 03, 2023, 12:51:57 AM
Paul,

I didn't think the scripts would need to be rebuilt... I'm going to read the Python change log. Thanks for the hint

MK