Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.

Messages - CarlosA

Pages: [1]
Thanks for asking this question, I'm curious about this as well, at the moment it seems like the dev would need to reimplement all the export configurations as Json from scratch.

Definitely slowing things down and throwing teams for a curve as all the change to the UI itself will have no reliance on custom export tools...

Can we get some feed back on this?

i would be curious to know as well, a few hours into looking at the API the publish workflow is not very clear...

Hey Guys,
I'm exploring the new python plugins for painter, pretty happy to have this finally.
However, I'm trying to boot strap a plugin using the documented environment variable "SUBSTANCE_PAINTER_PLUGINS_PATH," and I'm finding some bizarre behavior.

I'll add a link to a zip file containing the batch file I've set up to test and replicate the issue, as well as a test plugin directory I've made.

The fundamental issue is.
When we add the environment variable in DOS and run painter,
painter does not pick up the new path (the hello plugin is not loaded).
If we try to call the environment key though python in painter, we get a key error.
However, we can tell that the variable is in fact in the environment as we have a javascript plugin that can print the window environment
Our test is very simple. Here's what are batch file is doing.

Code: [Select]
call "C:\Program Files\Allegorithmic\Substance Painter\Substance Painter.exe"
Can someone clue me in as to what I might be doing wrong?

Does anyone have an example of SUBSTANCE_PAINTER_PLUGINS_PATH environment variable working?
it doesn't seem to be an environment variable as much as we need to edit the following variable in python...

That's excellent, I will try this out immediately thanks for the feedback!

I could also be going wrong the wrong way about this, is there an export outputs call back like in painter I could piggyback on?

Hello, wondering if you guys could help me save some time.
I'm trying to collect al list of file paths from Designer matching the output nodes of the graph.
This would be a list of files that are created or overwritten when re-exporting a graph.
Any easy way to do this using the python API from withing a designer plugin?

I'm basically trying to run the files generated by the "export bitmaps" tool through or versioning workflow...


going from 2018 to 2019 fixed all my issue :D

I might be imagining things (our maybe I just need to get the automation license)...
but Designer doesn't seem to look in the environment's "pythonpath" when I try to run imports.
can someone give me a sanity check on this?

Substance PainterSubstance Painter - Scripting - By passing warning messages
 on: February 25, 2020, 05:53:00 pm 
We’re finishing up a batching tool and the one thing that’s keeping us from having full un attended batching is the warning messages about backwards compatibility when opening files that were authored in previous versions of painter

Any way to by pass this through cli or the api?

Substance PainterSubstance Painter - Scripting - Closing the painter session?
 on: February 21, 2020, 06:20:01 am 
I’m batching a ton of files need to be able to close painter down from a plugin...
How do I do this project.close closes the opened file

Pages: [1]