PDA

View Full Version : how to cancel save file,with filePreSave callback?


CGGD
12-15-2009, 12:29 AM
CallBacks.AddScript #filePreSave "CancelSave" id:#FileScaleCheck

denisT
12-15-2009, 12:51 AM
CallBacks.AddScript #filePreSave "CancelSave" id:#FileScaleCheck

you can't cancel file saving. On presave stage the file is already open for save and setting #readonly flag doesn't not help either.

you can make a copy of the file, and on #postsave replace the file with the copy.

CGGD
12-15-2009, 01:04 AM
very thank you

CGTalk Moderation
12-15-2009, 01:04 AM
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.