Author Topic: CoronaImageCmd - Export multiple elements  (Read 515 times)

2023-09-19, 17:14:44

renderboy

  • Users
  • *
  • Posts: 3
    • View Profile
Hey!

One feature that would be useful for CoronaImageCmd would be to be able to submit multiple render elements in one command.

Current Command:
Code: [Select]
CoronaImageCmd.exe -e "BEAUTY" inputImage.cxr outputImage.jpgNew Command:
Code: [Select]
CoronaImageCmd.exe -e "BEAUTY, Alpha, CMasking_WireColor" inputImage.cxr outputImage.jpg
In my personal batch exporter I need to submit one command for each render element, being able to condense it to one for all would be convenient. I know that * exists but sometimes I only need to export 2 or 3 specific elements.

Thanks!

2023-09-20, 12:16:35
Reply #1

Aram Avetisyan

  • Corona Team
  • Active Users
  • ****
  • Posts: 573
    • View Profile
Hi,

As you mentioned, running the command for each render element is the only way to do it. CoronaImageCmd.exe processes single render element or all of them at a time.

The syntax currently does not let you have multiple render elements in one line.
But even if you do, you would need to specify output names for each render element, don't you? Unless "input.cxr output.png" processes the render element names automatically.

Another possibility, for keeping only specific render elements only, is to run the CoronaImageCmd.exe without element input, so it processes all elements, then delete the unneeded ones with a script and regular expressions. Yes, tedious, but just an idea :)
Aram Avetisyan | chaos-corona.com
Chaos Corona Support Representative | contact us