TheSwamp

Code Red => AutoLISP (Vanilla / Visual) => Topic started by: manivanchi on May 09, 2017, 07:50:45 AM

Title: Trim Hatch By Layer
Post by: manivanchi on May 09, 2017, 07:50:45 AM
Can Anyone help me to the following issue.

I wants to trim the hatches by select multiple object or a Layer. (Like Clip Feature in Arcgis)

I have more than 10000 hatches with inside island polygon. Now I wants to trim All the hatches with the Island polygon in one shot.

Please help me in this regards.

Thanks & regards,

Manikandan
Title: Re: Trim Hatch By Layer
Post by: ChrisCarlson on May 09, 2017, 08:25:31 AM
Trimming 10,000 hatch entities is going to kill AutoCAD.
Title: Re: Trim Hatch By Layer
Post by: manivanchi on May 09, 2017, 11:40:57 PM
ie there any solution for this?
Title: Re: Trim Hatch By Layer
Post by: ronjonp on May 10, 2017, 12:03:14 AM
Post a sample drawing.
Title: Re: Trim Hatch By Layer
Post by: manivanchi on May 10, 2017, 03:08:59 AM
In the attachment wherever tree boundaries are there those places manually trimmed the hatch.

What I want is in one shot i wants to trim all the island polygon in the hatch.
Title: Re: Trim Hatch By Layer
Post by: ronjonp on May 10, 2017, 09:35:28 AM
If this is merely for graphics, I'd apply a solid hatch to each tree boundary & change the layer to color 255,255,255. Then you'll get a mask that blocks out the underlying hatch.
Title: Re: Trim Hatch By Layer
Post by: ahsattarian on December 02, 2021, 12:24:33 AM
Please Check if this file is what u need, then I offer you the code used in its creation   :