Forum

Author Topic: exportReport  (Read 8223 times)

terry

  • Newbie
  • *
  • Posts: 5
    • View Profile
exportReport
« on: January 10, 2013, 06:26:44 PM »
Using Photoscan pro 0.9.0 64bit

I'm trying this command to export a pdf report

>>> PhotoScan.app.document.activeChunk.exportReport('C:/Users/Admin/report.pdf')


but it always fails with

False
Generating report...
Finished processing in 0 sec (exit code 0)

what am I doing wrong

Alexey Pasumansky

  • Agisoft Technical Support
  • Hero Member
  • *****
  • Posts: 14813
    • View Profile
Re: exportReport
« Reply #1 on: January 10, 2013, 06:38:21 PM »
Hello terry,

Export report works only for referenced chunks with reconstructed geometry.
Best regards,
Alexey Pasumansky,
Agisoft LLC

terry

  • Newbie
  • *
  • Posts: 5
    • View Profile
Re: exportReport
« Reply #2 on: January 10, 2013, 07:14:14 PM »
I thought I was doing that, for testing I'm suing the sample01 - sample01_smooth.psz file

I've also just tried
PhotoScan.app.document.chunks[0].exportReport("z:/agisoft/dsf.pdf")

but it still returns false


Alexey Pasumansky

  • Agisoft Technical Support
  • Hero Member
  • *****
  • Posts: 14813
    • View Profile
Re: exportReport
« Reply #3 on: January 10, 2013, 07:16:36 PM »
Hello terry,

And is Generate Report option enabled in the File menu?
Best regards,
Alexey Pasumansky,
Agisoft LLC

terry

  • Newbie
  • *
  • Posts: 5
    • View Profile
Re: exportReport
« Reply #4 on: January 10, 2013, 07:21:39 PM »
it is not, hadn't spotted that option