Skip to main content
Known Participant
January 28, 2022
Question

How to export with dependencies in python?

  • January 28, 2022
  • 2 replies
  • 786 views

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

This topic has been closed for replies.

2 replies

Participating Frequently
February 7, 2022

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.

 

ihauliAuthor
Known Participant
February 10, 2022

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

ihauliAuthor
Known Participant
January 28, 2022

Something similar to sbsexporter in the SAT.

Participant
January 31, 2022

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!