PDA

View Full Version : Something to rename a file after output from a plugin?


TerroX
01-20-2008, 04:59 AM
Is there a way in Maxscript to catch the filename of an output file if it is generated by a plugin?

I have a plugin which outputs files with a filename, I would like to automatically truncate the filename after they are output. (or before they are written to disk if that is possible).

I can't seem to see any events in the listener for filenames or even file saves. Button clicks are there, but that is about as far as I got.

RustyKnight
01-20-2008, 06:02 AM
Is there a way in Maxscript to catch the filename of an output file if it is generated by a plugin?

I have a plugin which outputs files with a filename, I would like to automatically truncate the filename after they are output. (or before they are written to disk if that is possible).

I can't seem to see any events in the listener for filenames or even file saves. Button clicks are there, but that is about as far as I got.I think it would depend on what the plugin provided.

Does the plugin provide any access via maxscript?
Does it have a dialog box perhaps that allows you to change the filename?

Shane

TerroX
01-20-2008, 12:28 PM
Dialogue filename wont save the filename. Probably a bug.

Not sure if it is open to maxscript. When I am in record mode it only picks up on button clicks, except for the filename button :-/

Kenzor
01-20-2008, 06:36 PM
would a post-render script in the 'render scene dialog work' ?

Or possibly a script using callbacks after each frame is rendered?

RustyKnight
01-20-2008, 10:34 PM
Dialogue filename wont save the filename. Probably a bug.

Not sure if it is open to maxscript. When I am in record mode it only picks up on button clicks, except for the filename button :-/What plugin are you using??

Shane

CGTalk Moderation
01-20-2008, 10:34 PM
This thread has been automatically closed as it remained inactive for 12 months. If you wish to continue the discussion, please create a new thread in the appropriate forum.