algorithmic modeling for Rhino
Hi
I am looking into ways of batch processing a bunch of dwg files via a script in grasshopper. As a initial exercise I have tried to just write a simple script (python) that is supposed to open the files of one folder and saving them to another. Somehow I get unwanted dialog boxes, and/or empty files no matter how I use underscores and hyphens in my rhinoscript commands. Also I have tried to move a DocumentModified(False) command around to no effect.
Best
Jacob
Tags:
I just tried to run the code as a python script in Rhino instead and here it works. Probably also better to do these macro-like things there anyway.
Hi Jacob,
Not sure why does the "do you want to save" dialog box appear, but instead of opening files you can import them into blank .3dm file(_-Import), then export - instead of save as (_-Export), select everything and delete (_SelAll _Delete). This would definitively work, without the dialog boxes appearance.
Welcome to
Grasshopper
Added by Parametric House 0 Comments 0 Likes
Added by Parametric House 0 Comments 0 Likes
Added by Parametric House 0 Comments 0 Likes
Added by Parametric House 0 Comments 0 Likes
Added by Parametric House 0 Comments 0 Likes
© 2024 Created by Scott Davidson. Powered by