How to batch modify description of sketchup file?
-
I want to edit/change the Description in several SketchUp files... (the description I am talking about is in Model Info->File->Description). But, as I have several files where I need to write the same thing, I want to know if is any method to do it in batch, without opening each file.
Thank you.
-
As far as I know you'll need to open each SKP file and use
Sketchup.active_model.description="xxxxx"
save it and then close/open the next.
There already some examples of batch SKP file processing.
For example my DAE-exporter, where you open one SKP in a folder of SKPs, run the tool and it processes all of the SKPs in turn automatically...
http://forums.sketchucation.com/viewtopic.php?p=347277#p347277
All you need to do is replace the 'export' part with the description-adding code and aSketchup.send_action("saveDocument:")to save it [NOT model.save() !]... -
thank you very much, TIG ! I will look over your plugin!
Hello! It looks like you're interested in this conversation, but you don't have an account yet.
Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.
With your input, this post could be even better π
Register LoginAdvertisement