Copy link to clipboard
Copied
I'm trying to configure Substance 3D Designer for a team of artists to interface with perforce, but it doesn't seem to be support checking-out and export textures that are already in p4.
Will this feature be supported?
(currently on v11.2.1)
Hello,
You can use the exportSDGraphOutputs function in the sd.tools.export module. This is its description:
sd.tools.export.exportSDGraphOutputs(aSDGraph, aOutputDir='', aFileExt='png')
Description: Export the textures of the output node of the specified SDGraph
Arguments:
Returns: True if succeed else False
You can set up a custom U
...Copy link to clipboard
Copied
Hello,
Unfortunately, we have no plans on expanding the current version control implementation built into Designer.
This integration will be deprecated in favour of letting users leverage the Python API to set up their custom solution for version control. Indeed, the Python API will be expanded in the future.
For the time being, you can refer to the Version control section of Designer's documentation regarding the current implementation as well as the Version control item of the Project settings page.
For check out issues, this thread may be relevant.
Best regards.
Copy link to clipboard
Copied
Thanks for the response. That makes sense. We have our own p4 libs that we typically use. Will we be able to make the texture export dialog run a python script to check out the files at export time? Or will we have to write our own custom export UI?
Copy link to clipboard
Copied
Hello,
You can use the exportSDGraphOutputs function in the sd.tools.export module. This is its description:
sd.tools.export.exportSDGraphOutputs(aSDGraph, aOutputDir='', aFileExt='png')
Description: Export the textures of the output node of the specified SDGraph
Arguments:
Returns: True if succeed else False
You can set up a custom UI to start the export using this function and use the returned boolean to trigger a check out.
In Designer, the Help menu lets you access the Scripting documentation, which is a library of classes, functions and objects available in the Python API.
Best regards.
Copy link to clipboard
Copied
Thanks for the response. This is probably what we're going to end up doing.
Copy link to clipboard
Copied
Happy to help! Feel free to let me know if I can assist you further.
Best regards.