Utilize multiple closed polylines for use with boundary trim?

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
So for a particular task I need to trim and remove cells from a boundary with an action macro I can accomplish this fairly simply using the following procedure.
- Create unit cell (closed polylines)
- Copy unit cell
- Change layer to temporary layer
- Prevents deleting original unit cell or other completed boundaries
- Create a rectangular array from the cell
- Large enough to encompass the chosen boundary
- Move array to boundary location
- Explode rectangular array
- Run a boundary trim (outside) using boundary to remove only temporary layer
- Select open polylines to isolate partially trimmed cells
- Delete partially trimmed cells to ensure only complete cells are allowed
- Change objects back to original layer
- Repeat for other boundaries (sometimes upwards of 20)
So the process is fairly straightforward but time consuming-mostly because I am unable to select multiple boundaries to apply a boundary trim. If I could select multiple boundaries I would be able to skip the layer manipulations, copy/move operations, and multiple boundary trim/select/delete operations as well. The process is depicted visually below:
Cell overlay on boundaries (orange)
Boundary trim of cells to boundary
Incomplete cells removed
I still need the objects to be countable (using a count by layer command or something similar) so I don't believe any sort of Hatch command will suit my needs but I am open to any and all suggestions to improve this task efficiency!
Thanks!