• Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
    Dedicated community for Japanese speakers
  • 한국 커뮤니티
    Dedicated community for Korean speakers
Exit
0

How to export with dependencies in python?

Explorer ,
Jan 28, 2022 Jan 28, 2022

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.

Screen Shot 2022-01-28 at 10.03.42 AM.png

 

Thank you!

 

Isabelle

TOPICS
Import & Export , Scripting

Views

244

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Explorer ,
Jan 28, 2022 Jan 28, 2022

Copy link to clipboard

Copied

Something similar to sbsexporter in the SAT.

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
New Here ,
Jan 31, 2022 Jan 31, 2022

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!

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Explorer ,
Feb 03, 2022 Feb 03, 2022

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.

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Adobe Employee ,
Feb 07, 2022 Feb 07, 2022

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.

 

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Explorer ,
Feb 10, 2022 Feb 10, 2022

Copy link to clipboard

Copied

LATEST

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

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines