Forum

Author Topic: Batch commands in UI for Pathing  (Read 2503 times)

MetaUser555

  • Newbie
  • *
  • Posts: 29
    • View Profile
Batch commands in UI for Pathing
« on: June 15, 2023, 07:18:54 PM »
Hi there,
I'm putting this into the Path section of the batch ui
{projectpath}/export/{chunklabel}.abc
was expecting just the project path but when it's run i get:
Error: Can't make path: The filename, directory name, or volume label syntax is incorrect (123):
it's appending the correct path from above with this:
C:/Users/me/Desktop/
is there something I'm missing in the batch command?
Metashape Pro 2.0.1
thanks for your help

Alexey Pasumansky

  • Agisoft Technical Support
  • Hero Member
  • *****
  • Posts: 15168
    • View Profile
Re: Batch commands in UI for Pathing
« Reply #1 on: June 16, 2023, 03:32:53 PM »
Hello MetaUser5555,

Does it help, if you use {projectfolder} instead of {projectpath}?

Also please make sure that /export/ subfolder exists in the project folder.
Best regards,
Alexey Pasumansky,
Agisoft LLC

MetaUser555

  • Newbie
  • *
  • Posts: 29
    • View Profile
Re: Batch commands in UI for Pathing
« Reply #2 on: July 05, 2023, 12:29:27 AM »
Thanks Alexey,
A bit more information - this works when I run it locally but when I run it over the network machines it errors out like above
cheers

Alexey Pasumansky

  • Agisoft Technical Support
  • Hero Member
  • *****
  • Posts: 15168
    • View Profile
Re: Batch commands in UI for Pathing
« Reply #3 on: July 05, 2023, 12:39:34 PM »
Hello Hello MetaUser5555,,

You can check, what is the project path by executing the following line in the Console pane:
Code: [Select]
Metashape.app.document.path
Also I can suggest to try using version 2.0.2. I am not observing export problems using {projectfolder}/{chunklabel}.abc export path template for projects opened via network paths.
Best regards,
Alexey Pasumansky,
Agisoft LLC