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

is there a way to automate plugin installation?

Explorer ,
Feb 22, 2024 Feb 22, 2024

Copy link to clipboard

Copied

Hi, is there a way to automate the installation of plugins to Substance 3D Sampler without having to manually select the plugin from the preferences window?

Reuben5C64_0-1708635067337.png

 

For example, in Substance Designer, you can copy the plugin to the appropriate plugins folder and Designer recognizes it automatically and loads it without requiring any user intervention.

 

Thanks!

TOPICS
How to , Install , Scripting

Views

158

Translate

Translate

Report

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
Adobe Employee ,
Feb 22, 2024 Feb 22, 2024

Copy link to clipboard

Copied

Hello,

There are two environment variables:

  • SAMPLER_PLUGIN_PATH
  • SAMPLER_SCRIPT_PATH

By defining those paths, you can add your plugins and scripts automatically there.

 

Thanks

Votes

Translate

Translate

Report

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
Explorer ,
Feb 22, 2024 Feb 22, 2024

Copy link to clipboard

Copied

thanks for the quick response! that works if I set the env variable in a terminal and run Sampler directly from the command line but doesn't seems to work if I launch Sampler through the normal method of opening it in Finder or through the taskbar.

Votes

Translate

Translate

Report

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
Explorer ,
Feb 23, 2024 Feb 23, 2024

Copy link to clipboard

Copied

Update: I was able to set the env variable in mac globally for all apps following this stackoverflow post. However, it would be nice if the Sampler already looked at ~/Documents/Adobe/Adobe Substance 3D Sampler/python/plugins by default, or even if you could adjust/add paths from within the Sampler settings, or through the python API.

 

I also noticed that if the zip file is still in the SAMPLER_PLUGIN_PATH folder when you start Sampler and the plugin has already been installed, Sampler crashes (see attached crash report).

 

Will these issues be addressed? 

 

Thanks

Votes

Translate

Translate

Report

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
Explorer ,
Feb 27, 2024 Feb 27, 2024

Copy link to clipboard

Copied

in the meantime, is there a way to detect if a plugin has been loaded and a way to remove the plugin from sampler through an api or the command line?

Votes

Translate

Translate

Report

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
Explorer ,
Feb 27, 2024 Feb 27, 2024

Copy link to clipboard

Copied

another bit of info.  it was crashing for me on mac, but I tried in windows as well and it often crashes there too if the zip file is left in the SAMPLER_PLUGIN_PATH. Sometimes Sampler will load without crashing but the plugin doesn't seem to be loaded

Votes

Translate

Translate

Report

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
Explorer ,
Apr 03, 2024 Apr 03, 2024

Copy link to clipboard

Copied

LATEST

bumping this. did anyone get to look into this issue yet?  thanks

Votes

Translate

Translate

Report

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