Script for erasing block in drawings and inserting new one

Script for erasing block in drawings and inserting new one

agibbons
Participant Participant
824 Views
3 Replies
Message 1 of 4

Script for erasing block in drawings and inserting new one

agibbons
Participant
Participant

I don't really have any experience writing scripts or lisps but need to do something to a few hundred files that I think could be done by a script or lisp.

 

I need to delete text or an attributed block from each file and then insert a block that doesn't exist in the file.

 

Does anyone have any ideas?

 

Anne-Phoenix

0 Likes
825 Views
3 Replies
Replies (3)
Message 2 of 4

dlanorh
Advisor
Advisor
May be feasable using ObjectDBX, can you expand on the scope, i.e. will it be the same for every drawing?

I am not one of the robots you're looking for

0 Likes
Message 3 of 4

agibbons
Participant
Participant

Yes, I've come onto this project late and the text in the title block has been placed numerous ways, depending who worked on them. There are 2 different blocks, and about 100 drawings that are just using text.

Of course none of these scenarios look close to one another.

All of the title blocks are active in each sheet file and were placed at 0,0,0.

The text and blocks I want to delete fall into a window defined 22,2828,.5479,0 and 33.6333,2.9494,0

 

thoughts?

0 Likes
Message 4 of 4

dlanorh
Advisor
Advisor
Hopefully i've got this correct, You want to erase the old title block and any individual text within it's limits, and insert a new title block. If that is the case i don't think you can use ObjectDBX to process the drawings, since you can't use selection sets within ObjectDBX.

I am not one of the robots you're looking for

0 Likes