Hello,
I'm using AutoCAD 2018. I have to draft a huge number of polylines with an offset of 50mm. These polylines need to the trimmed then hatched. I’ve tried using the Mline command with an infill but after exploding, the infill disappears. I’ve also tried using the Plinewid command set to 50mm and the same issue occurs after exploding.
Does anyone know of a lisp or method whereby I can select all the polylines and trim all at once so I can quickly apply the hatching? It is very time consuming having to trim all the polylines so I need to find a faster method. I’ve attached an example showing what needs to be done. I would appreciate any help with this.
Thank you.
Hello,
I'm using AutoCAD 2018. I have to draft a huge number of polylines with an offset of 50mm. These polylines need to the trimmed then hatched. I’ve tried using the Mline command with an infill but after exploding, the infill disappears. I’ve also tried using the Plinewid command set to 50mm and the same issue occurs after exploding.
Does anyone know of a lisp or method whereby I can select all the polylines and trim all at once so I can quickly apply the hatching? It is very time consuming having to trim all the polylines so I need to find a faster method. I’ve attached an example showing what needs to be done. I would appreciate any help with this.
Thank you.
@ecje29 hi,
Why work hard, when AutoCAD have a tool to do this easy, instead of trimming all intersection think out of the box 😀 draw close boxed on a seperate layer by using BPOLY command. bpoly quickly creates a closed polyline by picking a point in the middle of each box. than just erase the inner lines and do your hatch - makes sense?!
Moshe
@ecje29 hi,
Why work hard, when AutoCAD have a tool to do this easy, instead of trimming all intersection think out of the box 😀 draw close boxed on a seperate layer by using BPOLY command. bpoly quickly creates a closed polyline by picking a point in the middle of each box. than just erase the inner lines and do your hatch - makes sense?!
Moshe
For me start again if you want to draw columns of rectangs then do just that, draw 1 and Array. In saying Array are the rectangs meant to be same size left and right in dwg they are not. A lisp could easily do this for you using array or copy or just a repeat of the rectang command.
Another question 1 side is not parallel is that correct ? The lisp could cater for this even trapezoid shape.
If you confirm the rules about the inside rectangs a coded solution will be very quickly provided by some one.
For me start again if you want to draw columns of rectangs then do just that, draw 1 and Array. In saying Array are the rectangs meant to be same size left and right in dwg they are not. A lisp could easily do this for you using array or copy or just a repeat of the rectang command.
Another question 1 side is not parallel is that correct ? The lisp could cater for this even trapezoid shape.
If you confirm the rules about the inside rectangs a coded solution will be very quickly provided by some one.
hey,
not quick but effective approach may be as such. add intersection points to every pline or line (better to convert to pline) in question. explode all plines and delete lines with length within 50+delta mm. then either add hatch by selecting all resulting lines or convert all lines by joining them to respectful plines and again add hatch by selecting all resulting plines.
hey,
not quick but effective approach may be as such. add intersection points to every pline or line (better to convert to pline) in question. explode all plines and delete lines with length within 50+delta mm. then either add hatch by selecting all resulting lines or convert all lines by joining them to respectful plines and again add hatch by selecting all resulting plines.
Can't find what you're looking for? Ask the community or share your knowledge.