sumeet Posted July 27, 2019 Posted July 27, 2019 Hi all, I have some OLE images in around 350 drawings. I want all the ole objects to be deleted at once. Right now I have a lisp, which doing good, but for that I have to open each single drawing and run that lisp on each drawing. Thanks Sumeet Quote
dlanorh Posted July 27, 2019 Posted July 27, 2019 This is best accomplished with a script to run your lisp on a selection of drawings. FREE SCRIPT COMPILER Quote
BIGAL Posted July 28, 2019 Posted July 28, 2019 (edited) Check out on www.lee-mac.com for his OBDC wrapper. May be useful does not open dwg's. There is also forgotten the command you can run Autocad as a background process using say a script like dlanorh suggested. Its runs as a command line-batch file process. Briscad has something as well I believe. this is an example. rem batch file for accoreconsole.exe cd\program files cd autodesk cd Autocad 2020 accoreconsole.exe /i d:\bigal\test.dwg /s d:\bigal\lisp\test.scr [/code] script chprop all layer 0 close N Edited July 28, 2019 by BIGAL Quote
Lee Mac Posted July 28, 2019 Posted July 28, 2019 You could also use my Script Writer program to run your existing AutoLISP program across multiple drawings. 2 Quote
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.