Forum

Author Topic: Problem with script with version 1.2.0  (Read 6001 times)

m

  • Newbie
  • *
  • Posts: 11
    • View Profile
Problem with script with version 1.2.0
« on: November 24, 2015, 07:34:50 PM »
Hi


I've problems with my Photoscan script after updating to version 1.2.0(64-bit), the script run smoothly with version 1.1.6(64-bit).

Error message from console is:

2015-11-24 17:33:52     chunk = PhotoScan.Chunk()
2015-11-24 17:33:52 TypeError: cannot create 'Chunk' instances



How can I solve this?


m

Alexey Pasumansky

  • Agisoft Technical Support
  • Hero Member
  • *****
  • Posts: 15438
    • View Profile
Re: Problem with script with version 1.2.0
« Reply #1 on: November 25, 2015, 12:13:51 AM »
Hello m,

Try using:

Code: [Select]
doc = PhotoScan.app.document
chunk = doc.addChunk()
Best regards,
Alexey Pasumansky,
Agisoft LLC