Multiple Files - Delete items, purge and insert exploded block

Multiple Files - Delete items, purge and insert exploded block

tstorzuk
Advocate Advocate
1,455 Views
3 Replies
Message 1 of 4

Multiple Files - Delete items, purge and insert exploded block

tstorzuk
Advocate
Advocate

I've been tasked with another job that requires some programming help and I'd like to enlist your expertise.....I was hoping to use Lee Mac's ObjectDBX Wrapper again as the exact same steps have to be performed on multiple files.

 

The order of the steps is important as information has to be purged in the middle step to allow for a new block to be inserted at the end. The crossing windows contain more than just block entities. If it was only blocks, I could have just used a block replace LISP.

 

1. Erase all of the contents that are touched and within 2 crossing windows (so bottom right to top left crossing);

Window 1

1st point: X=33  Y=0  Z=0

2nd point: X=21.5  Y=6  Z=0 (or @-10.5,6,0)

Window 2

1st point: X=22  Y=0  Z=0

2nd point: X=-1  Y=3  Z=0 (or @-23,3,0)

 

2. Purge the drawing

 

3. Insert and explode block "TB" at 0,0,0

 

That's it. If you can help make this work, it would be greatly appreciated. Let me know if you need any more information.

0 Likes
Accepted solutions (1)
1,456 Views
3 Replies
Replies (3)
Message 2 of 4

Ed__Jobe
Mentor
Mentor

Sin you mentioned LM's code, I assume you want this in lisp. If so, you're in the wrong forum. The lisp forum is over here.

Ed


Did you find this post helpful? Feel free to Like this post.
Did your question get successfully answered? Then click on the ACCEPT SOLUTION button.
How to post your code.

EESignature

0 Likes
Message 3 of 4

tstorzuk
Advocate
Advocate

I tried to move it to the correct forum, can't.

 

Retyped it in the correct forum, and the web page deleted it when I hit the Post button.

0 Likes
Message 4 of 4

Ed__Jobe
Mentor
Mentor
Accepted solution

I used the Report link to ask the moderator to move it.

Ed


Did you find this post helpful? Feel free to Like this post.
Did your question get successfully answered? Then click on the ACCEPT SOLUTION button.
How to post your code.

EESignature

0 Likes