💡 LightUp 7.1 | SketchUp's only real-time renderer that uses object-based rendering
Download Trial
OnSaveModel Observer
-
The
on
(|Pre
|Post
)SaveModel
observers are also triggered when SketchUp autosaves. From the transmitted argument (model
) it seems I can't distinguish between auto-saves and manual saves, and more important, I can't get the path of the saved file.model.path
is always the path of the currently opened model, not of "Save as..." or "Save copy as...".Any ideas?
-
Does any of this debate help?
http://forums.sketchucation.com/viewtopic.php?f=180&t=40776&p=361393&hilit=onsave+timer#p361393 -
Thanks! That should work for most cases.
(But it still would be nice to have a second argument with the file path, since the model.path is not necessarily linked with the location where the file (a copy) was saved.)
Advertisement