Please or Register to create posts and topics.

How to remove comments and user id from 3dsMax scene filename?

hey all - just checking out this pipeline tool - coming from maya and was looking for something similar to OpenPipeline and lo and behold!

anyways - I'd like to modify the python script to remove the comments and user initials being added to the 3ds max file name, does anyone know where i can locate the script that affects this?

cheers!

great product btw (so far!)

 

:or:

for Richard - update to present the user with the option of what should be included in the filename

Yeah, customizing filenames and folderstructures is a highly requested feature, but currently the Project Browser gets its infos from the filename. So if you remove the comment or the user from the filename, the Project Browser cannot display the comment/user for that file anymore.

If you still want to customize the filename, it depends on how you save a file. The shelf tool calls the "saveScene" function in C:\Prism\Scripts\PrismCore.py. There you can set the comment and user to an empty string. The "create new version from current" feature in the Project Browser calls the "createFromCurrent" function in C:\Prism\Scripts\ProjectScripts\ProjectBrowser.py so you would need to change it in there, too.

But note that you have to set the comment/user to an empty string and you cannot remove it.

So this filename:

shot_0010_mod_main_v0002_details-added_rfr_.max

would become:

shot_0010_mod_main_v0002___.max

but you cant delete the underscores. There is a way to change the underscores to a different "seperator character", but Prism expects a fixed amount of seperator characters in the filename.

Quote from RichardF on 7. November 2018, 23:31

Yeah, customizing filenames and folderstructures is a highly requested feature, but currently the Project Browser gets its infos from the filename. So if you remove the comment or the user from the filename, the Project Browser cannot display the comment/user for that file anymore.

If you still want to customize the filename, it depends on how you save a file. The shelf tool calls the "saveScene" function in C:\Prism\Scripts\PrismCore.py. There you can set the comment and user to an empty string. The "create new version from current" feature in the Project Browser calls the "createFromCurrent" function in C:\Prism\Scripts\ProjectScripts\ProjectBrowser.py so you would need to change it in there, too.

But note that you have to set the comment/user to an empty string and you cannot remove it.

So this filename:

shot_0010_mod_main_v0002_details-added_rfr_.max

would become:

shot_0010_mod_main_v0002___.max

but you cant delete the underscores. There is a way to change the underscores to a different "seperator character", but Prism expects a fixed amount of seperator characters in the filename.

noted - thanks for your thorough response!