Copy link to clipboard
Copied
Hi Adobe folks,
Is the 'Export with dependencies' tool exposed in the python api? We'd like to use it in our Designer plugin, but we can't find it in the documentation.
Thank you!
Isabelle
Copy link to clipboard
Copied
Something similar to sbsexporter in the SAT.
Copy link to clipboard
Copied
Additionally, I also want to ask if the "Relocate" option inside the Dependency Manager is exposed in the API. I want to change the "file_path" annotation property on a resource, but this property is read-only. Thank you!
Copy link to clipboard
Copied
For context, we are trying to upload a substance .sbs package to a cloud based asset management system. We need to make sure that all the dependencies are included in the upload, and get resolved when the asset is downloaded later.
Copy link to clipboard
Copied
Hi Isabelle,
Export with dependencies is not currently available in the Python API.
You can find the dependencies of a package using the API but it is also not possible to
relocate packages and resources with the API, so I am not sure if there is a good workaround.
sbs packages are XML files, in theory you can parse and edit them using any XML Python module.
Est.
Copy link to clipboard
Copied
Hi Est,
Thank you for your response and the clarifications. We will try to parse the sbs/xml file as a workaround for now.
Isabelle