Skip to main content
Erik Elizalde
Participant
Jul 7, 2021 11:56 PM UTC
Answered

The map export is not available when using the UV

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 is closed to new replies. Start a new post to keep the conversation going.
Léna Piquet Froyok
Léna Piquet FroyokCorrect answer
Adobe Employee
Jul 8, 2021 8:28 AM UTC

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.

3 replies

Léna Piquet Froyok
Adobe Employee
Léna Piquet FroyokCorrect answer
Adobe Employee
Jul 8, 2021 8:28 AM UTC

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.

Translate
Known Participant
Apr 19, 2022 12:33 AM UTC

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

 

 

Thanks

Translate
Inspiring
Apr 20, 2022 7:48 AM UTC

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)    

 

 

 

Translate