Skip to main content
Inspiring
May 22, 2023
Answered

How do I get the version my project was saved ?

  • May 22, 2023
  • 1 reply
  • 1967 views

I am currently try to get the Substance Painter version of the project I have saved in. I am using Substance Painter 8.3.0 and use it to open the project from 8.2.0. Now it's able to see in the log.

[INFO]<Paint Document> The project has been updated from version 73 to version 75.

[INFO] <Paint Document> Project was last saved with Substance 3D Painter 8.2.0

But I am currious about how to get this property by any script language. If you have any idea, please feel free to help me out. Thank you for reading this!!

This topic has been closed for replies.
Correct answer Cyril Dellenbach

Hi @_PiloGustinman,

 

This is something you can do trought our Python API. You'll find how to access the version under:

 

Help > Scription documentation > Python API > Substance_Painter Package > Project module > last_save_substance_painter_version()

 

Best regards,

 

1 reply

Cyril Dellenbach
Community Manager
Cyril DellenbachCommunity ManagerCorrect answer
Community Manager
May 22, 2023

Hi @_PiloGustinman,

 

This is something you can do trought our Python API. You'll find how to access the version under:

 

Help > Scription documentation > Python API > Substance_Painter Package > Project module > last_save_substance_painter_version()

 

Best regards,

 

Cyril Dellenbach (Micro) | QA Support Artist | Adobe
Inspiring
May 22, 2023

I couldn't found that in the project module. There is only last_import_mesh_path()

 

Inspiring
May 22, 2023

Here is the module I am finding the last_save_substance_painter_version() as you mentioned

https://substance3d.adobe.com/documentation/ptpy/api/substance_painter/project