Message 1 of 3
LSP/VBA for convert similar/same geometries into blocks with attributes

Not applicable
03-03-2020
08:15 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
Hello everyone,
I have got a strange requirement recently. The requirement is to convert similar/same geometries into blocks with attributes associated to it. Please refer to the image attached for further clarification.
Requirement : I have a P&ID .dwg file (converted from PDF). All entities are broken into segments; can be seen in the attached image as an example. I want to convert this symbols into a block called as "Valve" and give it a tag or name.
Neither Qselect nor Filter (Shape) helps in serving this purpose.
Could anyone provide any .lsp or vba macro to convert these entities into blocks with attributes all at once.