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

[Scripting] Unable to reload plugins folder via Python after updating substance_painter_plugins.path

New Here ,
Aug 24, 2022 Aug 24, 2022

Heya,

I am able to update the required environment variables within the scope of Substance Painter and its plugins (i.e. %SUBSTANCE_PAINTER_PLUGINS_PATH%, as well as the variable in substance_painter_plugins.path)

After programmatically updating these variables (and also calling substance_painter_plugins.update_sys_path()), however, clicking the "reload plugins folder" option in Substance does not load up the new correct folder, despite the paths reflecting as correct when I checked via Python console. Just wondering if I am able to reload the plugins folder programmatically via the Python API. 

Thanks!

Bug Unresolved
TOPICS
Bugs & Crashes , Scripting
214
Translate
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
no replies

Have something to add?

Join the conversation