Forum

Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.


Topics - SherryYu

Pages: [1]
1
Python and Java API / loadReference gives no error but doesn't load the file
« on: September 27, 2017, 07:02:24 PM »
Hi,

I'm trying to load a .csv file that contains camera positions using Agisoft version 1.3.4.

Here is my code

doc = PhotoScan.app.document
doc.open("project.psz")
doc.chunk.loadReference(referencepath)
doc.save()


My project already has the photos imported into chunk, and when I manually add the .csv file using Reference pane's "Import" it works. However if I run the script nothing happens. I'm sure the .csv file path is right btw.

Can anyone help making this work? Thanks in advance! 


Pages: [1]