Skip to main content
Participant
December 19, 2022
Question

How export all output in a single psd with the Python API

  • December 19, 2022
  • 1 reply
  • 1185 views

We are currently using the soon to be depreacted scripting API with the getGraphExportOptions callback but are starting to switch to the new Python API.

But the only way I found to export is with the function sd.tools.export.exportSDGraphOutputs but this function seam to export all output in different files with the pattern $graph_$output instead of a single psd with all the output on different layers.

How can we get the same output format with the Python API?

This topic has been closed for replies.

1 reply

Luca Giarrizzo
Community Manager
Community Manager
December 20, 2022

Hello,

 

There is currently no way to export graph outputs to a multi-layer PSD file using the Python API.

At this point in time, you need to pass the exported files to another API or toolkit to build a PSD file using Python. I understand this is not as convenient as it could be!

 

Best regards.

Luca Giarrizzo | Quality Engineer - Substance 3D Designer | Adobe
Participant
December 20, 2022

It's planned to add this support in a future version?