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.

Topics - CarlosA

Pages: [1]
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?

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...


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]