One solution would be to slice/tile vertically once, with the same shape horizontally tile one more time (refer to http://support.cadence.com/wps/mypoc/cos?uri=deeplinkmin:ViewSolution;solutionNumber=11656460). And then "and" the two
Not sure what means "vertical and horizontal rectangles".
On a polygon like in attach what will be the result?
Since dbLayerTile() only fractures vertically, you can rotate the original shape and use dbLayerTile() and then rotate the result and the original back into place if you want to fracture horizontally. If you want to fracture in both directions something like the following might be what you are looking for?
let( (cv tiles rottiles newtiles)
;; fracture the shape into tiles
tiles = dbLayerTile(cv=shape~>cellView list("y0" "drawing") list(shape))
;; rotate the shape through 90 degrees and re-fracture into tiles
dbMoveFig(shape cv list(0:0 "R90"))
rottiles = dbLayerTile(cv list("y1" "drawing") list(shape))
;; rotate the shape and the rotated tiles back into the original
;; shape orientation
foreach(shape append(rottiles list(shape))
dbMoveFig(shape cv list(0:0 "R270"))
newtiles = CCSrefractureAndJoin(tiles rottiles)
;; put all the tiles into a list
nconc(tiles rottiles newtiles)
); procedure CCSdoubleFracture
Hope this helps!
I was facing the same issue some time back
After analysing the problem I got to know that even though the shape is looking like a polygon on screen but the objType of the metal is coming out to be a PathSeg
And performing dbLayerTile() on pathSeg only creates vertical rectangles.
From there on I started using only paths and rects to draw the metals ( by changing the option in the bindkey tab )
If you want you too can do the same.
Huh? dbLayerTile() works fine with pathSegs (as far as I can see). I can't see any justification for drawing everything with paths because of some problem with dbLayerTile - what is that problem? After all, you could always call dbConvertPathSegToPolygon first if it really was an issue.