Jump to content

Delete ole objects in multiple drawings


sumeet

Recommended Posts

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

Link to comment
Share on other sites

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 by BIGAL
Link to comment
Share on other sites

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.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...