Forum

Author Topic: Duplicate Chunk - Items to copy, not in api?  (Read 3444 times)

James

  • Hero Member
  • *****
  • Posts: 765
    • View Profile
Duplicate Chunk - Items to copy, not in api?
« on: January 22, 2017, 06:57:49 PM »
Is there any way to duplicate a chunk, excluding all the bulky things like orthomosaic, model etc, like you can with the GUI command?

chunk.copy() seems not to take any relevant arguments and takes so long on my big chunks it is quicker to do it in the GUI for now.

Using 1.2.6

Thanks

Alexey Pasumansky

  • Agisoft Technical Support
  • Hero Member
  • *****
  • Posts: 15090
    • View Profile
Re: Duplicate Chunk - Items to copy, not in api?
« Reply #1 on: January 22, 2017, 07:47:59 PM »
Hello James,

In PhotoScan Pro 1.3:

Quote
copy([frames][, items][, progress])
Make a copy of the chunk.
Parameters
• frames (list of Frame) – Optional list of frames to be copied.
• items (list of PhotoScan.DataSource) – A list of items to copy.
• progress (Callable[[float], None]) – Progress callback.
Returns Copy of the chunk.
Return type Chunk
Best regards,
Alexey Pasumansky,
Agisoft LLC