Skip to main content
Participant
December 30, 2022
Question

Is there anyway to batch export iray render image in 3d view by scripting?

  • December 30, 2022
  • 2 replies
  • 307 views

if there is any solution, please give me some inspiration, all tell me the api. Thank you all.

This topic has been closed for replies.

2 replies

Luca Giarrizzo
Community Manager
Community Manager
January 4, 2023

Hello,

 

There is currently nothing exposed in our Python API to export images from the 3D View.

 

You may try using the QtForPython API to extract a screenshot from the 3D View widget directly through Qt – the library we use for Designer's user interface.

 

The name of the 3D View object in our Qt environment is areaD_0. That should help you find the correct child object to extract a screenshot from.

 

Best regards.

Luca Giarrizzo | Quality Engineer - Substance 3D Designer | Adobe
Participant
January 5, 2023

Thank you Luca, very helpful.

By the way, I tried to use SAT to batch render icon, however, I can not find the pysbs library anywhere. Is it still available?

Thank you for your reply.

Luca Giarrizzo
Community Manager
Community Manager
January 11, 2023

Hello,

 

The PySBS wheel package should be included in the SAT installation files. You can refer to this page in our documentation to get started with the API.

 

I hope this is helps!

 

Best regards,

Luca

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

Forgot to say, in sunbstance designer.