Jump to content

Erase Text And Side Lines


mehrdad

Recommended Posts

Hi,

I have lots of AutoCAD drawings and i want to delete the word shows in the attached image along with the side lines.

is it possible to do this with a script or lisp?

Thank you 

2021-06-21_11-54-39.png

Link to comment
Share on other sites

Might they be on a layer which has nothing else which you WANT?  If so you could either turn that layer off, or use LAYISO to isolate only that layer on your screen, then select everything and ERASE.  It can certainly be done other more sophisticated ways.

 

Are they on an expendable layer?

If so I would probably do it with an ACTION RECORDER MACRO, which is pretty quick and relatively painless for those lisp-challenged

users like me.  I use it ALL THE TIME, open 25 drawings at a time, and bang through them.

 

Are you able to post a sample drawing?

STrip out any proprietary information, we just need to see the linework and set up of layers.

Edited by Dadgad
old schooler
Link to comment
Share on other sites

Thank you Dadgad,

I have a problem because I have 4000 sheet that I have to change something on them and if I want change every 25 sheet at the same time It will take a lot of time and I don't have much time.
Could you help me if you can to increase number of pages from 25 to 100?
Thank you so much for your attention

 

1-PA01-9008106-AQUA2-N0_Sht_1.dxf1-2-HS01-5002206-CARS5-H80_Sht_3.dxf

Link to comment
Share on other sites

Are you looking to change the BOM callout for item #5?

Lee's lisp would do that, just open one to define your search parameters.

image.thumb.png.3d9b0ec5f29183a3b2a6fe4915d8e92d.png

 

Edited by Dadgad
Better screenshot, more on point
Link to comment
Share on other sites

If the problem is TEXT, no problem.

 

Hoping BFIND can rescue you.

Open a single file from the folder or directory where your files are  >

Define your desired changes

Browse to the directory, if it is not your current Directory

Look at Options possibly?

 

Hit OK and it will go through your 4,000 files in a few minutes, no drama.

Don't forget to make a modest donation to Lee, if you can, as well as a tip of the hat.

 

 

If not maybe Tharwat has something on his website.

 

https://apps.autodesk.com/ACAD_E/en/Detail/Index?id=134530920785950835&appLang=en&os=Win32_64

 

Link to comment
Share on other sites

You can try to lead a horse to water...It will even print out a report of all of the drawings in which it was founf and changed!  LeeMac RULES!  :thumbsup:

image.thumb.png.92e367fa4421dcc7b9e49b1f5c8c1404.pngimage.thumb.png.3d9b0ec5f29183a3b2a6fe4915d8e92d.png

LeeMac RULES 2 .jpg

Link to comment
Share on other sites

You are welcome.

It is 9:30 p.m. and after my workout I didn't go down for dinner because I hoped that I might be able to help you.

Sorry I don't know any magical way to eliminate them.

I am afraid you will be opening those 4,000 drawings after all, and I am going to step away from the magic box now and enjoy some dinner.

Good luck with them, maybe another forum member will know a clever way.   :|

Link to comment
Share on other sites

In the sample dwg everything is on 1 layer making life very hard, does the dwg exist with different layers ?

 

The only way I see is

Find plines

Also look for a line touching, 

If line exists get the other 2 lines

get text inside.

Erase all the objects

 

You have some small pline boxes with say a single number but no line attached so take it for granted that is to remain.

 

Using Aeccorconsole would be the way to go with a lisp.

 

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...