Oops, your profile's looking a bit empty! To help us tailor your experience, please fill in key details like your SketchUp version, skill level, operating system, and more. Update and save your info on your profile page today!
🛣️ Road Profile Builder | Generate roads, curbs and pavements easily Download
OnSaveModel Observer
-
The
on(|Pre|Post)SaveModelobservers 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.pathis 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