The forum is active for archival purposes only.

Join our discord community for new topics.

论坛导航
您需要登录才能建立帖子与主题。

Tips on Prism settings override

Hi Richard,

You mentioned a couple of times that it is possible to add a script somewhere in prism to override settings. For example I would love be able to override the playblast setting to save it locally to always be on, lock it even, so that it is not possible to put uncompressed playblasts on the shared workspace. Also I would like to disable the "copy to global" that happens whenever a publish is made, as it is filling up a lot of space (I manually go through all the assets and delete the scenefiles that are on the shared folder)

Could you point me in the right direction?

Cheers!

Modifying the playblast settings can be done with a Prism plugin. Since there is no documentation for that it's not very easy to do this. So I created a example plugin for you, which already does what you need.

Currently there is no way to prevent that the scenefile gets copied to the global folder with a plugin. You would need to remove a line from the PrismCore.py file. What you can do in a plugin is to delete the scenefile after it was copied. I added this to the plugin, too.

The plugin is called "SettingsOverride". You can place the "SettingsOverride" folder in you Prism installation directory under \Plugins\Custom or in your Prism project under \00_Pipeline\Plugins

Have a look at the "onStateCreated" and "onPublish" function in the Prism_SettingsOverride_Functions.py file.

已上传的文件:
  • 您必须登录才有权限上传。

Dude, thank you so much! That is really great!