Forum

Author Topic: Can't loadReference  (Read 1387 times)

KenB

  • Newbie
  • *
  • Posts: 2
    • View Profile
Can't loadReference
« on: April 18, 2019, 02:24:00 PM »
Hello,

I'm trying to loadReference as so:

chunk.loadReference(path='C:\\Metashape\\targets\\19280_MechParkA.txt', format=Metashape.ReferenceFormatCSV, columns='nxyz', delimiter='\t')

Process ends without error, but the markers aren't loaded.

File I'm trying to load is included as attachment. I can load through the app without a problem.

What am I doing wrong?

Alexey Pasumansky

  • Agisoft Technical Support
  • Hero Member
  • *****
  • Posts: 14813
    • View Profile
Re: Can't loadReference
« Reply #1 on: April 18, 2019, 04:12:20 PM »
Hello KenB,

If the markers with the labels from the CSV file do not exist in the current chunk, please add create_markers=True argument to the loadReference() function.
Best regards,
Alexey Pasumansky,
Agisoft LLC

KenB

  • Newbie
  • *
  • Posts: 2
    • View Profile
Re: Can't loadReference
« Reply #2 on: April 18, 2019, 04:18:54 PM »
That was indeed the solution, thanks!