replacing objects (cirlce/recltangle/polygons with geometric center) with a predefined block

replacing objects (cirlce/recltangle/polygons with geometric center) with a predefined block

Anonymous
Not applicable
918 Views
4 Replies
Message 1 of 5

replacing objects (cirlce/recltangle/polygons with geometric center) with a predefined block

Anonymous
Not applicable

hello this is my first time posting on this forum, I hope you could all help me with a lisp.

 

I have already found a solution for this problem last year, but my office computer encountered "blue screen of death" so goodbye to all my files, including all the lisps I have been using. I tried looking for the same solution but i can no longer find the exact lisp I need.

 

a lot of layout I receive are not made thru AutoCAD so many objects I need to replace with blocks 

an example is this object below, this is made purely of separate lines, not polylines.

druidz11x2_3-1611064333137.png

 

what I do is convert these lines to polylines and join them to make a closed octagon.

I need a lisp that can then replace all these octagon (or whatever shape that I make out of) to a specified block.

scaling not needed.

0 Likes
Accepted solutions (1)
919 Views
4 Replies
Replies (4)
Message 2 of 5

Kent1Cooper
Consultant
Consultant

Search for "BLOCKIFY".

Kent Cooper, AIA
0 Likes
Message 3 of 5

Anonymous
Not applicable

blockify made all everythig on my drawing like this. 

 

druidz11x2_0-1611128647421.png

I need something that would only replace the objects that i selected.

0 Likes
Message 4 of 5

Anonymous
Not applicable
Accepted solution

Quickfix found.

a - selected objects to be replaced

b - select block to replace

 

not the perfection solution, but it will do for now. if you have any other suggestion, would be great

 

 

0 Likes
Message 5 of 5

Sea-Haven
Mentor
Mentor
0 Likes