Skip to main content
Question

How to bring in CAD blocks from template dwg and then clip them


Forum|alt.badge.img

Part of my FMW gets an area, creates a grid of points within, converts them to blocks via the dwg styler and then clips it from a negative buffer of itself.

 

This is an attempt to create a symbolic fill for an area.

Blocks still expand beyond the Area as seen below (1st screenshot is the current result, 2nd screenshot is desired output). Is there a way to clip the blocks to the area?

 

I would also like to randomise the fill pattern rather than use a strict grid, so if anyone has an idea on how to do this I would be very interested.

 

 

 

 

2 replies

cdalessandro
Contributor
Forum|alt.badge.img+4
  • Contributor
  • January 14, 2020

When You transform grid points to blocks, They obviously thake up more space. So, If They are close to boundaries, They exeed it. The unique way to do something, is write a temp file and read it in the same wb and after clip outside lines. Unfortunately You will lost blocks despice lines. I make for you a wb to do so. There are also a step to shift grid point. Below result you will obtain by attached example wb

area_filler.zip


cdalessandro
Contributor
Forum|alt.badge.img+4
  • Contributor
  • January 15, 2020

@proudgis

If your output dataset was an autocad file, It should be better using a hatch pattern built from blocks (simply and more corrected way).


Cookie policy

We use cookies to enhance and personalize your experience. If you accept you agree to our full cookie policy. Learn more about our cookies.

 
Cookie settings