[Plugin] Save as Sketchup 8 (v1.0) PC
-
OK, thanks to Jim and TIG, here's a script for saving your file as Sketchup 8.
first version - i modified the script (the master of coding) - so that you have 3 options.
until the Trimble guys decide to update the api, this is a good workaround (but only for pc i'm afraid).
quick video to explain below - cheers
http://www.youtube.com/watch?v=uSZr8ZhXt1k&feature=youtu.be
original post was:
I hope the api now allows this, because i feel it is badly needed. -
It doesn't do it yet.
The saved version is still always the same as the 'parent' SKP.
A formal request has already been lodged for an optional 'second argument'...So [In the future version] saving as the current version it remains
model.save('xxx.skp')
But [In the future version] to save as another version it's...
model.save('xxx.skp', 8)
-
sorry TIG - slightly confused - are you saying that line should work but it doesn't?
-
@cadfather said:
sorry TIG - slightly confused - are you saying that line should work but it doesn't?
No, I'm saying it doesn't do anything different, YET.
There's no change in the new v2013 API.
A feature-request has been formally made...
The last part of my text was an explanation of how it might work in any future API improvements... -
i see - i wonder how long that 'yet' is going to last...
i might be able to work something out by calling an autoit ot hotkey script - we'll see - this is another important one.
-
Jim wrote this http://sketchucation.com/forums/viewtopic.php?p=294768#p294768
It's for Windows, using that 'scripting' technique...
It was to save v8 as v7 but I'm sure it's readily adjustable... -
that's great Tig, thanks - doesn't work and the code is beyond me right now but it's a start.
EDIT: Got it - coming soon..
-
The commands like TAB etc are just mimicking what key presses you need to do when the save_as dialog opens to get to the previous version in the dropdown list, try it manually with the script open and see what presses do.
Adjust the presses to suit v2013's window set up... -
TIG, you are talking to the master of coding.. you just have to be patient...!
Advertisement