Skip to main content
Erik Elizalde
Participant
July 7, 2021
Answered

The map export is not available when using the UV

  • July 7, 2021
  • 1 reply
  • 2967 views

I'm trying to export out UDIMS via code, but I'm getting this error message:

 
[Plugin - export-textures] Exception ExportError: The map export is not available when using the UV Tile workflow (qrc:/js/mapexport.js line 24)
 
is there any other method I can use to export UDIMS? as by using these 2 seems impossible:
  • alg.mapexport.save
  • alg.mapexport.exportDocumentMaps

 

thanks in advance!

This topic has been closed for replies.
Correct answer Léna Piquet Froyok

The Javascript API is not updated anymore to support new features since a few versions now. If you want to export UDIMs/UV Tiles you will have to use a Python plugin instead.

1 reply

Léna Piquet Froyok
Adobe Employee
Léna Piquet FroyokCorrect answer
Adobe Employee
July 8, 2021

The Javascript API is not updated anymore to support new features since a few versions now. If you want to export UDIMs/UV Tiles you will have to use a Python plugin instead.

Known Participant
April 19, 2022

Do you know if a python plugin exists?  if yes can you link it? or would I have to create one?

 

 

Thanks

Inspiring
April 20, 2022

I've not see a plugin as such but there's document bundled with painter if you go to the link below it installs with painter.

 

You want the export module api details, looks like you can specify UDIM etc. in there, I just wrote a custom exporter plugin for the project i'm working on (not udim and to proprietary to share but I guess same principles apply) I warn you it's a bit of a slog getting upto speed on it and learning the QT framework if you'r not familiar with it already for the GUI I think I spent more time on that than the export code.  the basic example in the docs does run tho to get you going. 

 

You essentially build a json file with all the parameters and pass it over to substance process but it's a bit fiddly to get set up.

 

all boils down to this but getting to that point is pretty painful

 

        try:
            res = substance_painter.export.export_project_textures(json_config)
            self.on_export_finished(res)
        except ValueError as err:
            self.on_export_error(err)